/* ================================================================
   ZAMMY ZAIF - AI Visibility Growth Platform
   it2.tv · VersaForge LLP
   Architecture: Mobile-first · BEM · CSS Custom Properties
   Version: 3.0 - Unified · No Inline CSS · AI Platform Aesthetic
   ================================================================ */

/* ════════════════════════════════════════════════════════════════
   LAYER 1 - DESIGN TOKENS
   ════════════════════════════════════════════════════════════════ */
:root {
  /* ── Core Palette ── */
  --ink:         #0a0f1e;
  --ink-90:      rgba(10,15,30,.9);
  --ink-70:      rgba(10,15,30,.7);
  --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-40:   rgba(6,214,160,.4);
  --signal-20:   rgba(6,214,160,.2);
  --signal-10:   rgba(6,214,160,.10);
  --signal-06:   rgba(6,214,160,.06);

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

  --warm:        #f59e0b;
  --warm-15:     rgba(245,158,11,.15);
  --danger:      #ef4444;
  --danger-12:   rgba(239,68,68,.12);

  --white:       #ffffff;
  --surface:     #f5f8ff;
  --surface-2:   #eef2fc;
  --border:      #e4eaf6;
  --border-mid:  rgba(228,234,246,.7);

  /* ── Dark Surface System ── */
  --dark:        #060b16;
  --dark-2:      #0a1120;
  --dark-card:   #0e1828;
  --dark-border: rgba(255,255,255,.08);
  --dark-text:   rgba(255,255,255,.75);
  --dark-muted:  rgba(255,255,255,.45);

  /* ── 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;

  /* ── Fluid Type Scale - WCAG AA, International Standard ── */
  --h1: clamp(2.5rem, 5vw, 4rem);        /* 40px → 64px */
  --h2: clamp(1.875rem, 3.5vw, 2.75rem); /* 30px → 44px */
  --h3: clamp(1.375rem, 2.5vw, 1.875rem);/* 22px → 30px */
  --h4: clamp(1.125rem, 1.8vw, 1.375rem);/* 18px → 22px */
  --h5: clamp(0.9375rem, 1.4vw, 1.0625rem);/* 15px → 17px */
  --h6: 0.875rem;                         /* 14px fixed */
  --body: 15px;                           /* 16px */
  --body-lg: 15px;                    /* 18px lead text */
  --body-sm: 15px;                    /* 14px small */
  --caption: 0.75rem;                     /* 12px */
  --overline: 0.6875rem;                  /* 11px */

  /* ── Spacing Scale ── */
  --sp-4:   0.25rem;
  --sp-6:   0.375rem;
  --sp-8:   0.5rem;
  --sp-10:  0.625rem;
  --sp-12:  0.75rem;
  --sp-16:  1rem;
  --sp-20:  1.25rem;
  --sp-24:  1.5rem;
  --sp-28:  1.75rem;
  --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-24:  24px;
  --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,.28);
  --sh-pulse:  0 8px 28px rgba(67,97,238,.25);
  --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 & BASE
   ════════════════════════════════════════════════════════════════ */
*, *::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(--body);
  line-height: 1.65;
  color: var(--ink-90);
  background: var(--white);
 overflow-x: clip;
  -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; }

/* ── Standard Heading Scale (global, consistent) ── */
h1 {
  font-family: var(--ff-display);
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}

h2 {
  font-family: var(--ff-display);
  font-size: var(--h2);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h3 {
  font-family: var(--ff-display);
  font-size: var(--h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h4 {
  font-family: var(--ff-display);
  font-size: var(--h4);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h5 {
  font-family: var(--ff-display);
  font-size: var(--h5);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

h6 {
  font-family: var(--ff-display);
  font-size: var(--h6);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-90);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Dark section heading overrides */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--white);
}

.section--dark p { color: var(--dark-text); }

/* Highlight em in headings */
h1 em, h2 em, h3 em { font-style: normal; color: var(--c-signal-d); }

/* ════════════════════════════════════════════════════════════════
   LAYER 3 - LAYOUT SYSTEM
   ════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-20);
}

.container--sm {
  max-width: var(--max-w-sm);
  margin-inline: auto;
  width: 100%;
}

.section {
  padding-block: var(--sp-80);
  position: relative;
}

.section--lg   { padding-block: var(--sp-120); }
.section--sm   { padding-block: var(--sp-48); }

.section--surface { background: var(--surface); }
.section--surface-2 { background: var(--surface-2); }

.section--dark {
  background: var(--dark);
  color: var(--dark-text);
}

.section--dark-2 {
  background: var(--dark-2);
  color: var(--dark-text);
}

/* AI scan-line texture for dark sections */
.section--dark::before,
.section--dark-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(6,214,160,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(6,214,160,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.section--dark > .container,
.section--dark-2 > .container {
  position: relative;
  z-index: 1;
}

/* ── Grid Helpers ── */
.grid-2  { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-24); }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-24); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-56); align-items: center; }

/* ════════════════════════════════════════════════════════════════
   LAYER 4 - TYPOGRAPHY UTILITIES
   ════════════════════════════════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-signal-d);
  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 { display: flex; justify-content: center; margin-inline: auto; }
.eyebrow--white  { color: var(--c-signal-d); }

.section-title {
  font-size: var(--h2);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-align: center;
}

.section-title--white { color: var(--white); }
.section-title em     { font-style: normal; color: var(--c-signal-d); }

.section-body {
  font-size: var(--body-lg);
  line-height: 1.75;
  color: var(--ink-60);
  text-align: center;
}

.section-body--white { color: var(--dark-text); }

/* Lead paragraph (first paragraph in section) */
.lead {
  font-size: var(--body-lg);
  line-height: 1.75;
  color: var(--ink-60);
  max-width: 70ch;
}

.lead--center { text-align: center; margin-inline: auto; }

/* Caption / label */
.caption {
  font-size: var(--caption);
  line-height: 1.5;
  color: var(--ink-30);
}

.mono {
  font-family: var(--ff-mono);
  font-size: var(--overline);
}

/* Text alignment helpers */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ════════════════════════════════════════════════════════════════
   LAYER 5 - BUTTON SYSTEM
   ════════════════════════════════════════════════════════════════ */
.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(--body-sm);
  font-weight: 500;

  letter-spacing: -0.01em;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--t-base);
}

.btn:hover .btn-icon { transform: translateX(3px); }

/* Primary - Signal Green */
.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 0.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%); }

/* Ghost - outlined */
.btn--ghost {
  background: transparent;
  color: var(--c-signal-d);
  border: 1.5px solid var(--signal);
}

.btn--ghost:hover {
  background: var(--signal-10);
}

/* Ghost white - for dark backgrounds */
.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(--c-signal-d);
  color: var(--c-signal-d);
  background: var(--signal-06);
}

/* Sizes */
.btn--lg {
  padding: var(--sp-12) var(--sp-32);
  font-size: var(--body);
}

.btn--sm {
  padding: var(--sp-8) var(--sp-16);
  font-size: var(--caption);
}

/* Full-width on mobile */
.btn--block { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════════════════
   LAYER 6 - BADGE / PILL / CHIP SYSTEM
   ════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  font-size: var(--overline);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.badge--signal  { background: var(--signal-10); color: var(--c-signal-d); border: 1px solid var(--signal-20); }
.badge--pulse   { background: var(--pulse-08);  color: var(--pulse);  border: 1px solid var(--pulse-20); }
.badge--warm    { background: var(--warm-15);   color: var(--c-warm-d);   border: 1px solid rgba(245,158,11,.3); }
.badge--danger  { background: var(--danger-12); color: var(--danger); border: 1px solid rgba(239,68,68,.2); }
.badge--dark    { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.12); }

/* Live dot badge */
.badge--live {
  background: var(--signal-10);
  color: var(--c-signal-d);
  border: 1px solid var(--signal-20);
}

.badge--live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: livePulse 2.4s ease-in-out infinite;
}

@keyframes livePulse {
  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); }
}

/* ════════════════════════════════════════════════════════════════
   LAYER 7 - REVEAL ANIMATIONS
   ════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
  animation: revealFallback 0.01s ease 3s forwards;
}

.reveal.is-visible { opacity: 1; transform: none; animation: none; }

.reveal--left  { transform: translateX(-24px); }
.reveal--right { transform: translateX(24px); }
.reveal--left.is-visible,
.reveal--right.is-visible { opacity: 1; transform: 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; }

@keyframes revealFallback { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   LAYER 8 - TOPBAR
   ════════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--dark);
  padding-block: var(--sp-10);
  position: relative;
  z-index: 200;
  border-bottom: 1px solid var(--dark-border);
}

.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(--overline);
  color: var(--c-signal-d);
  letter-spacing: 0.08em;
}

.topbar__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: livePulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-20);
}

.topbar__link {
  font-size: var(--caption);
  color: rgba(255,255,255,.5);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.topbar__link:hover { color: var(--c-signal-d); }

.topbar__link-icon {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}

.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 9 - NAVIGATION
   ════════════════════════════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.93);
  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(--body-sm);
  font-weight: 600;
  color: var(--ink-60);
  border-radius: var(--r-8);
  transition: all var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--ink);
  background: var(--ink-04);
}

/* Dropdown toggle inherits link styles */
.site-nav__dropdown-toggle {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: var(--sp-8) var(--sp-12);
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--ink-60);
  border-radius: var(--r-8);
  transition: all var(--t-fast);
  white-space: nowrap;
  font-family: var(--ff-body);
}

.site-nav__dropdown-toggle:hover,
.site-nav__dropdown-toggle.is-active {
  color: var(--ink);
  background: var(--ink-04);
}

.site-nav__chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.55;
}

.site-nav__dropdown { position: relative; }

.site-nav__dropdown.is-open .site-nav__chevron,
.site-nav__dropdown:focus-within .site-nav__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.site-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-12);
  box-shadow: var(--sh-xl);
  padding: 6px 0;
  list-style: none;
  z-index: 9999;
}

.site-nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px;
  height: 11px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 2px 0 0 0;
}

.site-nav__dropdown.is-open .site-nav__dropdown-menu {
  display: block;
  animation: dropFadeIn 0.15s ease;
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.site-nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 10px 18px;
  color: var(--ink-70);
  font-size: var(--body-sm);
  font-weight: 500;
  transition: all var(--t-fast);
}

