/* ─── Tokens (mirror of src/index.css for parity with the app) ─── */
:root {
  --surface-0: #06060a;
  --surface-1: #0c0c14;
  --surface-2: #13131e;
  --surface-3: #1a1a28;
  --surface-4: #222233;
  --surface-5: #2a2a3d;

  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-300: #a5b4fc;
  --accent-muted: rgba(99, 102, 241, 0.15);
  --accent-muted-border: rgba(99, 102, 241, 0.30);
  --violet: #8b5cf6;

  --text-0: #f3f4f6;
  --text-1: #9ca3af;
  --text-2: #6b7280;
  --text-3: #4b5563;

  --border-0: #2a2a3d;
  --border-1: #363650;

  --emerald: #34d399;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1120px;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  color-scheme: dark;
}

/* ─── Reset & base ─── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--surface-0);
  color: var(--text-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
ul { list-style: none; }

::selection { background: rgba(99, 102, 241, 0.3); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -48px; left: 16px;
  padding: 8px 16px;
  background: var(--accent); color: #fff;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  z-index: 999; transition: top 150ms ease;
}
.skip-link:focus { top: 16px; }

/* ─── Container ─── */
.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
}
.container-narrow { max-width: 760px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px;
  font-family: var(--font); font-size: 15px; font-weight: 500;
  border: none; border-radius: 100px; cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 100ms ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 0 24px rgba(99,102,241,0.35); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--text-0); border: 1px solid var(--border-1); }
.btn-ghost:hover { border-color: var(--accent-muted-border); color: var(--accent-300); background: var(--accent-muted); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 64px; display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}
.site-header.scrolled {
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-0);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
}
.brand-mark svg { width: 16px; height: 16px; }
.brand-name { font-size: 15px; font-weight: 600; color: var(--text-0); }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-1);
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--text-0); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-link-signin { font-size: 14px; font-weight: 500; color: var(--text-1); transition: color 150ms ease; }
.nav-link-signin:hover { color: var(--text-0); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--border-0);
  border-radius: 10px; color: var(--text-0);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-link-signin { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ─── Mobile nav ─── */
.mobile-nav { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.mobile-nav.open { pointer-events: auto; }
.mobile-nav-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 200ms ease;
}
.mobile-nav.open .mobile-nav-overlay { opacity: 1; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0;
  width: min(320px, 90vw); height: 100dvh;
  background: var(--surface-1); border-left: 1px solid var(--border-0);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform 200ms ease-out;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.mobile-nav-close {
  width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--border-0); border-radius: 8px;
  color: var(--text-0); display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav-close svg { width: 18px; height: 18px; }
.mobile-nav-panel a {
  padding: 14px 0; font-size: 17px; font-weight: 500; color: var(--text-0);
  border-bottom: 1px solid var(--border-0);
}
.mobile-nav-panel .btn { margin-top: 16px; border-bottom: none; }

/* ─── Hero ─── */
.hero { position: relative; padding: 80px 0 96px; overflow: hidden; }
@media (max-width: 720px) { .hero { padding: 56px 0 72px; } }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-orb-1 {
  top: -10%; left: -10%; width: 60vw; height: 60vw; max-width: 800px; max-height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.22), transparent 70%);
  animation: orb-breathe 8s ease-in-out infinite alternate;
}
.hero-orb-2 {
  bottom: -10%; right: -10%; width: 50vw; height: 50vw; max-width: 600px; max-height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.16), transparent 65%);
}
.hero-orb-3 {
  top: 40%; left: 50%; transform: translateX(-50%);
  width: 40vw; height: 40vw; max-width: 400px; max-height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,0.10), transparent 60%);
}
@keyframes orb-breathe {
  from { transform: scale(1); opacity: 1; }
  to   { transform: scale(1.08); opacity: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb-1 { animation: none; }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(99,102,241,0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 35%, transparent 100%);
}

.hero-inner { position: relative; z-index: 1; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-muted-border);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px; font-weight: 600;
  color: var(--accent-300);
  letter-spacing: 0.04em;
}
.badge-link { transition: background 200ms ease, transform 200ms ease; }
.badge-link:hover { background: rgba(99,102,241,0.22); transform: translateY(-1px); }
.badge-arrow { transition: transform 200ms ease; }
.badge-link:hover .badge-arrow { transform: translateX(3px); }
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-300);
  box-shadow: 0 0 8px var(--accent-300);
  animation: badge-pulse 2.4s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}
