/* ============================================================
   Adviad AI Agent — Base / Design System
   Single source of truth for tokens, typography, layout,
   buttons, cards, navbar, footer and shared utilities.
   Section-specific styles are appended after this file,
   each scoped under its own .s-<id> wrapper.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --blue: #0055ff;
  --blue-600: #0048da;
  --blue-700: #0039ad;
  --blue-bright: #3b82f6;
  --purple: #7c3aed;
  --cyan: #06b6d4;

  /* Surfaces (dark dominant) */
  --ink: #070b16;          /* page background */
  --ink-2: #0a0f1e;        /* alt section bg */
  --panel: #111827;        /* dark panels */
  --panel-2: #0e1626;      /* deep panels */

  /* Text */
  --text: #f9fafb;
  --muted: #98a3ba;        /* secondary text */
  --faint: #6b768f;        /* tertiary */

  /* Lines & glass */
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);

  /* Gradients & glows */
  --grad-brand: linear-gradient(135deg, #3b82f6 0%, #7c3aed 55%, #06b6d4 100%);
  --grad-blue: linear-gradient(135deg, #0055ff 0%, #3b82f6 100%);
  --grad-text: linear-gradient(120deg, #ffffff 0%, #bcd0ff 60%, #8ab4ff 100%);
  --glow-blue: 0 18px 50px -12px rgba(0, 85, 255, 0.55);
  --glow-soft: 0 24px 60px -20px rgba(8, 14, 30, 0.85);

  /* Radius */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  /* Spacing rhythm */
  --section-y: clamp(76px, 9vw, 124px);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s var(--ease);
  --t: 0.32s var(--ease);

  --nav-h: 74px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
canvas { display: block; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
}
h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); letter-spacing: -0.02em; }
p { color: var(--muted); }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--panel { background: var(--ink-2); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 68px);
  text-align: center;
}
.section-head.is-left { margin-inline: 0; text-align: left; }
.section-sub {
  margin-top: 18px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
}

/* Eyebrow / badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--pill);
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c7d4ee;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  transition: transform var(--t-fast), background var(--t), box-shadow var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--glow-blue);
}
.btn-primary:hover { background: #1a68ff; transform: translateY(-2px); box-shadow: 0 22px 60px -12px rgba(0, 85, 255, 0.7); }
.btn-light {
  background: #fff;
  color: #06224f;
  box-shadow: 0 16px 40px -14px rgba(255, 255, 255, 0.4);
}
.btn-light:hover { transform: translateY(-2px); background: #eef3ff; }
.btn-secondary {
  background: rgba(15, 30, 80, 0.75);
  color: #f9fafb;
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); }
.btn-ghost { color: var(--text); padding-inline: 14px; }
.btn-ghost:hover { color: #cdd9f2; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Cards / glass ---------- */
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--glass-2); }
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
}

/* Decorative orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; pointer-events: none; z-index: 0; }
.orb-blue { background: radial-gradient(circle, rgba(0, 85, 255, 0.55), transparent 70%); }
.orb-purple { background: radial-gradient(circle, rgba(124, 58, 237, 0.45), transparent 70%); }
.orb-cyan { background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 70%); }

/* Icon chips (for SVG line icons, NEVER emoji) */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-blue);
  box-shadow: var(--glow-blue);
  flex-shrink: 0;
}
.icon-chip svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-chip--soft { background: var(--glass-2); border: 1px solid var(--line); box-shadow: none; }
.icon-chip--soft svg { stroke: var(--blue-bright); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal][data-reveal-delay="6"] { transition-delay: 0.48s; }
[data-reveal][data-reveal-delay="7"] { transition-delay: 0.56s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  background: rgba(7, 11, 22, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.8);
}
.nav.scrolled {
  background: rgba(7, 11, 22, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.8);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.nav__logo img { height: 54px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { color: rgba(255, 255, 255, 0.74); font-size: 1.05rem; font-weight: 500; transition: color var(--t-fast); }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: var(--glass);
}
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: var(--t); }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); transition: var(--t); }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

.nav__mobile {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(7, 11, 22, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 22px var(--gutter) 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: var(--t);
  z-index: 99;
}
body.menu-open .nav__mobile { transform: none; opacity: 1; pointer-events: auto; }
.nav__mobile a { padding: 14px 6px; color: var(--text); font-size: 1.15rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 14px; }

@media (max-width: 880px) {
  .nav__links, .nav__actions .btn-ghost, .nav__actions .nav__login { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 84px) 30px; position: relative; overflow: hidden; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px 32px;
}
.footer__brand img { height: 28px; margin-bottom: 18px; }
.footer__tag { color: var(--muted); max-width: 290px; font-size: 0.96rem; }
.footer__socials { display: flex; gap: 10px; margin-top: 22px; }
.footer__socials a {
  width: 40px; height: 40px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--line);
  transition: var(--t);
}
.footer__socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.footer__socials svg { width: 18px; height: 18px; fill: #c7d2e6; transition: fill var(--t); }
.footer__socials a:hover svg { fill: #fff; }
/* Social icons are <img> SVGs (not inline <svg>): size + center them explicitly.
   margin:auto centers a flex item on both axes regardless of align-items. */
.footer__socials img {
  width: 18px; height: 18px;
  margin: auto;
  object-fit: contain;
  opacity: 0.78;
  transition: opacity var(--t);
}
.footer__socials a:hover img { opacity: 1; }

/* ============================================================
   LEGAL / PRIVACY PAGE  —  .s-legal
   ============================================================ */
.s-legal { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px)); }
.s-legal__head { max-width: 820px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.s-legal__updated { margin-top: 14px; color: var(--faint); font-size: 0.9rem; }
.s-legal__body { max-width: 820px; margin: 0 auto; }
.s-legal__intro { color: var(--muted); font-size: 1.02rem; }
.s-legal__body h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  margin: clamp(34px, 4vw, 48px) 0 14px;
  padding-top: clamp(10px, 1.5vw, 18px);
}
.s-legal__body h2 .s-legal__num { color: var(--blue-bright); margin-right: 10px; }
.s-legal__body p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.s-legal__body ul { margin: 0 0 16px; padding-left: 4px; display: flex; flex-direction: column; gap: 10px; }
.s-legal__body li {
  color: var(--muted);
  position: relative;
  padding-left: 18px;
  line-height: 1.65;
}
.s-legal__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-bright);
}
.s-legal__body a { color: #9cc0ff; text-decoration: underline; text-underline-offset: 2px; }
.s-legal__body strong { color: var(--text); }
.s-legal__contact {
  margin-top: clamp(34px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px);
}
.s-legal__contact p { margin-bottom: 6px; }
.s-legal__body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 10px;
  letter-spacing: -0.01em;
}