.site-nav__dropdown-item:hover {
  color: var(--c-signal-d);
  background: var(--signal-06);
}

.site-nav__dropdown-item .dot-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}

.site-nav__dropdown-item:hover .dot-indicator { opacity: 1; }

.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: var(--ink-04);
  color: var(--ink);
  font-size: var(--body-sm);
  font-weight: 700;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  font-family: var(--ff-display);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.site-nav__chat:hover { background: var(--ink-08); }

/* Hamburger */
.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 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;
}

.nav-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: var(--r-8);
  background: var(--ink-04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-24);
  margin-left: auto;
}

.nav-drawer__close svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink-60);
}

.nav-drawer__link {
  display: flex;
  align-items: center;
  padding: var(--sp-12) 0;
  font-size: var(--body);
  font-weight: 600;
  color: var(--ink-70);
  border-bottom: 1px solid var(--border-mid);
  transition: color var(--t-fast);
}

.nav-drawer__link:hover { color: var(--c-signal-d); }

.nav-drawer__section {
  font-size: var(--overline);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-signal-d);
  margin-top: var(--sp-20);
  margin-bottom: var(--sp-8);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 10 - PAGE HERO (inner pages)
   ════════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--dark);
  padding-block: var(--sp-64) var(--sp-56);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 20% 60%, rgba(6,214,160,.07) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 80% 20%, rgba(67,97,238,.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(6,214,160,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(6,214,160,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-hero > .container { position: relative; z-index: 1; }

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--body-sm);
  color: var(--dark-muted);
  margin-bottom: var(--sp-24);
  flex-wrap: wrap;
}

.page-hero__breadcrumb a {
  color: var(--dark-muted);
  transition: color var(--t-fast);
}

.page-hero__breadcrumb a:hover { color: var(--c-signal-d); }
.page-hero__breadcrumb span    { color: var(--dark-muted); }

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-signal-d);
  margin-bottom: var(--sp-20);
}

.page-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: livePulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.page-hero__h1 {
  font-size: var(--h1);
  font-weight: 800;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-20);
  max-width: 18ch;
}

.page-hero__h1 em { font-style: normal; color: var(--c-signal-d); }

.page-hero__sub {
  font-size: var(--body-lg);
  line-height: 1.75;
  color: var(--dark-text);
  max-width: 60ch;
  margin-bottom: var(--sp-32);
}

/* Page hero CTA strip */
.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  flex-wrap: wrap;
  margin-top: var(--sp-32);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 11 - TRUST / METRICS STRIP
   ════════════════════════════════════════════════════════════════ */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp-24);
}

.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-48);
  flex-wrap: wrap;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.trust__num {
  font-family: var(--ff-display);
  font-size: var(--h3);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.trust__num-sup {
  font-size: var(--h4);
  font-weight: 800;
  color: var(--c-signal-d);
}

.trust__label {
  font-size: 13px;
  color: var(--ink-60);
  font-weight: 500;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 12 - CARD SYSTEM
   ════════════════════════════════════════════════════════════════ */

/* Feature Card */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  padding: var(--sp-28);
  transition: all var(--t-base);
}

.feature-card:hover {
  border-color: var(--signal-40);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-16);
}

.feature-card__title {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.feature-card__desc {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-20);
}

/* Strategy Card (dark) */
.strat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-16);
  padding: var(--sp-28);
  transition: border-color var(--t-base);
  position: relative;
}

.strat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  border-radius: var(--r-16) var(--r-16) 0 0;
  opacity: 0;
  transition: opacity var(--t-base);
}

.strat-card:hover { border-color: rgba(6,214,160,.2); }
.strat-card:hover::before { opacity: 1; }

.strat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--sp-20);
}

.strat-card__num {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 700;
  color: var(--c-signal-d);
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-12);
}

.strat-card__title {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-8);
}

.strat-card__desc {
  font-size: var(--body);
  color: var(--dark-muted);
  line-height: 1.7;
}

/* Testimonial Card */
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  padding: var(--sp-28);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base), border-color var(--t-base);
}

.testi-card:hover {
  box-shadow: var(--sh-lg);
  border-color: var(--signal-20);
}

.testi-card__stars {
  color: var(--c-warm-d);
  font-size: var(--body-lg);
  letter-spacing: 2px;
  margin-bottom: var(--sp-12);
}

.testi-card__quote {
  font-size: var(--body);
  line-height: 1.75;
  color: var(--ink-70);
  margin-bottom: var(--sp-20);
  font-style: italic;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

.testi-card__avi {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--signal-10);
  border: 1px solid var(--signal-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testi-card__name {
  font-size: var(--body);
  font-weight: 700;
  color: var(--ink);
}

.testi-card__biz {
  font-size: var(--body-sm);
  color: var(--ink-60);
}

/* Testi grid */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-20);
}

/* Step/Process card */
.step-item {
  display: flex;
  gap: var(--sp-20);
  align-items: flex-start;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--signal-10);
  border: 1.5px solid var(--signal-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: var(--body-sm);
  font-weight: 800;
  color: var(--c-signal-d);
  flex-shrink: 0;
}

.step-title {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.step-desc {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-28);
}

/* Highlight Box */
.highlight-box {
  display: flex;
  gap: var(--sp-16);
  align-items: flex-start;
  background: var(--signal-06);
  border: 1px solid var(--signal-20);
  border-radius: var(--r-16);
  padding: var(--sp-24);
}

.highlight-box__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-box__title {
  font-family: var(--ff-display);
  font-size: var(--h4);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.highlight-box__text {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
}

/* Proof pill strip */
.gre-hero-proof-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin-top: var(--sp-24);
}

.gre-hero-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  padding: 5px 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  font-size: var(--body-sm);
  font-weight: 600;
  color: rgba(255,255,255,.75);
}

.gre-hero-proof-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: livePulse 2.4s infinite;
  flex-shrink: 0;
}

/* Inner eyebrow (page sections) */
.inner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-signal-d);
  margin-bottom: var(--sp-16);
}

.inner-eyebrow::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--signal);
  border-radius: var(--r-full);
  flex-shrink: 0;
}

/* Inner section layout */
.inner-section {
  padding-block: var(--sp-80);
  position: relative;
}

.page-intro {
  margin-bottom: var(--sp-48);
  max-width: var(--max-w-sm);
}

.page-intro.centered {
  margin-inline: auto;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 13 - FAQ ACCORDION
   ════════════════════════════════════════════════════════════════ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  width: 100%;
  padding: var(--sp-20) 0;
  font-size: var(--body);
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color var(--t-fast);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--ff-display);
}

.faq-btn:hover { color: var(--c-signal-d); }

.faq-btn__ico {
  width: 24px;
  height: 24px;
  border-radius: var(--r-6);
  background: var(--ink-04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-base);
}

.faq-btn__ico svg {
  width: 10px;
  height: 10px;
  stroke: var(--ink-60);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  transition: stroke var(--t-fast);
}

.faq-item.is-open .faq-btn__ico {
  background: var(--signal-10);
  transform: rotate(45deg);
}

.faq-item.is-open .faq-btn__ico svg { stroke: var(--signal); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  font-size: var(--body);
  line-height: 1.75;
  color: var(--ink-60);
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.is-open .faq-body {
  max-height: 800px;
  padding-bottom: var(--sp-20);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 14 - PRICING CARDS
   ════════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-24);
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-24);
  padding: var(--sp-32);
  position: relative;
  transition: box-shadow var(--t-base), border-color var(--t-base);
}

.pricing-card:hover {
  box-shadow: var(--sh-lg);
  border-color: var(--signal-20);
}

.pricing-card--featured {
  border-color: var(--signal-40);
  box-shadow: var(--sh-signal);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.pricing-card__name {
  font-size: var(--h4);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.pricing-card__price {
  font-size: var(--h2);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.pricing-card__price-currency {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--ink-60);
}

.pricing-card__price-period {
  font-size: var(--body-sm);
  color: var(--ink-60);
  margin-bottom: var(--sp-24);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  margin-bottom: var(--sp-28);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-10);
  font-size: var(--body);
  color: var(--ink-70);
}

.pricing-feature::before {
  content: '✓';
  color: var(--c-signal-d);
  font-weight: 800;
  font-size: var(--body-sm);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 15 - CTA SECTION
   ════════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--dark);
  padding-block: var(--sp-80);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(6,214,160,.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(6,214,160,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(6,214,160,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cta-section > .container { position: relative; z-index: 1; }

.cta-section__title {
  font-family: var(--ff-display);
  font-size: var(--h2);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: var(--sp-20);
}

.cta-section__title em { font-style: normal; color: var(--c-signal-d); }

.cta-section__body {
  font-size: var(--body-lg);
  color: var(--dark-text);
  line-height: 1.75;
  max-width: 64ch;
  margin-inline: auto;
  margin-bottom: var(--sp-40);
}

.cta-section__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-16);
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 16 - MARQUEE / TICKER
   ════════════════════════════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  background: var(--ink-04);
  border-block: 1px solid var(--border);
  padding-block: var(--sp-16);
}

.marquee-row {
  display: flex;
  overflow: hidden;
  height: 56px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
  animation: marqueeScroll 28s linear infinite;
  flex-shrink: 0;
  white-space: nowrap;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-12);
  padding: 6px var(--sp-16);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  white-space: nowrap;
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--ink-70);
}

.marquee-item__flag {
  font-size: 1rem;
}

.marquee-item__rank {
  background: var(--signal-10);
  color: var(--c-signal-d);
  font-size: var(--overline);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 17 - CONTACT FORM
   ════════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-64);
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: var(--sp-16);
  align-items: flex-start;
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--border);
}

.contact-info__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-12);
  background: var(--signal-06);
  border: 1px solid var(--signal-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__label {
  font-size: var(--body-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: var(--body);
  color: var(--ink-60);
}

.contact-info__value a:hover { color: var(--c-signal-d); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-24);
  padding: var(--sp-40);
  box-shadow: var(--sh-md);
}

.contact-form__title {
  font-size: var(--h3);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.contact-form__sub {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
  margin-bottom: var(--sp-28);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  margin-bottom: var(--sp-16);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-bottom: var(--sp-16);
}

.contact-form__label {
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--ink);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: var(--sp-12) var(--sp-16);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-8);
  font-size: var(--body);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--c-signal-d);
  box-shadow: 0 0 0 3px var(--signal-10);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit {
  width: 100%;
  padding: var(--sp-16);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: var(--body);
  font-weight: 800;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: var(--sh-signal);
  letter-spacing: -0.01em;
  margin-top: var(--sp-8);
}

.contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(6,214,160,.4);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 18 - BLOG CARDS
   ════════════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-24);
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  overflow: hidden;
  transition: all var(--t-base);
}

.blog-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: var(--signal-20);
}

.blog-card__emoji {
  height: 140px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
}

.blog-card__body {
  padding: var(--sp-24);
}

.blog-card__category {
  font-size: var(--overline);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-signal-d);
  margin-bottom: var(--sp-8);
}

.blog-card__title {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: var(--sp-12);
}

.blog-card__excerpt {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
  margin-bottom: var(--sp-20);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--body-sm);
  color: var(--ink-30);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 19 - AI TERMINAL INTERFACE
   ════════════════════════════════════════════════════════════════ */
.hero-terminal {
  background: var(--dark);
  padding-block: var(--sp-80);
  position: relative;
  overflow: hidden;
}

.hero-terminal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 10% 60%, rgba(6,214,160,.08) 0%, transparent 50%),
              radial-gradient(ellipse 70% 80% at 90% 20%, rgba(67,97,238,.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-terminal::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(6,214,160,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(6,214,160,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-terminal > .container { position: relative; z-index: 1; }

.hero-terminal__layout {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: var(--sp-64);
  align-items: center;
}

.hero-terminal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 6px 16px;
  background: var(--signal-10);
  border: 1px solid var(--signal-20);
  border-radius: var(--r-full);
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-signal-d);
  margin-bottom: var(--sp-24);
}

.hero-terminal__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: livePulse 2.4s infinite;
}

.hero-terminal__h1 {
  font-size: var(--h1);
  font-weight: 800;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-20);
}

.hero-terminal__h1 em { font-style: normal; color: var(--c-signal-d); }

.hero-terminal__sub {
  font-size: var(--body-lg);
  line-height: 1.75;
  color: var(--dark-text);
  max-width: 52ch;
  margin-bottom: var(--sp-32);
}

/* ── AI Query Terminal Shell ── */
.ai-terminal-shell {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-16);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}

.ai-terminal-bar {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--dark-border);
  padding: var(--sp-10) var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

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

.ai-terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

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

.ai-terminal-title {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: var(--dark-muted);
  flex: 1;
  text-align: center;
}

.ai-terminal-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: var(--c-signal-d);
}

.ai-terminal-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  animation: livePulse 2s infinite;
}

.ai-terminal-body {
  padding: var(--sp-20);
  min-height: 320px;
  position: relative;
}

.ai-input-row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-12) var(--sp-16);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-8);
  margin-bottom: var(--sp-16);
}

.ai-input-icon {
  color: var(--c-signal-d);
  font-size: 0.9rem;
  flex-shrink: 0;
  font-family: var(--ff-mono);
  font-weight: 700;
}

.ai-input-text {
  flex: 1;
  font-family: var(--ff-mono);
  font-size: var(--body-sm);
  color: rgba(255,255,255,.75);
  min-height: 1em;
}

.ai-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--signal);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.ai-terminal-state { display: none; }
.ai-terminal-state.is-active { display: block; }

/* Analyze state */
.ai-analyze-row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-8) 0;
  font-size: var(--body-sm);
  color: var(--dark-muted);
}

.ai-analyze-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-analyze-fill-wrap {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
  overflow: hidden;
}

.ai-analyze-fill {
  height: 100%;
  background: var(--signal);
  border-radius: var(--r-full);
  animation: analyzeBar 1.8s ease-out forwards;
}

@keyframes analyzeBar {
  from { width: 0; }
  to   { width: 100%; }
}

/* Result cards */
.ai-result-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.ai-result-card {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-10) var(--sp-14);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-8);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ai-result-card.is-visible { opacity: 1; transform: none; }

.ai-result-card__rank {
  font-family: var(--ff-mono);
  font-size: var(--body-sm);
  font-weight: 800;
  color: var(--c-signal-d);
  width: 28px;
  flex-shrink: 0;
}

.ai-result-card__content { flex: 1; }

.ai-result-card__title {
  font-size: var(--body-sm);
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 2px;
}

.ai-result-card__desc {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: var(--dark-muted);
}

.ai-result-card__badge {
  font-size: var(--overline);
  font-weight: 700;
  padding: 2px 8px;
  background: var(--signal-10);
  color: var(--c-signal-d);
  border-radius: var(--r-full);
  white-space: nowrap;
}

/* Probe strip below terminal */
.hero-probe-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin-top: var(--sp-16);
}

/* Hero tabs */
.hero__tab {
  padding: var(--sp-8) var(--sp-16);
  border-radius: var(--r-full);
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--dark-muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--dark-border);
  cursor: pointer;
  transition: all var(--t-base);
}

.hero__tab.is-active,
.hero__tab:hover {
  color: var(--c-signal-d);
  border-color: var(--signal-20);
  background: var(--signal-06);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 20 - AI GROWTH ESTIMATOR
   ════════════════════════════════════════════════════════════════ */
.ai-estimator {
  position: relative;
  overflow: hidden;
  background: #060a12;
  padding-block: var(--sp-96) var(--sp-80);
}

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

.aie__grid-bg {
  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;
}

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

.aie__shell {
  background: #0a1a2e;
  border: 1px solid rgba(6,214,160,.15);
  border-radius: var(--r-20);
  overflow: hidden;
  max-width: 860px;
  margin: var(--sp-40) auto 0;
  display: flex;
  flex-direction: column;
  height: 540px;
}

.aie__topbar {
  background: rgba(6,214,160,.06);
  border-bottom: 1px solid rgba(6,214,160,.12);
  padding: var(--sp-10) var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

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

.aie__topbar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.aie__topbar-dot--r { background: #ff5f57; }
.aie__topbar-dot--y { background: #febc2e; }
.aie__topbar-dot--g { background: #28c840; }

.aie__topbar-title {
  flex: 1;
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: rgba(6,214,160,.7);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
}

.aie__status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  animation: livePulse 2s infinite;
}

.aie__convo {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-20);
  scroll-behavior: smooth;
}

.aie__convo::-webkit-scrollbar { width: 4px; }
.aie__convo::-webkit-scrollbar-track { background: transparent; }
.aie__convo::-webkit-scrollbar-thumb { background: rgba(6,214,160,.2); border-radius: var(--r-full); }

.aie__msg {
  display: flex;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
}

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

.aie__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(6,214,160,.15);
  border: 1px solid rgba(6,214,160,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: var(--body-sm);
  font-weight: 800;
  color: var(--c-signal-d);
  flex-shrink: 0;
}

.aie__user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(67,97,238,.15);
  border: 1px solid rgba(67,97,238,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--body-sm);
  flex-shrink: 0;
}

.aie__bubble {
  max-width: 75%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px var(--r-16) var(--r-16) var(--r-16);
  padding: var(--sp-12) var(--sp-16);
  font-size: var(--body-sm);
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}

.aie__msg--user .aie__bubble {
  background: rgba(67,97,238,.12);
  border-color: rgba(67,97,238,.2);
  border-radius: var(--r-16) 4px var(--r-16) var(--r-16);
}

.aie__bubble-label {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: var(--c-signal-d);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-8);
}

.aie__bubble p { font-size: var(--body-sm); color: rgba(255,255,255,.75); margin-bottom: var(--sp-8); }
.aie__bubble p:last-child { margin-bottom: 0; }

.aie__bubble-q {
  font-weight: 700;
  color: rgba(255,255,255,.9);
}

.aie__typing {
  display: flex;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
  align-items: center;
}

.aie__typing-dots {
  display: flex;
  gap: 4px;
  padding: var(--sp-10) var(--sp-14);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-16);
}

.aie__typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0.4;
  animation: typingDot 1.4s ease-in-out infinite;
}

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

@keyframes typingDot {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.2); }
}

.aie__input-footer {
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: var(--sp-16) var(--sp-20);
}

.aie__input-block { display: none; }
.aie__input-block.is-active { display: block; }

.aie__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}

.aie__chip {
  padding: 5px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-full);
  font-size: var(--body-sm);
  font-weight: 600;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  transition: all var(--t-fast);
}

.aie__chip:hover,
.aie__chip.is-selected {
  background: var(--signal-10);
  border-color: var(--signal-20);
  color: var(--c-signal-d);
}

.aie__chip--country {
  font-size: var(--body-sm);
}

.aie__text-row {
  display: flex;
  gap: var(--sp-8);
  align-items: center;
  margin-bottom:10px;
}

.aie__text-input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-8);
  padding: var(--sp-12) var(--sp-16);;
  font-size: var(--body-sm);
  color: rgba(255,255,255,.8);
  outline: none;
  transition: border-color var(--t-fast);
  margin-bottom:10px;
}

.aie__text-input:focus { border-color: var(--c-signal-d); }
.aie__text-input::placeholder { color: rgba(255,255,255,.3); }

.aie__send-btn {
  padding: var(--sp-10) var(--sp-16);
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--r-8);
  font-size: var(--body-sm);
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
}

.aie__send-btn:hover { background: rgba(6,214,160,.85); }

.aie__progress {
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-top: var(--sp-10);
}

.aie__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--signal), var(--pulse));
  border-radius: var(--r-full);
  transition: width 0.5s ease;
}

/* Scan animation */
.aie__scanning {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-12);
  padding: var(--sp-16);
  margin-bottom: var(--sp-16);
}

.aie__scan-row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-8) 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.aie__scan-row.is-active { opacity: 1; }
.aie__scan-row.is-done   { opacity: 0.6; }

.aie__scan-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(6,214,160,.1);
  border: 1px solid rgba(6,214,160,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--overline);
  font-weight: 800;
  color: var(--c-signal-d);
  flex-shrink: 0;
}

.aie__scan-row span {
  flex: 1;
  font-size: var(--body-sm);
  color: rgba(255,255,255,.6);
}

.aie__scan-bar {
  width: 100px;
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
  overflow: hidden;
}

.aie__scan-bar-fill {
  height: 100%;
  background: var(--signal);
  border-radius: var(--r-full);
  width: 0;
}