@media (prefers-reduced-motion: reduce) { .badge-dot { animation: none; } }

.hero-headline {
  margin-top: 20px;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--text-0);
}
.hero-headline .grad {
  background: linear-gradient(110deg, #818cf8 0%, #a5b4fc 35%, #c4b5fd 65%, #818cf8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: grad-shift 8s linear infinite;
}
@keyframes grad-shift { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero-headline .grad { animation: none; } }

.hero-sub {
  margin: 24px auto 0;
  max-width: 600px;
  font-size: clamp(16px, 2vw, 19px); font-weight: 400;
  line-height: 1.6; color: var(--text-1);
}

.hero-ctas {
  margin-top: 36px;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

.hero-proof {
  margin-top: 24px;
  font-size: 13px; color: var(--text-2);
}

/* ─── Hero mockup ─── */
.hero-mockup { margin: 72px auto 0; max-width: 960px; }
.mockup-frame {
  background: var(--surface-2);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border-0),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(99, 102, 241, 0.10);
  animation: mockup-float 10s ease-in-out infinite;
}
@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) { .mockup-frame { animation: none; } }
.mockup-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border-0);
}
.mockup-chrome .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface-5);
}
.mockup-title {
  margin-left: 12px; font-size: 13px; color: var(--text-2); font-weight: 500;
}

.mockup-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 360px;
}
@media (max-width: 600px) {
  .mockup-body { grid-template-columns: 1fr; min-height: auto; }
}

.mockup-side {
  background: var(--surface-1); border-right: 1px solid var(--border-0);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.mockup-side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  font-size: 13px; color: var(--text-1);
  border-radius: 8px;
}
.mockup-side-item.active {
  background: var(--accent-muted);
  color: var(--accent-300);
  border: 1px solid var(--accent-muted-border);
}
.mockup-side-item svg { flex-shrink: 0; }
@media (max-width: 600px) { .mockup-side { display: none; } }

.mockup-main {
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.mockup-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mockup-row h3 { font-size: 18px; color: var(--text-0); font-weight: 600; }
.mockup-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-2);
  padding: 4px 10px; border: 1px solid var(--border-0); border-radius: 100px;
  background: var(--surface-1);
  font-variant-numeric: tabular-nums;
}

/* Format pills inside the hero mockup — visualizes "many sector formats". */
.mockup-format-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 4px 0;
}
.mockup-format-pill {
  font-size: 11px; font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border-0);
  color: var(--text-2);
  background: var(--surface-1);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.mockup-format-pill.active {
  background: var(--accent-muted);
  color: var(--accent-300);
  border-color: var(--accent-muted-border);
}

.mockup-summary { display: flex; flex-direction: column; gap: 10px; }
.mockup-summary h4 {
  font-size: 11px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}
