/* ================================================================
   SIGNAL INTELLIGENCE — AI Visibility Growth Platform
   it2.tv · VersaForge LLP
   Architecture: Mobile-first · BEM-influenced · CSS Custom Props
   Font: Bricolage Grotesque (display) + system-ui (body)
   ================================================================ */

/* ─── LAYER 1: DESIGN TOKENS ─────────────────────────────────── */
:root {
  /* Brand palette */
  --ink:        #0a0f1e;
  --ink-90:     rgba(10,15,30,.9);
  --ink-60:     rgba(10,15,30,.6);
  --ink-30:     rgba(10,15,30,.3);
  --ink-08:     rgba(10,15,30,.08);
  --ink-04:     rgba(10,15,30,.04);

  --signal:     #06d6a0;
  --signal-80:  rgba(6,214,160,.8);
  --signal-20:  rgba(6,214,160,.2);
  --signal-08:  rgba(6,214,160,.08);

  --pulse:      #4361ee;
  --pulse-20:   rgba(67,97,238,.2);
  --pulse-08:   rgba(67,97,238,.08);

  --warm:       #f59e0b;

  --white:      #ffffff;
  --surface:    #f6f9ff;
  --border:     #e8edf8;
  --border-mid: rgba(232,237,248,.7);

  /* Typography scale */
  --ff-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --ff-body:    system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-mono:    'SF Mono', 'Fira Code', ui-monospace, monospace;

  --fs-11:  .6875rem;
  --fs-12:  .75rem;
  --fs-13:  .8125rem;
  --fs-14:  .875rem;
  --fs-15:  .9375rem;
  --fs-16:  1rem;
  --fs-18:  1.125rem;
  --fs-20:  1.25rem;
  --fs-24:  1.5rem;
  --fs-28:  1.75rem;
  --fs-32:  2rem;
  --fs-40:  2.5rem;
  --fs-48:  3rem;
  --fs-56:  3.5rem;
  --fs-72:  4.5rem;

  /* Spacing */
  --sp-4:   .25rem;
  --sp-6:   .375rem;
  --sp-8:   .5rem;
  --sp-10:  .625rem;
  --sp-12:  .75rem;
  --sp-16:  1rem;
  --sp-20:  1.25rem;
  --sp-24:  1.5rem;
  --sp-32:  2rem;
  --sp-40:  2.5rem;
  --sp-48:  3rem;
  --sp-56:  3.5rem;
  --sp-64:  4rem;
  --sp-80:  5rem;
  --sp-96:  6rem;
  --sp-120: 7.5rem;

  /* Radius */
  --r-4:  4px;
  --r-6:  6px;
  --r-8:  8px;
  --r-12: 12px;
  --r-16: 16px;
  --r-20: 20px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(10,15,30,.06), 0 1px 2px rgba(10,15,30,.04);
  --sh-sm: 0 2px 8px rgba(10,15,30,.07), 0 1px 3px rgba(10,15,30,.05);
  --sh-md: 0 6px 24px rgba(10,15,30,.09), 0 2px 8px rgba(10,15,30,.06);
  --sh-lg: 0 16px 48px rgba(10,15,30,.12), 0 4px 16px rgba(10,15,30,.08);
  --sh-xl: 0 32px 80px rgba(10,15,30,.16), 0 8px 24px rgba(10,15,30,.1);
  --sh-signal: 0 8px 28px rgba(6,214,160,.3);
  --sh-glass:  0 4px 24px rgba(10,15,30,.06), inset 0 1px 0 rgba(255,255,255,.9);

  /* Transitions */
  --t-fast:   150ms cubic-bezier(.4,0,.2,1);
  --t-base:   250ms cubic-bezier(.4,0,.2,1);
  --t-slow:   400ms cubic-bezier(.4,0,.2,1);
  --t-spring: 500ms cubic-bezier(.34,1.56,.64,1);

  /* Layout */
  --max-w:    1160px;
  --max-w-sm: 760px;
}

/* ─── LAYER 2: RESET ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--ff-body);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--ink-90);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
button { cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
}

/* ─── LAYER 3: LAYOUT UTILITIES ─────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-20);
}
.container--sm {
  max-width: var(--max-w-sm);
}
.section {
  padding-block: var(--sp-80);
}
.section--xl {
  padding-block: var(--sp-120);
}
.section--surface {
  background: var(--surface);
}
.section--ink {
  background: var(--ink);
}

/* Typography helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: var(--sp-16);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 14px;
  height: 2px;
  background: var(--signal);
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.eyebrow--center { margin-inline: auto; }

.section-title {
  font-size: clamp(var(--fs-28), 4.5vw, var(--fs-48));
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.04em;
  line-height: 1.08;
}
.section-title--white { color: var(--white); }
.section-title em {
  font-style: normal;
  color: var(--signal);
}
.section-body {
  font-size: clamp(var(--fs-15), 1.5vw, var(--fs-18));
  line-height: 1.7;
  color: var(--ink-60);
  max-width: 52ch;
}
.section-body--white { color: rgba(255,255,255,.65); }

/* CTA buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-12) var(--sp-24);
  border-radius: var(--r-full);
  font-size: var(--fs-14);
  font-weight: 700;
  font-family: var(--ff-display);
  letter-spacing: -.01em;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.btn:hover .btn-icon { transform: translateX(3px); }

.btn--primary {
  background: var(--signal);
  color: var(--ink);
  box-shadow: var(--sh-signal);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.28) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(6,214,160,.4);
}
.btn--primary:hover::after { transform: translateX(100%); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: var(--signal-08);
}

.btn--ghost-white {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn--ghost-white:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: var(--signal-08);
}

.btn--lg {
  padding: var(--sp-16) var(--sp-32);
  font-size: var(--fs-16);
}

/* ─── LAYER 4: REVEAL ANIMATIONS ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none !important; }
.reveal--left  { transform: translateX(-24px); }
.reveal--right { transform: translateX(24px); }
.reveal--left.is-visible, .reveal--right.is-visible { opacity: 1; transform: none !important; }
/* Fallback: if JS fails or observer doesn't fire, show content after 2s */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
/* CSS animation fallback - elements ALWAYS become visible after 3s */
.reveal {
  animation: revealFallback 0.01s ease 3s forwards;
}
@keyframes revealFallback { to { opacity: 1; transform: none; } }
.reveal.is-visible { animation: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
.reveal--d4 { transition-delay: .32s; }
.reveal--d5 { transition-delay: .40s; }
.reveal--d6 { transition-delay: .48s; }

/* ─── LAYER 5: TOPBAR ────────────────────────────────────────── */
.topbar {
  background: var(--ink);
  padding-block: var(--sp-10);
  position: relative;
  z-index: 200;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
  flex-wrap: wrap;
}
.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  color: var(--signal);
  letter-spacing: .08em;
}
.topbar__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: topbar-pulse 2.4s ease-in-out infinite;
}
@keyframes topbar-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--signal-80); }
  50%       { opacity: .7; box-shadow: 0 0 0 4px rgba(6,214,160,0); }
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-20);
}
.topbar__link {
  font-size: var(--fs-12);
  color: rgba(255,255,255,.55);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.topbar__link:hover { color: var(--signal); }
.topbar__link-icon {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.topbar__socials {
  display: flex;
  gap: var(--sp-4);
}
.topbar__social {
  width: 26px;
  height: 26px;
  border-radius: var(--r-6);
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.topbar__social:hover { background: var(--signal-20); }
.topbar__social img {
  width: 13px;
  height: 13px;
}

/* ─── LAYER 6: NAVIGATION ────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-mid);
  transition: box-shadow var(--t-base);
}
.site-nav.is-scrolled { box-shadow: var(--sh-md); }
.site-nav__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
}
.site-nav__logo img {
  height: 38px;
  width: auto;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.site-nav__link {
  padding: var(--sp-8) var(--sp-12);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--ink-60);
  border-radius: var(--r-8);
  transition: all var(--t-fast);
  white-space: nowrap;
}
.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--ink);
  background: var(--ink-04);
}
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  flex-shrink: 0;
}
.site-nav__chat {
  padding: var(--sp-8) var(--sp-16);
  background: rgba(10,15,30,.06);
  color: var(--ink);
  font-size: var(--fs-13);
  font-weight: 700;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  font-family: var(--ff-display);
  letter-spacing: -.01em;
}
.site-nav__chat:hover { background: var(--ink-08); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-8);
  border-radius: var(--r-8);
  transition: background var(--t-fast);
}
.nav-burger:hover { background: var(--ink-04); }
.nav-burger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: var(--r-full);
  transition: all var(--t-base);
}
.nav-burger.is-open .nav-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open .nav-burger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open .nav-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10,15,30,.5);
  backdrop-filter: blur(4px);
}
.nav-drawer.is-open { display: block; }
.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--white);
  padding: var(--sp-24);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.nav-drawer.is-open .nav-drawer__panel { transform: none; }
.nav-drawer__close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  background: var(--surface);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-16);
}
.nav-drawer__close svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.nav-drawer__link {
  display: block;
  padding: var(--sp-12) var(--sp-16);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--r-8);
  transition: background var(--t-fast);
}
.nav-drawer__link:hover { background: var(--surface); }

/* ─── LAYER 7: HERO — AI TERMINAL INTERFACE ─────────────────── */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Atmospheric layers */
.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__grid-line {
  position: absolute;
  background: rgba(6,214,160,.04);
}
.hero__grid-line--v {
  width: 1px;
  height: 100%;
  top: 0;
}
.hero__grid-line--h {
  height: 1px;
  width: 100%;
  left: 0;
}
.hero__grid-line--v1 { left: 16.66%; }
.hero__grid-line--v2 { left: 33.33%; }
.hero__grid-line--v3 { left: 50%; background: rgba(6,214,160,.07); }
.hero__grid-line--v4 { left: 66.66%; }
.hero__grid-line--v5 { left: 83.33%; }
.hero__grid-line--h1 { top: 33%; }
.hero__grid-line--h2 { top: 66%; }

.hero__glow-1 {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,214,160,.14) 0%, transparent 65%);
  top: -200px;
  right: -100px;
  animation: glow-drift 14s ease-in-out infinite alternate;
}
.hero__glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67,97,238,.1) 0%, transparent 65%);
  bottom: -100px;
  left: -100px;
  animation: glow-drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 60px) scale(1.2); }
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .5;
}