/* TOC + content layout */
.s-legal__layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
.s-legal__layout .s-legal__body { max-width: 760px; margin: 0; }
.s-legal__toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.s-legal__toc-title {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--faint); margin-bottom: 14px;
}
.s-legal__toc-links { display: flex; flex-direction: column; gap: 2px; }
.s-legal__toc-links a {
  display: block;
  padding: 7px 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.s-legal__toc-links a:hover { color: var(--text); border-left-color: var(--blue-bright); background: var(--glass); }
.s-legal__body section { scroll-margin-top: calc(var(--nav-h) + 20px); }
@media (max-width: 900px) {
  .s-legal__layout { grid-template-columns: 1fr; }
  .s-legal__toc { display: none; }
}
.footer__col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 700; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--muted); font-size: 0.95rem; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--text); }
.footer__contact li { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; display: flex; gap: 9px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; stroke: var(--blue-bright); fill: none; stroke-width: 1.7; flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  color: var(--faint); font-size: 0.85rem;
}
.footer__bottom a { color: var(--faint); }
.footer__bottom a:hover { color: var(--muted); }

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Shared responsive helpers ---------- */
.grid { display: grid; gap: 24px; }
@media (max-width: 980px) { .hide-md { display: none !important; } }
/* ============================================================
   HERO — #top / .s-hero
   The only blue section besides the closing CTA.
   ============================================================ */
.s-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: calc(var(--nav-h) + 76px) clamp(70px, 9vw, 120px);
  min-height: calc(100vh - 0px);
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(120% 90% at 18% 0%, #2a6bff 0%, rgba(42, 107, 255, 0) 52%),
    radial-gradient(120% 110% at 88% 14%, rgba(59, 130, 246, 0.55) 0%, rgba(59, 130, 246, 0) 48%),
    linear-gradient(160deg, #0055ff 0%, #0a3bd6 56%, #062a9e 100%);
}

/* Neural network canvas */
.s-hero #neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* Background glows */
.s-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}
.s-hero__glow--1 {
  width: 540px; height: 540px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 70%);
}
.s-hero__glow--2 {
  width: 460px; height: 460px;
  bottom: -200px; left: -140px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45), transparent 70%);
}