/* Results panel */
.aie__results {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.aie__results-header {
  background: rgba(6,214,160,.06);
  border: 1px solid rgba(6,214,160,.15);
  border-radius: var(--r-12);
  padding: var(--sp-20);
  text-align: center;
}

.aie__results-tier {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: var(--c-signal-d);
  font-weight: 700;
  margin-bottom: var(--sp-8);
}

.aie__results-headline {
  font-family: var(--ff-display);
  font-size: var(--body-lg);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.aie__results-sub {
  font-size: var(--body-sm);
  color: var(--dark-muted);
}

.aie__price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
}

.aie__price-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-12);
  padding: var(--sp-16);
  text-align: center;
}

.aie__price-card-label {
  font-size: var(--overline);
  color: var(--dark-muted);
  margin-bottom: var(--sp-6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.aie__price-card-val {
  font-family: var(--ff-display);
  font-size: var(--h4);
  font-weight: 800;
  color: var(--white);
}

.aie__total-card {
  background: rgba(6,214,160,.08);
  border: 1px solid rgba(6,214,160,.2);
  border-radius: var(--r-12);
  padding: var(--sp-16);
  text-align: center;
}

.aie__total-label {
  font-size: var(--body-sm);
  color: var(--c-signal-d);
  font-weight: 600;
  margin-bottom: var(--sp-6);
}

.aie__total-val {
  font-family: var(--ff-display);
  font-size: var(--h3);
  font-weight: 800;
  color: var(--c-signal-d);
  line-height: 1;
}

.aie__total-suffix {
  font-size: var(--body-lg);
  color: var(--dark-muted);
  font-weight: 400;
}

.aie__guarantee {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  background: rgba(67,97,238,.08);
  border: 1px solid rgba(67,97,238,.2);
  border-radius: var(--r-8);
  padding: var(--sp-12) var(--sp-16);
  font-size: var(--body-sm);
  color: rgba(255,255,255,.7);
}

.aie__guarantee svg { color: var(--c-signal-d); flex-shrink: 0; }

.aie__result-actions {
  display: flex;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

/* Sliders */
.aie__slider-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.aie__slider-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.aie__slider-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--body-sm);
  color: rgba(255,255,255,.6);
}

.aie__slider-val {
  font-weight: 700;
  color: var(--c-signal-d);
}

.aie__slider {
  width: 100%;
  accent-color: var(--c-signal-d);
  cursor: pointer;
}

.aie__cur-label {
  font-size: var(--overline);
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-8);
  margin-top: var(--sp-12);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 21 - SCORE CARD
   ════════════════════════════════════════════════════════════════ */
.sc__shell {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-20);
  overflow: hidden;
  max-width: 680px;
  margin-inline: auto;
}

.sc__topbar {
  background: rgba(6,214,160,.05);
  border-bottom: 1px solid rgba(6,214,160,.12);
  padding: var(--sp-10) var(--sp-20);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: rgba(6,214,160,.65);
}

.sc__topbar-status {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sc__topbar-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  animation: livePulse 2s infinite;
}

.sc__body {
  padding: var(--sp-24);
}

.sc__input-row {
  display: flex;
  gap: var(--sp-12);
}

.sc__url-input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--r-8);
  padding: var(--sp-12) var(--sp-16);
  font-size: var(--body);
  color: rgba(255,255,255,.8);
  outline: none;
  transition: border-color var(--t-fast);
}

.sc__url-input:focus { border-color: var(--c-signal-d); }
.sc__url-input::placeholder { color: rgba(255,255,255,.3); }

.sc__scan-label {
  font-family: var(--ff-mono);
  font-size: var(--body-sm);
  color: var(--c-signal-d);
  margin-bottom: var(--sp-16);
  min-height: 1.2em;
}

.sc__progress-bar-track {
  height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: var(--sp-16);
}

.sc__progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--signal), var(--pulse));
  border-radius: var(--r-full);
  width: 0;
  transition: width 0.2s ease;
}

.sc__score-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--sp-24);
}

.sc__ring-svg {
  transform: rotate(-90deg);
  margin-bottom: -8px;
}

.sc__ring-bg {
  stroke: rgba(255,255,255,.06);
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.sc__ring-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.2s ease;
}

.sc__score-number {
  font-family: var(--ff-display);
  font-size: var(--h2);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-align: center;
  margin-top: var(--sp-8);
}

.sc__score-max {
  font-size: var(--body-sm);
  color: var(--dark-muted);
  text-align: center;
}

.sc__score-grade {
  font-family: var(--ff-mono);
  font-size: var(--body-sm);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 14px;
  border-radius: var(--r-full);
  margin: var(--sp-8) auto 0;
  display: inline-block;
}

.sc__score-grade--critical { background: rgba(239,68,68,.15);  color: #ef4444; }
.sc__score-grade--poor     { background: rgba(245,158,11,.12); color: var(--c-warm-d); }
.sc__score-grade--fair     { background: rgba(251,191,36,.1);  color: #fbbf24; }

.sc__verdict {
  font-size: var(--body);
  color: var(--dark-muted);
  text-align: center;
  line-height: 1.7;
  margin-bottom: var(--sp-24);
}

.sc__breakdown { display: flex; flex-direction: column; gap: var(--sp-16); }

.sc__breakdown-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-12);
}

.sc__breakdown-label {
  font-size: var(--body-sm);
  font-weight: 600;
  color: rgba(255,255,255,.65);
  margin-bottom: 4px;
}

.sc__breakdown-status {
  font-size: var(--overline);
  line-height: 1.4;
}

.sc__breakdown-track {
  height: 5px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-top: 4px;
}

.sc__breakdown-fill {
  height: 100%;
  border-radius: var(--r-full);
  width: 0;
  transition: width 0.8s ease;
}

.sc__breakdown-fill--critical { background: #ef4444; }
.sc__breakdown-fill--poor     { background: var(--warm); }
.sc__breakdown-fill--fair     { background: #fbbf24; }
.sc__breakdown-fill--good     { background: var(--signal); }

.sc__score-num {
  font-family: var(--ff-mono);
  font-size: var(--body-sm);
  font-weight: 800;
}

.sc__actions {
  display: flex;
  gap: var(--sp-12);
  margin-top: var(--sp-24);
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 22 - SERP SIMULATOR
   ════════════════════════════════════════════════════════════════ */
.serp-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: var(--sp-12);
  align-items: end;
  margin-bottom: var(--sp-32);
}

.serp-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.serp-label {
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--ink);
}

.serp-input {
  padding: var(--sp-10) var(--sp-14);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-8);
  font-size: var(--body);
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast);
}

.serp-input:focus { border-color: var(--c-signal-d); }

.serp__shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.serp__browser-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-8) var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

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

.serp__browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.serp__browser-dot--r { background: #ff5f57; }
.serp__browser-dot--y { background: #febc2e; }
.serp__browser-dot--g { background: #28c840; }

.serp__browser-url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 4px 12px;
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: var(--ink-60);
}

.serp__body {
  padding: var(--sp-20);
}

.serp__google-logo {
  font-family: 'Arial', sans-serif;
  font-size: var(--h4);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: var(--sp-12);
  display: flex;
}

.serp__search-box {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: var(--sp-10) var(--sp-20);
  max-width: 640px;
  box-shadow: var(--sh-xs);
  margin-bottom: var(--sp-16);
}

.serp__search-text {
  flex: 1;
  font-size: var(--body);
  color: var(--ink);
}

.serp__result-count {
  font-size: var(--body-sm);
  color: var(--ink-30);
  margin-bottom: var(--sp-16);
}

/* AI Overview */
.serp__ai-overview {
  background: linear-gradient(135deg, rgba(6,214,160,.04), rgba(67,97,238,.03));
  border: 1px solid rgba(6,214,160,.2);
  border-radius: var(--r-12);
  padding: var(--sp-16);
  margin-bottom: var(--sp-20);
}

.serp__ai-label {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 700;
  color: var(--pulse);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-8);
}

.serp__ai-text {
  font-size: var(--body-sm);
  color: var(--ink-60);
  line-height: 1.7;
}

/* Maps pack */
.serp__maps-pack {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-8);
  overflow: hidden;
  margin-bottom: var(--sp-16);
}

.serp__maps-title {
  background: var(--surface-2);
  padding: var(--sp-8) var(--sp-16);
  font-size: var(--overline);
  font-weight: 700;
  color: var(--ink-60);
  border-bottom: 1px solid var(--border);
}

.serp__map-item {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-10) var(--sp-16);
  border-bottom: 1px solid var(--border);
}

.serp__map-item:last-child { border-bottom: none; }

.serp__map-rank {
  font-family: var(--ff-display);
  font-size: var(--body-sm);
  font-weight: 800;
  color: var(--c-signal-d);
  width: 24px;
  flex-shrink: 0;
}

.serp__map-rank--1 { color: var(--c-signal-d); }
.serp__map-rank--grey { color: var(--ink-30); }

.serp__map-name {
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.serp__map-meta {
  font-size: var(--overline);
  color: var(--ink-60);
}

/* Organic results */
.serp__result {
  padding: var(--sp-12) var(--sp-16);
  border-radius: var(--r-8);
  margin-bottom: var(--sp-8);
  transition: background var(--t-fast);
}

.serp__result:hover { background: var(--surface); }

.serp__result--top {
  background: linear-gradient(90deg, rgba(6,214,160,.06), transparent);
  border: 1px solid rgba(6,214,160,.15);
  border-left-width: 3px;
}

.serp__result-url {
  font-size: var(--overline);
  color: var(--ink-30);
  margin-bottom: 3px;
  font-family: var(--ff-mono);
}

.serp__result-domain {
  font-size: var(--body-sm);
  color: var(--ink-60);
  margin-bottom: 4px;
}

.serp__result-title {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--pulse);
  margin-bottom: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.serp__result-desc {
  font-size: var(--body-sm);
  color: var(--ink-70);
  line-height: 1.6;
}

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

.serp__stars {
  color: var(--c-warm-d);
  font-size: var(--body-sm);
}

.serp__review-count {
  font-size: var(--overline);
  color: var(--ink-30);
}

.serp__bottom-cta {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-24);
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 23 - ABOUT PAGE SPECIFICS
   ════════════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: var(--sp-32);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--signal), var(--pulse), rgba(255,255,255,.08));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--sp-28);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-32) - 5px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(6,214,160,.15);
}