/* Hero content */
.hero__body {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: var(--sp-80);
  position: relative;
  z-index: 1;
}
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
}

/* Left: editorial text + slides */
.hero__content {
  display: flex;
  flex-direction: column;
}
.hero__slide { display: none; }
.hero__slide.is-active { display: block; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  color: var(--signal);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-20);
}
.hero__kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: topbar-pulse 2s infinite;
}

.hero__h1 {
  font-size: clamp(var(--fs-32), 5.5vw, var(--fs-72));
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: var(--sp-20);
}
.hero__h1 em {
  font-style: normal;
  color: var(--signal);
  position: relative;
}
.hero__h1 em::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--signal), transparent);
  border-radius: var(--r-full);
}
.hero__sub {
  font-size: clamp(var(--fs-15), 1.5vw, var(--fs-18));
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-32);
  max-width: 44ch;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

/* Right: AI terminal */
.hero__terminal {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-20);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--sh-xl), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero__terminal-bar {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: var(--sp-12) var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot--r { background: #ff5f57; }
.terminal-dot--y { background: #febc2e; }
.terminal-dot--g { background: var(--signal); }
.hero__terminal-title {
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  color: rgba(255,255,255,.35);
  margin-left: var(--sp-8);
  letter-spacing: .06em;
}
.hero__terminal-body {
  padding: var(--sp-20);
}

/* AI Search input */
.ai-input-wrap {
  position: relative;
  margin-bottom: var(--sp-16);
}
.ai-input-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  color: rgba(255,255,255,.3);
  letter-spacing: .1em;
  margin-bottom: var(--sp-8);
}
.ai-input-field {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-12);
  padding: var(--sp-12) var(--sp-16);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.ai-input-field.is-focused {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-08), 0 4px 20px rgba(6,214,160,.15);
}
.ai-input-icon {
  width: 16px;
  height: 16px;
  stroke: var(--signal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
  opacity: .8;
}
.ai-input-text {
  flex: 1;
  font-family: var(--ff-mono);
  font-size: var(--fs-13);
  color: rgba(255,255,255,.85);
  min-height: 20px;
}
.ai-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--signal);
  border-radius: 1px;
  vertical-align: middle;
  margin-left: 2px;
  animation: cursor-blink .9s ease-in-out infinite;
}
@keyframes cursor-blink {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0; }
}
.ai-input-dots {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.ai-input-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  opacity: .4;
  animation: thinking 1.4s ease-in-out infinite;
}
.ai-input-dot:nth-child(2) { animation-delay: .2s; }
.ai-input-dot:nth-child(3) { animation-delay: .4s; }
@keyframes thinking {
  0%, 60%, 100% { opacity: .4; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.5); }
}
.ai-input-submit {
  padding: var(--sp-8) var(--sp-16);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: var(--fs-12);
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: var(--r-8);
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.ai-input-submit:hover {
  transform: scale(1.04);
  box-shadow: var(--sh-signal);
}

/* AI response states */
.ai-response {
  border-radius: var(--r-12);
  overflow: hidden;
  min-height: 200px;
}
.ai-state {
  display: none;
  padding: var(--sp-16);
}
.ai-state.is-active { display: block; }

/* State: idle */
.ai-state--idle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.ai-idle-msg {
  text-align: center;
}
.ai-idle-icon {
  width: 40px;
  height: 40px;
  stroke: rgba(255,255,255,.2);
  fill: none;
  stroke-width: 1.5;
  margin: 0 auto var(--sp-12);
}
.ai-idle-text {
  font-family: var(--ff-mono);
  font-size: var(--fs-12);
  color: rgba(255,255,255,.25);
}

/* State: analyzing */
.ai-analyzing {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  padding: var(--sp-16);
}
.ai-analyze-row {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  font-family: var(--ff-mono);
  font-size: var(--fs-12);
  color: rgba(255,255,255,.55);
}
.ai-analyze-row svg {
  width: 14px;
  height: 14px;
  stroke: var(--signal);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.ai-analyze-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
  overflow: hidden;
}
.ai-analyze-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--signal), rgba(6,214,160,.4));
  border-radius: var(--r-full);
  transform-origin: left;
  animation: analyze-fill .8s ease forwards;
}
.ai-analyze-row:nth-child(1) .ai-analyze-fill { animation-delay: 0s; }
.ai-analyze-row:nth-child(2) .ai-analyze-fill { animation-delay: .2s; width: 75%; }
.ai-analyze-row:nth-child(3) .ai-analyze-fill { animation-delay: .4s; width: 60%; }
@keyframes analyze-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* State: results */
.ai-result-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}
.ai-result-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-12);
  padding: var(--sp-14, 14px) var(--sp-16);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-12);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--t-base);
  cursor: default;
}
.ai-result-card.is-visible {
  opacity: 1;
  transform: none;
}
.ai-result-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(6,214,160,.2);
  transform: translateY(-1px);
}
.ai-result-card__rank {
  width: 28px;
  height: 28px;
  border-radius: var(--r-8);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: var(--fs-11);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.ai-result-card__content { flex: 1; min-width: 0; }
.ai-result-card__title {
  font-family: var(--ff-display);
  font-size: var(--fs-13);
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 3px;
  letter-spacing: -.01em;
}
.ai-result-card__desc {
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  color: rgba(255,255,255,.35);
}
.ai-result-card__badge {
  flex-shrink: 0;
  padding: 3px 8px;
  background: var(--signal-08);
  border: 1px solid var(--signal-20);
  border-radius: var(--r-full);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--signal);
  letter-spacing: .04em;
}