.mockup-summary p { font-size: 13px; color: var(--text-1); line-height: 1.6; }
.mockup-summary ul { display: flex; flex-direction: column; gap: 8px; }
.mockup-summary li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-1);
}
.check {
  width: 16px; height: 16px; border-radius: 4px;
  border: 1.5px solid var(--border-1); flex-shrink: 0;
  position: relative;
}
.check.checked {
  background: var(--accent); border-color: var(--accent);
}
.check.checked::after {
  content: ""; position: absolute;
  left: 4px; top: 1px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.mockup-recorder {
  margin-top: auto;
  display: flex; align-items: center; gap: 14px;
  padding-top: 12px; border-top: 1px solid var(--border-0);
}
.mockup-rec-label { font-size: 12px; color: var(--text-2); }

/* ─── Sections ─── */
.section { padding: 96px 0; }
.section-alt { background: var(--surface-1); }
@media (max-width: 900px) { .section { padding: 64px 0; } }
@media (max-width: 600px) { .section { padding: 48px 0; } }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-headline {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 800px;
}
.section-headline .muted { color: var(--text-1); font-weight: 700; }
@media (max-width: 600px) { .section-headline { margin-bottom: 40px; } }

/* ─── Trust strip ─── */
.trust { background: var(--surface-1); padding: 32px 0; border-block: 1px solid var(--border-0); }
.trust-inner {
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.trust-label { font-size: 13px; color: var(--text-2); }
.trust-items { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  font-size: 13px; color: var(--text-1);
  background: var(--surface-2); border: 1px solid var(--border-0);
  border-radius: 100px;
}
.trust-pill svg { color: var(--accent-300); }

/* ─── How it works ─── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  position: relative;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 32px; } }
.step { display: flex; flex-direction: column; gap: 6px; }
.step-number {
  font-size: 52px; font-weight: 800; line-height: 1;
  color: rgba(99, 102, 241, 0.25);
  letter-spacing: -0.04em;
}
.step h3 { margin-top: 8px; font-size: 20px; color: var(--text-0); font-weight: 600; }
.step p { font-size: 15px; color: var(--text-1); line-height: 1.65; }

/* ─── Features ─── */
.feature-group { margin-bottom: 32px; }
.feature-group:last-child { margin-bottom: 0; }
.feature-group-label {
  display: inline-block; margin-bottom: 16px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.08em;
}

.feature-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: 16px;
}
.feature-group:nth-child(odd) .feature-grid { grid-template-columns: 7fr 5fr; }
.feature-group:nth-child(even) .feature-grid { grid-template-columns: 5fr 7fr; }
@media (max-width: 720px) {
  .feature-grid, .feature-group:nth-child(odd) .feature-grid, .feature-group:nth-child(even) .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border-0);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 200ms ease, background 200ms ease;
}
.feature-card { position: relative; overflow: hidden; }
.feature-card::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,0.6), rgba(139,92,246,0.0) 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 200ms ease;
  pointer-events: none;
}
.feature-card:hover { border-color: var(--border-1); background: var(--surface-3); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-muted);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-300);
}
.feature-card h3 { font-size: 17px; font-weight: 600; color: var(--text-0); }
.feature-card p { font-size: 14px; color: var(--text-1); line-height: 1.65; }

/* ─── Use cases ─── */
.usecases {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .usecases { grid-template-columns: 1fr; } }
.usecase {
  background: var(--surface-2);
  border: 1px solid var(--border-0);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 200ms ease, background 200ms ease;
}
.usecase:hover { border-color: var(--border-1); background: var(--surface-3); }
.usecase h3 { font-size: 16px; color: var(--text-0); font-weight: 600; }
.usecase p { font-size: 14px; color: var(--text-1); line-height: 1.6; }

/* ─── Pricing ─── */
.billing-toggle {
  display: inline-flex; align-items: center;
  margin: 0 auto 48px; padding: 4px;
  background: var(--surface-2); border: 1px solid var(--border-0);
  border-radius: 100px;
}
.billing-toggle { display: flex; max-width: max-content; margin-left: auto; margin-right: auto; }
.billing-btn {
  background: transparent; border: none;
  padding: 8px 18px;
  font-size: 13px; font-weight: 500; color: var(--text-1);
  border-radius: 100px;
  transition: background 200ms ease, color 200ms ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.billing-btn.active { background: var(--surface-0); color: var(--text-0); border: 1px solid var(--border-0); }
.save-badge {
  background: rgba(52, 211, 153, 0.15); color: var(--emerald);
  border-radius: 4px; padding: 2px 6px;
  font-size: 11px; font-weight: 600;
}

.pricing {
  display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 16px;
  align-items: start;
}
@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; }
}