.timeline-item__year {
  font-family: var(--ff-mono);
  font-size: var(--body-sm);
  font-weight: 700;
  color: var(--c-signal-d);
  margin-bottom: 4px;
}

.timeline-item__title {
  font-family: var(--ff-display);
  font-size: var(--h4);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.timeline-item__desc {
  font-size: var(--body);
  color: var(--dark-muted);
  line-height: 1.7;
}

/* About philosophy section */
.philosophy-section {
  background: var(--dark);
  padding-block: var(--sp-80);
  position: relative;
  overflow: hidden;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(6,214,160,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(6,214,160,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 24 - CASE STUDIES
   ════════════════════════════════════════════════════════════════ */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  padding: var(--sp-32);
  transition: all var(--t-base);
}

.case-card:hover {
  box-shadow: var(--sh-lg);
  border-color: var(--signal-20);
  transform: translateY(-3px);
}

.case-card__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  font-size: var(--overline);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-signal-d);
  background: var(--signal-06);
  border: 1px solid var(--signal-10);
  border-radius: var(--r-full);
  padding: 3px 10px;
  margin-bottom: var(--sp-16);
}

.case-card__result {
  font-family: var(--ff-display);
  font-size: var(--h2);
  font-weight: 800;
  color: var(--c-signal-d);
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-8);
}

.case-card__business {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-12);
}

.case-card__desc {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
}

/* Industry tag cloud */
.industry-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
}

.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--ink-70);
  transition: all var(--t-fast);
  cursor: default;
}

.industry-pill:hover {
  border-color: var(--signal-20);
  color: var(--c-signal-d);
  background: var(--signal-06);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 25 - EEAT / SIGNAL TABLE
   ════════════════════════════════════════════════════════════════ */
.signal-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-12);
  overflow: hidden;
}

.signal-table th {
  padding: var(--sp-12) var(--sp-16);
  font-size: var(--body-sm);
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.signal-table td {
  padding: var(--sp-12) var(--sp-16);
  font-size: var(--body);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.signal-table tr:last-child td { border-bottom: none; }

.badge-yes {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(6,214,160,.12);
  color: var(--c-signal-d);
  border-radius: var(--r-full);
  font-size: var(--body-sm);
  font-weight: 700;
}

.badge-no {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(239,68,68,.08);
  color: #ef4444;
  border-radius: var(--r-full);
  font-size: var(--body-sm);
  font-weight: 700;
}

/* EEAT big cards */
.eeat-big-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-24);
}

.eeat-big-card {
  border-radius: var(--r-20);
  padding: var(--sp-32);
  position: relative;
  overflow: hidden;
}

.eeat-big-card--e1 { background: linear-gradient(135deg, rgba(6,214,160,.08), rgba(6,214,160,.02));  border: 1px solid rgba(6,214,160,.2); }
.eeat-big-card--e2 { background: linear-gradient(135deg, rgba(67,97,238,.08), rgba(67,97,238,.02));   border: 1px solid rgba(67,97,238,.2); }
.eeat-big-card--a  { background: linear-gradient(135deg, rgba(245,158,11,.08), rgba(245,158,11,.02)); border: 1px solid rgba(245,158,11,.2); }
.eeat-big-card--t  { background: linear-gradient(135deg, rgba(239,68,68,.08), rgba(239,68,68,.02));   border: 1px solid rgba(239,68,68,.15); }

.eeat-big-card__letter {
  font-family: var(--ff-display);
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--sp-8);
}

.eeat-big-card--e1 .eeat-big-card__letter { color: var(--c-signal-d); }
.eeat-big-card--e2 .eeat-big-card__letter { color: var(--pulse); }
.eeat-big-card--a  .eeat-big-card__letter { color: var(--c-warm-d); }
.eeat-big-card--t  .eeat-big-card__letter { color: var(--danger); }

.eeat-big-card__title {
  font-size: var(--h4);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-12);
}

.eeat-big-card__desc {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.75;
  margin-bottom: var(--sp-16);
}

.eeat-signal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eeat-signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--overline);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.5);
  color: var(--ink);
  border: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 26 - AUTHORITY BARS (OFF-PAGE)
   ════════════════════════════════════════════════════════════════ */
.authority-meter {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-20);
  padding: var(--sp-28);
}

.auth-bar-header {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 700;
  color: var(--c-signal-d);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-20);
}

.auth-bar-row {
  margin-bottom: var(--sp-16);
}

.auth-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--body-sm);
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}

.auth-bar-label strong { color: var(--c-signal-d); font-weight: 700; }

.auth-bar-track {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-full);
  overflow: hidden;
}

.auth-bar-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--signal), var(--pulse));
  transition: width 1.5s ease;
}

.auth-note {
  margin-top: var(--sp-16);
  padding: var(--sp-12);
  background: rgba(6,214,160,.04);
  border: 1px solid rgba(6,214,160,.1);
  border-radius: var(--r-8);
  font-size: var(--body-sm);
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 27 - LINK TYPE CARDS
   ════════════════════════════════════════════════════════════════ */
.link-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-20);
}

.link-type-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  padding: var(--sp-24);
}

.link-type-card__badge {
  display: inline-block;
  font-size: var(--overline);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-12);
}

.link-type-card__badge--good   { background: rgba(6,214,160,.15);  color: var(--c-signal-d); }
.link-type-card__badge--warn   { background: rgba(245,158,11,.12); color: var(--c-warm-d); }
.link-type-card__badge--bad    { background: rgba(239,68,68,.1);   color: var(--danger); }

.link-type-card__title {
  font-size: var(--h4);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.link-type-card__desc {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 28 - AEO SPECIFIC
   ════════════════════════════════════════════════════════════════ */
.ai-chat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-20);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.ai-chat-card__bar {
  background: rgba(255,255,255,.06);
  padding: 10px var(--sp-16);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ai-chat-card__dots {
  display: flex;
  gap: 6px;
}

.ai-chat-card__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ai-chat-card__dots span:nth-child(1) { background: #ff5f57; }
.ai-chat-card__dots span:nth-child(2) { background: #febc2e; }
.ai-chat-card__dots span:nth-child(3) { background: #28c840; }

.ai-chat-card__url {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: rgba(255,255,255,.4);
  flex: 1;
  background: rgba(255,255,255,.06);
  padding: 4px 10px;
  border-radius: 4px;
}

.ai-chat-body {
  padding: var(--sp-20);
}

.ai-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.ai-msg__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--body-sm);
  flex-shrink: 0;
}

.ai-msg--user .ai-msg__avatar { background: rgba(67,97,238,.2);  border: 1px solid rgba(67,97,238,.3); }
.ai-msg--ai   .ai-msg__avatar { background: rgba(6,214,160,.15); border: 1px solid rgba(6,214,160,.3); }

.ai-msg__bubble {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0 var(--r-12) var(--r-12) var(--r-12);
  padding: 10px 14px;
  font-size: var(--body-sm);
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

.ai-msg--user .ai-msg__bubble {
  background: rgba(67,97,238,.1);
  border-color: rgba(67,97,238,.2);
  border-radius: var(--r-12) 0 var(--r-12) var(--r-12);
}

.ai-answer-highlight {
  background: rgba(6,214,160,.1);
  border: 1px solid rgba(6,214,160,.25);
  border-radius: var(--r-8);
  padding: 8px 12px;
  margin-top: 8px;
  font-size: var(--overline);
  color: rgba(255,255,255,.8);
}

.ai-answer-highlight strong { color: var(--c-signal-d); }

.ai-platform-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.ai-platform-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-full);
  padding: 3px 10px;
  font-size: var(--overline);
  color: rgba(255,255,255,.55);
  font-weight: 600;
}

.aeo-seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-24);
}

.aeo-vs-card {
  border-radius: var(--r-20);
  padding: var(--sp-28);
  border: 1px solid var(--border);
}

.aeo-vs-card--seo { background: rgba(245,158,11,.03);  border-color: rgba(245,158,11,.15); }
.aeo-vs-card--aeo { background: rgba(6,214,160,.04);   border-color: rgba(6,214,160,.2); }

.aeo-vs-card__badge {
  display: inline-block;
  font-size: var(--overline);
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-16);
}

.aeo-vs-card--seo .aeo-vs-card__badge { background: rgba(245,158,11,.15); color: #d97706; }
.aeo-vs-card--aeo .aeo-vs-card__badge { background: rgba(6,214,160,.12);  color: var(--c-signal-d); }

.aeo-vs-card__title {
  font-size: var(--h3);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-16);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 29 - HERO SLIDER TABS
   ════════════════════════════════════════════════════════════════ */
.hero__slide { display: none; }
.hero__slide.is-active { display: block; }

/* ════════════════════════════════════════════════════════════════
   LAYER 30 - AI SCORE / VISIBILITY CARD
   ════════════════════════════════════════════════════════════════ */
.aie__score-card {
  background: rgba(6,214,160,.08);
  border: 1px solid rgba(6,214,160,.15);
  border-radius: var(--r-16);
  padding: var(--sp-20);
  margin-top: var(--sp-16);
}

.aie__score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-12) 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.aie__score-row:last-child { border-bottom: none; }

.aie__score-info { display: flex; align-items: center; gap: var(--sp-12); }