/* Floating channel chips */
.s-hero__floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.s-hero__chip {
  position: absolute;
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -12px rgba(2, 12, 50, 0.6);
  animation: heroFloat 7s var(--ease) infinite;
}
.s-hero__chip img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.s-hero__chip--a { top: 16%; left: 6%; animation-delay: 0s; }
.s-hero__chip--b { top: 60%; left: 9%; animation-delay: 1.2s; }
.s-hero__chip--c { bottom: 12%; left: 38%; animation-delay: 2.1s; }
.s-hero__chip--d { top: 22%; right: 9%; animation-delay: 0.6s; }
.s-hero__chip--e { top: 64%; right: 5%; animation-delay: 1.8s; }
.s-hero__chip--f { top: 8%; right: 34%; animation-delay: 2.6s; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

/* Layout */
.s-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

/* Copy */
.s-hero__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.s-hero h1 { color: #fff; font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.s-hero__accent {
  background: linear-gradient(110deg, #ffffff 0%, #d7e4ff 45%, #a9c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.s-hero__sub {
  margin-top: 20px;
  max-width: 460px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
}

.s-hero__proof {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px 11px 14px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}
.s-hero__proof strong { color: #fff; font-weight: 700; }
.s-hero__proof svg {
  width: 22px; height: 22px; flex-shrink: 0;
  color: #ffe27a;
  fill: rgba(255, 226, 122, 0.18);
}

.s-hero__cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.s-hero__cta .btn-secondary { border-color: rgba(255, 255, 255, 0.4); }

/* ---------- Dashboard mockup ---------- */
.s-hero__visual { position: relative; }
.s-hero__dash {
  position: relative;
  border-radius: var(--r-xl);
  background: rgba(8, 14, 32, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 40px 90px -30px rgba(2, 10, 45, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}
.s-hero__dash-glow {
  position: absolute;
  top: -40%; left: 20%;
  width: 70%; height: 80%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.s-hero__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.s-hero__dots { display: inline-flex; gap: 7px; }
.s-hero__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.s-hero__dots i:first-child { background: #ff5f57; }
.s-hero__dots i:nth-child(2) { background: #febc2e; }
.s-hero__dots i:nth-child(3) { background: #28c840; }
.s-hero__url {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 4px 14px;
}

.s-hero__body { position: relative; display: grid; grid-template-columns: 52px 1fr; }

.s-hero__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.s-hero__logo-dot {
  width: 24px; height: 24px; border-radius: 8px;
  background: var(--grad-blue);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.6);
  margin-bottom: 6px;
}
.s-hero__nav-item { width: 22px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.s-hero__nav-item.is-active { background: var(--blue-bright); width: 24px; }
.s-hero__nav-item--last { margin-top: auto; }

.s-hero__main { padding: 18px clamp(16px, 2vw, 22px) 22px; }
.s-hero__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.s-hero__title { color: #fff; font-weight: 700; font-size: 0.98rem; }
.s-hero__period { color: rgba(255, 255, 255, 0.5); font-size: 0.76rem; margin-top: 2px; }
.s-hero__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.74rem; font-weight: 600;
  color: #bfe6c4;
  background: rgba(40, 200, 100, 0.12);
  border: 1px solid rgba(40, 200, 100, 0.32);
  border-radius: var(--pill);
  padding: 5px 11px;
  white-space: nowrap;
}
.s-hero__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #34d27e;
  box-shadow: 0 0 0 0 rgba(52, 210, 126, 0.6);
  animation: heroPulse 1.8s ease-out infinite;
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 210, 126, 0.55); }
  100% { box-shadow: 0 0 0 8px rgba(52, 210, 126, 0); }
}

.s-hero__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.s-hero__kpi {
  padding: 12px 12px 11px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.s-hero__kpi--accent {
  background: linear-gradient(150deg, rgba(59, 130, 246, 0.28), rgba(124, 58, 237, 0.18));
  border-color: rgba(120, 160, 255, 0.4);
}
.s-hero__kpi-label { font-size: 0.68rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.05em; }
.s-hero__kpi-val { font-size: 1.18rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.s-hero__kpi-delta { font-size: 0.72rem; font-weight: 700; }
.s-hero__kpi-delta.is-up { color: #5fe39a; }
.s-hero__kpi-delta.is-down { color: #5fe39a; }
.s-hero__kpi-delta::before { content: "▲ "; font-size: 0.6rem; }
.s-hero__kpi-delta.is-down::before { content: "▼ "; }

.s-hero__chart {
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 14px 14px 8px;
}
.s-hero__chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.s-hero__chart-title { font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); font-weight: 600; }
.s-hero__chart-tag {
  font-size: 0.68rem; font-weight: 700; color: #5fe39a;
  background: rgba(52, 210, 126, 0.12);
  border-radius: var(--pill); padding: 3px 9px;
}
.s-hero__svg { width: 100%; height: clamp(96px, 13vw, 140px); }
.s-hero__grid-line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .s-hero { text-align: center; }
  .s-hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .s-hero__copy { display: flex; flex-direction: column; align-items: center; }
  .s-hero__sub { max-width: 540px; }
  .s-hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .s-hero__chip--c, .s-hero__chip--f { display: none; }
}

@media (max-width: 600px) {
  .s-hero { padding-block: calc(var(--nav-h) + 48px) 72px; min-height: 0; }
  .s-hero__kpis { grid-template-columns: 1fr 1fr; }
  .s-hero__proof { font-size: 0.88rem; }
  .s-hero__cta { width: 100%; }
  .s-hero__cta .btn { flex: 1; min-width: 200px; }
  .s-hero__floaters { display: none; }
}

@media (max-width: 380px) {
  .s-hero__kpis { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .s-hero__chip, .s-hero__pulse { animation: none; }
}
/* ===== Supported channels marquee ===== */
.s-channels {
  padding-block: clamp(40px, 5vw, 64px);
}

.s-channels__kicker {
  margin: 0 auto clamp(22px, 3vw, 34px);
  max-width: 640px;
  text-align: center;
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 12.5px);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* Marquee viewport */
.s-channels__marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

/* Track holds two identical sets -> width is 200%; -50% lands exactly on the seam */
.s-channels__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(40px, 5vw, 72px);
  animation: s-channels-scroll 42s linear infinite;
  will-change: transform;
}

.s-channels__marquee:hover .s-channels__track {
  animation-play-state: paused;
}

@keyframes s-channels-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* The gap before set 2 must match item gap; account for it by using -50% of full track.
   Since both halves are identical and gap is uniform across all items (including the
   seam), translating by exactly -50% produces a seamless loop. */

.s-channels__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  flex: 0 0 auto;
}

.s-channels__item img {
  height: 26px;
  width: auto;
  display: block;
  opacity: .6;
  filter: saturate(0) brightness(1.8);
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}

.s-channels__item:hover img {
  opacity: 1;
  filter: none;
}

/* WooCommerce wordmark is wide & short — a touch shorter keeps it balanced. */
.s-channels__item img[src*="woocommerce"] { height: 20px; }

.s-channels__word {
  display: inline-flex;
  align-items: center;
  height: 26px;
  white-space: nowrap;
  color: var(--text);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  letter-spacing: -.01em;
  opacity: .6;
  transition: opacity .25s var(--ease);
}

.s-channels__item:hover .s-channels__word {
  opacity: 1;
}

@media (max-width: 600px) {
  .s-channels__track {
    gap: 36px;
    animation-duration: 30s;
  }
  .s-channels__item,
  .s-channels__item img,
  .s-channels__word { height: 24px; }
  .s-channels__item img { height: 22px; }
  .s-channels__item img[src*="woocommerce"] { height: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .s-channels__track {
    animation: none;
  }
}
/* ===== Problem section ===== */
.s-problem { position: relative; overflow: hidden; }

.s-problem__orb { z-index: 0; }
.s-problem__orb--a {
  width: clamp(320px, 40vw, 560px);
  height: clamp(320px, 40vw, 560px);
  top: -140px;
  left: -120px;
  opacity: 0.35;
}
.s-problem__orb--b {
  width: clamp(300px, 38vw, 520px);
  height: clamp(300px, 38vw, 520px);
  bottom: -180px;
  right: -120px;
  opacity: 0.3;
}

.s-problem .container { position: relative; z-index: 1; }

/* Grid: 3 → 2 → 1 */
.s-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 22px);
  margin-top: clamp(40px, 5vw, 60px);
}

.s-problem__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2vw, 30px);
  position: relative;
  overflow: hidden;
}

/* subtle top-edge gradient accent that brightens on hover */
.s-problem__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.s-problem__card:hover::before { opacity: 0.8; }

.s-problem__card .icon-chip { flex: 0 0 auto; transition: transform 0.35s var(--ease); }
.s-problem__card:hover .icon-chip { transform: translateY(-2px); }

.s-problem__card h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.s-problem__card p {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.6;
  margin: 0;
}

/* Closing emphasis line */
.s-problem__close {
  text-align: center;
  margin: clamp(40px, 5vw, 60px) auto 0;
  max-width: 34ch;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
.s-problem__close .accent-text { font-weight: 800; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .s-problem__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .s-problem__grid { grid-template-columns: 1fr; }
  .s-problem__card p { font-size: 1rem; }
  .s-problem__close { max-width: none; }
}
/* ===== Solution: AI Marketing Team diagram ===== */
.s-solution { position: relative; overflow: hidden; }
.s-solution__orb {
  width: 620px; height: 620px;
  top: 18%; left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
}

/* ---- Diagram canvas ---- */
.s-solution__diagram {
  position: relative;
  max-width: 1000px;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  aspect-ratio: 1000 / 620;
}

/* Connector SVG layer (desktop) */
.s-solution__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}
.s-solution__lines path { stroke-dasharray: 6 7; opacity: 0.55; }
.s-solution__lines circle { filter: drop-shadow(0 0 5px rgba(6,182,212,0.8)); }

/* Central core */
.s-solution__core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(190px, 22vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.s-solution__core-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(59,130,246,0.28), rgba(124,58,237,0.16) 60%, rgba(10,15,30,0.9));
  border: 1px solid rgba(59,130,246,0.45);
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.25),
    0 24px 70px -18px rgba(0,85,255,0.65),
    inset 0 0 40px rgba(59,130,246,0.18);
  backdrop-filter: blur(4px);
}
.s-solution__core-chip { width: 54px; height: 54px; border-radius: 16px; }
.s-solution__core-chip svg { width: 30px; height: 30px; }
.s-solution__core-label {
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.15;
}
.s-solution__core-sub {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan, #06b6d4);
}

/* Pulsing rings */
.s-solution__ring {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.5);
  z-index: 1;
  animation: solPulse 3.4s var(--ease, ease) infinite;
}
.s-solution__ring--2 {
  inset: -20%;
  border-color: rgba(124,58,237,0.35);
  animation-delay: 1.7s;
}
@keyframes solPulse {
  0%   { transform: scale(0.92); opacity: 0.85; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* Role nodes — absolutely positioned around core on desktop */
.s-solution__nodes {
  list-style: none;
  margin: 0; padding: 0;
}
.s-solution__node {
  position: absolute;
  z-index: 2;
  width: clamp(230px, 26vw, 280px);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: var(--r-lg, 16px);
  background: var(--glass, rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease, ease), border-color 0.3s var(--ease, ease), box-shadow 0.3s var(--ease, ease);
}
.s-solution__node:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 18px 44px -20px rgba(0,85,255,0.55);
}
.s-solution__node .icon-chip { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; }
.s-solution__node .icon-chip svg { width: 22px; height: 22px; }
.s-solution__node-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: var(--text);
}
.s-solution__node-text p {
  font-size: 0.86rem;
  line-height: 1.4;
  margin: 0;
  color: var(--muted);
}

/* Node anchor points matching SVG endpoints (1000x620 space) */
.s-solution__node--1 { top: 3%;  left: 0;    }   /* upper-left  */
.s-solution__node--2 { top: 3%;  right: 0;   }   /* upper-right */
.s-solution__node--3 { top: 48%; left: 0; transform: translateY(-50%); }   /* mid-left */
.s-solution__node--4 { top: 48%; right: 0; transform: translateY(-50%); }  /* mid-right */
.s-solution__node--5 { bottom: 0; left: 50%; transform: translateX(-50%); width: clamp(240px, 28vw, 300px); } /* bottom */

.s-solution__node--3:hover,
.s-solution__node--4:hover { transform: translateY(calc(-50% - 4px)); }
.s-solution__node--5:hover { transform: translateX(-50%) translateY(-4px); }

/* ---------- Tablet tightening ---------- */
@media (max-width: 1024px) {
  .s-solution__node { width: clamp(200px, 28vw, 250px); padding: 0.85rem 0.9rem; }
  .s-solution__node-text p { font-size: 0.82rem; }
}

/* ---------- Mobile: collapse to stacked cards ---------- */
@media (max-width: 768px) {
  .s-solution__diagram {
    aspect-ratio: auto;
    max-width: 560px;
  }
  .s-solution__lines { display: none; }

  /* Core becomes a top banner card */
  .s-solution__core {
    position: relative;
    top: auto; left: auto;
    transform: none;
    width: 100%;
    aspect-ratio: auto;
    margin-bottom: 1.75rem;
  }
  .s-solution__core-inner {
    flex-direction: row;
    aspect-ratio: auto;
    border-radius: var(--r-lg, 16px);
    gap: 0.9rem;
    padding: 1.1rem 1.25rem;
    justify-content: flex-start;
    text-align: left;
  }
  .s-solution__core-label { font-size: 1.1rem; }
  .s-solution__ring { display: none; }

  /* Nodes become a responsive grid */
  .s-solution__nodes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .s-solution__node,
  .s-solution__node--1,
  .s-solution__node--2,
  .s-solution__node--3,
  .s-solution__node--4,
  .s-solution__node--5 {
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    transform: none;
    width: auto;
    flex-direction: column;
  }
  .s-solution__node--3:hover,
  .s-solution__node--4:hover,
  .s-solution__node--5:hover { transform: translateY(-4px); }
}

@media (max-width: 480px) {
  .s-solution__nodes { grid-template-columns: 1fr; }
  .s-solution__core-inner { flex-direction: column; text-align: center; align-items: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .s-solution__ring { animation: none; opacity: 0.4; }
}
/* ===================== HOW IT WORKS (#how / .s-how) ===================== */
.s-how { overflow: hidden; }

.s-how__orb { z-index: 0; }
.s-how__orb--1 { width: 460px; height: 460px; top: 4%; left: -160px; opacity: 0.35; }
.s-how__orb--2 { width: 420px; height: 420px; bottom: 2%; right: -150px; opacity: 0.32; }

.s-how .container { position: relative; z-index: 1; }

/* ---------- Timeline shell ---------- */
.s-how__timeline {
  list-style: none;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 0;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 30px);
}

.s-how__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
}