.price-card {
  background: var(--surface-2);
  border: 1px solid var(--border-0);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.price-card-featured {
  background: var(--surface-3);
  border-color: var(--accent);
  box-shadow: 0 0 48px rgba(99, 102, 241, 0.12);
  transform: scale(1.03);
}
@media (max-width: 900px) {
  .price-card-featured { transform: none; order: -1; }
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.price-tier {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.price-amount {
  font-size: clamp(36px, 4vw, 48px); font-weight: 700; color: var(--text-0);
  letter-spacing: -0.03em;
}
.price-suffix { font-size: 16px; color: var(--text-2); }
.price-desc { font-size: 14px; color: var(--text-1); margin-top: 4px; }

.price-card ul { display: flex; flex-direction: column; gap: 12px; }
.price-card li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-1); line-height: 1.6;
}
.check-mark {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  border-radius: 50%; background: rgba(52, 211, 153, 0.15);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.check-mark::after {
  content: ""; position: absolute;
  width: 4px; height: 7px;
  border: solid var(--emerald); border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.pricing-fineprint {
  margin-top: 32px; text-align: center;
  font-size: 13px; color: var(--text-2);
}

/* ─── FAQ ─── */
.faq {
  border-top: 1px solid var(--border-0);
}
.faq-item { border-bottom: 1px solid var(--border-0); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  font-size: 16px; font-weight: 500; color: var(--text-0);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
  border-radius: 4px;
}
.faq-icon {
  width: 18px; height: 18px;
  flex-shrink: 0; margin-left: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
  transition: transform 250ms ease;
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer {
  padding: 0 0 22px 0;
  font-size: 15px; color: var(--text-1); line-height: 1.7;
  max-width: 680px;
}

/* ─── Final CTA ─── */
.final-cta { background: var(--surface-0); }
.final-panel {
  max-width: 760px; margin: 0 auto;
  background: var(--surface-3);
  border: 1px solid var(--border-0);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  box-shadow: 0 0 80px rgba(99, 102, 241, 0.10);
  display: flex; flex-direction: column; gap: 20px; align-items: center;
}
.final-panel h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  max-width: 600px;
}
.final-panel p { font-size: 16px; color: var(--text-1); }
@media (max-width: 600px) {
  .final-panel { padding: 48px 28px; }
}

/* ─── Footer ─── */
.site-footer {
  background: var(--surface-0);
  border-top: 1px solid var(--border-0);
  padding-block: 56px 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand .brand { margin-bottom: 12px; }
.footer-tag { font-size: 14px; color: var(--text-2); max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 480px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-cols h4 {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-cols a {
  display: block; font-size: 14px; color: var(--text-1);
  padding: 4px 0;
  transition: color 150ms ease;
}
.footer-cols a:hover { color: var(--text-0); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-0);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text-3);
}
@media (max-width: 480px) { .footer-bottom { flex-direction: column; gap: 8px; } }

/* ─── Reveal animations ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal="stagger"].in > * { opacity: 1; transform: translateY(0); }
[data-reveal="stagger"].in > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal="stagger"].in > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal="stagger"].in > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal="stagger"].in > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal="stagger"].in > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal="stagger"].in > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="stagger"] > * { opacity: 1; transform: none; transition: none; }
}

/* ─── Problem section ─── */
.problem { position: relative; overflow: hidden; }
.problem-bg {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 0;
}
.problem-bg img,
.problem-bg video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%);
}
.problem-bg video { transition: opacity 800ms ease; }
.problem-bg video:not([src]) { opacity: 0.55; } /* poster phase */
.problem .container { position: relative; z-index: 1; }

.problem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 760px; margin-left: auto;
}
@media (max-width: 720px) { .problem-grid { grid-template-columns: 1fr; max-width: none; } }

.problem-item {
  background: rgba(19, 19, 30, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-0);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex; align-items: flex-start; gap: 18px;
}
.problem-num {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-muted); color: var(--accent-300);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.problem-item p { font-size: 15px; color: var(--text-1); line-height: 1.55; }
.problem-item strong { color: var(--text-0); font-weight: 600; }

/* ─── Comparison table ─── */
.compare {
  border: 1px solid var(--border-0);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td {
  padding: 16px 20px; text-align: center;
  border-bottom: 1px solid var(--border-0);
}
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table th { font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface-3); }
.compare-table td:first-child, .compare-table th:first-child {
  text-align: left; color: var(--text-1); font-weight: 500;
}
.compare-table th.us, .compare-table td.us {
  background: rgba(99, 102, 241, 0.08);
  border-left: 1px solid var(--accent-muted-border);
  border-right: 1px solid var(--accent-muted-border);
  color: var(--text-0);
}
.compare-table th.us { color: var(--accent-300); font-weight: 700; }
.compare-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.t-yes {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(52, 211, 153, 0.15); color: var(--emerald);
  font-weight: 700;
}
.t-no { color: var(--text-3); font-size: 18px; }
.t-meh { font-size: 12px; color: var(--text-2); font-style: italic; }
.compare-table td.us .t-yes { background: rgba(99,102,241,0.18); color: var(--accent-300); }

/* Animated comparison checks (staggered) */
.compare-table.in td.us .t-yes[data-anim] {
  animation: check-pop 600ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.compare-table.in tr:nth-child(1) td.us .t-yes[data-anim] { animation-delay: 100ms; }
.compare-table.in tr:nth-child(2) td.us .t-yes[data-anim] { animation-delay: 220ms; }
.compare-table.in tr:nth-child(3) td.us .t-yes[data-anim] { animation-delay: 340ms; }
.compare-table.in tr:nth-child(4) td.us .t-yes[data-anim] { animation-delay: 460ms; }
.compare-table.in tr:nth-child(5) td.us .t-yes[data-anim] { animation-delay: 580ms; }
.compare-table.in tr:nth-child(6) td.us .t-yes[data-anim] { animation-delay: 700ms; }
@keyframes check-pop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .compare-table.in td.us .t-yes[data-anim] { animation: none; }
}

/* Mobile: collapse table to cards */
@media (max-width: 600px) {
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
}

/* ─── Use case metric badge (legacy, kept) ─── */
.usecase-metric {
  margin-top: auto;
  display: inline-block;
  font-size: 12px; font-weight: 500;
  color: var(--accent-300);
  padding: 6px 10px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-muted-border);
  border-radius: 8px;
  align-self: flex-start;
}