.aie__score-letter {
  width: 36px;
  height: 36px;
  border-radius: var(--r-8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: var(--h5);
  font-weight: 800;
  flex-shrink: 0;
}

.aie__score-letter--e1 { background: rgba(6,214,160,.15);  color: var(--c-signal-d); }
.aie__score-letter--e2 { background: rgba(67,97,238,.15);  color: var(--pulse);  }
.aie__score-letter--a  { background: rgba(245,158,11,.15); color: var(--c-warm-d);   }
.aie__score-letter--t  { background: rgba(239,68,68,.12);  color: var(--danger); }

.aie__score-name {
  font-size: var(--body-sm);
  font-weight: 700;
  color: var(--white);
}

.aie__score-sub {
  font-size: var(--overline);
  color: var(--dark-muted);
}

.aie__score-badge {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 700;
  color: var(--c-signal-d);
  background: rgba(6,214,160,.1);
  padding: 3px 8px;
  border-radius: var(--r-full);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 31 - FOOTER
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #060b16;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--sp-56);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-48);
  padding-bottom: var(--sp-48);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand-logo {
  margin-bottom: var(--sp-20);
}

.footer__brand-logo img {
  height: 36px;
}

.footer__brand-desc {
  font-size: var(--body-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  max-width: 36ch;
  margin-bottom: var(--sp-20);
}

.footer__socials {
  display: flex;
  gap: var(--sp-8);
}

.footer__social {
  width: 34px;
  height: 34px;
  border-radius: var(--r-8);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.footer__social:hover {
  background: rgba(6,214,160,.15);
  border-color: rgba(6,214,160,.35);
  transform: translateY(-2px);
}

.footer__social img { width: 15px; height: 15px; }

.footer__col-title {
  font-size: var(--overline);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-20);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__links {
  display: flex;
  flex-direction: column;
}

.footer__link {
  font-size: var(--body-sm);
  color: rgba(255,255,255,.65);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color var(--t-fast), padding-left var(--t-fast);
  display: flex;
  align-items: center;
}

.footer__link:hover {
  color: var(--c-signal-d);
  padding-left: 4px;
}

.footer__link::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0;
  margin-right: 6px;
  transition: opacity var(--t-fast);
  flex-shrink: 0;
}

.footer__link:hover::before { opacity: 1; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-12);
  padding: var(--sp-12) 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.footer__contact-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-8);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__contact-icon svg {
  width: 15px;
  height: 15px;
}

.footer__contact-text {
  font-size: var(--body-sm);
  color: rgba(255,255,255,.65);
  padding-top: 6px;
  line-height: 1.5;
}

.footer__contact-text a {
  color: rgba(255,255,255,.65);
  transition: color var(--t-fast);
}

.footer__contact-text a:hover { color: var(--c-signal-d); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-20);
  flex-wrap: wrap;
  gap: var(--sp-12);
}

.footer__copy {
  font-size: var(--body-sm);
  color: rgba(255,255,255,.35);
}

.footer__copy a {
  color: rgba(255,255,255,.5);
  transition: color var(--t-fast);
}

.footer__copy a:hover { color: var(--c-signal-d); }

.footer__legal {
  display: flex;
  gap: var(--sp-20);
}

.footer__legal-link {
  font-size: var(--body-sm);
  color: rgba(255,255,255,.35);
  transition: color var(--t-fast);
}

.footer__legal-link:hover { color: var(--c-signal-d); }

/* ════════════════════════════════════════════════════════════════
   LAYER 32 - POPUP OVERLAY
   ════════════════════════════════════════════════════════════════ */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,.65);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: var(--sp-20);
}

.popup-overlay.is-open { display: flex; }

.popup-box {
  background: var(--white);
  border-radius: var(--r-24);
  padding: var(--sp-40);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--sh-xl);
}

.popup-close {
  position: absolute;
  top: var(--sp-16);
  right: var(--sp-16);
  width: 32px;
  height: 32px;
  border-radius: var(--r-8);
  background: var(--ink-04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
  cursor: pointer;
  border: none;
}

.popup-close:hover { background: var(--ink-08); }

.popup-close svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink-60);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}

.popup-title {
  font-family: var(--ff-display);
  font-size: var(--h3);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-8);
  padding-right: var(--sp-32);
}

.popup-sub {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
  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-16);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-8);
  font-size: var(--body);
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.popup-form__input:focus {
  border-color: var(--c-signal-d);
  box-shadow: 0 0 0 3px var(--signal-10);
}

.popup-form__submit {
  width: 100%;
  padding: var(--sp-16);
  background: var(--signal);
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: var(--body);
  font-weight: 800;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: var(--sh-signal);
  margin-top: var(--sp-8);
}

.popup-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(6,214,160,.4);
}

.recap-wrap { margin-block: var(--sp-16); }

.cta-form__honey { display: none; }

/* ════════════════════════════════════════════════════════════════
   LAYER 33 - FLOATING BUTTONS & BTT
   ════════════════════════════════════════════════════════════════ */
.float-wa,
.float-mail {
  position: fixed;
  /*bottom: var(--sp-20);
  left: var(--sp-20);*/
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-10) var(--sp-16);
  border-radius: var(--r-full);
  font-size: var(--body-sm);
  font-weight: 700;
  font-family: var(--ff-display);
  box-shadow: var(--sh-lg);
  z-index: 500;
  transition: all var(--t-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.float-wa {
  background: #25d366;
  color: var(--white);
}

.float-wa:hover  { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,.35); }

.float-mail {
  left: auto;
  right: var(--sp-20);
  background: var(--signal);
  color: var(--ink);
}

.float-mail:hover { transform: translateY(-3px); box-shadow: var(--sh-signal); }

.float-wa   img,
.float-mail img { width: 18px; height: 18px; flex-shrink: 0; }

.btt-btn {
  position: fixed;
  bottom: var(--sp-20);
  right: 90px;
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--t-base);
  cursor: pointer;
}

.btt-btn.is-visible { opacity: 1; transform: none; }
.btt-btn:hover { background: var(--signal); transform: translateY(-2px); }

.btt-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 34 - PROCESS TIMELINE
   ════════════════════════════════════════════════════════════════ */
.process__timeline {
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--signal), var(--pulse), var(--border));
}

.process-step {
  display: flex;
  gap: var(--sp-20);
  padding-bottom: var(--sp-40);
  position: relative;
}

.process-step__dot {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: var(--body-sm);
  font-weight: 800;
  color: var(--ink-30);
  flex-shrink: 0;
  z-index: 1;
  transition: all var(--t-base);
}

.process-step__body { flex: 1; }

.process-step__title {
  font-size: var(--h4);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.process-step__desc {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 35 - MAPS CARD
   ════════════════════════════════════════════════════════════════ */
.maps__pack-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.maps__pack-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-12) var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--body-sm);
  font-weight: 700;
  color: var(--ink-60);
}

.maps__listing {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-14) var(--sp-16);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.maps__listing:last-child { border-bottom: none; }

.maps__listing--top {
  background: rgba(6,214,160,.04);
  border-left: 3px solid var(--signal);
}

.maps__rank {
  font-family: var(--ff-display);
  font-size: var(--h4);
  font-weight: 800;
  width: 32px;
  flex-shrink: 0;
}

.maps__rank--1 { color: var(--c-signal-d); }
.maps__rank--grey { color: var(--ink-30); }

.maps__info__name {
  font-size: var(--body);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.maps__info__meta {
  font-size: var(--body-sm);
  color: var(--ink-60);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 36 - RESULTS SLIDER
   ════════════════════════════════════════════════════════════════ */
.results-slider {
  position: relative;
  overflow: hidden;
}

.results-slider__track-wrap {
  overflow: hidden;
}

.results-slider__track {
  display: flex;
  gap: var(--sp-20);
  transition: transform 0.4s ease;
}

.results-slider__slide {
  min-width: calc(50% - var(--sp-10));
  flex-shrink: 0;
}

.results-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  margin-top: var(--sp-20);
}

.results-slider__btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
}

.results-slider__btn:hover {
  border-color: var(--c-signal-d);
  background: var(--signal-06);
}

.results-slider__btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink-60);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.results-slider__btn:hover svg { stroke: var(--signal); }

.results-slider__dots-wrap {
  display: flex;
  gap: 5px;
}

.results-slider__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
}

.results-slider__dot.is-active {
  width: 20px;
  background: var(--signal);
}

/* Proof card (result card) */
.proof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-20);
  padding: var(--sp-28);
  box-shadow: var(--sh-sm);
}

.proof-card__tag {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 700;
  color: var(--c-signal-d);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-12);
}

.proof-card__result {
  font-family: var(--ff-display);
  font-size: var(--h2);
  font-weight: 800;
  color: var(--c-signal-d);
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-8);
}

.proof-card__business {
  font-size: var(--h5);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.proof-card__loc {
  font-size: var(--body-sm);
  color: var(--ink-60);
}

/* Country card */
.country-card {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-14) var(--sp-16);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-12);
  transition: all var(--t-fast);
}

.country-card:hover {
  border-color: var(--signal-20);
  transform: translateY(-2px);
}

.country-card__flag { font-size: 1.5rem; }
.country-card__name { font-size: var(--body-sm); font-weight: 600; color: var(--ink); }

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--sp-12);
}

/* Visitor signal cards (maps section) */
.signal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-12);
}

.signal-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-12);
  padding: var(--sp-16);
}

.signal-card__icon {
  font-size: 1.3rem;
  margin-bottom: var(--sp-8);
}

.signal-card__title {
  font-size: var(--body-sm);
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-bottom: 4px;
}

.signal-card__desc {
  font-size: var(--overline);
  color: var(--dark-muted);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 37 - MAP EMBED
   ════════════════════════════════════════════════════════════════ */
.map-embed {
  border-radius: var(--r-16);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 240px;
  border: none;
  display: block;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 38 - KNOWLEDGE SIGNAL CARDS
   ════════════════════════════════════════════════════════════════ */
.ks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-16);
}

.ks-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  padding: var(--sp-24);
  transition: all var(--t-base);
}

.ks-card:hover { box-shadow: var(--sh-md); border-color: var(--signal-20); }

.ks-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-12);
  background: var(--signal-10);
  border: 1px solid var(--signal-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--sp-16);
}

.ks-card__title {
  font-size: var(--h5);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.ks-card__desc {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 39 - GRE HERO PROOF TABS / COMPARISON
   ════════════════════════════════════════════════════════════════ */
.compare-row {
  display: flex;
  gap: var(--sp-28);
}

.compare-col {
  flex: 1;
  padding: var(--sp-24);
  border-radius: var(--r-16);
}

.compare-col--them {
  background: rgba(239,68,68,.03);
  border: 1px solid rgba(239,68,68,.1);
}

.compare-col--us {
  background: rgba(6,214,160,.04);
  border: 1px solid rgba(6,214,160,.2);
}

.compare-col__label {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-16);
}

.compare-col--them .compare-col__label { color: #ef4444; }
.compare-col--us   .compare-col__label { color: var(--c-signal-d); }

.compare-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-10);
  font-size: var(--body);
  color: var(--ink-70);
  line-height: 1.5;
}

.compare-item::before {
  content: '✗';
  font-weight: 800;
  color: #ef4444;
  flex-shrink: 0;
}