/* ---------- Node / number + connector ---------- */
.s-how__node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s-how__num {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.s-how__step:hover .s-how__num {
  border-color: rgba(59, 130, 246, 0.55);
  color: #cfe0ff;
}

.s-how__num--final {
  color: #fff;
  background: var(--grad-brand);
  border: none;
  box-shadow: 0 14px 40px -12px rgba(124, 58, 237, 0.7);
}

/* connector line running down from each node into the gap below */
.s-how__line {
  position: absolute;
  top: 56px;
  bottom: calc(-1 * clamp(20px, 3vw, 30px));
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.5), rgba(124, 58, 237, 0.22) 80%, transparent);
}

/* ---------- Card ---------- */
.s-how__card {
  position: relative;
  padding: clamp(18px, 2.4vw, 24px) clamp(18px, 2.6vw, 28px);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "chip phase"
    "chip title"
    "chip body";
  column-gap: clamp(14px, 2vw, 20px);
  row-gap: 4px;
  align-content: center;
}

.s-how__chip {
  grid-area: chip;
  align-self: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}
.s-how__chip--final { background: var(--grad-brand); }
.s-how__chip--final svg { stroke: #fff; }

.s-how__phase {
  grid-area: phase;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 3px 10px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--glass);
  margin-bottom: 2px;
}
.s-how__phase--fast {
  color: #7fd1ff;
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.1);
}
.s-how__phase--live {
  color: #9cc2ff;
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.1);
}
.s-how__phase--win {
  color: #fff;
  border: none;
  background: var(--grad-brand);
}

.s-how__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
  animation: s-how-pulse 2s var(--ease) infinite;
}
@keyframes s-how-pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.s-how__card h3 {
  grid-area: title;
  margin: 0;
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  font-weight: 700;
  line-height: 1.2;
}
.s-how__card p {
  grid-area: body;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.s-how__card--final {
  border-color: rgba(124, 58, 237, 0.4);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.06));
}

/* ---------- CTA ---------- */
.s-how__cta {
  margin-top: clamp(44px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .s-how__pulse { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .s-how__step {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }
  .s-how__num { width: 44px; height: 44px; font-size: 0.95rem; }
  .s-how__line { top: 44px; }

  .s-how__card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "phase"
      "title"
      "body";
    row-gap: 8px;
  }
  .s-how__chip { display: none; }
  .s-how__card h3 { font-size: 1.08rem; }
  .s-how__card p { font-size: 1rem; }

  .s-how__cta .btn { width: 100%; }
}
/* ===================== FEATURES (#features / .s-features) ===================== */
.s-features { position: relative; overflow: hidden; }

.s-features .feat-orb { position: absolute; z-index: 0; pointer-events: none; }
.s-features .feat-orb--a { top: 8%; left: -10%; }
.s-features .feat-orb--b { bottom: 6%; right: -12%; }

.s-features .container { position: relative; z-index: 1; }

/* ---- rows ---- */
.s-features .feat-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vw, 132px);
  margin-top: clamp(48px, 6vw, 84px);
}

.s-features .feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

/* alternating: reversed rows put the mockup on the left */
.s-features .feat-row--rev .feat-text { order: 2; }
.s-features .feat-row--rev .feat-mock { order: 1; }

/* ---- text side ---- */
.s-features .feat-text h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 18px 0 12px;
  line-height: 1.12;
}
.s-features .feat-desc {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  line-height: 1.6;
  max-width: 46ch;
}

/* stat badge */
.s-features .feat-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 0.98rem;
  font-weight: 700;
}
.s-features .feat-stat strong { font-weight: 800; }
.s-features .feat-stat__arrow { color: var(--muted); font-weight: 700; }
.s-features .feat-stat__hi {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* bullet list */
.s-features .feat-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.s-features .feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
}
.s-features .feat-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,85,255,0.22), rgba(6,182,212,0.18));
  border: 1px solid rgba(59,130,246,0.35);
  color: var(--blue-bright);
}
.s-features .feat-check svg { width: 13px; height: 13px; }