/* Hero slider nav tabs */
.hero__nav {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.06);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero__tab {
  padding: var(--sp-16) var(--sp-20);
  border-right: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  transition: background var(--t-fast);
  position: relative;
}
.hero__tab:last-child { border-right: none; }
.hero__tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.hero__tab.is-active::before { transform: scaleX(1); }
.hero__tab.is-active { background: rgba(255,255,255,.03); }
.hero__tab:hover { background: rgba(255,255,255,.02); }
.hero__tab-num {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: rgba(255,255,255,.25);
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.hero__tab-label {
  font-family: var(--ff-display);
  font-size: var(--fs-13);
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero__tab.is-active .hero__tab-label { color: rgba(255,255,255,.9); }

/* ─── LAYER 8: TRUST / METRICS STRIP ────────────────────────── */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide: var(--border);
}
.trust__item {
  padding: var(--sp-32) var(--sp-24);
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background var(--t-base);
}
.trust__item:last-child { border-right: none; }
.trust__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--signal);
  border-radius: var(--r-full);
  transition: transform .4s ease;
}
.trust__item:hover::after { transform: translateX(-50%) scaleX(1); }
.trust__item:hover { background: var(--surface); }
.trust__num {
  font-family: var(--ff-display);
  font-size: clamp(var(--fs-32), 3vw, var(--fs-48));
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.trust__num-sup {
  font-size: var(--fs-20);
  color: var(--signal);
  font-weight: 800;
}
.trust__label {
  font-size: var(--fs-12);
  color: var(--ink-30);
  margin-top: var(--sp-6);
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ─── LAYER 9: PROBLEM / VISIBILITY SECTION ─────────────────── */
.problem {
  background: var(--white);
}
.problem__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-80);
  align-items: center;
}
.problem__left { }
.problem__title {
  font-size: clamp(var(--fs-28), 4vw, var(--fs-48));
}
.problem__body {
  margin-top: var(--sp-20);
  margin-bottom: var(--sp-32);
}
.problem__cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}
.problem-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-14, 14px);
  padding: var(--sp-16) var(--sp-20);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-12);
  transition: all var(--t-base);
}
.problem-card:hover {
  background: var(--white);
  border-color: rgba(6,214,160,.3);
  box-shadow: var(--sh-md);
  transform: translateX(4px);
}
.problem-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-8);
  background: var(--signal-08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.problem-card__text { flex: 1; }
.problem-card__title {
  font-family: var(--ff-display);
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
  letter-spacing: -.01em;
}
.problem-card__desc {
  font-size: var(--fs-13);
  color: var(--ink-60);
  line-height: 1.55;
}

/* Right: Platform signal card */
.problem__signal {
  background: var(--ink);
  border-radius: var(--r-20);
  padding: var(--sp-32);
  box-shadow: var(--sh-xl);
  position: relative;
  overflow: hidden;
}
.problem__signal::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,214,160,.12) 0%, transparent 65%);
  pointer-events: none;
}
.signal-title {
  font-family: var(--ff-display);
  font-size: var(--fs-20);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sp-20);
  letter-spacing: -.02em;
}
.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-14, 14px) 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.signal-row:last-of-type { border-bottom: none; }
.signal-row__left {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
}
.signal-row__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.signal-row__dot--on  { background: var(--signal); box-shadow: 0 0 0 3px rgba(6,214,160,.2); }
.signal-row__dot--off { background: rgba(255,255,255,.15); }
.signal-row__label {
  font-size: var(--fs-13);
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.signal-row__score {
  font-family: var(--ff-mono);
  font-size: var(--fs-12);
  font-weight: 600;
}
.signal-row__score--good  { color: var(--signal); }
.signal-row__score--mid   { color: var(--warm); }
.signal-row__score--bad   { color: rgba(255,255,255,.25); }
.signal-action {
  margin-top: var(--sp-20);
  padding-top: var(--sp-20);
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.signal-action-text {
  font-family: var(--ff-mono);
  font-size: var(--fs-12);
  color: rgba(255,255,255,.35);
  margin-bottom: var(--sp-12);
}

/* ─── LAYER 10: MAPS DOMINATION ─────────────────────────────── */
.maps {
  background: var(--surface);
}
.maps__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-80);
  align-items: center;
}
.maps__title { margin-block: var(--sp-8) var(--sp-16); }
.maps__body  { margin-bottom: var(--sp-32); }

/* Mock Google Maps card */
.maps__card {
  background: var(--white);
  border-radius: var(--r-20);
  box-shadow: var(--sh-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.maps__card-header {
  background: var(--ink);
  padding: var(--sp-12) var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.maps__card-search {
  flex: 1;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-full);
  padding: var(--sp-8) var(--sp-14, 14px);
  font-family: var(--ff-mono);
  font-size: var(--fs-12);
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.maps__card-search svg {
  width: 13px;
  height: 13px;
  stroke: rgba(255,255,255,.4);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.maps__map-area {
  height: 140px;
  background: linear-gradient(135deg, #e8f2e8 0%, #d4e8d4 50%, #c8e0c8 100%);
  position: relative;
  overflow: hidden;
}
.maps__map-pin {
  position: absolute;
  transform: translateX(-50%);
}
.maps__map-pin--1 { top: 20%; left: 40%; }
.maps__map-pin--2 { top: 45%; left: 60%; }
.maps__map-pin--3 { top: 60%; left: 30%; }
.map-pin-svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.3));
  animation: pin-bounce 3s ease-in-out infinite;
}
.maps__map-pin--1 .map-pin-svg { animation-delay: 0s; }
.maps__map-pin--2 .map-pin-svg { animation-delay: 1s; }
.maps__map-pin--3 .map-pin-svg { animation-delay: 2s; }
@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.maps__listings {
  padding: var(--sp-12) var(--sp-16);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.maps__listing {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  padding: var(--sp-10) var(--sp-12);
  border-radius: var(--r-8);
  border: 1.5px solid transparent;
  transition: all var(--t-fast);
}
.maps__listing--top {
  background: var(--signal-08);
  border-color: rgba(6,214,160,.25);
}
.maps__listing:not(.maps__listing--top):hover {
  background: var(--surface);
}
.maps__listing-rank {
  width: 22px;
  height: 22px;
  border-radius: var(--r-4);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.maps__listing:not(.maps__listing--top) .maps__listing-rank {
  background: var(--ink-08);
  color: var(--ink-60);
}
.maps__listing-info { flex: 1; min-width: 0; }
.maps__listing-name {
  font-family: var(--ff-display);
  font-size: var(--fs-13);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.maps__listing-meta {
  font-size: var(--fs-11);
  color: var(--ink-30);
}
.maps__listing-stars {
  font-size: var(--fs-12);
  color: var(--warm);
  letter-spacing: 1px;
}

.maps__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-16);
  margin-top: var(--sp-32);
}
.maps__stat {
  padding: var(--sp-16);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-12);
  text-align: center;
  box-shadow: var(--sh-xs);
  transition: all var(--t-base);
}
.maps__stat:hover {
  border-color: var(--signal);
  box-shadow: var(--sh-md), 0 0 0 3px var(--signal-08);
  transform: translateY(-2px);
}
.maps__stat-num {
  font-family: var(--ff-display);
  font-size: var(--fs-28);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: var(--sp-4);
}
.maps__stat-label {
  font-size: var(--fs-12);
  color: var(--ink-30);
  font-weight: 500;
}

/* ─── LAYER 11: AI VISIBILITY SECTION ───────────────────────── */
.ai-visibility {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.ai-visibility__bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,214,160,.08) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ai-visibility__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-80);
  align-items: center;
  position: relative;
  z-index: 1;
}
.ai-visibility__platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}
.ai-platform-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-16);
  padding: var(--sp-20);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.ai-platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.ai-platform-card:hover::before { transform: scaleX(1); }
.ai-platform-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(6,214,160,.2);
  transform: translateY(-3px);
}
.ai-platform-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-10, 10px);
  background: var(--signal-08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-12);
  font-size: 20px;
}
.ai-platform-card__name {
  font-family: var(--ff-display);
  font-size: var(--fs-14);
  font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.ai-platform-card__status {
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  color: var(--signal);
}

/* ─── LAYER 12: BUSINESSES WE HELP ──────────────────────────── */
.businesses {
  background: var(--white);
}
.businesses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-20);
  margin-top: var(--sp-48);
}
.business-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  padding: var(--sp-24);
  transition: all var(--t-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.business-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--signal-08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.business-card:hover {
  background: var(--white);
  border-color: rgba(6,214,160,.3);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.business-card:hover::after { opacity: 1; }
.business-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-12);
  background: var(--signal-08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-16);
  font-size: 22px;
  position: relative;
  z-index: 1;
}
.business-card__title {
  font-family: var(--ff-display);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-8);
  position: relative;
  z-index: 1;
}
.business-card__desc {
  font-size: var(--fs-13);
  color: var(--ink-60);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ─── LAYER 13: PROCESS ──────────────────────────────────────── */
.process {
  background: var(--surface);
}
.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
  margin-top: var(--sp-56);
  position: relative;
}
.process__timeline::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--signal) 0%, rgba(6,214,160,.2) 100%);
  pointer-events: none;
}
.process-step {
  text-align: center;
  padding: var(--sp-20);
  position: relative;
}
.process-step__dot {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-20);
  font-size: 28px;
  position: relative;
  z-index: 1;
  transition: all var(--t-spring);
  box-shadow: var(--sh-sm);
}
.process-step__num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}
.process-step:hover .process-step__dot {
  transform: scale(1.1);
  border-color: var(--signal);
  box-shadow: var(--sh-md), 0 0 0 6px var(--signal-08);
}
.process-step__title {
  font-family: var(--ff-display);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-8);
}
.process-step__desc {
  font-size: var(--fs-13);
  color: var(--ink-60);
  line-height: 1.6;
}

/* ─── LAYER 14: AUTHORITY / PROOF ───────────────────────────── */
.authority {
  background: var(--white);
}
.authority__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-80);
  align-items: start;
}