.compare-col--us .compare-item::before {
  content: '✓';
  color: var(--c-signal-d);
}

/* ════════════════════════════════════════════════════════════════
   LAYER 40 - BUSINESS CARD GRID
   ════════════════════════════════════════════════════════════════ */
.business-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-16);
  padding: var(--sp-24);
  transition: border-color var(--t-base);
}

.business-card:hover { border-color: rgba(6,214,160,.2); }

.business-card__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-12);
}

.business-card__name {
  font-family: var(--ff-display);
  font-size: var(--h4);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-8);
}

.business-card__desc {
  font-size: var(--body);
  color: var(--dark-muted);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 41 - CONTENT PROSE
   ════════════════════════════════════════════════════════════════ */
.content-prose {
  font-size: var(--body);
  line-height: 1.75;
  color: var(--ink-60);
}

.content-prose p { margin-bottom: var(--sp-16); }

.content-prose ul {
  list-style: disc;
  padding-left: var(--sp-24);
  margin-bottom: var(--sp-16);
}

.content-prose li { margin-bottom: var(--sp-8); }

/* ════════════════════════════════════════════════════════════════
   LAYER 42 - SECTION HEADER UTILITY
   ════════════════════════════════════════════════════════════════ */
.sec-head {
  margin-bottom: var(--sp-48);
}

.sec-head--center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--sp-48);
}

.sec-head__sub {
  font-size: var(--body-lg);
  color: var(--ink-60);
  line-height: 1.75;
  margin-top: var(--sp-16);
}

.sec-head--center .sec-head__sub { text-align: center; }

.sec-head--dark h2   { color: var(--white); }
.sec-head--dark .sec-head__sub { color: var(--dark-text); }

/* ════════════════════════════════════════════════════════════════
   LAYER 43 - RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════════════════════════════ */

/* ── Tablet: max 1024px ── */
@media (max-width: 1024px) {
  .hero-terminal__layout {
    grid-template-columns: 1fr;
    gap: var(--sp-48);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 { grid-template-columns: 1fr 1fr; }

  .eeat-big-cards { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet: max 900px ── */
@media (max-width: 900px) {
  .site-nav__links  { display: none; }
  .site-nav__actions .site-nav__chat { display: none; }
  .nav-burger { display: flex; }

  .two-col { grid-template-columns: 1fr; gap: var(--sp-40); }
  .contact-grid { grid-template-columns: 1fr; }

  .aeo-hero-layout,
  .offpage-hero-grid,
  .eeat-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Mobile: max 768px ── */
@media (max-width: 768px) {
  :root {
    --sp-80: 3.5rem;
    --sp-96: 4rem;
    --sp-120: 5rem;
  }

  .section { padding-block: var(--sp-56); }

  .container { padding-inline: var(--sp-16); }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .link-type-grid { grid-template-columns: 1fr; }

  .serp-controls { grid-template-columns: 1fr; }

  .aie__shell { height: 480px; }

  .popup-form__row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .eeat-big-cards { grid-template-columns: 1fr; }

  .aeo-seo-grid { grid-template-columns: 1fr; }

  .trust__inner { gap: var(--sp-24); }

  .results-slider__slide { min-width: 100%; }

  .cta-section__btns { flex-direction: column; align-items: center; }

  .hero__ctas { flex-direction: column; align-items: flex-start; }

  .compare-row { flex-direction: column; }

  .page-hero__h1 { max-width: 100%; }
}

/* ── Mobile: max 480px ── */
@media (max-width: 480px) {
  .topbar { display: none; }

  .site-nav__inner { height: 60px; }

  .aie__price-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .aie__result-actions { flex-direction: column; }

  .btt-btn { right: var(--sp-20); }
  .float-mail { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   LAYER 44 - ACCESSIBILITY
   ════════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: var(--r-4);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* ════════════════════════════════════════════════════════════════
   LAYER 45 - AI PLATFORM SIGNATURE EFFECTS
   ════════════════════════════════════════════════════════════════ */

/* Glowing border on key cards */
.ai-glow-card {
  position: relative;
}

.ai-glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--r-20) + 1px);
  background: linear-gradient(135deg, var(--signal), var(--pulse));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--t-slow);
}

.ai-glow-card:hover::before { opacity: 0.5; }

/* Scan-line text effect */
.scan-text {
  position: relative;
  display: inline-block;
}

.scan-text::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(6,214,160,.06) 100%);
  pointer-events: none;
}

/* Terminal cursor blink */
.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--signal);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

/* AI status indicator */
.ai-status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 600;
  color: var(--c-signal-d);
}

.ai-status__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  animation: livePulse 2s infinite;
}

/* Noise texture overlay (subtle, lightweight inline SVG) */
.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ════════════════════════════════════════════════════════════════
   LAYER 46 - PRICING PAGE SPECIFIC
   ════════════════════════════════════════════════════════════════ */

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-24);
  padding: var(--sp-40);
  position: relative;
  transition: all var(--t-base);
}

.price-card:hover {
  box-shadow: var(--sh-lg);
}

.price-card--featured {
  border-color: var(--signal-40);
  box-shadow: var(--sh-signal);
}

.price-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--signal), var(--pulse));
  border-radius: var(--r-24) var(--r-24) 0 0;
}

.price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--signal);
  color: var(--ink);
  font-size: var(--overline);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.price-from {
  font-size: var(--body-sm);
  color: var(--ink-60);
  margin-bottom: var(--sp-4);
}

.price-main {
  font-family: var(--ff-display);
  font-size: var(--h3);
  font-weight: 800;
  color: var(--c-signal-d);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-4);
}

.price-period {
  font-size: var(--body-sm);
  color: var(--ink-60);
  margin-bottom: var(--sp-28);
}

.price-name {
  font-size: var(--h4);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.price-desc {
  font-size: var(--body);
  color: var(--ink-60);
  line-height: 1.7;
  margin-bottom: var(--sp-24);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  margin-bottom: var(--sp-28);
  list-style: none;
}

.price-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-10);
  font-size: var(--body);
  color: var(--ink-70);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--border-mid);
}

.price-feature::before {
  content: '✓';
  color: var(--c-signal-d);
  font-weight: 800;
  font-size: var(--body-sm);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-28);
  align-items: start;
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   LAYER 47 - BLOG PAGE SPECIFIC
   ════════════════════════════════════════════════════════════════ */
.blog-hero {
  background: var(--dark);
  padding-block: var(--sp-64);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(6,214,160,.07) 0%, transparent 60%);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 48 - UTILITY CLASSES
   ════════════════════════════════════════════════════════════════ */
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-16 { margin-bottom: var(--sp-16); }
.mb-24 { margin-bottom: var(--sp-24); }
.mb-32 { margin-bottom: var(--sp-32); }
.mb-48 { margin-bottom: var(--sp-48); }
.mt-8  { margin-top: var(--sp-8); }
.mt-16 { margin-top: var(--sp-16); }
.mt-24 { margin-top: var(--sp-24); }
.mt-32 { margin-top: var(--sp-32); }
.mt-40 { margin-top: var(--sp-40); }
.mt-48 { margin-top: var(--sp-48); }

.mx-auto { margin-inline: auto; }

.w-full { width: 100%; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8  { gap: var(--sp-8); }
.gap-12 { gap: var(--sp-12); }
.gap-16 { gap: var(--sp-16); }
.gap-24 { gap: var(--sp-24); }
.flex-wrap { flex-wrap: wrap; }

.relative { position: relative; }
.z-1 { z-index: 1; }
.overflow-hidden { overflow: hidden; }

/* AI Platform text color helpers */
.text-signal  { color: var(--c-signal-d); }
.text-pulse   { color: var(--pulse); }
.text-white   { color: var(--white); }
.text-muted   { color: var(--ink-60); }
.text-dark-muted { color: var(--dark-muted); }
.text-warm    { color: var(--c-warm-d); }

/* Background helpers */
.bg-signal-10 { background: var(--signal-10); }
.bg-dark      { background: var(--dark); }
.bg-surface   { background: var(--surface); }

/* Border helpers */
.border-signal { border-color: var(--signal-20); }

/* max-width helpers */
.max-w-sm { max-width: var(--max-w-sm); }

/* Slider current input helpers */
.align-start { align-items: flex-start; }

/* Inline items from old-style structure */
.nav-arrow {
  background: var(--signal);
  color: var(--white);
  border-radius: var(--r-full);
  padding: 4px 10px;
  font-size: var(--body-sm);
  font-weight: 700;
}

/* Old result/proof carousel wrapper */
.js-carousel {
  display: flex;
  transition: transform 0.4s ease;
}

/* ════════════════════════════════════════════════════════════════
   LAYER 49 - ADDITIONAL COMPONENT CLASSES
   ════════════════════════════════════════════════════════════════ */

/* On-Page SEO Check Rows */
.onpage-check-row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-10) 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.onpage-check-row:last-child { border-bottom: none; }

.onpage-check-row__icon {
  width: 28px;
  height: 28px;
  background: rgba(6,214,160,.12);
  border: 1px solid rgba(6,214,160,.25);
  border-radius: var(--r-6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--caption);
  flex-shrink: 0;
  font-weight: 700;
  color: var(--c-signal-d);
}

.onpage-check-row__label {
  font-size: var(--body-sm);
  color: rgba(255,255,255,.7);
  flex: 1;
}

.onpage-check-row__status {
  font-size: var(--overline);
  font-weight: 800;
  color: var(--c-signal-d);
  font-family: var(--ff-mono);
}

/* Blog Featured Post */
.blog-featured {
  background: var(--dark);
  border-radius: var(--r-20);
  padding: var(--sp-40);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-40);
  align-items: center;
  margin-bottom: var(--sp-40);
  border: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 700px) {
  .blog-featured { grid-template-columns: 1fr; }
}

.blog-featured__label {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-signal-d);
  text-transform: uppercase;
  margin-bottom: var(--sp-12);
}

.blog-featured__title {
  font-family: var(--ff-display);
  font-size: var(--h3);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--sp-16);
}

.blog-featured__excerpt {
  font-size: var(--body);
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  margin-bottom: var(--sp-24);
}

.blog-featured__card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-16);
  padding: var(--sp-24);
  text-align: center;
}

.blog-featured__card-emoji {
  font-size: 4rem;
  margin-bottom: var(--sp-12);
}

