:root {
  --bg: #050806;
  --bg-soft: #07110d;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.105);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text: #f5fff9;
  --muted: #a8b7ae;
  --muted-strong: #d8e3dc;
  --primary: #25d366;
  --primary-dark: #128c4f;
  --accent: #77f8c7;
  --cyan: #8eeeff;
  --amber: #ffd166;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --shadow-green: 0 18px 55px rgba(37, 211, 102, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(115deg, rgba(37, 211, 102, 0.14), transparent 28%),
    linear-gradient(245deg, rgba(142, 238, 255, 0.09), transparent 32%),
    linear-gradient(180deg, #06100c 0%, var(--bg) 40%, #030504 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
}

body.nav-open,
body.checkout-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 0.75rem 1rem;
  color: #06100c;
  background: var(--primary);
  border-radius: var(--radius-sm);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 36px 0 58px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 6, 0.76);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #041209;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  box-shadow: var(--shadow-green);
}

.brand-text {
  max-width: 180px;
  overflow: hidden;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  top: var(--header-height);
  right: 16px;
  left: 16px;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  pointer-events: none;
  visibility: hidden;
  background: rgba(7, 17, 13, 0.96);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.nav-menu.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-menu a {
  min-height: 44px;
  padding: 0.75rem 0.85rem;
  color: var(--muted-strong);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-action {
  color: #06100c !important;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
}

.hero {
  position: relative;
  padding-top: 44px;
  padding-bottom: 32px;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: 34%;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(37, 211, 102, 0.055), transparent);
}

.hero-grid {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.hero-copy {
  max-width: 830px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.88);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: 2.15rem;
  font-weight: 850;
}

h2 {
  font-size: 1.9rem;
  font-weight: 820;
}

h3 {
  font-size: 1.07rem;
  font-weight: 760;
}

.hero-subtitle {
  max-width: 760px;
  margin: 1rem auto 0;
  color: var(--muted-strong);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
  margin-left: 0.5rem;
  fill: currentColor;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: #031008;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-green);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 70px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--surface-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.hero-metrics div {
  min-width: 0;
  padding: 0.85rem 0.6rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.1;
}

.hero-metrics span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.dashboard-shell {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
}

.dashboard-window,
.code-window,
.feature-card,
.case-card,
.workflow-step,
.price-card,
.testimonial-card,
.final-cta-inner,
.faq-item {
  border: 1px solid var(--surface-border);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    rgba(7, 17, 13, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-window {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.window-topbar,
.code-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-topbar strong {
  color: var(--primary);
  font-size: 0.75rem;
}

.window-dots {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.35rem;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
}

.window-dots span:nth-child(2) {
  background: var(--amber);
}

.window-dots span:nth-child(3) {
  background: var(--primary);
}

.dashboard-content {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 360px;
}

.dashboard-sidebar {
  display: none;
  padding: 1rem 0.7rem;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logo {
  width: 30px;
  height: 30px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: var(--radius-sm);
}

.sidebar-line {
  display: block;
  width: 32px;
  height: 7px;
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.sidebar-line.active {
  background: var(--primary);
}

.sidebar-line.short {
  width: 22px;
}

.dashboard-main {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  grid-column: 1 / -1;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card,
.message-panel,
.automation-grid > div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  border-radius: var(--radius-md);
}

.stat-card {
  min-width: 0;
  padding: 0.8rem;
}

.stat-card span,
.micro-label,
.stat-card small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.stat-card strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.1;
}

.stat-card small {
  margin-top: 0.45rem;
  color: var(--accent);
}

.message-panel {
  padding: 1rem;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-header strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.pill,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  color: #06100c;
  font-size: 0.72rem;
  font-weight: 850;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 999px;
}

.chat-preview {
  display: grid;
  gap: 0.72rem;
}

.chat-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 92%;
  padding: 0.7rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.chat-row.outgoing {
  justify-self: end;
  background: rgba(37, 211, 102, 0.12);
}

.chat-row span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.chat-row p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  line-height: 1.4;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.automation-grid > div {
  min-width: 0;
  padding: 0.9rem 0.65rem;
  text-align: center;
}

.automation-icon {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 0.5rem;
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.9), rgba(142, 238, 255, 0.7)),
    rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.automation-grid p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.72rem;
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(8, 19, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: var(--shadow-green);
  backdrop-filter: blur(14px);
  animation: floatChip 5s ease-in-out infinite;
}

.floating-chip span {
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.86);
}

.chip-top {
  top: 20%;
  right: -1.2rem;
}

.chip-bottom {
  bottom: 15%;
  left: -1.2rem;
  animation-delay: 1.5s;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-kicker {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.logo-cloud span {
  display: grid;
  min-height: 60px;
  place-items: center;
  color: rgba(245, 255, 249, 0.72);
  font-size: 0.95rem;
  font-weight: 780;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.case-card,
.workflow-step,
.price-card,
.testimonial-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::before,
.case-card::before,
.workflow-step::before,
.price-card::before,
.testimonial-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.72), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card:hover,
.case-card:hover,
.workflow-step:hover,
.price-card:hover,
.testimonial-card:hover {
  border-color: rgba(37, 211, 102, 0.34);
  transform: translateY(-4px);
}

.feature-card:hover::before,
.case-card:hover::before,
.workflow-step:hover::before,
.price-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

.icon-box {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  place-items: center;
  color: #051009;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.18);
}

.icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.feature-card p,
.case-card p,
.workflow-step p,
.testimonial-card p,
.price-head p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.developer-grid,
.faq-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1.3rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--muted-strong);
}

.check-list li::before {
  position: absolute;
  top: 0.24rem;
  left: 0;
  width: 18px;
  height: 18px;
  content: "";
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.28);
}

.check-list li::after {
  position: absolute;
  top: 0.5rem;
  left: 0.36rem;
  width: 7px;
  height: 4px;
  content: "";
  border-bottom: 2px solid #041209;
  border-left: 2px solid #041209;
  transform: rotate(-45deg);
}

.code-window {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.copy-code {
  min-height: 32px;
  padding: 0.25rem 0.7rem;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: color 180ms ease, background 180ms ease;
}

.copy-code:hover,
.copy-code:focus-visible {
  color: #06100c;
  background: var(--primary);
  outline: none;
}

pre {
  margin: 0;
  overflow-x: auto;
  scrollbar-color: rgba(37, 211, 102, 0.55) rgba(255, 255, 255, 0.08);
}

code {
  display: block;
  min-width: 620px;
  padding: 1.15rem;
  color: #d9fbe8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.75;
  background:
    linear-gradient(180deg, rgba(37, 211, 102, 0.055), transparent 45%),
    rgba(0, 0, 0, 0.2);
}

.code-keyword {
  color: var(--cyan);
}

.code-string {
  color: var(--accent);
}

.code-muted {
  color: #b3c6bd;
}

.case-grid {
  display: grid;
  gap: 1rem;
}

.case-card {
  padding: 1.35rem;
}

.case-card h3::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 1rem;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 999px;
}

.workflow-steps {
  display: grid;
  gap: 1rem;
  counter-reset: workflow;
}

.workflow-step {
  min-height: 190px;
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.2rem;
  color: #06100c;
  font-size: 0.82rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.pricing-controls {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin: -0.45rem auto 2rem;
}

.pricing-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 430px);
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pricing-toggle-button {
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 6px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.pricing-toggle-button:hover,
.pricing-toggle-button:focus-visible {
  color: var(--text);
  outline: none;
}

.pricing-toggle-button.is-active {
  color: #041209;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-green);
}

.pricing-note {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
}

.price-card.featured {
  border-color: rgba(37, 211, 102, 0.5);
  background:
    linear-gradient(155deg, rgba(37, 211, 102, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(7, 17, 13, 0.8);
  box-shadow: var(--shadow-green), var(--shadow);
}

.badge {
  align-self: flex-start;
  margin-bottom: 1rem;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  margin: 1.25rem 0;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.price-currency {
  color: var(--primary);
  font-size: 1.3rem;
  vertical-align: top;
}

.price-amount {
  color: var(--text);
  font-size: inherit;
}

.price small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  white-space: nowrap;
}

.price.custom {
  color: var(--accent);
  font-size: 2.5rem;
}

.price.custom .price-amount {
  color: var(--accent);
}

.price.is-updating {
  animation: pricePulse 280ms ease;
}

.price-card ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0 0 1.4rem;
  color: var(--muted-strong);
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 1.35rem;
}

.price-card li::before {
  position: absolute;
  top: 0.63rem;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--primary);
  border-radius: 50%;
}

.full-width {
  width: 100%;
  margin-top: auto;
}

.testimonial-grid {
  display: grid;
  gap: 1rem;
}

.testimonial-card {
  padding: 1.35rem;
}

.avatar {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  place-items: center;
  color: #06100c;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 50%;
}

.testimonial-card p {
  color: var(--muted-strong);
  font-size: 1rem;
}

.testimonial-card h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
}

.testimonial-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.accordion {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 64px;
  padding: 1rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.faq-question span {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.faq-question span::before,
.faq-question span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  content: "";
  background: var(--primary);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-question span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  padding: 0 1rem 1rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.final-cta {
  padding-top: 40px;
}

.final-cta-inner {
  padding: 2rem 1.2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(142, 238, 255, 0.08) 42%, rgba(255, 255, 255, 0.05)),
    rgba(7, 17, 13, 0.78);
}

.final-cta-inner h2 {
  max-width: 850px;
  margin-inline: auto;
}

.final-cta-inner p:not(.eyebrow) {
  max-width: 690px;
  margin: 1rem auto 0;
  color: var(--muted-strong);
}

.payment-modal[hidden] {
  display: none;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.payment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.payment-dialog {
  position: relative;
  width: min(100%, 980px);
  max-height: min(92vh, 820px);
  overflow: auto;
  background:
    linear-gradient(145deg, rgba(37, 211, 102, 0.12), transparent 36%),
    linear-gradient(315deg, rgba(142, 238, 255, 0.08), transparent 38%),
    rgba(7, 17, 13, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.58);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: #06100c;
  background: var(--primary);
  transform: translateY(-1px);
  outline: none;
}

.modal-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.payment-layout {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.payment-summary,
.payment-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  border-radius: var(--radius-md);
}

.payment-summary {
  padding: 1.35rem;
}

.payment-summary h2 {
  max-width: 480px;
  font-size: 2rem;
}

.checkout-plan {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
}

.checkout-plan span,
.checkout-total small {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-plan strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.checkout-plan p,
.checkout-safe-note,
.paypal-preview p,
.payment-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-total strong {
  color: var(--primary);
  font-size: 1.8rem;
}

.checkout-safe-note {
  margin-top: 1rem;
}

.payment-panel {
  padding: 1rem;
}

.payment-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.payment-tab {
  min-height: 42px;
  color: var(--muted-strong);
  font-weight: 850;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 6px;
  transition: color 180ms ease, background 180ms ease;
}

.payment-tab:hover,
.payment-tab:focus-visible {
  color: var(--text);
  outline: none;
}

.payment-tab.is-active {
  color: #06100c;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.payment-form,
.payment-fields {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.payment-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.payment-form input,
.payment-form select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 0.9rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.payment-form select {
  color-scheme: dark;
}

.payment-form input::placeholder {
  color: rgba(216, 227, 220, 0.42);
}

.payment-form input:focus,
.payment-form select:focus {
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(37, 211, 102, 0.7);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.12);
}

.paypal-preview {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 112, 186, 0.14);
  border: 1px solid rgba(142, 238, 255, 0.18);
  border-radius: var(--radius-sm);
}

.paypal-preview span {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #031a2c;
  font-weight: 900;
  background: linear-gradient(135deg, #8eeeff, #25d366);
  border-radius: 50%;
}

.paypal-preview strong {
  display: block;
  margin-bottom: 0.15rem;
}

.terms-check {
  display: flex !important;
  grid-template-columns: none;
  gap: 0.65rem !important;
  align-items: flex-start;
  color: var(--muted) !important;
  font-weight: 650 !important;
  line-height: 1.45;
}

.terms-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--primary);
}

.pay-now {
  border: 0;
  cursor: pointer;
}

.payment-status {
  min-height: 1.4rem;
  color: var(--accent);
  text-align: center;
}

.site-footer {
  padding: 58px 0 24px;
  background: rgba(0, 0, 0, 0.24);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  max-width: 360px;
  margin: 1rem 0;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #06100c;
  background: var(--primary);
  transform: translateY(-2px);
  outline: none;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.footer-links h3 {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
  outline: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatChip {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pricePulse {
  0% {
    opacity: 0.45;
    transform: translateY(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 520px) {
  .hero-actions {
    flex-direction: row;
  }

  .dashboard-stats,
  .feature-grid,
  .case-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-sidebar {
    display: block;
  }

  .dashboard-main {
    grid-column: auto;
  }

  .floating-chip {
    display: inline-flex;
  }
}

@media (min-width: 760px) {
  .section {
    padding: 96px 0;
  }

  .section-tight {
    padding: 42px 0 68px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    pointer-events: auto;
    visibility: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .nav-menu a {
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
  }

  .nav-action {
    margin-left: 0.25rem;
    padding-inline: 1rem !important;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-metrics strong {
    font-size: 1.25rem;
  }

  .hero-metrics span,
  .automation-grid p {
    font-size: 0.8rem;
  }

  .hero-metrics {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .logo-cloud {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard-content {
    grid-template-columns: 70px 1fr;
    min-height: 460px;
  }

  .dashboard-main {
    padding: 1.2rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-card span,
  .micro-label,
  .stat-card small {
    font-size: 0.78rem;
  }

  .stat-card strong {
    font-size: 1.6rem;
  }

  .developer-grid,
  .faq-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
  }

  .workflow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .workflow-step {
    min-height: 240px;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-card.featured {
    transform: translateY(-10px);
  }

  .price-card.featured:hover {
    transform: translateY(-14px);
  }

  .final-cta-inner {
    padding: 3.5rem 2rem;
  }

  .payment-layout {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 1.2rem;
  }

  .payment-summary,
  .payment-panel {
    padding: 1.5rem;
  }

  .form-row.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row.three-columns {
    grid-template-columns: 1fr 0.75fr 1.1fr;
  }

  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3.45rem;
  }

  .feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .case-grid,
  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-cloud {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .window-topbar {
    font-size: 0.68rem;
  }

  .window-topbar strong {
    display: none;
  }

  .dashboard-content {
    min-height: auto;
  }
}