/* Featured review */
.authority__featured {
  background: var(--ink);
  border-radius: var(--r-20);
  padding: var(--sp-40);
  position: relative;
  overflow: hidden;
}
.authority__featured::before {
  content: '\201C';
  position: absolute;
  top: -16px;
  left: var(--sp-24);
  font-family: var(--ff-display);
  font-size: 160px;
  color: rgba(6,214,160,.08);
  line-height: 1;
  pointer-events: none;
}
.auth-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  margin-bottom: var(--sp-20);
}
.auth-stars {
  color: var(--warm);
  font-size: var(--fs-18);
  letter-spacing: 2px;
}
.auth-score {
  font-family: var(--ff-display);
  font-size: var(--fs-28);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}
.auth-source {
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  color: rgba(255,255,255,.35);
  margin-top: 2px;
}
.auth-quote {
  font-family: var(--ff-display);
  font-size: var(--fs-18);
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  letter-spacing: -.01em;
  font-style: italic;
  margin-bottom: var(--sp-28);
  position: relative;
}
.auth-person {
  display: flex;
  align-items: center;
  gap: var(--sp-14, 14px);
}
.auth-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--signal) 0%, rgba(67,97,238,.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.auth-name {
  font-family: var(--ff-display);
  font-size: var(--fs-15);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}
.auth-role {
  font-size: var(--fs-12);
  color: var(--signal);
  font-weight: 500;
  margin-top: 2px;
}
.auth-verify {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: 5px 12px;
  background: var(--signal-08);
  border: 1px solid var(--signal-20);
  border-radius: var(--r-full);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--signal);
  letter-spacing: .04em;
}
.auth-verify svg {
  width: 10px;
  height: 10px;
  stroke: var(--signal);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

/* Review cards stack */
.authority__reviews { display: flex; flex-direction: column; gap: var(--sp-14, 14px); }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  padding: var(--sp-20) var(--sp-24);
  transition: all var(--t-base);
}
.review-card:hover {
  background: var(--white);
  border-color: rgba(6,214,160,.3);
  box-shadow: var(--sh-md);
  transform: translateX(4px);
}
.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-12);
}
.review-card__stars { color: var(--warm); font-size: var(--fs-13); letter-spacing: 1px; }
.review-card__platform {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-30);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.review-card__text {
  font-size: var(--fs-14);
  color: var(--ink-60);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--sp-14, 14px);
}
.review-card__author { display: flex; align-items: center; gap: var(--sp-10); }
.review-card__avi {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--signal-20) 0%, var(--pulse-20) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.review-card__name {
  font-family: var(--ff-display);
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.review-card__biz {
  font-size: var(--fs-12);
  color: var(--signal);
  font-weight: 500;
}

/* ─── LAYER 15: MARQUEE / LIVE RESULTS ──────────────────────── */
.live-results {
  background: var(--ink);
  padding-block: var(--sp-40);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.live-results__label {
  text-align: center;
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  color: rgba(255,255,255,.2);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: var(--sp-24);
}
.marquee-wrap {
  position: relative;
  overflow: hidden;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee-track {
  display: flex;
  gap: var(--sp-14, 14px);
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.result-pill {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-12);
  padding: var(--sp-12) var(--sp-16);
  flex-shrink: 0;
  transition: border-color var(--t-fast);
}
.result-pill:hover { border-color: rgba(6,214,160,.3); }
.result-pill__flag {
  width: 22px;
  height: auto;
  border-radius: var(--r-4);
  flex-shrink: 0;
}
.result-pill__rank {
  width: 24px;
  height: 24px;
  border-radius: var(--r-6);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.result-pill__text { }
.result-pill__kw {
  font-family: var(--ff-display);
  font-size: var(--fs-13);
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: -.01em;
}
.result-pill__client {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-top: 2px;
}

/* ─── LAYER 16: FAQ ──────────────────────────────────────────── */
.faq {
  background: var(--surface);
}
.faq__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-80);
  align-items: start;
}
.faq__list { margin-top: var(--sp-8); }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  padding: var(--sp-20) 0;
  font-family: var(--ff-display);
  font-size: var(--fs-15);
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  letter-spacing: -.02em;
  transition: color var(--t-fast);
}
.faq-btn:hover { color: var(--signal); }
.faq-btn__ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink-04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
}
.faq-btn__ico svg {
  width: 12px;
  height: 12px;
  stroke: var(--ink-60);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: transform var(--t-base), stroke var(--t-fast);
}
.faq-item.is-open .faq-btn__ico {
  background: var(--signal);
  border-color: var(--signal);
}
.faq-item.is-open .faq-btn__ico svg {
  stroke: var(--ink);
  transform: rotate(45deg);
}
.faq-body {
  font-size: var(--fs-14);
  color: var(--ink-60);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s ease;
}
.faq-item.is-open .faq-body {
  max-height: 320px;
  padding-bottom: var(--sp-20);
}
.faq__cta-box {
  background: var(--ink);
  border-radius: var(--r-20);
  padding: var(--sp-32);
  text-align: center;
}
.faq__cta-box-title {
  font-family: var(--ff-display);
  font-size: var(--fs-20);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-10);
}
.faq__cta-box-body {
  font-size: var(--fs-14);
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: var(--sp-24);
}
.faq__cta-box-btns { display: flex; flex-direction: column; gap: var(--sp-10); }

/* ─── LAYER 17: CTA BAND ─────────────────────────────────────── */
.cta-band {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-band__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,214,160,.08) 0%, transparent 50%, rgba(67,97,238,.06) 100%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-80);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
}
.cta-band__text { }
.cta-band__headline {
  font-family: var(--ff-display);
  font-size: clamp(var(--fs-28), 4vw, var(--fs-48));
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: var(--sp-16);
}
.cta-band__headline em {
  font-style: normal;
  color: var(--signal);
}
.cta-band__body {
  font-size: var(--fs-16);
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.cta-band__form { }
.cta-band__form-title {
  font-family: var(--ff-display);
  font-size: var(--fs-20);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: var(--sp-20);
}
.cta-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-16);
  padding: var(--sp-24);
  backdrop-filter: blur(12px);
}
.cta-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.cta-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}
.cta-form__label {
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  color: rgba(255,255,255,.4);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cta-form__input {
  width: 100%;
  padding: var(--sp-12) var(--sp-14, 14px);
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--r-8);
  font-size: var(--fs-14);
  color: var(--white);
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.cta-form__input::placeholder { color: rgba(255,255,255,.25); }
.cta-form__input:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-08);
}
.cta-form__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.recap-wrap {
  display: flex;
  justify-content: center;
  margin: var(--sp-14, 14px) 0;
}
.cta-form__submit {
  width: 100%;
  padding: var(--sp-14, 14px) var(--sp-24);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: var(--fs-15);
  font-weight: 800;
  border-radius: var(--r-8);
  border: none;
  cursor: pointer;
  letter-spacing: -.02em;
  transition: all var(--t-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  margin-top:30px;
}
.cta-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-signal);
}
.cta-form__submit svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: transform var(--t-base);
}
.cta-form__submit:hover svg { transform: translateX(3px); }

/* ─── LAYER 18: FOOTER ───────────────────────────────────────── */
.site-footer {
  background: #060b16;
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: var(--sp-64);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--sp-48);
  padding-bottom: var(--sp-48);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__brand-logo img { height: 36px; margin-bottom: var(--sp-16); }
.footer__brand-desc {
  font-size: var(--fs-13);
  color: rgba(255,255,255,.4);
  line-height: 1.75;
  max-width: 38ch;
  margin-bottom: var(--sp-20);
}
.footer__socials {
  display: flex;
  gap: var(--sp-8);
}
.footer__social {
  width: 36px;
  height: 36px;
  border-radius: var(--r-8);
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.footer__social:hover {
  background: var(--signal-20);
  transform: translateY(-2px);
}
.footer__social img { width: 15px; height: 15px; }
.footer__col-title {
  font-family: var(--ff-mono);
  font-size: var(--fs-11);
  font-weight: 600;
  color: rgba(255,255,255,.3);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-16);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}