.blog-featured__card-label {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  color: var(--c-signal-d);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-8);
}

.blog-featured__card-meta {
  font-size: var(--body-sm);
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

.blog-featured__card-note {
  margin-top: var(--sp-16);
  padding: var(--sp-12);
  background: rgba(6,214,160,.06);
  border-radius: var(--r-8);
  font-size: var(--overline);
  color: var(--c-signal-d);
}

/* Blog category filter */
.blog-categories {
  display: flex;
  gap: var(--sp-10);
  flex-wrap: wrap;
  justify-content: center;
}

.blog-cat-btn {
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-size: var(--body-sm);
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: var(--ff-display);
}

.blog-cat-btn:hover,
.blog-cat-btn.active {
  background: var(--signal);
  color: var(--ink);
  border-color: var(--c-signal-d);
}

/* Blog card emoji background variants */
.blog-card__emoji {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.blog-card__emoji--algorithm  { background: linear-gradient(135deg, #1e3a5f, #0f2a44); }
.blog-card__emoji--local       { background: linear-gradient(135deg, #1a3d2e, #0d2620); }
.blog-card__emoji--strategy    { background: linear-gradient(135deg, #2a1f3d, #1a1228); }
.blog-card__emoji--casestudy   { background: linear-gradient(135deg, #0f2a2a, #0a1c1c); }
.blog-card__emoji--ai          { background: linear-gradient(135deg, #1a2a3d, #0e1829); }

.blog-card__cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: var(--overline);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.blog-card__cat-badge--signal { background: var(--signal); color: var(--ink); }
.blog-card__cat-badge--local  { background: #34d399;        color: #065f46; }
.blog-card__cat-badge--pulse  { background: var(--pulse);   color: var(--white); }
.blog-card__cat-badge--warm   { background: var(--warm);    color: #78350f; }
.blog-card__cat-badge--ai     { background: #818cf8;        color: var(--white); }

.blog-card__date {
  font-size: var(--overline);
  color: #94a3b8;
  margin-bottom: var(--sp-8);
}

.blog-card__read {
  font-size: var(--body-sm);
  font-weight: 700;
  color: var(--c-signal-d);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Blog topic card */
.blog-topic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-16);
  padding: var(--sp-20);
}

.blog-topic-card__icon { font-size: 1.5rem; margin-bottom: var(--sp-10); }

.blog-topic-card__title {
  font-family: var(--ff-display);
  font-size: var(--h5);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.blog-topic-card__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.blog-topic-card__item {
  font-size: var(--body-sm);
  color: var(--ink-60);
  padding: 3px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.blog-topic-card__item:last-child { border-bottom: none; }

/* Pricing stat box */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
}

.stat-box {
  position: relative;
  border-radius: var(--r-20);
  padding: var(--sp-24) var(--sp-20);
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(232,237,248,.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  min-height: 120px;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,214,160,.15) 0%, transparent 70%);
  pointer-events: none;
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(6,214,160,.3);
  box-shadow: var(--sh-md);
}

.stat-box__num {
  font-family: var(--ff-display);
  font-size: var(--h4);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--signal) 0%, #00b8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-box__label {
  font-size: var(--body-sm);
  line-height: 1.4;
  color: var(--ink-60);
  font-weight: 500;
}

/* Pricing specific */
.pricing-card__name { font-size: var(--h4); font-weight: 800; color: var(--ink); margin-bottom: var(--sp-8); }
.pricing-card__price { font-size: var(--h2); font-weight: 800; color: var(--c-signal-d); letter-spacing: -0.04em; line-height: 1; }
.pricing-card__per { font-size: var(--body-sm); color: var(--ink-60); margin-bottom: var(--sp-24); margin-top: var(--sp-4); }
.pricing-card__desc { font-size: var(--body); color: var(--ink-60); line-height: 1.7; margin-bottom: var(--sp-20); }
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  margin-bottom: var(--sp-24);
  list-style: none;
  padding: 0;
}

.pricing-card__features li {
  font-size: var(--body);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  color: var(--ink-70);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--border-mid);
}

.pricing-card__features li::before {
  content: '✓';
  flex-shrink: 0;
  font-weight: 800;
  color: var(--c-signal-d);
  font-size: var(--body-sm);
  margin-top: 2px;
}

/* AIE estimator grid / dual input */
.aie__chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  padding: var(--sp-12) var(--sp-16);
}

.aie__manual-row {
  display: flex;
  gap: var(--sp-8);
  padding: 0 var(--sp-16) var(--sp-12);
}

.aie__dual-input {
  display: flex;
  gap: var(--sp-12);
  padding: var(--sp-12) var(--sp-16) 0;
  flex-wrap: wrap;
}

.aie__vol-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding: var(--sp-12) 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.aie__vol-item:last-child { border-bottom: none; }

.aie__vol-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--body-sm);
  color: rgba(255,255,255,.6);
}

.aie__vol-val { font-weight: 800; color: var(--c-signal-d); font-family: var(--ff-mono); }

.aie__vol-current {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--overline);
  color: var(--dark-muted);
}

.aie__num-input {
  width: 60px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-6);
  padding: 4px 8px;
  font-size: var(--body-sm);
  color: rgba(255,255,255,.8);
  outline: none;
}

.aie__volume-grid {
  padding: var(--sp-12) var(--sp-16);
}

.aie__fields-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  padding: var(--sp-12) var(--sp-16) 0;
}

.aie__send-btn--wide {
  width: calc(100% - var(--sp-32));
  margin: var(--sp-12) var(--sp-16);
  justify-content: center;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  border-radius: var(--r-8);
}

.aie__send-btn--fire {
  background: linear-gradient(90deg, var(--signal), #00b8d4);
  font-size: var(--body);
  font-weight: 800;
  position: relative;
  overflow: hidden;
}

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

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

.aie__topbar-badge {
  font-family: var(--ff-mono);
  font-size: var(--overline);
  font-weight: 800;
  color: var(--c-signal-d);
  background: rgba(6,214,160,.1);
  padding: 2px 8px;
  border-radius: var(--r-full);
  letter-spacing: 0.08em;
}

.aie__select {
  cursor: pointer;
  flex: 1;
}

.custom-plan-head {
  font-size: var(--h3);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin-bottom: var(--sp-8);
}

/* AOE hero layout */
.aeo-hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-56);
  align-items: center;
}

@media (max-width: 960px) {
  .aeo-hero-layout { grid-template-columns: 1fr; }
}

.offpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-56);
  align-items: center;
}

@media (max-width: 960px) {
  .offpage-hero-grid { grid-template-columns: 1fr; }
}

.eeat-hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--sp-56);
  align-items: center;
}

@media (max-width: 960px) {
  .eeat-hero-grid { grid-template-columns: 1fr; }
}

.onpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--sp-56);
  align-items: center;
}

@media (max-width: 960px) {
  .onpage-hero-grid { grid-template-columns: 1fr; }
}

/* AEO vs comparison */
.aeo-compare-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  list-style: none;
  padding: 0;
}

.aeo-compare-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-10);
  font-size: var(--body);
  color: var(--ink-70);
  line-height: 1.5;
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--border-mid);
}

.aeo-compare-item:last-child { border-bottom: none; }

.aeo-compare-item::before {
  content: '→';
  color: var(--c-signal-d);
  font-weight: 800;
  flex-shrink: 0;
}

/* Inline link list for AEO sidebar */
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  margin-top: var(--sp-16);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--body-sm);
  font-weight: 600;
  color: var(--pulse);
  transition: color var(--t-fast);
}

.sidebar-link:hover { color: var(--c-signal-d); }

/* ════════════════════════════════════════════════════════════════
   LAYER 50 - PRINT STYLES
   ════════════════════════════════════════════════════════════════ */
@media print {
  .site-nav,
  .topbar,
  .float-wa,
  .float-mail,
  .btt-btn,
  .popup-overlay { display: none !important; }

  body { color: #000; background: #fff; }
}

/* ════════════════════════════════════════════════════════════════
   LAYER 51 - FINAL UTILITY COMPLETIONS
   ════════════════════════════════════════════════════════════════ */

/* Two-col alignment variants */
.two-col--center   { align-items: center; }
.two-col--start    { align-items: flex-start; }
.two-col--gap-lg   { gap: var(--sp-64); }

/* Inline link style (service cards) */
.service-link {
  font-size: var(--body-sm);
  font-weight: 700;
  color: var(--c-signal-d);
  margin-top: var(--sp-12);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--t-fast);
}

.service-link:hover { gap: 8px; }

/* Auth note with margin variant */
.auth-note--mt { margin: var(--sp-12); }

/* AEO comparison list items */
.compare-item--col {
  flex-direction: column;
  align-items: flex-start;
}

/* Dark inset card */
.dark-inset-card {
  background: var(--dark);
  border-radius: var(--r-16);
  padding: var(--sp-28);
}

/* Inner eyebrow centered */
.inner-eyebrow--center {
  display: flex;
  justify-content: center;
  margin-inline: auto;
}

/* Flex row wrap gap-8 */
.flex-wrap-gap-8 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
}

/* AI estimator inline select width */
.aie__select--auto {
  flex: 0 0 auto;
  width: auto;
}

/* Send button spacing helpers */
.mt-sp-8  { margin-top: var(--sp-8); }
.mt-sp-12 { margin-top: var(--sp-12); }
.justify-center { justify-content: center; }

/* ── Final inline-style-to-class conversions ── */
.fw-800 { font-weight: 800; }
.mb-12  { margin-bottom: var(--sp-12); }
.mb-20  { margin-bottom: var(--sp-20); }

.aeo-compare-result {
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink-70);
}

.rank-row__val--signal { color: var(--c-signal-d); }
.icon-lg { font-size: 1rem; }



h1 { 
  font-size: clamp(2.5rem, 8vw, 4.5rem) !important; 
} /* 72px Desktop / 40px Mobile */

h2 { 
  font-size: clamp(2rem, 5vw, 3rem) !important; 
} /* 48px Desktop / 32px Mobile */

h3 { 
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important; 
} /* 36px Desktop / 24px Mobile */

h4 { 
  font-size: 1.5rem !important; 
} /* 24px */

h5 { 
  font-size: 1.25rem !important; 
} /* 20px */

h6 { 
  font-size: 1.125rem !important; 
} /* 18px */