/* ===================== mockups (shared chrome) ===================== */
.s-features .mk {
  position: relative;
  padding: 16px;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.7);
}
.s-features .mk-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 4px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.s-features .mk-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.s-features .mk-dot:nth-child(1) { background: #ff5f57; opacity: .8; }
.s-features .mk-dot:nth-child(2) { background: #febc2e; opacity: .8; }
.s-features .mk-dot:nth-child(3) { background: #28c840; opacity: .8; }
.s-features .mk-title {
  margin-left: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.s-features .mk-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}
.s-features .mk-budget { color: var(--muted); font-weight: 600; }
.s-features .mk-ready {
  font-weight: 700;
  color: #34d399;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.s-features .mk-ready::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52,211,153,0.18);
}

/* ---- (a) builder ---- */
.s-features .mk-url {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-radius: var(--r);
  background: var(--ink);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.s-features .mk-url__ico { width: 17px; height: 17px; color: var(--blue-bright); flex: 0 0 auto; }
.s-features .mk-url__text { font-weight: 600; font-size: 0.92rem; flex: 1; }
.s-features .mk-url__scan {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-bright);
  padding: 3px 9px;
  border-radius: var(--pill);
  background: rgba(59,130,246,0.14);
}
.s-features .mk-gen { display: grid; gap: 10px; }
.s-features .mk-gen__card {
  padding: 11px 13px;
  border-radius: var(--r);
  background: var(--glass-2);
  border: 1px solid var(--line);
  animation: feat-pop .6s var(--ease) both;
}
.s-features .mk-gen__card:nth-child(2) { animation-delay: .12s; }
.s-features .mk-gen__card:nth-child(3) { animation-delay: .24s; }
.s-features .mk-gen__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  font-weight: 700;
  margin-bottom: 8px;
}
.s-features .mk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.s-features .mk-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: rgba(0,85,255,0.13);
  border: 1px solid rgba(59,130,246,0.28);
  color: #cdd9ff;
}
.s-features .mk-copy { margin: 0; font-size: 0.86rem; line-height: 1.45; color: var(--text); }

@keyframes feat-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- (b) creative grid ---- */
.s-features .mk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.s-features .mk-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
}
.s-features .mk-thumb--1 { background: linear-gradient(135deg, #0055ff, #06b6d4); }
.s-features .mk-thumb--2 { background: linear-gradient(135deg, #7c3aed, #3b82f6); }
.s-features .mk-thumb--3 { background: linear-gradient(135deg, #06b6d4, #0a0f1e); }
.s-features .mk-thumb--4 { background: linear-gradient(135deg, #3b82f6, #7c3aed); }
.s-features .mk-thumb--5 { background: linear-gradient(135deg, #0055ff, #111827); }
.s-features .mk-thumb--gen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--glass-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.s-features .mk-ab {
  position: absolute;
  top: 7px; left: 7px;
  width: 20px; height: 20px;
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 800;
  background: rgba(7,11,22,0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
.s-features .mk-thumb--win { outline: 2px solid #34d399; outline-offset: -2px; }
.s-features .mk-win {
  position: absolute;
  bottom: 7px; left: 7px; right: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  padding: 4px 6px;
  border-radius: var(--pill);
  font-size: 0.7rem; font-weight: 800;
  background: #34d399;
  color: #052e1f;
}
.s-features .mk-win svg { width: 12px; height: 12px; }
.s-features .mk-genspin {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--blue-bright);
  animation: feat-spin 0.9s linear infinite;
}
@keyframes feat-spin { to { transform: rotate(360deg); } }

/* ---- (c) budget optimizer ---- */
.s-features .mk-gauge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 4px 16px;
}
.s-features .mk-gauge__ring {
  flex: 0 0 auto;
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, var(--panel) 56%, transparent 57%),
    conic-gradient(from 220deg, #0055ff, #06b6d4 70%, var(--line) 70%);
  text-align: center;
}
.s-features .mk-gauge__num { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
.s-features .mk-gauge__num small { font-size: 0.85rem; font-weight: 800; }
.s-features .mk-gauge__cap {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 2px;
}
.s-features .mk-spark { flex: 1; height: 64px; width: 100%; }
.s-features .mk-alloc { display: grid; gap: 11px; }
.s-features .mk-bar { display: grid; grid-template-columns: 52px 1fr 44px; align-items: center; gap: 10px; }
.s-features .mk-bar__name { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.s-features .mk-bar__track {
  height: 8px;
  border-radius: var(--pill);
  background: var(--ink);
  border: 1px solid var(--line);
  overflow: hidden;
}
.s-features .mk-bar__track i {
  display: block;
  height: 100%;
  border-radius: var(--pill);
  background: var(--grad-blue);
}
.s-features .mk-bar__track i.mk-bar--down { background: linear-gradient(90deg, #f87171, #fb923c); opacity: .8; }
.s-features .mk-bar__up { font-size: 0.78rem; font-weight: 800; color: #34d399; text-align: right; }
.s-features .mk-bar__down { font-size: 0.78rem; font-weight: 800; color: #fb7185; text-align: right; }

/* ---- (d) insights feed ---- */
.s-features .mk-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s-features .mk-insight {
  display: flex;
  gap: 11px;
  padding: 12px;
  border-radius: var(--r);
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-left-width: 3px;
}
.s-features .mk-insight--warn { border-left-color: #fb7185; }
.s-features .mk-insight--info { border-left-color: var(--blue-bright); }
.s-features .mk-insight--good { border-left-color: #34d399; }
.s-features .mk-insight__ico {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  color: #fff;
}
.s-features .mk-insight--warn .mk-insight__ico { background: rgba(251,113,133,0.18); color: #fb7185; }
.s-features .mk-insight--info .mk-insight__ico { background: rgba(59,130,246,0.18); color: var(--blue-bright); }
.s-features .mk-insight--good .mk-insight__ico { background: rgba(52,211,153,0.18); color: #34d399; }
.s-features .mk-insight__ico svg { width: 17px; height: 17px; }
.s-features .mk-insight__body { display: grid; gap: 2px; }
.s-features .mk-insight__body b { font-size: 0.88rem; font-weight: 700; }
.s-features .mk-insight__body span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.s-features .mk-insight__body em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-bright);
  margin-top: 3px;
}

/* ---- (e) audience engine ---- */
.s-features .mk-look {
  position: relative;
  height: 132px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.s-features .mk-look__core {
  position: relative;
  z-index: 3;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--pill);
  background: var(--grad-brand);
  box-shadow: var(--glow-blue);
}
.s-features .mk-look__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(59,130,246,0.4);
}
.s-features .mk-look__ring--1 { width: 128px; height: 128px; }
.s-features .mk-look__ring--2 { width: 188px; height: 132px; border-color: rgba(6,182,212,0.3); }
.s-features .mk-look__pill {
  position: absolute;
  z-index: 4;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: var(--glass);
  border: 1px solid var(--line);
  color: #cdd9ff;
}
.s-features .mk-look__pill--a { top: 10px; right: 6%; }
.s-features .mk-look__pill--b { bottom: 8px; left: 4%; }
.s-features .mk-segs { display: grid; gap: 9px; }
.s-features .mk-seg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-radius: var(--r);
  background: var(--glass-2);
  border: 1px solid var(--line);
}
.s-features .mk-seg__name { font-size: 0.86rem; font-weight: 600; }
.s-features .mk-seg__ltv { font-size: 0.82rem; font-weight: 800; color: #34d399; }
.s-features .mk-seg--exp { border-color: rgba(59,130,246,0.35); }
.s-features .mk-seg--exp .mk-seg__ltv { color: var(--blue-bright); }
.s-features .mk-seg__ltv i {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  margin-left: 4px;
}

/* ===================== responsive ===================== */
@media (max-width: 900px) {
  .s-features .feat-row,
  .s-features .feat-row--rev {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* always text first, mockup below */
  .s-features .feat-row--rev .feat-text { order: 1; }
  .s-features .feat-row--rev .feat-mock { order: 2; }
  .s-features .feat-desc { max-width: none; }
}

@media (max-width: 480px) {
  .s-features .mk { padding: 13px; }
  .s-features .mk-grid { gap: 8px; }
  .s-features .feat-stat { font-size: 0.9rem; padding: 7px 13px; }
  .s-features .mk-gauge { flex-direction: column; align-items: stretch; }
  .s-features .mk-gauge__ring { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .s-features .mk-gen__card,
  .s-features .mk-genspin { animation: none; }
}
/* ===================== DASHBOARD SHOWCASE ===================== */
.s-dashboard { position: relative; overflow: hidden; }

.s-dashboard__orb { position: absolute; pointer-events: none; }
.s-dashboard__orb--1 { top: -120px; left: -100px; }
.s-dashboard__orb--2 { bottom: -160px; right: -120px; }
.s-dashboard__orb--3 { top: 40%; left: 45%; opacity: .6; }

/* ---------- App frame ---------- */
.s-dashboard__frame {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding: clamp(.85rem, 1.6vw, 1.4rem);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(17,24,39,.92), rgba(10,15,30,.92));
  box-shadow:
    0 40px 90px -40px rgba(0,0,0,.7),
    0 0 0 1px var(--line) inset,
    0 1px 0 rgba(255,255,255,.05) inset;
}
.s-dashboard__frame::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(59,130,246,.35), rgba(124,58,237,.12) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Top bar ---------- */
.s-dashboard__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: .4rem .6rem .9rem;
  border-bottom: 1px solid var(--line);
}
.s-dashboard__brand { display: flex; align-items: center; gap: .6rem; }
.s-dashboard__logodot {
  width: 14px; height: 14px; border-radius: 5px;
  background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(59,130,246,.7);
}
.s-dashboard__title { font-weight: 700; font-size: clamp(.95rem, 1.4vw, 1.1rem); letter-spacing: -.01em; }

.s-dashboard__chips { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.s-dashboard__chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .7rem;
  border-radius: var(--pill);
  font-size: .78rem; font-weight: 600;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.s-dashboard__chip svg { width: 14px; height: 14px; }
.s-dashboard__chip--ai {
  color: #cfe0ff;
  background: linear-gradient(120deg, rgba(0,85,255,.22), rgba(124,58,237,.18));
  border-color: rgba(59,130,246,.4);
}
.s-dashboard__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(6,182,212,.6);
  animation: sDashPulse 1.8s ease-out infinite;
}
@keyframes sDashPulse {
  0% { box-shadow: 0 0 0 0 rgba(6,182,212,.55); }
  70% { box-shadow: 0 0 0 7px rgba(6,182,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(6,182,212,0); }
}

/* ---------- KPI row ---------- */
.s-dashboard__kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.5rem, 1vw, .8rem);
  padding: 1rem .15rem;
}
.s-dashboard__kpi {
  position: relative;
  padding: .85rem .9rem;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .3rem;
  min-width: 0;
}
.s-dashboard__kpi-label { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.s-dashboard__kpi-val {
  font-size: clamp(1.05rem, 1.7vw, 1.45rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.05;
}
.s-dashboard__kpi-trend {
  display: inline-flex; align-items: center; gap: .15rem;
  font-size: .72rem; font-weight: 700;
}
.s-dashboard__kpi-trend svg { width: 13px; height: 13px; }
.s-dashboard__kpi-trend--up { color: #34d399; }
.s-dashboard__kpi-trend--down { color: #34d399; } /* lower CPA/CAC = good */

/* ---------- Main grid ---------- */
.s-dashboard__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(.65rem, 1.2vw, 1rem);
}
.s-dashboard__side { display: grid; gap: clamp(.65rem, 1.2vw, 1rem); }

.s-dashboard__panel {
  padding: clamp(.9rem, 1.5vw, 1.2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
  border: 1px solid var(--line);
}
.s-dashboard__panel-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: .75rem; margin-bottom: .8rem; flex-wrap: wrap;
}
.s-dashboard__panel-title { display: block; font-size: .92rem; font-weight: 700; letter-spacing: -.01em; }
.s-dashboard__panel-sub { display: block; font-size: .74rem; color: var(--muted); margin-top: .15rem; }

.s-dashboard__legend { display: flex; gap: .8rem; align-items: center; }
.s-dashboard__legend-item { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--muted); font-weight: 600; }
.s-dashboard__swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.s-dashboard__swatch--rev { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.s-dashboard__swatch--spend { background: rgba(152,163,186,.6); }
.s-dashboard__swatch--blue { background: var(--blue); }
.s-dashboard__swatch--purple { background: var(--purple); }
.s-dashboard__swatch--cyan { background: var(--cyan); }

/* ---------- Chart ---------- */
.s-dashboard__chart { position: relative; }
.s-dashboard__chart svg { display: block; height: clamp(180px, 26vw, 280px); }
.s-dashboard__xaxis {
  display: flex; justify-content: space-between;
  margin-top: .45rem; padding: 0 .1rem;
  font-size: .7rem; color: var(--faint); font-weight: 600;
}

/* ---------- Donut ---------- */
.s-dashboard__donut-row { display: flex; align-items: center; gap: 1rem; }
.s-dashboard__donut { width: 92px; height: 92px; flex: none; transform: rotate(-90deg); }
.s-dashboard__donut-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.s-dashboard__donut-legend li { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--muted); font-weight: 600; }
.s-dashboard__donut-legend b { margin-left: auto; color: var(--text); font-weight: 700; }

/* ---------- Channels ---------- */
.s-dashboard__channels { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.s-dashboard__channel {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center; gap: .7rem;
}
.s-dashboard__ch-name { font-size: .82rem; font-weight: 600; color: var(--text); }
.s-dashboard__ch-bar {
  height: 8px; border-radius: var(--pill);
  background: rgba(152,163,186,.14); overflow: hidden;
}
.s-dashboard__ch-bar i {
  display: block; height: 100%;
  border-radius: inherit;
  background: var(--grad-brand);
  box-shadow: 0 0 10px rgba(59,130,246,.45);
}
.s-dashboard__ch-val { font-size: .82rem; font-weight: 800; letter-spacing: -.01em; color: #cfe0ff; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .s-dashboard__grid { grid-template-columns: 1fr; }
  .s-dashboard__kpis { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .s-dashboard__kpis { grid-template-columns: repeat(2, 1fr); }
  .s-dashboard__chart svg { height: 180px; }
  .s-dashboard__donut-row { flex-direction: column; align-items: flex-start; }
  .s-dashboard__channel { grid-template-columns: 64px 1fr auto; }
}
/* ===== Comparison section ===== */
.s-compare { position: relative; overflow: hidden; }

.s-compare .orb-blue   { top: -120px; left: -140px; width: 520px; height: 520px; }
.s-compare .orb-purple { bottom: -160px; right: -160px; width: 560px; height: 560px; }

.s-compare .cmp {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-inline: auto;
}

/* Table base */
.s-compare .cmp__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.s-compare .cmp__caption {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.s-compare .cmp__vh {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ----- Header row ----- */
.s-compare .cmp__table thead th { vertical-align: bottom; }

.s-compare .cmp__rowlabel-head {
  width: 30%;
  border-bottom: 1px solid var(--line);
}

.s-compare .cmp__col {
  width: 35%;
  text-align: center;
  padding: 18px 16px 18px;
  border-bottom: 1px solid var(--line);
}

.s-compare .cmp__colname {
  display: block;
  font-weight: 700;
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: -.01em;
  color: var(--text);
}

.s-compare .cmp__coltag {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--faint, var(--muted));
  letter-spacing: .02em;
}
.s-compare .cmp__coltag--ai { color: var(--blue-bright); }

/* AI column header glass treatment */
.s-compare .cmp__col--ai {
  position: relative;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background:
    linear-gradient(180deg, rgba(0,85,255,.18), rgba(124,58,237,.10) 60%, rgba(124,58,237,0));
  border-bottom: 1px solid rgba(59,130,246,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.s-compare .cmp__aibadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 22px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  border-radius: var(--pill, 999px);
  background: var(--grad-brand, linear-gradient(90deg, var(--blue), var(--purple), var(--cyan)));
  box-shadow: 0 4px 14px rgba(0,85,255,.45);
}

.s-compare .cmp__col--old .cmp__colname { color: var(--muted); }

/* ----- Body rows ----- */
.s-compare .cmp__rowlabel {
  text-align: left;
  font-weight: 600;
  font-size: clamp(14px, 1.7vw, 16px);
  color: var(--text);
  padding: 16px 18px 16px 4px;
  border-bottom: 1px solid var(--line);
}

.s-compare .cmp__cell {
  text-align: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

/* AI column body — continuous glass strip */
.s-compare .cmp__cell--ai {
  background: linear-gradient(180deg, rgba(0,85,255,.07), rgba(124,58,237,.05));
  border-bottom: 1px solid rgba(59,130,246,.16);
  position: relative;
}
.s-compare .cmp__table tbody tr:last-child .cmp__cell--ai {
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  border-bottom: 1px solid rgba(59,130,246,.30);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.04);
}
.s-compare .cmp__col--ai,
.s-compare .cmp__cell--ai {
  box-shadow: inset 1px 0 0 rgba(59,130,246,.20), inset -1px 0 0 rgba(59,130,246,.20);
}

/* Yes/No pills */
.s-compare .cmp__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--pill, 999px);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: 1px solid var(--line);
}
.s-compare .cmp__pill svg { width: 17px; height: 17px; flex: none; }

.s-compare .cmp__pill--bad {
  color: #fca5a5;
  background: rgba(239,68,68,.08);
  border-color: rgba(239,68,68,.28);
}
.s-compare .cmp__pill--good {
  color: #6ee7b7;
  background: rgba(16,185,129,.10);
  border-color: rgba(16,185,129,.30);
}

/* Descriptive words */
.s-compare .cmp__word {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.s-compare .cmp__word svg { width: 17px; height: 17px; flex: none; color: #6ee7b7; }
.s-compare .cmp__word--muted { color: var(--muted); }
.s-compare .cmp__word--good  { color: var(--text); }

/* CTA */
.s-compare .cmp__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ===== Responsive: stack into per-row cards ≤640px ===== */
@media (max-width: 640px) {
  .s-compare .cmp__table,
  .s-compare .cmp__table tbody,
  .s-compare .cmp__table tbody tr,
  .s-compare .cmp__table td,
  .s-compare .cmp__table th { display: block; width: 100%; }

  /* Hide the table header row — labels move into cells */
  .s-compare .cmp__table thead { display: none; }

  .s-compare .cmp__table tbody tr {
    background: var(--glass, rgba(255,255,255,.03));
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 14px 16px;
    margin-bottom: 14px;
  }

  .s-compare .cmp__rowlabel {
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
  }

  .s-compare .cmp__cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    padding: 9px 12px;
    border-bottom: 0;
    border-radius: var(--r);
  }
  .s-compare .cmp__cell + .cmp__cell { margin-top: 8px; }

  /* Re-emit the column name on the left of each value */
  .s-compare .cmp__cell::before {
    content: attr(data-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
  }

  .s-compare .cmp__cell--old {
    background: rgba(255,255,255,.02);
  }
  /* Adviad value stays the hero card */
  .s-compare .cmp__cell--ai {
    background: linear-gradient(90deg, rgba(0,85,255,.16), rgba(124,58,237,.10));
    border: 1px solid rgba(59,130,246,.32);
    box-shadow: 0 4px 18px rgba(0,85,255,.18);
  }
  .s-compare .cmp__table tbody tr:last-child .cmp__cell--ai {
    border-radius: var(--r);
  }
  .s-compare .cmp__cell--ai::before { color: var(--blue-bright); }
}

@media (min-width: 641px) and (max-width: 768px) {
  .s-compare .cmp__rowlabel-head { width: 26%; }
  .s-compare .cmp__col { width: 37%; }
}
/* ===== Pricing (s-pricing) ===== */
.s-pricing {
  position: relative;
  overflow: hidden;
}

.s-pricing__orb {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.s-pricing__orb--1 {
  top: -8%;
  left: -6%;
  width: 460px;
  height: 460px;
}
.s-pricing__orb--2 {
  right: -8%;
  bottom: -12%;
  width: 520px;
  height: 520px;
}

.s-pricing .container {
  position: relative;
  z-index: 1;
}

/* Grid: 4 across → 2 → 1 */
.s-pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 22px);
  align-items: stretch;
  margin-top: clamp(36px, 5vw, 56px);
}

/* Card */
.s-pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2vw, 30px);
  height: 100%;
}

.s-pricing__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-pricing__plan {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.s-pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  line-height: 1;
}

.s-pricing__amount {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.s-pricing__amount--custom {
  font-size: clamp(2rem, 3.4vw, 2.5rem);
}

.s-pricing__per {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.s-pricing__who {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.s-pricing__divider {
  height: 1px;
  background: var(--line);
  margin: clamp(18px, 2vw, 24px) 0;
}

/* Features */
.s-pricing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1 1 auto;
}
.s-pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.96rem;
  line-height: 1.45;
  color: var(--text);
}
.s-pricing__features li strong {
  font-weight: 700;
}
.s-pricing__features svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: var(--cyan);
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  padding: 2px;
  box-sizing: content-box;
}

/* CTA pinned to bottom */
.s-pricing__cta {
  margin-top: clamp(22px, 2.4vw, 28px);
  min-height: 46px;
}

/* Featured card */
.s-pricing__card--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    var(--grad-brand) border-box;
  border: 1.5px solid transparent;
  transform: scale(1.04);
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.18),
    0 24px 60px -24px rgba(0, 85, 255, 0.55),
    var(--glow-blue);
}
.s-pricing__card--featured .s-pricing__amount {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.s-pricing__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 16px;
  border-radius: var(--pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  background: var(--grad-brand);
  box-shadow: 0 8px 24px -8px rgba(0, 85, 255, 0.7);
}

.s-pricing__note {
  text-align: center;
  margin-top: clamp(28px, 3.5vw, 44px);
  font-size: 0.92rem;
  color: var(--faint);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .s-pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  /* keep featured aligned in 2-col grid; reduce scale to avoid overlap */
  .s-pricing__card--featured {
    transform: scale(1.0);
  }
  .s-pricing__ribbon {
    font-size: 0.7rem;
    padding: 5px 13px;
  }
}

@media (max-width: 600px) {
  .s-pricing__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .s-pricing__card--featured {
    transform: none;
    margin-top: 8px; /* room for the ribbon */
  }
}
/* ============================================================
   VISION / CLOSING CTA  —  #start  /  .s-vision
   Bold electric-blue closing hero. White text throughout.
   ============================================================ */
.s-vision {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding-block: clamp(92px, 12vw, 168px);
  background:
    radial-gradient(120% 130% at 50% -10%, #1f6bff 0%, #0055ff 38%, #0039ad 72%, #06224f 100%);
}

/* Decorative blurred glows */
.s-vision__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.s-vision__orb--1 {
  width: 520px; height: 520px;
  top: -180px; left: -140px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 70%);
}
.s-vision__orb--2 {
  width: 460px; height: 460px;
  bottom: -200px; right: -120px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.5), transparent 70%);
}
.s-vision__orb--3 {
  width: 420px; height: 420px;
  bottom: -160px; left: 8%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 70%);
  opacity: 0.7;
}

/* Faint grid texture */
.s-vision__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 35%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 35%, transparent 75%);
}

/* Soft central highlight behind the headline */
.s-vision__glow {
  position: absolute;
  z-index: 0;
  top: 24%;
  left: 50%;
  width: min(760px, 92%);
  height: 360px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  filter: blur(10px);
}

.s-vision__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow — translucent light variant for blue bg */
.s-vision__eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.s-vision__eyebrow .dot {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

/* Headline */
.s-vision__title {
  color: #fff;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.s-vision__setup {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}
.s-vision__punch {
  display: block;
  margin-top: 0.5em;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.s-vision__lede {
  margin-top: clamp(22px, 3vw, 30px);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
}

/* CTA row */
.s-vision__cta {
  margin-top: clamp(30px, 4vw, 42px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.s-vision__cta .btn { min-height: 52px; }
/* Make the secondary button readable on the bright blue */
.s-vision__cta .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.s-vision__cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Trust micro-copy */
.s-vision__trust {
  margin-top: clamp(22px, 3vw, 30px);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}
.s-vision__trust svg {
  width: 17px; height: 17px;
  stroke: rgba(255, 255, 255, 0.82);
  flex-shrink: 0;
}
.s-vision__sep { color: rgba(255, 255, 255, 0.4); }

@media (max-width: 560px) {
  .s-vision__cta .btn { width: 100%; }
  .s-vision__title { font-size: clamp(1.1rem, 5vw, 1.5rem); }
}

/* ============================================================
   AI GENERATION  —  .s-aigen  (tab → swap demo video)
   ============================================================ */
.s-aigen__card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--r-xl);
}
.s-aigen__h { margin: 14px 0 12px; }
.s-aigen__sub { color: var(--muted); font-size: 1.02rem; max-width: 44ch; }
.s-aigen__tabs { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.aigen-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  text-align: left;
  transition: border-color var(--t), background var(--t), transform var(--t-fast);
}
.aigen-tab:hover { border-color: var(--line-strong); transform: translateX(2px); }
.aigen-tab.is-active { border-color: rgba(0, 85, 255, 0.7); background: rgba(0, 85, 255, 0.1); }
.aigen-tab__ico {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.aigen-tab__ico svg { width: 20px; height: 20px; stroke: var(--blue-bright); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aigen-tab.is-active .aigen-tab__ico { background: var(--grad-blue); border-color: transparent; box-shadow: var(--glow-blue); }
.aigen-tab.is-active .aigen-tab__ico svg { stroke: #fff; }
.aigen-tab__txt { min-width: 0; }
.aigen-tab__title { display: block; font-weight: 600; font-size: 0.96rem; color: var(--text); letter-spacing: -0.01em; }
.aigen-tab__hint { display: block; font-size: 0.83rem; color: var(--faint); margin-top: 2px; }
.s-aigen__stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel-2);
}
.s-aigen__video {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
}
@media (max-width: 900px) {
  .s-aigen__card { grid-template-columns: 1fr; }
}

/* Active nav item (multi-page) */
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--blue);
}
.nav__mobile a[aria-current="page"] { color: var(--blue-bright); }

/* Pricing — cumulative "Everything in X, plus:" label */
.s-pricing__inc {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 14px;
}
.s-pricing__inc--base { color: var(--blue-bright); }

/* ============================================================
   COMPANY PAGE  —  .s-company / .s-contact
   ============================================================ */
.s-company { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px)); }
.s-company .section-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.s-company__lede {
  max-width: 760px; margin: 18px auto 0; text-align: center;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted);
}
.s-company__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
.s-company__card { padding: 28px; }
.s-company__card h3 { margin: 18px 0 10px; }
.s-company__card p { font-size: 0.85rem; }
.s-company__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}
.s-company__stat { padding: 26px 18px; }
.s-company__stat-num { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.s-company__stat-lbl { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

.s-contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; margin-top: clamp(32px, 4vw, 48px);
}
.s-contact__panel { padding: clamp(26px, 3vw, 40px); }
.s-contact__row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.s-contact__row:last-child { border-bottom: 0; }
.s-contact__row svg { width: 22px; height: 22px; stroke: var(--blue-bright); fill: none; stroke-width: 1.7; flex-shrink: 0; margin-top: 2px; }
.s-contact__row b { display: block; color: var(--text); font-size: 0.95rem; }
.s-contact__row span { color: var(--muted); font-size: 0.92rem; }
.s-contact__cta { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 900px) {
  .s-company__grid { grid-template-columns: 1fr; }
  .s-company__stats { grid-template-columns: 1fr 1fr; }
  .s-contact__grid { grid-template-columns: 1fr; }
}