.footer__link {
  font-size: var(--fs-13);
  color: rgba(255,255,255,.5);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.footer__link::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.footer__link:hover { color: var(--signal); }
.footer__link:hover::before { opacity: 1; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer__contact-icon { font-size: var(--fs-15); flex-shrink: 0; line-height: 1.5; }
.footer__contact-text {
  font-size: var(--fs-13);
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.footer__contact-text a { color: rgba(255,255,255,.5); transition: color var(--t-fast); }
.footer__contact-text a:hover { color: var(--signal); }
.footer__bottom {
  padding-block: var(--sp-20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  flex-wrap: wrap;
}
.footer__copy {
  font-size: var(--fs-12);
  color: rgba(255,255,255,.2);
}
.footer__copy a { color: rgba(255,255,255,.35); transition: color var(--t-fast); }
.footer__copy a:hover { color: var(--signal); }
.footer__legal {
  display: flex;
  gap: var(--sp-20);
}
.footer__legal-link {
  font-size: var(--fs-12);
  color: rgba(255,255,255,.2);
  transition: color var(--t-fast);
}
.footer__legal-link:hover { color: var(--signal); }

/* ─── LAYER 19: POPUP ────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,15,30,.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-20);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.popup-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.popup-box {
  background: var(--white);
  border-radius: var(--r-20);
  padding: var(--sp-40);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--sh-xl);
  transform: translateY(20px) scale(.97);
  transition: transform var(--t-slow);
  position: relative;
}
.popup-overlay.is-open .popup-box {
  transform: none;
}
.popup-close {
  position: absolute;
  top: var(--sp-16);
  right: var(--sp-16);
  width: 32px;
  height: 32px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.popup-close:hover { background: #fee2e2; }
.popup-close svg {
  width: 13px;
  height: 13px;
  stroke: var(--ink-60);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.popup-title {
  font-family: var(--ff-display);
  font-size: var(--fs-24);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  margin-bottom: var(--sp-6);
}
.popup-sub {
  font-size: var(--fs-14);
  color: var(--ink-60);
  line-height: 1.6;
  margin-bottom: var(--sp-24);
}
.popup-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
.popup-form__field { margin-bottom: var(--sp-12); }
.popup-form__input {
  width: 100%;
  padding: var(--sp-12) var(--sp-14, 14px);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-8);
  font-size: var(--fs-14);
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.popup-form__input::placeholder { color: var(--ink-30); }
.popup-form__input:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-08);
  background: var(--white);
}
.popup-form__submit {
  width: 100%;
  padding: var(--sp-14, 14px) var(--sp-24);
  background: var(--ink);
  color: var(--white);
  font-family: var(--ff-display);
  font-size: var(--fs-15);
  font-weight: 800;
  border-radius: var(--r-8);
  border: none;
  cursor: pointer;
  letter-spacing: -.01em;
  transition: all var(--t-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
}
.popup-form__submit:hover {
  background: var(--signal);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--sh-signal);
}

/* ─── LAYER 20: FLOATING ELEMENTS ───────────────────────────── */
.float-wa,
.float-mail {
  position: fixed;
  right: var(--sp-16);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-10) var(--sp-18, 18px);
  border-radius: var(--r-full);
  font-family: var(--ff-display);
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--white);
  box-shadow: var(--sh-lg);
  transition: all var(--t-base);
}
.float-wa   { bottom: 76px; background: #25d366; }
.float-mail { bottom: 16px; background: var(--ink-2, #1a2035); border: 1px solid rgba(255,255,255,.1); }
.float-wa:hover   { transform: scale(1.05); box-shadow: 0 12px 40px rgba(37,211,102,.4); }
.float-mail:hover { transform: scale(1.05); box-shadow: var(--sh-xl); }
.float-wa img, .float-mail img { width: 18px; height: 18px; }

.btt-btn {
  position: fixed;
  right: var(--sp-16);
  bottom: 148px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  border-radius: var(--r-10, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-base);
  box-shadow: var(--sh-sm);
}
.btt-btn.is-visible { opacity: 1; pointer-events: auto; }
.btt-btn:hover { background: var(--ink); }
.btt-btn:hover svg { stroke: var(--white); }
.btt-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ─── LAYER 21: RESPONSIVE — TABLET ─────────────────────────── */
@media (max-width: 1024px) {
  .hero__layout     { grid-template-columns: 1fr; gap: var(--sp-40); }
  .hero__terminal   { max-width: 560px; }
  .problem__layout  { grid-template-columns: 1fr; gap: var(--sp-48); }
  .maps__layout     { grid-template-columns: 1fr; gap: var(--sp-48); }
  .maps__layout > :first-child { order: 2; }
  .maps__layout > :last-child  { order: 1; }
  .ai-visibility__layout  { grid-template-columns: 1fr; gap: var(--sp-48); }
  .businesses__grid { grid-template-columns: repeat(2,1fr); }
  .process__timeline { grid-template-columns: repeat(2,1fr); }
  .process__timeline::before { display: none; }
  .authority__layout { grid-template-columns: 1fr; gap: var(--sp-40); }
  .faq__layout       { grid-template-columns: 1fr; gap: var(--sp-48); }
  .cta-band__inner   { grid-template-columns: 1fr; gap: var(--sp-48); }
  .footer__grid      { grid-template-columns: 1fr 1fr; gap: var(--sp-40); }
}

/* ─── LAYER 22: RESPONSIVE — MOBILE ─────────────────────────── */
@media (max-width: 768px) {
  :root { --sp-80: 3.5rem; --sp-120: 5rem; }
  .topbar { display: none; }
  .site-nav__links  { display: none; }
  .site-nav__actions > .btn { display: none; }
  .nav-burger       { display: flex; }
  .trust__inner     { grid-template-columns: repeat(2, 1fr); }
  .trust__item      { border-bottom: 1px solid var(--border); }
  .trust__item:nth-child(2) { border-right: none; }
  .businesses__grid { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: 1fr; }
  .hero__tab-sub { display: none; }
  .footer__grid  { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cta-form__row   { grid-template-columns: 1fr; }
  .popup-form__row { grid-template-columns: 1fr; }
  .float-wa span, .float-mail span { display: none; }
  .float-wa, .float-mail {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .hero__terminal { display: none; }
}

@media (max-width: 480px) {
  .section   { padding-block: var(--sp-56); }
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .maps__stats { grid-template-columns: 1fr 1fr; }
  .ai-visibility__platforms { grid-template-columns: 1fr; }
  .popup-box { padding: var(--sp-24) var(--sp-20); }
}

/* ─── LAYER 23: ACCESSIBILITY ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: var(--r-4);
}

/* ── UTILITY CLASSES (PHP markup helpers) ── */
.section-headline {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--ink);
}
.sec-center {
  text-align: center;
  margin-bottom: 0;
}
.sec-center--mb { margin-bottom: 3.5rem; }
.sec-body-spaced { margin: 1rem auto 0; }
.ai-vis__body   { margin-top: 1.25rem; margin-bottom: 2rem; }
.mt-16          { margin-top: 1rem; }

/* ════════════════════════════════════════════════════════════
   AI GROWTH ESTIMATOR SECTION
   ════════════════════════════════════════════════════════════ */

.ai-estimator {
  position: relative;
  overflow: hidden;
  background: #060a12;
  padding: 100px 0 80px;
}

.ai-estimator__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.aie__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.aie__glow-1 {
  position: absolute;
  top: -120px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,.08) 0%, transparent 70%);
}

.aie__glow-2 {
  position: absolute;
  bottom: -100px;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(67,97,238,.08) 0%, transparent 70%);
}

.ai-estimator .container { position: relative; z-index: 1; }

/* Shell */
.aie__shell {
  max-width: 860px;
  margin: 0 auto;
  background: #0d1420;
  border: 1px solid #1e2d45;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0,229,255,.06);
}

/* Topbar */
.aie__topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #0a1020;
  border-bottom: 1px solid #1a2540;
}

.aie__topbar-dots {
  display: flex;
  gap: 6px;
}

.aie__topbar-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a3a56;
}

.aie__topbar-dots span:first-child { background: #ff5f57; }
.aie__topbar-dots span:nth-child(2) { background: #febc2e; }
.aie__topbar-dots span:nth-child(3) { background: #28c840; }

.aie__topbar-title {
  flex: 1;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.aie__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #06d6a0;
  box-shadow: 0 0 8px #06d6a0;
  animation: aiePulse 2s ease-in-out infinite;
}

@keyframes aiePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.aie__topbar-badge {
  background: rgba(0,229,255,.1);
  color: #00e5ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0,229,255,.2);
}

/* Conversation area */
.aie__convo {
  padding: 28px 28px 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 360px;
}

/* AI message bubble */
.aie__msg {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.aie__msg--ai .aie__bubble {
  background: #111f35;
  border: 1px solid #1e3050;
  border-radius: 0 16px 16px 16px;
  padding: 16px 20px;
  max-width: 680px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.7;
}

.aie__msg--user .aie__bubble {
  background: rgba(0,229,255,.08);
  border: 1px solid rgba(0,229,255,.18);
  border-radius: 16px 0 16px 16px;
  padding: 12px 18px;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
  margin-left: auto;
}

.aie__msg--user {
  flex-direction: row-reverse;
}

.aie__bubble p { margin: 0 0 8px; }
.aie__bubble p:last-child { margin: 0; }

.aie__bubble-label {
  font-size: 11px;
  font-weight: 700;
  color: #00e5ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.aie__bubble-q {
  color: #f8fafc !important;
  font-weight: 600;
  margin-top: 12px !important;
}

.aie__avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff, #4361ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #060a12;
  box-shadow: 0 0 16px rgba(0,229,255,.3);
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* User avatar */
.aie__user-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #1e2d45;
  border: 1px solid #2a3a56;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Input blocks */
.aie__input-block {
  padding-left: 52px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: aieSlideIn .35s ease;
}

@keyframes aieSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Chip grid */
.aie__chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aie__chip {
  background: #111f35;
  border: 1px solid #1e3050;
  color: #94a3b8;
  padding: 8px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}

.aie__chip:hover,
.aie__chip.is-selected {
  background: rgba(0,229,255,.1);
  border-color: rgba(0,229,255,.4);
  color: #00e5ff;
  box-shadow: 0 0 12px rgba(0,229,255,.15);
}

/* Manual input row */
.aie__manual-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.aie__text-input {
  flex: 1;
  background: #0a1020;
  border: 1px solid #1e2d45;
  color: #f8fafc;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all .22s;
}

.aie__text-input::placeholder { color: #3a4a6b; }

.aie__text-input:focus {
  border-color: rgba(0,229,255,.4);
  box-shadow: 0 0 0 3px rgba(0,229,255,.07);
}

.aie__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.aie__select option { background: #0a1020; }

.aie__send-btn {
  background: #00e5ff;
  color: #060a12;
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all .22s;
  font-family: inherit;
}

.aie__send-btn svg { width: 16px; height: 16px; }

.aie__send-btn:hover {
  background: #26eeff;
  box-shadow: 0 0 20px rgba(0,229,255,.4);
  transform: translateY(-1px);
}

.aie__send-btn--wide {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 12px;
}

.aie__send-btn--fire {
  background: linear-gradient(135deg, #00e5ff, #4361ee);
  position: relative;
  overflow: hidden;
}

.aie__send-btn--fire:hover {
  background: linear-gradient(135deg, #26eeff, #5470f0);
  box-shadow: 0 0 30px rgba(0,229,255,.35);
}

.aie__btn-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  animation: aieSweep 2s ease-in-out infinite;
}

@keyframes aieSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Dual input */
.aie__dual-input {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Volume sliders */
.aie__volume-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aie__vol-item {
  background: #0a1528;
  border: 1px solid #1a2a45;
  border-radius: 12px;
  padding: 16px 20px;
}

.aie__vol-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 10px;
}

.aie__vol-val {
  color: #00e5ff;
  font-size: 20px;
  font-weight: 900;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.aie__slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: #1e2d45;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.aie__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00e5ff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,229,255,.5);
  border: 2px solid #fff;
}

.aie__vol-current {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.aie__vol-current label {
  font-size: 12px;
  color: #3a4a6b;
  white-space: nowrap;
  font-weight: 600;
}

.aie__num-input {
  width: 90px;
  background: #0a1020;
  border: 1px solid #1e2d45;
  color: #f8fafc;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

.aie__num-input:focus { border-color: rgba(0,229,255,.4); }

/* Fields column */
.aie__fields-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Typing indicator */
.aie__typing {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: aieSlideIn .3s ease;
}

.aie__typing-dots {
  display: flex;
  gap: 5px;
  padding: 14px 18px;
  background: #111f35;
  border: 1px solid #1e3050;
  border-radius: 0 14px 14px 14px;
}

.aie__typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e5ff;
  opacity: .3;
  animation: aieTypeDot .8s ease-in-out infinite;
}

.aie__typing-dots span:nth-child(2) { animation-delay: .15s; }
.aie__typing-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes aieTypeDot {
  0%, 80%, 100% { opacity: .3; transform: scale(.85); }
  40% { opacity: 1; transform: scale(1); }
}

/* Results panel */
.aie__results {
  padding: 0 28px 28px;
  animation: aieSlideIn .4s ease;
}

.aie__results-header {
  background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(67,97,238,.06));
  border: 1px solid rgba(0,229,255,.15);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
  text-align: center;
}

.aie__results-tier {
  font-size: 12px;
  font-weight: 700;
  color: #00e5ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.aie__results-headline {
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc;
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.4;
}

.aie__results-sub {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
}

.aie__price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.aie__price-card {
  background: #0a1020;
  border: 1px solid #1e2d45;
  border-radius: 12px;
  padding: 18px 20px;
}

.aie__price-card-label {
  font-size: 11px;
  color: #3a4a6b;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 6px;
}

.aie__price-card-val {
  font-size: 22px;
  font-weight: 900;
  color: #f8fafc;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.aie__total-card {
  background: rgba(0,229,255,.04);
  border: 1px solid rgba(0,229,255,.2);
  border-radius: 14px;
  padding: 22px 24px;
  text-align: center;
  margin-bottom: 16px;
}

.aie__total-label {
  font-size: 11px;
  font-weight: 700;
  color: #00e5ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.aie__total-val {
  font-size: 42px;
  font-weight: 900;
  color: #00e5ff;
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: -1px;
}

.aie__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(6,214,160,.06);
  border: 1px solid rgba(6,214,160,.2);
  border-radius: 10px;
  padding: 14px 20px;
  color: #06d6a0;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.aie__result-actions {
  display: flex;
  gap: 12px;
}

.aie__result-actions .btn { flex: 1; }

/* Progress bar */
.aie__progress {
  height: 3px;
  background: #0a1020;
}

.aie__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00e5ff, #4361ee);
  border-radius: 0 2px 2px 0;
  transition: width .5s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 8px rgba(0,229,255,.5);
}

/* Thinking/scanning animation */
.aie__scanning {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 28px;
}

.aie__scan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #3a4a6b;
  font-weight: 600;
}

.aie__scan-row.is-done { color: #06d6a0; }
.aie__scan-row.is-active { color: #00e5ff; }

.aie__scan-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
}

.aie__scan-row.is-active .aie__scan-icon {
  border-color: #00e5ff;
  animation: aieSpinRing 1s linear infinite;
}

@keyframes aieSpinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.aie__scan-bar {
  flex: 1;
  height: 3px;
  background: #0a1020;
  border-radius: 3px;
  overflow: hidden;
}

.aie__scan-bar-fill {
  height: 100%;
  background: currentColor;
  border-radius: 3px;
  width: 0%;
  transition: width .4s ease;
}

/* Responsive */
@media (max-width: 640px) {
  .aie__convo { padding: 20px 16px 8px; }
  .aie__input-block { padding-left: 0; }
  .aie__dual-input { grid-template-columns: 1fr; }
  .aie__price-row { grid-template-columns: 1fr; }
  .aie__total-val { font-size: 32px; }
  .aie__result-actions { flex-direction: column; }
  .aie__chip { font-size: 12px; padding: 7px 12px; }
  .aie__results { padding: 0 16px 20px; }
}

/* ════════════════════════════════════════════════════════════
   SECTION #8 — ZAMMY PROOF (Google's Own Answer)
   ════════════════════════════════════════════════════════════ */

.zammy-proof {
  position: relative;
  overflow: hidden;
  background: #04080f;
  padding: 100px 0;
}

.zammy-proof__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.zp__ray {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0,229,255,.15), transparent);
  top: 0; bottom: 0;
  animation: zpRay 4s ease-in-out infinite;
}
.zp__ray--1 { left: 30%; animation-delay: 0s; }
.zp__ray--2 { left: 70%; animation-delay: 2s; }
@keyframes zpRay { 0%,100%{opacity:.3} 50%{opacity:1} }

.zp__noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: .4;
}

.zammy-proof .container { position: relative; z-index: 1; }

.zammy-proof__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Screen mockup */
.zammy-proof__screen { position: relative; }

.zp__screen-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #3a4a6b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.zp__screen-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #06d6a0;
  box-shadow: 0 0 8px #06d6a0;
  animation: aiePulse 2s ease-in-out infinite;
}

.zp__google-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
}

.zp__google-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e8eaed;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.zp__google-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 13px;
  color: #202124;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.zp__google-search svg { width: 16px; height: 16px; stroke: #5f6368; fill: none; }
.zp__google-tools { font-size: 12px; color: #5f6368; white-space: nowrap; }

.zp__ai-overview { padding: 20px 20px 0; }

.zp__ai-overview-header { margin-bottom: 12px; }

.zp__ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e8f0fe, #fce8e6);
  color: #1a73e8;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.zp__ai-answer {
  font-size: 13px;
  line-height: 1.7;
  color: #202124;
  font-family: Georgia, serif;
}

.zp__ai-answer p { margin: 0 0 10px; }
.zp__ai-answer p:last-child { margin: 0; }
.zp__ai-answer strong { color: #202124; }

.zp__highlight {
  background: linear-gradient(135deg, rgba(26,115,232,.12), rgba(52,168,83,.12));
  padding: 1px 4px;
  border-radius: 3px;
  color: #1a73e8 !important;
}

.zp__ai-sources {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-bottom: 16px;
}

.zp__ai-source {
  font-size: 11px;
  color: #1a73e8;
  background: #e8f0fe;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.zp__verified-stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #e6f4ea;
  color: #137333;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  border-top: 1px solid #ceead6;
}

.zp__verified-stamp svg { width: 14px; height: 14px; stroke: #137333; fill: none; }

/* Copy */
.zammy-proof__copy { }

.zp__proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.zp__proof-stat {
  background: rgba(0,229,255,.04);
  border: 1px solid rgba(0,229,255,.1);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.zp__proof-stat-num {
  font-size: 22px;
  font-weight: 900;
  color: #00e5ff;
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1;
  margin-bottom: 6px;
}

.zp__proof-stat-label {
  font-size: 11px;
  color: #3a4a6b;
  line-height: 1.4;
  font-weight: 600;
}

@media (max-width: 900px) {
  .zammy-proof__layout { grid-template-columns: 1fr; }
  .zp__proof-stats { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 560px) {
  .zp__proof-stats { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════
   SECTION #4 — VERSAFORGE VS EVERYONE
   ════════════════════════════════════════════════════════════ */

.vs-table {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.vs-table__bg { position: absolute; inset: 0; pointer-events: none; }
.vst__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,229,255,.05) 0%, transparent 70%);
}

.vs-table .container { position: relative; z-index: 1; }

.vst__wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.vst__table {
  width: 100%;
  min-width: 680px;
  border: 1px solid #1e2d45;
  border-radius: 16px;
  overflow: hidden;
}

.vst__row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr 1fr;
  border-bottom: 1px solid #111f35;
  transition: background .18s;
}

.vst__row:last-child { border-bottom: none; }
.vst__row:not(.vst__row--header):not(.vst__row--cta):hover { background: rgba(0,229,255,.02); }

.vst__row--header {
  background: #0a1020;
  border-bottom: 2px solid #1e2d45;
}

.vst__row--cta { background: #0a1020; border-top: 2px solid #1e2d45; }

.vst__cell {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  border-right: 1px solid #111f35;
  line-height: 1.4;
}

.vst__cell:last-child { border-right: none; }

.vst__cell--feature {
  color: #94a3b8;
  font-weight: 600;
}

.vst__cell--vf {
  background: rgba(0,229,255,.03);
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  border-right: 1px solid rgba(0,229,255,.1);
}

.vst__cell--muted {
  color: #3a4a6b;
  font-size: 12px;
  font-weight: 600;
  justify-content: center;
  text-align: center;
}

.vst__row--header .vst__cell { color: #94a3b8; font-size: 12px; align-items: flex-end; padding-bottom: 16px; }
.vst__row--header .vst__cell--vf { color: #f8fafc; }

.vst__col-badge {
  background: linear-gradient(135deg, #00e5ff, #4361ee);
  color: #04080f;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.vst__col-name {
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.vst__col-sub { font-size: 11px; color: #3a4a6b; font-weight: 600; }

.vst__yes {
  color: #06d6a0;
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(6,214,160,.4);
}

.vst__no {
  color: #ef4444;
  font-size: 18px;
  font-weight: 900;
}

.vst__maybe {
  color: #f59e0b;
  font-size: 18px;
  font-weight: 900;
}

.vst__cell:not(.vst__cell--feature):not(.vst__cell--vf) { justify-content: center; }

.vst__row--cta .vst__cell--vf { padding: 20px 16px; }

.vst__footnote {
  font-size: 11px;
  color: #2a3a56;
  text-align: center;
  margin-top: 14px;
  font-weight: 600;
  letter-spacing: .3px;
}


/* ════════════════════════════════════════════════════════════
   SECTION #3 — AI VISIBILITY SCORE CARD
   ════════════════════════════════════════════════════════════ */

.score-card {
  position: relative;
  overflow: hidden;
  background: #060a12;
  padding: 100px 0;
}

.score-card__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.sc__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.sc__glow-l {
  position: absolute; top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(67,97,238,.07) 0%, transparent 70%);
}

.sc__glow-r {
  position: absolute; bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,.06) 0%, transparent 70%);
}

.score-card .container { position: relative; z-index: 1; }

.sc__shell {
  max-width: 820px;
  margin: 0 auto;
  background: #0d1420;
  border: 1px solid #1e2d45;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

/* Input row */
.sc__input-row {
  display: flex;
  gap: 12px;
  padding: 28px 32px;
  border-bottom: 1px solid #111f35;
  align-items: stretch;
}

.sc__input-wrap {
  flex: 1;
  position: relative;
}

.sc__input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #3a4a6b;
  pointer-events: none;
}

.sc__url-input {
  width: 100%;
  background: #0a1020;
  border: 1px solid #1e2d45;
  color: #f8fafc;
  padding: 14px 16px 14px 42px;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  transition: all .22s;
  box-sizing: border-box;
  height: 100%;
}

.sc__url-input::placeholder { color: #2a3a56; }
.sc__url-input:focus { border-color: rgba(0,229,255,.4); box-shadow: 0 0 0 3px rgba(0,229,255,.07); }

.sc__analyse-btn {
  background: linear-gradient(135deg, #00e5ff, #4361ee);
  color: #04080f;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: inherit;
  transition: all .22s;
  position: relative;
  overflow: hidden;
}

.sc__analyse-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: translateX(-100%);
  animation: aieSweep 2.5s ease-in-out infinite;
}

.sc__analyse-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,229,255,.3); }
.sc__analyse-btn svg { width: 16px; height: 16px; }

/* Scanning state */
.sc__scanning {
  padding: 32px;
  text-align: center;
}

.sc__scan-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: #00e5ff;
  font-weight: 700;
  margin-bottom: 20px;
}

.sc__scan-pulse {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 0 0 rgba(0,229,255,.4);
  animation: scPulse 1.2s ease-out infinite;
}

@keyframes scPulse {
  0% { box-shadow: 0 0 0 0 rgba(0,229,255,.4); }
  70% { box-shadow: 0 0 0 12px rgba(0,229,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}

.sc__scan-bars {
  max-width: 400px;
  margin: 0 auto;
}

.sc__scan-track {
  height: 3px;
  background: #0a1020;
  border-radius: 3px;
  overflow: hidden;
}

.sc__scan-fill {
  height: 100%;
  background: linear-gradient(90deg, #00e5ff, #4361ee);
  border-radius: 3px;
  width: 0%;
  transition: width .15s linear;
}

/* Results */
.sc__results { padding: 32px; }

.sc__score-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #111f35;
}

.sc__ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.sc__ring-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.sc__ring-track {
  fill: none;
  stroke: #0a1020;
  stroke-width: 10;
}

.sc__ring-fill {
  fill: none;
  stroke: url(#scGradient);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1);
}

.sc__ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sc__ring-num {
  font-size: 28px;
  font-weight: 900;
  color: #f8fafc;
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1;
}

.sc__ring-label {
  font-size: 11px;
  color: #3a4a6b;
  font-weight: 700;
}

.sc__score-meta { flex: 1; }

.sc__score-grade {
  font-size: 28px;
  font-weight: 900;
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1;
  margin-bottom: 6px;
}

.sc__score-grade--critical { color: #ef4444; }
.sc__score-grade--poor     { color: #f97316; }
.sc__score-grade--fair     { color: #f59e0b; }
.sc__score-grade--good     { color: #06d6a0; }

.sc__score-url { font-size: 13px; color: #3a4a6b; font-weight: 600; margin-bottom: 8px; }
.sc__score-verdict { font-size: 14px; color: #94a3b8; line-height: 1.5; }

/* Breakdown bars */
.sc__breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.sc__breakdown-item {
  background: #0a1020;
  border: 1px solid #111f35;
  border-radius: 12px;
  padding: 14px 18px;
  animation: aieSlideIn .4s ease both;
}

.sc__breakdown-item:nth-child(1) { animation-delay: .1s; }
.sc__breakdown-item:nth-child(2) { animation-delay: .2s; }
.sc__breakdown-item:nth-child(3) { animation-delay: .3s; }
.sc__breakdown-item:nth-child(4) { animation-delay: .4s; }

.sc__breakdown-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 10px;
}

.sc__breakdown-icon { font-size: 15px; }

.sc__breakdown-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc__breakdown-bar {
  flex: 1;
  height: 6px;
  background: #1e2d45;
  border-radius: 6px;
  overflow: hidden;
}

.sc__breakdown-fill {
  height: 100%;
  border-radius: 6px;
  width: 0%;
  transition: width 1s cubic-bezier(.4,0,.2,1);
}

.sc__breakdown-fill--critical { background: linear-gradient(90deg,#ef4444,#f97316); }
.sc__breakdown-fill--poor     { background: linear-gradient(90deg,#f97316,#f59e0b); }
.sc__breakdown-fill--fair     { background: linear-gradient(90deg,#f59e0b,#eab308); }
.sc__breakdown-fill--good     { background: linear-gradient(90deg,#06d6a0,#00e5ff); }

.sc__breakdown-score {
  font-size: 15px;
  font-weight: 900;
  font-family: 'Bricolage Grotesque', sans-serif;
  min-width: 36px;
  text-align: right;
}

.sc__breakdown-status {
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
  letter-spacing: .3px;
}

.sc__cta-row {
  background: rgba(0,229,255,.03);
  border: 1px solid rgba(0,229,255,.1);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.sc__cta-text { font-size: 15px; font-weight: 700; color: #f8fafc; }

.sc__retry-btn {
  background: none;
  border: none;
  color: #3a4a6b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  transition: color .2s;
}

.sc__retry-btn:hover { color: #00e5ff; }

@media (max-width: 600px) {
  .sc__input-row { flex-direction: column; padding: 20px; }
  .sc__score-hero { flex-direction: column; text-align: center; }
  .sc__results { padding: 20px; }
}


/* ════════════════════════════════════════════════════════════
   SECTION #1 — LIVE SERP SIMULATOR
   ════════════════════════════════════════════════════════════ */

.serp-sim {
  padding: 100px 0;
  background: #07101e;
  position: relative;
  overflow: hidden;
}

.serp-sim .eyebrow { color: #00e5ff; }
.serp-sim .section-headline { color: #f8fafc; }
.serp-sim .section-body { color: #64748b; }

.serp__shell {
  max-width: 900px;
  margin: 0 auto;
  background: #0d1420;
  border: 1px solid #1e2d45;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

/* Controls */
.serp__controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 28px;
  align-items: end;
}

.serp__input-group { display: flex; flex-direction: column; gap: 6px; }

.serp__label {
  font-size: 11px;
  font-weight: 700;
  color: #3a4a6b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.serp__input {
  background: #0a1020;
  border: 1px solid #1e2d45;
  color: #f8fafc;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all .22s;
}

.serp__input::placeholder { color: #2a3a56; }
.serp__input:focus { border-color: rgba(0,229,255,.4); box-shadow: 0 0 0 3px rgba(0,229,255,.06); }

.serp__generate-btn {
  background: #00e5ff;
  color: #04080f;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: inherit;
  transition: all .22s;
  height: 46px;
}

.serp__generate-btn svg { width: 15px; height: 15px; }
.serp__generate-btn:hover { background: #26eeff; box-shadow: 0 0 20px rgba(0,229,255,.3); transform: translateY(-1px); }

/* Browser chrome */
.serp__browser {
  border: 1px solid #2a3a56;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(0,229,255,.05);
  transition: all .3s ease;
  margin-top: 20px;
}

.serp__browser-chrome {
  background: #1a1a2e;
  border-bottom: 1px solid #1e2d45;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.serp__browser-dots {
  display: flex;
  gap: 5px;
}

.serp__browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2a3a56;
}

.serp__browser-dots span:first-child { background: #ff5f57; }
.serp__browser-dots span:nth-child(2) { background: #febc2e; }
.serp__browser-dots span:nth-child(3) { background: #28c840; }

.serp__browser-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0a1020;
  border: 1px solid #1e2d45;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: #3a4a6b;
  font-family: monospace;
}

.serp__browser-bar svg { width: 12px; height: 12px; fill: #3a4a6b; }

/* Google page */
.serp__page {
  background: #fafbfe;
  padding: 20px 24px 24px;
}

.serp__google-header { margin-bottom: 16px; }

.serp__google-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.serp__search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 10px 20px;
  max-width: 600px;
  margin-bottom: 8px;
  color: #202124;
  font-size: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
}

.serp__search-box svg { width: 18px; height: 18px; stroke: #5f6368; fill: none; flex-shrink: 0; }

.serp__result-count { font-size: 12px; color: #70757a; }

/* AI box */
.serp__ai-box {
  background: linear-gradient(135deg, #e8f0fe, #fef7e0);
  border: 1px solid #d2e3fc;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  max-width: 650px;
}

.serp__ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #4285F4, #34A853);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
  letter-spacing: .3px;
}

.serp__ai-text { font-size: 13px; color: #202124; line-height: 1.6; margin: 0; }

/* Results */
.serp__results-list {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.serp__result {
  padding: 14px 0;
  border-bottom: 1px solid #f1f3f4;
  animation: aieSlideIn .35s ease both;
}

.serp__result--top {
  background: linear-gradient(135deg, rgba(0,229,255,.04), rgba(67,97,238,.03));
  border: 2px solid rgba(0,229,255,.2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 8px;
  box-shadow: 0 4px 16px rgba(0,229,255,.08);
}

.serp__result--comp { opacity: .75; padding: 12px 4px; }

.serp__result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.serp__favicon { font-size: 14px; }

.serp__result-url { font-size: 12px; color: #0d652d; font-weight: 600; }
.serp__result-domain { font-size: 12px; color: #3c4043; }

.serp__result-tag {
  margin-left: auto;
  background: linear-gradient(135deg, #00e5ff, #4361ee);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 20px;
}

.serp__result-tag--grey {
  background: #f1f3f4;
  color: #3c4043;
}

.serp__result-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a0dab;
  margin-bottom: 4px;
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.3;
}

.serp__result--top .serp__result-title { color: #1558d6; }

.serp__result-desc { font-size: 13px; color: #3c4043; line-height: 1.6; margin-bottom: 6px; }

.serp__result-stars { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.serp__stars { color: #f59e0b; font-size: 13px; }
.serp__stars--grey { color: #cbd5e1; }

.serp__review-count { font-size: 12px; color: #3c4043; }

.serp__result-chip {
  font-size: 11px;
  font-weight: 700;
  color: #137333;
  background: #e6f4ea;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Maps pack */
.serp__maps-pack {
  background: #f8f9fa;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 650px;
}

.serp__maps-label {
  font-size: 12px;
  font-weight: 700;
  color: #5f6368;
  margin-bottom: 10px;
}

.serp__maps-items { display: flex; flex-direction: column; gap: 8px; }

.serp__map-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
}

.serp__map-item--top {
  background: #fff;
  border: 1px solid rgba(0,229,255,.2);
  box-shadow: 0 2px 8px rgba(0,229,255,.08);
}

.serp__map-rank { font-size: 13px; font-weight: 900; color: #1558d6; min-width: 24px; }
.serp__map-rank--grey { color: #94a3b8; }
.serp__map-name { font-size: 13px; font-weight: 700; color: #202124; }
.serp__map-meta { font-size: 11px; color: #5f6368; }
.serp__map-cta { margin-left: auto; font-size: 12px; font-weight: 700; color: #1558d6; }

/* Bottom CTA */
.serp__bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(0,229,255,.04);
  border: 1px solid rgba(0,229,255,.15);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 20px;
  animation: aieSlideIn .4s ease;
}

.serp__bottom-cta-text { font-size: 15px; color: #94a3b8; flex: 1; }
.serp__bottom-cta-text strong { color: #f8fafc; }

@media (max-width: 780px) {
  .serp__controls { grid-template-columns: 1fr 1fr; }
  .serp__generate-btn { grid-column: 1/-1; justify-content: center; height: auto; padding: 14px; }
  .serp__bottom-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  .serp__controls { grid-template-columns: 1fr; }
  .serp__page { padding: 16px; }
}

/* Explicit text colors for dark custom sections */
.score-card .section-headline,
.score-card .eyebrow { color: #f8fafc; }
.score-card .section-body { color: #64748b; }
.score-card .eyebrow { color: #00e5ff; }

.zammy-proof .section-title,
.zammy-proof .section-body { color: #f8fafc; }
.zammy-proof .section-body { color: #94a3b8; }
.zammy-proof .eyebrow { color: #00e5ff; }
.zammy-proof em { color: #00e5ff; font-style: normal; }

.serp-sim .container--sm .section-headline { color: #f8fafc; }
.serp-sim .container--sm .section-body { color: #64748b; }