/* ─── Sectors grid ─── */
.section-lede {
  margin-top: -32px; margin-bottom: 48px;
  font-size: 16px; color: var(--text-1); line-height: 1.7;
  max-width: 680px;
}
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .sectors { grid-template-columns: 1fr; } }

.sector {
  background: var(--surface-2);
  border: 1px solid var(--border-0);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}
.sector::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 200px 120px at 80% -20%, rgba(99,102,241,0.12), transparent 60%);
  opacity: 0; transition: opacity 250ms ease;
  pointer-events: none;
}
.sector:hover {
  border-color: var(--accent-muted-border);
  background: var(--surface-3);
  transform: translateY(-2px);
}
.sector:hover::before { opacity: 1; }
.sector h3 { font-size: 15px; font-weight: 600; color: var(--text-0); }
.sector p { font-size: 13px; color: var(--text-1); line-height: 1.55; }
.sector-tag {
  display: inline-flex; align-self: flex-start;
  padding: 3px 8px;
  font-size: 11px; font-weight: 600;
  color: var(--accent-300);
  background: var(--accent-muted);
  border: 1px solid var(--accent-muted-border);
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.sectors-foot {
  margin-top: 32px; text-align: center;
  font-size: 14px; color: var(--text-1);
}
.sectors-foot strong { color: var(--text-0); font-weight: 600; }

.sectors-section { position: relative; overflow: hidden; }
.sectors-bg {
  position: absolute;
  top: -8%; right: -10%;
  width: 60%; max-width: 760px;
  pointer-events: none; z-index: 0;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 75%);
  animation: sectors-drift 14s ease-in-out infinite alternate;
}
.sectors-bg img,
.sectors-bg video { width: 100%; height: auto; display: block; }
.sectors-section .container { position: relative; z-index: 1; }
@keyframes sectors-drift {
  from { transform: translate(0, 0) rotate(-2deg); }
  to   { transform: translate(-1.5%, 1%) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) { .sectors-bg { animation: none; } }
@media (max-width: 760px) {
  .sectors-bg { width: 90%; opacity: 0.3; top: -4%; right: -20%; }
}

/* ─── Mid-page CTA row ─── */
.cta-row {
  margin-top: 48px;
  display: flex; justify-content: center;
}

/* ─── Final panel: AI image background ─── */
.final-panel { position: relative; overflow: hidden; }
.final-panel-bg {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 0; opacity: 0.45;
}
.final-panel-bg img,
.final-panel-bg video {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, black 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 60%, black 25%, transparent 75%);
}
.final-panel-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; align-items: center; }

/* ─── Sticky mobile CTA ─── */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(6,6,10,0.95) 60%, rgba(6,6,10,0));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  transform: translateY(100%);
  transition: transform 250ms ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta.visible[aria-hidden="false"] { display: block; }
@media (max-width: 720px) {
  .sticky-cta.visible[aria-hidden="false"] { display: block; }
}
@media (min-width: 721px) {
  .sticky-cta { display: none !important; }
}

