/* ============================================
   StarFromAI — Global Styles
   ============================================ */

:root {
  /* Background scale (deep cool navy) */
  --bg-0: oklch(0.13 0.02 270);    /* near-black base */
  --bg-1: oklch(0.16 0.025 270);   /* primary bg */
  --bg-2: oklch(0.19 0.028 270);   /* card */
  --bg-3: oklch(0.23 0.03 270);    /* elevated */
  --line: oklch(0.30 0.03 270);    /* border */
  --line-soft: oklch(0.26 0.025 270);

  /* Text */
  --fg-0: oklch(0.98 0.005 270);
  --fg-1: oklch(0.88 0.01 270);
  --fg-2: oklch(0.66 0.02 270);
  --fg-3: oklch(0.50 0.025 270);

  /* Accent — from logo */
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  --accent-violet: #A855F7;
  --grad: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 60%, #A855F7 100%);
  --grad-soft: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(168,85,247,0.18));

  /* Semantic */
  --ok: #34D399;
  --warn: #F59E0B;

  /* Type */
  --f-display: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  --f-sans: 'DM Sans', 'Noto Sans SC', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-1);
  color: var(--fg-0);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

img { display: block; max-width: 100%; }

/* Language visibility — text is populated via JS into elements with data-zh/data-en */

body[data-lang="en"] { font-family: var(--f-sans); }
body[data-lang="zh"] .hero__title,
body[data-lang="zh"] .section__title,
body[data-lang="zh"] .cta__title { letter-spacing: -0.01em; }

.floating-icons {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.float-icon {
  position: absolute;
  display: block;
  width: 34px;
  height: 34px;
  color: oklch(0.74 0.06 270 / 0.22);
  opacity: 0.22;
}

.float-icon--1 { top: 6%; left: 6%; }
.float-icon--2 { top: 12%; right: 10%; }
.float-icon--3 { top: 24%; left: 14%; }
.float-icon--4 { top: 18%; right: 20%; }
.float-icon--5 { top: 40%; left: 4%; }
.float-icon--6 { top: 44%; right: 6%; }
.float-icon--7 { top: 56%; left: 16%; }
.float-icon--8 { top: 62%; right: 16%; }
.float-icon--9 { top: 72%; left: 8%; }
.float-icon--10 { top: 78%; right: 8%; }
.float-icon--11 { top: 86%; left: 20%; }
.float-icon--12 { top: 84%; right: 22%; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: oklch(0.13 0.02 270 / 0.72);
  border-bottom: 1px solid oklch(0.30 0.03 270 / 0.5);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.brand__mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}
.brand__name { color: var(--fg-0); }
.brand__ai {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 2px;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: 16px;
}
.nav__links a {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--fg-0); }
.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
}
.lang__btn {
  padding: 4px 6px;
  border-radius: 6px;
  color: var(--fg-2);
  transition: color 0.15s, background 0.15s;
}
.lang__btn.is-active { color: var(--fg-0); background: oklch(0.23 0.03 270 / 0.9); }
.lang__btn:hover { color: var(--fg-0); }
.lang__sep { color: var(--fg-3); }
.theme-toggle {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: oklch(0.19 0.025 270 / 0.6);
  color: var(--fg-1);
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.theme-toggle:hover {
  border-color: oklch(0.40 0.04 270);
  background: oklch(0.23 0.03 270 / 0.8);
  color: var(--fg-0);
  transform: translateY(-1px);
}
.theme-toggle__icon {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
  transition: opacity 0.18s, transform 0.18s;
}
.theme-toggle__icon--sun {
  opacity: 0;
  transform: scale(0.72) rotate(-20deg);
}
body[data-theme="light"] .theme-toggle__icon--sun,
body[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: none;
}
body[data-theme="light"] .theme-toggle__icon--moon,
body[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: scale(0.72) rotate(20deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--f-sans);
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 6px 24px -8px rgba(99, 102, 241, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(99, 102, 241, 0.7), inset 0 1px 0 rgba(255,255,255,0.2); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--fg-1);
  background: oklch(0.19 0.025 270 / 0.6);
}
.btn--ghost:hover { border-color: oklch(0.40 0.04 270); background: oklch(0.23 0.03 270 / 0.8); }
.btn--lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; overflow: hidden; padding-top: 56px; }
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.30 0.03 270 / 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.30 0.03 270 / 0.25) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  opacity: 0.5;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero__glow--blue {
  top: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
}
.hero__glow--purple {
  top: 10%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, #A855F7 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--gutter) 60px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: oklch(0.19 0.025 270 / 0.6);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-1);
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px oklch(0.7 0.18 152 / 0.18);
}
.eyebrow__tag {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--grad);
  color: white;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 24px 0 24px;
  color: var(--fg-0);
  text-wrap: balance;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 540px;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-num {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--fg-0);
  letter-spacing: -0.02em;
}
.hero__meta-unit {
  font-size: 18px;
  color: var(--fg-2);
  margin-left: 1px;
}
.hero__meta-label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.hero__meta-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}

/* Workbench visual */
.workbench {
  position: relative;
  height: 540px;
}
.workbench__halo {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(139,92,246,0.25), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.wb-card {
  position: absolute;
  background: linear-gradient(180deg, oklch(0.21 0.028 270) 0%, oklch(0.18 0.025 270) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), inset 0 1px 0 oklch(0.35 0.03 270 / 0.5);
}
.wb-card--thread {
  top: 0;
  left: 0;
  width: 78%;
  z-index: 2;
}
.wb-card--pick {
  bottom: 0;
  right: 0;
  width: 70%;
  z-index: 3;
}
.wb-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}
.wb-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fg-3);
}
.wb-card__dot--live {
  background: var(--ok);
  box-shadow: 0 0 0 3px oklch(0.7 0.18 152 / 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px oklch(0.7 0.18 152 / 0.2); }
  50% { box-shadow: 0 0 0 6px oklch(0.7 0.18 152 / 0.05); }
}
.wb-card__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.wb-card__chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  background: oklch(0.23 0.03 270);
  color: var(--fg-1);
  text-transform: uppercase;
}
.wb-card__chip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: pulse 2.4s ease-in-out infinite;
}
.wb-card__rank {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent-violet);
  letter-spacing: 0.04em;
}

/* Thread / chat */
.thread { display: flex; flex-direction: column; gap: 12px; }
.thread__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.thread__row--user { justify-content: flex-end; }
.thread__row--user .thread__avatar { order: 2; }
.thread__avatar {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.thread__avatar--user {
  background: oklch(0.30 0.04 270);
  color: var(--fg-0);
}
.thread__avatar--agent {
  background: var(--grad);
  padding: 6px;
}
.thread__avatar--agent svg { width: 100%; height: 100%; }
.thread__bubble {
  background: oklch(0.23 0.03 270);
  border: 1px solid var(--line-soft);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--fg-1);
  max-width: 80%;
}
.thread__row--user .thread__bubble {
  background: var(--grad-soft);
  border: 1px solid oklch(0.40 0.08 280);
  color: var(--fg-0);
}
.thread__bubble--agent { padding: 12px 14px; }
.thread__step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 4px 0;
  color: var(--fg-2);
}
.thread__step-i {
  font-family: var(--f-mono);
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: oklch(0.30 0.04 270);
  color: var(--fg-1);
  display: grid;
  place-items: center;
}
.thread__check {
  margin-left: auto;
  color: var(--ok);
  font-size: 13px;
}
.thread__check--loading {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-purple);
  border-top-color: transparent;
  color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.thread__result {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
  font-size: 12px;
  color: var(--accent-violet);
  font-weight: 500;
}

/* Pick */
.pick {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
}
.pick__img {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, oklch(0.27 0.04 270), oklch(0.32 0.06 280));
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.pick__img-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0, transparent 6px, oklch(0.4 0.06 280 / 0.25) 6px, oklch(0.4 0.06 280 / 0.25) 7px);
}
.pick__img-label {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: oklch(0.85 0.02 270 / 0.7);
  text-transform: uppercase;
}
.pick__cat {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  margin-bottom: 2px;
}
.pick__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-0);
  margin-bottom: 10px;
}
.pick__stats {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.pick__stat { display: flex; flex-direction: column; gap: 2px; }
.pick__stat-k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.pick__stat-v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-0);
}
.pick__stat-v--up { color: var(--accent-violet); }
.pick__stat-v--low { color: var(--ok); }
.pick__spark {
  margin-top: 4px;
  height: 30px;
  width: 100%;
}
.pick__spark svg { width: 100%; height: 100%; }

/* Floating chips */
.wb-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: oklch(0.22 0.03 270 / 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px -10px rgba(0,0,0,0.6);
  z-index: 4;
}
.wb-chip--1 { top: 32%; right: -10px; }
.wb-chip--2 { bottom: 32%; left: -8px; }
.wb-chip__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  color: var(--accent-violet);
  border: 1px solid oklch(0.40 0.08 280);
}
.wb-chip__icon--alert {
  color: var(--warn);
  background: oklch(0.4 0.12 60 / 0.2);
  border-color: oklch(0.4 0.12 60 / 0.5);
}
.wb-chip__k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.wb-chip__v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-0);
}

/* Trust strip */
.trust {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.trust__label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  flex-shrink: 0;
}
.trust__rail {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: space-around;
}
.trust__item {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--fg-2);
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.15s, color 0.15s;
}
.trust__item:hover { opacity: 1; color: var(--fg-0); }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter);
}
.section--alt {
  max-width: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, oklch(0.20 0.04 280 / 0.4) 0%, transparent 60%),
    var(--bg-0);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section--alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--alt .section__head, .section--alt .workflow, .section--alt .bignums, .section--alt .cases { padding-left: var(--gutter); padding-right: var(--gutter); }

.section__head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section__eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: oklch(0.19 0.025 270 / 0.6);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-1);
  margin-bottom: 20px;
}
.section__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.section__sub {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 620px;
  text-wrap: pretty;
}

/* ============================================
   ADVANTAGE PROOF
   ============================================ */
.section--proof {
  overflow: hidden;
}
.section--proof::before {
  content: "";
  position: absolute;
  inset: 70px var(--gutter) auto;
  height: 360px;
  background:
    radial-gradient(ellipse 45% 70% at 18% 10%, oklch(0.52 0.18 255 / 0.22), transparent 62%),
    radial-gradient(ellipse 45% 70% at 82% 28%, oklch(0.56 0.18 300 / 0.18), transparent 62%);
  filter: blur(28px);
  pointer-events: none;
}
.proof {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 20px;
}
.proof-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, oklch(0.20 0.025 270 / 0.96), oklch(0.16 0.022 270 / 0.96));
  box-shadow: 0 28px 70px -42px rgba(0,0,0,0.9);
}
.proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, oklch(0.62 0.18 255 / 0.16), transparent 45%),
    radial-gradient(ellipse 80% 80% at 100% 0%, oklch(0.60 0.18 300 / 0.18), transparent 58%);
  pointer-events: none;
}
.proof-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 160px;
  height: 160px;
  border: 1px solid oklch(0.55 0.12 280 / 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px oklch(0.50 0.10 270 / 0.05);
}
.proof-card > * { position: relative; }
.proof-card--hero {
  grid-row: span 2;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(ellipse 80% 52% at 18% 10%, oklch(0.42 0.13 255 / 0.32), transparent 64%),
    linear-gradient(180deg, oklch(0.21 0.03 270), oklch(0.15 0.022 270));
}
.proof-card--hero::after {
  right: 36px;
  top: 48px;
  bottom: auto;
  width: 220px;
  height: 220px;
}
.proof-card__kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid oklch(0.42 0.08 280 / 0.72);
  border-radius: 999px;
  background: var(--grad-soft);
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--accent-violet);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof-card__title {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg-0);
}
.proof-card:not(.proof-card--hero) .proof-card__title {
  font-size: 24px;
}
.proof-card__desc {
  margin: 0;
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.proof-card__meter {
  margin-top: 32px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: oklch(0.13 0.02 270 / 0.62);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.proof-card__meter-label,
.proof-card__meter-value {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-1);
}
.proof-card__meter-value {
  color: var(--ok);
  font-weight: 600;
}
.proof-card__meter-bar {
  height: 6px;
  border-radius: 999px;
  background: oklch(0.25 0.025 270);
  overflow: hidden;
}
.proof-card__meter-bar i {
  display: block;
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
}

/* ============================================
   CAPABILITY GRID
   ============================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cap {
  grid-column: span 2;
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.cap:hover {
  border-color: oklch(0.40 0.06 280);
  transform: translateY(-2px);
}
.cap--lg { grid-column: span 2; }
.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 0% 0%, oklch(0.30 0.06 280 / 0.25), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}
.cap > * { position: relative; }
.cap__head {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.cap__num {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-violet);
  letter-spacing: 0.04em;
}
.cap__phase {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.cap__phase--live {
  color: var(--ok);
  border-color: oklch(0.55 0.16 152 / 0.4);
}
.cap__phase--dev {
  color: var(--warn);
  border-color: oklch(0.70 0.16 70 / 0.45);
  background: oklch(0.40 0.12 60 / 0.12);
}
.cap__phase-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px oklch(0.7 0.18 152 / 0.2);
}
.cap__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--fg-0);
}
.cap__desc {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0 0 16px;
}
.cap__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.cap__bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--fg-1);
}
.cap__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--grad);
}

/* Cap viz: ranklist */
.cap__viz {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: oklch(0.15 0.02 270 / 0.6);
}
.ranklist { display: flex; flex-direction: column; gap: 10px; }
.ranklist__row {
  display: grid;
  grid-template-columns: 30px 1fr 36px 80px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.ranklist__rk {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-3);
}
.ranklist__nm { color: var(--fg-1); }
.ranklist__sc {
  font-family: var(--f-mono);
  font-weight: 600;
  color: var(--accent-violet);
  text-align: right;
}
.ranklist__bar {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: oklch(0.25 0.025 270);
  overflow: hidden;
}
.ranklist__bar i {
  position: absolute;
  inset: 0;
  background: var(--grad);
  display: block;
}

/* Cap viz: image grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.image-grid__cell {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, oklch(0.27 0.04 270), oklch(0.32 0.06 280));
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: end;
  padding: 6px;
}
.image-grid__cell span {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: oklch(0.85 0.02 270 / 0.75);
  text-transform: uppercase;
}
.image-grid__cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 4px, oklch(0.4 0.06 280 / 0.3) 4px 5px);
  pointer-events: none;
}
.image-grid__cell--src {
  background: linear-gradient(135deg, oklch(0.35 0.10 245), oklch(0.40 0.16 280));
}
.image-grid__cell--src::before {
  background: none;
}
.image-grid__shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, oklch(0.95 0.02 270 / 0.2), transparent);
  animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer { 0% { left: -100%; } 50%, 100% { left: 200%; } }

/* ============================================
   WORKFLOW
   ============================================ */
.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.workflow__line {
  position: absolute;
  top: 60px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-purple), transparent);
  opacity: 0.5;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.step__index {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-violet);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.step__node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--accent-purple);
  position: relative;
  margin-bottom: 28px;
  z-index: 1;
}
.step__node-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.7 0.2 280 / 0.4), transparent 60%);
  animation: pulse 2s ease-in-out infinite;
}
.step__card {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
}
.step__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--fg-0);
}
.step__desc {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0 0 14px;
}
.step__chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--grad-soft);
  border: 1px solid oklch(0.40 0.08 280);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent-violet);
}

/* ============================================
   PREVIEW
   ============================================ */
.preview {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
}
.preview-showcase {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.preview-shot {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, oklch(0.34 0.11 280 / 0.24), transparent 62%),
    linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.16 0.022 270));
  box-shadow: 0 34px 80px -48px rgba(0,0,0,0.9);
}
.preview-shot--image { margin-top: 44px; }
.preview-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.35 0.04 270 / 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.35 0.04 270 / 0.16) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 45% at 50% 0%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 45% at 50% 0%, black 20%, transparent 75%);
  pointer-events: none;
}
.preview-shot > * { position: relative; }
.preview-shot__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.preview-shot__tag,
.preview-shot__pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-shot__tag {
  color: var(--accent-violet);
  background: var(--grad-soft);
  border: 1px solid oklch(0.42 0.08 280 / 0.72);
}
.preview-shot__pill {
  color: var(--fg-2);
  background: oklch(0.14 0.02 270 / 0.68);
  border: 1px solid var(--line-soft);
}
.preview-shot__frame {
  overflow: hidden;
  border: 1px solid oklch(0.36 0.06 270 / 0.76);
  border-radius: 18px;
  background: var(--bg-0);
  box-shadow: inset 0 1px 0 oklch(0.55 0.08 280 / 0.22), 0 20px 60px -30px oklch(0.5 0.2 280 / 0.8);
}
.preview-shot__frame img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.01);
}
.preview-shot__caption {
  padding: 18px 4px 4px;
}
.preview-shot__caption h3 {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--fg-0);
}
.preview-shot__caption p {
  margin: 0;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.65;
}

/* Phone */
.phone {
  width: 320px;
  height: 640px;
  background: linear-gradient(180deg, oklch(0.21 0.028 270), oklch(0.16 0.02 270));
  border-radius: 42px;
  padding: 10px;
  border: 1px solid oklch(0.30 0.03 270);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), inset 0 1px 0 oklch(0.40 0.04 270 / 0.5);
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: black;
  border-radius: 14px;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, oklch(0.10 0.015 270) 0%, oklch(0.14 0.02 275) 100%);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone__head {
  display: flex;
  align-items: center;
  padding: 16px 24px 12px;
  padding-top: 44px;
  position: relative;
  border-bottom: 1px solid oklch(0.20 0.025 270 / 0.6);
}
.phone__time {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-1);
  position: absolute;
  top: 18px;
  left: 24px;
}
.phone__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  margin: 0 auto;
}
.phone__icons {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--f-mono);
  color: var(--fg-2);
  font-size: 13px;
}
.phone__feed {
  flex: 1;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone__date {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.phone__msg { display: flex; flex-direction: column; }
.phone__msg-name {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--accent-violet);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.phone__msg-body {
  padding: 10px 12px;
  background: oklch(0.20 0.025 270);
  border-radius: 12px;
  border-top-left-radius: 4px;
  font-size: 12px;
  color: var(--fg-1);
  line-height: 1.5;
  max-width: 88%;
}
.phone__msg--user { align-items: flex-end; }
.phone__msg--user .phone__msg-body {
  background: var(--grad);
  color: white;
  border-radius: 12px;
  border-top-right-radius: 4px;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0;
}
.mini-stats > div {
  background: oklch(0.16 0.02 270);
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}
.mini-stats__k {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.mini-stats__v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--fg-0);
}
.mini-stats__v--good { color: var(--ok); }
.mini-cards {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-cards__row {
  display: grid;
  grid-template-columns: 22px 1fr 26px;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  background: oklch(0.16 0.02 270);
  border-radius: 6px;
  font-size: 11px;
}
.mini-cards__rk {
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--accent-violet);
}
.mini-cards__nm { color: var(--fg-1); }
.mini-cards__sc {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  color: var(--fg-0);
  text-align: right;
}
.phone__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding: 8px 12px;
  background: oklch(0.20 0.025 270);
  border-radius: 12px;
  align-self: flex-start;
  max-width: 80%;
}
.phone__typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: bounce 1.2s ease-in-out infinite;
}
.phone__typing span:nth-child(2) { animation-delay: 0.15s; }
.phone__typing span:nth-child(3) { animation-delay: 0.3s; }
.phone__typing em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  margin-left: 4px;
}
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.phone__input {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  margin: 0 12px 12px;
  background: oklch(0.20 0.025 270);
  border-radius: 100px;
  border: 1px solid var(--line-soft);
}
.phone__input-ph {
  font-size: 12px;
  color: var(--fg-3);
  flex: 1;
}
.phone__input-mic {
  color: var(--accent-violet);
  font-size: 12px;
}

/* Agents map */
.agents {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.agents__core {
  position: relative;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
}
.agents__core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed oklch(0.40 0.08 280 / 0.5);
  animation: spinSlow 30s linear infinite;
}
.agents__core-ring--2 {
  inset: -60px;
  border-color: oklch(0.40 0.08 280 / 0.25);
  animation-duration: 60s;
  animation-direction: reverse;
}
.agents__core-ring--3 {
  inset: -120px;
  border: 1px solid oklch(0.40 0.08 280 / 0.15);
  animation-duration: 90s;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.agents__core-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, oklch(0.30 0.06 270), oklch(0.18 0.025 270));
  border: 2px solid oklch(0.50 0.12 280);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 
    0 0 60px oklch(0.5 0.2 280 / 0.5),
    0 0 120px oklch(0.5 0.2 280 / 0.2),
    inset 0 1px 0 oklch(0.5 0.06 280);
  position: relative;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  animation: coreFloat 4s ease-in-out infinite, corePulse 3s ease-in-out infinite;
}
.agents__core-inner:hover {
  transform: scale(1.1);
  box-shadow: 
    0 0 80px oklch(0.6 0.25 280 / 0.6),
    0 0 150px oklch(0.5 0.2 280 / 0.3),
    inset 0 1px 0 oklch(0.5 0.06 280);
}
.agents__core-inner img { 
  width: 56px; 
  height: auto;
  animation: logoSpin 20s linear infinite;
  transition: transform 0.3s ease;
}
.agents__core-inner:hover img {
  animation-play-state: paused;
  transform: scale(1.1);
}
.agents__core-inner span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-1);
}
@keyframes coreFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 60px oklch(0.5 0.2 280 / 0.5), 0 0 120px oklch(0.5 0.2 280 / 0.2), inset 0 1px 0 oklch(0.5 0.06 280); }
  50% { box-shadow: 0 0 80px oklch(0.6 0.25 280 / 0.6), 0 0 150px oklch(0.5 0.2 280 / 0.3), inset 0 1px 0 oklch(0.5 0.06 280); }
}
@keyframes logoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Connection lines from core to nodes */
.agents__connections {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.agents__connection-line {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  background: linear-gradient(90deg, oklch(0.5 0.15 280 / 0.8), oklch(0.4 0.10 260 / 0.3), transparent);
  transform-origin: left center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.agents__connection-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 10px var(--accent-violet);
  animation: dataFlow 2s ease-in-out infinite;
}
@keyframes dataFlow {
  0% { left: 0; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Surrounding agent nodes — positioned around a circle */
.agent-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: linear-gradient(135deg, oklch(0.22 0.03 270 / 0.9), oklch(0.18 0.025 270 / 0.9));
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  min-width: 90px;
  z-index: 2;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
.agent-node::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: var(--grad);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.agent-node:hover::before {
  opacity: 1;
}
.agent-node:hover {
  transform: scale(1.15) translateZ(20px);
  border-color: transparent;
  box-shadow: 
    0 20px 40px -10px oklch(0.4 0.15 280 / 0.4),
    0 0 30px oklch(0.5 0.2 280 / 0.3);
}
.agent-node.is-active {
  transform: scale(1.2) translateZ(30px);
  border-color: var(--accent-violet);
  box-shadow: 
    0 25px 50px -10px oklch(0.4 0.15 280 / 0.5),
    0 0 50px oklch(0.5 0.2 280 / 0.4);
}
.agent-node__icon {
  font-family: var(--f-display);
  font-size: 22px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  transition: transform 0.3s ease;
}
.agent-node:hover .agent-node__icon {
  transform: scale(1.2) rotate(10deg);
}
.agent-node__name {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-1);
  transition: color 0.3s ease;
}
.agent-node:hover .agent-node__name {
  color: var(--fg-0);
}
.agent-node__status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: statusPulse 2s ease-in-out infinite;
}
.agent-node__status--dev {
  background: var(--warn);
  box-shadow: 0 0 8px var(--warn);
}
.agent-node__status--planned {
  background: var(--fg-3);
  box-shadow: none;
  opacity: 0.85;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* Orbit animation for nodes */
.agent-node--1 { 
  top: 5%; left: 50%; 
  transform: translateX(-50%);
  animation: orbitNode1 0.8s ease-out both;
}
.agent-node--2 { 
  top: 25%; right: 5%; 
  animation: orbitNode2 0.8s ease-out 0.1s both;
}
.agent-node--3 { 
  top: 65%; right: 5%; 
  animation: orbitNode3 0.8s ease-out 0.2s both;
}
.agent-node--4 { 
  bottom: 5%; left: 50%; 
  transform: translateX(-50%);
  animation: orbitNode4 0.8s ease-out 0.3s both;
}
.agent-node--5 { 
  top: 65%; left: 5%; 
  animation: orbitNode5 0.8s ease-out 0.4s both;
}
.agent-node--6 { 
  top: 25%; left: 5%; 
  animation: orbitNode6 0.8s ease-out 0.5s both;
}

@keyframes orbitNode1 {
  from { opacity: 0; transform: translateX(-50%) translateY(100px) scale(0.5); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes orbitNode2 {
  from { opacity: 0; transform: translateX(100px) scale(0.5); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes orbitNode3 {
  from { opacity: 0; transform: translateX(100px) scale(0.5); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes orbitNode4 {
  from { opacity: 0; transform: translateX(-50%) translateY(-100px) scale(0.5); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes orbitNode5 {
  from { opacity: 0; transform: translateX(-100px) scale(0.5); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes orbitNode6 {
  from { opacity: 0; transform: translateX(-100px) scale(0.5); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

/* Floating particles around agents */
.agents__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.agents__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-violet);
  opacity: 0.6;
  animation: particleFloat 8s ease-in-out infinite;
}
.agents__particle:nth-child(1) { top: 20%; left: 30%; animation-delay: 0s; }
.agents__particle:nth-child(2) { top: 40%; left: 70%; animation-delay: -2s; }
.agents__particle:nth-child(3) { top: 60%; left: 20%; animation-delay: -4s; }
.agents__particle:nth-child(4) { top: 80%; left: 60%; animation-delay: -6s; }
.agents__particle:nth-child(5) { top: 30%; left: 80%; animation-delay: -1s; }
.agents__particle:nth-child(6) { top: 70%; left: 40%; animation-delay: -3s; }
@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(20px, -30px) scale(1.5); opacity: 0.8; }
  50% { transform: translate(-10px, -50px) scale(1); opacity: 0.4; }
  75% { transform: translate(30px, -20px) scale(1.2); opacity: 0.7; }
}

/* Connection stubs kept for legacy line element */
.agent-node__line {
  display: none;
}

.agents__connection-line--1 { width: 165px; transform: rotate(-90deg); }
.agents__connection-line--2 { width: 190px; transform: rotate(-28deg); }
.agents__connection-line--3 { width: 190px; transform: rotate(28deg); }
.agents__connection-line--4 { width: 165px; transform: rotate(90deg); }
.agents__connection-line--5 { width: 190px; transform: rotate(152deg); }
.agents__connection-line--6 { width: 190px; transform: rotate(-152deg); }
.agents__connection-line--2::before { animation-delay: -0.35s; }
.agents__connection-line--3::before { animation-delay: -0.7s; }
.agents__connection-line--4::before { animation-delay: -1.05s; }
.agents__connection-line--5::before { animation-delay: -1.4s; }
.agents__connection-line--6::before { animation-delay: -1.75s; }

.agents:hover .agents__connection-line {
  opacity: 0.95;
}
.agents:hover .agent-node:not(:hover):not(.is-active) {
  opacity: 0.72;
  filter: saturate(0.8);
}
.agent-node--1:hover,
.agent-node--1.is-active { transform: translateX(-50%) scale(1.16) translateZ(20px); }
.agent-node--4:hover,
.agent-node--4.is-active { transform: translateX(-50%) scale(1.16) translateZ(20px); }

.agents__insight {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%) translateY(16px);
  width: min(360px, 80%);
  padding: 12px 16px;
  border: 1px solid oklch(0.40 0.08 280 / 0.55);
  border-radius: 14px;
  background: oklch(0.16 0.025 270 / 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 42px -18px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.08);
  font-size: 12px;
  line-height: 1.45;
  color: var(--fg-1);
  text-align: center;
  opacity: 0.78;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  z-index: 8;
}
.agents__insight.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  border-color: oklch(0.55 0.16 280 / 0.75);
}

.agents.is-syncing .agents__core-inner {
  animation: coreFloat 4s ease-in-out infinite, corePulse 1.1s ease-in-out infinite;
}
.agents.is-syncing .agents__connection-line::before {
  animation-duration: 0.9s;
}
.agents.is-syncing .agent-node {
  animation-duration: 0.45s;
}

/* ============================================
   RESULTS / BIGNUMS / CASES
   ============================================ */
.bignums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
}
.bignum {
  padding: 36px 28px;
  border-right: 1px solid var(--line-soft);
  position: relative;
}
.bignum:last-child { border-right: 0; }
.bignum__v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.bignum__u {
  font-size: 0.55em;
  color: var(--accent-violet);
  -webkit-text-fill-color: var(--accent-violet);
  margin-left: 2px;
}
.bignum__k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
  display: flex;
  flex-direction: column;
}
.case__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.case__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: white;
  font-size: 14px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.case__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg-0);
}
.case__meta {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case__tag {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 6px;
  background: oklch(0.25 0.03 270);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-1);
  text-transform: uppercase;
}
.case__tag--live {
  color: var(--ok);
  background: oklch(0.40 0.15 152 / 0.12);
  border: 1px solid oklch(0.55 0.16 152 / 0.25);
}
.case__tag--dev {
  color: var(--warn);
  background: oklch(0.40 0.12 60 / 0.12);
  border: 1px solid oklch(0.70 0.16 70 / 0.25);
}
.case__quote {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0 0 24px;
  flex: 1;
  text-wrap: pretty;
}
.case__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.case__foot-v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--fg-0);
  letter-spacing: -0.01em;
}
.case__foot-k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================
   PRICING (Dark theme - consistent with site)
   ============================================ */
.section--pricing {
  max-width: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, oklch(0.22 0.06 280 / 0.5) 0%, transparent 60%),
    var(--bg-0);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 120px var(--gutter);
  position: relative;
  overflow: hidden;
}
.section--pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.30 0.03 270 / 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.30 0.03 270 / 0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}
.section--pricing > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.section--pricing .section__head {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.prices--three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 var(--gutter);
}

.price__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: oklch(0.25 0.03 270);
  color: var(--fg-2);
  border: 1px solid var(--line);
  margin-bottom: 24px;
  width: fit-content;
}
.price__badge--pro {
  background: var(--grad);
  color: white;
  border-color: transparent;
}
.price__badge--max {
  background: oklch(0.30 0.04 270);
  color: var(--fg-0);
  border-color: var(--line);
}

.section--pricing .price {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.17 0.022 270));
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.section--pricing .price:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
  border-color: oklch(0.40 0.06 280);
}
.section--pricing .price--featured {
  border-color: oklch(0.50 0.14 280);
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, oklch(0.30 0.10 280 / 0.4), transparent 60%),
    linear-gradient(180deg, oklch(0.22 0.03 270), oklch(0.18 0.025 270));
  box-shadow: 0 30px 60px -20px oklch(0.5 0.2 280 / 0.3), inset 0 1px 0 oklch(0.45 0.08 280);
}
.section--pricing .price--featured:hover {
  box-shadow: 0 35px 70px -20px oklch(0.5 0.2 280 / 0.4), inset 0 1px 0 oklch(0.45 0.08 280);
}

.section--pricing .price__head { margin-bottom: 28px; }
.section--pricing .price__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--fg-0);
  margin-bottom: 20px;
}
.section--pricing .price__amt {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 12px;
}
.section--pricing .price__cur {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--fg-2);
}
.price__cur--highlight {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.section--pricing .price__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg-0);
}
.price__num--highlight {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.section--pricing .price__per {
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--fg-3);
  margin-left: 4px;
}
.section--pricing .price__desc {
  font-size: 13.5px;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.5;
}
.section--pricing .price__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.section--pricing .price__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.5;
}
.section--pricing .price__list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 9px;
  color: var(--accent-violet);
}
.section--pricing .price--basic .price__list li::before {
  color: var(--fg-3);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  overflow: hidden;
  padding: 120px var(--gutter);
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.cta__sub {
  font-size: 17px;
  color: var(--fg-2);
  margin: 0 0 32px;
}
.cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line-soft);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}
.footer__brand .brand { margin-bottom: 16px; }
.footer__tagline {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.footer__addr {
  font-size: 13px;
  color: var(--fg-3);
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: start;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer__qr-img {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  padding: 6px;
  object-fit: contain;
}
.footer__qr-text {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  text-align: center;
}
.footer__h {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.footer__col a,
.footer__link {
  font-size: 13.5px;
  color: var(--fg-1);
  transition: color 0.15s;
  text-align: left;
}
.footer__col a:hover,
.footer__link:hover { color: var(--accent-violet); }
.footer__link:focus-visible {
  outline: 2px solid var(--accent-violet);
  outline-offset: 3px;
  border-radius: 4px;
}
.footer__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--line-soft);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}
.footer__bar-right {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer__bar a {
  color: inherit;
  transition: color 0.15s;
}
.footer__bar a:hover { color: var(--accent-violet); }

/* ============================================
   LEGAL MODAL
   ============================================ */
.is-legal-open { overflow: hidden; }
.legal-modal[hidden] { display: none; }
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 23, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.legal-modal__panel {
  position: relative;
  width: min(900px, 100%);
  max-height: min(760px, 88vh);
  overflow: hidden;
  border: 1px solid oklch(0.34 0.05 270);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 30% at 50% 0%, oklch(0.30 0.10 280 / 0.32), transparent 70%),
    linear-gradient(180deg, oklch(0.20 0.025 270), oklch(0.15 0.02 270));
  box-shadow: 0 40px 110px -28px rgba(0,0,0,0.78), inset 0 1px 0 rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
  outline: none;
}
.legal-modal.is-open .legal-modal__backdrop { opacity: 1; }
.legal-modal.is-open .legal-modal__panel { opacity: 1; transform: none; }
.legal-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.legal-modal__eyebrow {
  margin: 0 0 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-violet);
}
.legal-modal__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.legal-modal__close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: oklch(0.18 0.025 270 / 0.8);
  color: var(--fg-1);
  font-size: 28px;
  line-height: 1;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.legal-modal__close:hover {
  border-color: oklch(0.42 0.06 280);
  color: white;
  background: oklch(0.24 0.035 270 / 0.9);
}
.legal-modal__meta {
  padding: 16px 34px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-2);
}
.legal-modal__body {
  max-height: calc(min(760px, 88vh) - 190px);
  overflow: auto;
  padding: 28px 34px 34px;
  color: var(--fg-1);
  scrollbar-color: oklch(0.42 0.08 280) transparent;
}
.legal-modal__body p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--fg-1);
}
.legal-modal__body h3 {
  margin: 28px 0 10px;
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--fg-0);
}
.legal-modal__body ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--fg-1);
}
.legal-modal__body li {
  margin: 8px 0;
  font-size: 14.5px;
  line-height: 1.7;
}
.legal-modal__body strong { color: var(--fg-0); }
.legal-modal__body a {
  color: var(--accent-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; padding-top: 60px; }
  .workbench { height: 480px; }
  .preview { grid-template-columns: 1fr; gap: 40px; }
  .preview-showcase { grid-template-columns: 1fr; }
  .preview-shot--image { margin-top: 0; }
  .agents { height: 420px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap--lg, .cap { grid-column: span 1; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow__line { display: none; }
  .bignums { grid-template-columns: repeat(2, 1fr); }
  .bignum:nth-child(2) { border-right: 0; }
  .bignum:nth-child(1), .bignum:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .cases { grid-template-columns: 1fr; }
  .prices, .prices--three { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof-card--hero { grid-column: 1 / -1; min-height: 420px; grid-row: auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr auto; }
  .nav__links { display: none; }
}
@media (max-width: 680px) {
  .nav__inner { gap: 12px; padding: 10px 16px; }
  .nav__right .btn--ghost { display: none; }
  .hero__meta { flex-wrap: wrap; gap: 16px; }
  .hero__meta-divider { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap__bullets { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .bignums { grid-template-columns: 1fr; }
  .bignum { border-right: 0 !important; border-bottom: 1px solid var(--line-soft); }
  .bignum:last-child { border-bottom: 0; }
  .proof { grid-template-columns: 1fr; }
  .proof-card,
  .proof-card--hero {
    min-height: auto;
  }
  .proof-card__meter {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .preview-showcase {
    margin-top: 46px;
    gap: 18px;
  }
  .preview-shot {
    padding: 12px;
    border-radius: 18px;
  }
  .preview-shot__meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .preview-shot__frame {
    border-radius: 14px;
  }
  .preview-shot__caption h3 {
    font-size: 18px;
  }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: 8px; }
  .legal-modal { padding: 12px; }
  .legal-modal__panel { max-height: 92vh; border-radius: 18px; }
  .legal-modal__head { padding: 22px 20px 14px; }
  .legal-modal__meta { padding: 14px 20px; }
  .legal-modal__body { padding: 22px 20px 26px; max-height: calc(92vh - 174px); }
  .legal-modal__close { width: 34px; height: 34px; border-radius: 10px; }
  .workbench { height: auto; min-height: 600px; }
  .wb-card--thread { width: 92%; }
  .wb-card--pick { width: 92%; position: relative; margin-top: 280px; }
  .wb-chip { display: none; }
}


/* ============================================
   REVEAL ANIMATION (enhanced)
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .step__node-pulse, .wb-card__dot--live, .wb-card__chip-dot, .phone__typing span, .image-grid__shimmer, .agents__core-ring, .float-icon { animation: none !important; }
  .global-bg, .floating-icons { display: none; }
}

/* ============================================
   GLOBAL BACKGROUND EFFECTS
   ============================================ */
.global-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.global-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.30 0.03 270 / 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.30 0.03 270 / 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}
.global-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: glowFloat 20s ease-in-out infinite;
}
.global-bg__glow--1 {
  top: 10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, #3B82F6, transparent 70%);
  animation-delay: 0s;
}
.global-bg__glow--2 {
  top: 40%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  animation-delay: -7s;
  animation-duration: 25s;
}
.global-bg__glow--3 {
  bottom: 10%;
  left: 20%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, #A855F7, transparent 70%);
  animation-delay: -14s;
  animation-duration: 30s;
}
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(20px, 20px) scale(1.02); }
}

/* ============================================
   FLOATING THEME ICONS
   ============================================ */
.floating-icons {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-icon {
  position: absolute;
  width: 24px;
  height: 24px;
  color: oklch(0.50 0.08 280 / 0.3);
  animation: floatIcon 20s ease-in-out infinite;
  will-change: transform;
}
.float-icon--1 { top: 8%; left: 5%; animation-duration: 22s; animation-delay: 0s; }
.float-icon--2 { top: 15%; right: 8%; animation-duration: 18s; animation-delay: -3s; width: 20px; height: 20px; }
.float-icon--3 { top: 25%; left: 12%; animation-duration: 25s; animation-delay: -6s; width: 28px; height: 28px; }
.float-icon--4 { top: 35%; right: 15%; animation-duration: 20s; animation-delay: -9s; }
.float-icon--5 { top: 45%; left: 3%; animation-duration: 23s; animation-delay: -2s; width: 22px; height: 22px; }
.float-icon--6 { top: 55%; right: 5%; animation-duration: 19s; animation-delay: -5s; width: 26px; height: 26px; }
.float-icon--7 { top: 65%; left: 8%; animation-duration: 21s; animation-delay: -8s; }
.float-icon--8 { top: 72%; right: 12%; animation-duration: 24s; animation-delay: -11s; width: 18px; height: 18px; }
.float-icon--9 { top: 80%; left: 15%; animation-duration: 17s; animation-delay: -4s; width: 22px; height: 22px; }
.float-icon--10 { top: 88%; right: 6%; animation-duration: 26s; animation-delay: -7s; }
.float-icon--11 { top: 20%; left: 92%; animation-duration: 22s; animation-delay: -10s; width: 20px; height: 20px; }
.float-icon--12 { top: 60%; left: 95%; animation-duration: 19s; animation-delay: -13s; width: 22px; height: 22px; }

@keyframes floatIcon {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
  25% { transform: translate(15px, -25px) rotate(5deg); opacity: 0.5; }
  50% { transform: translate(-10px, -40px) rotate(-3deg); opacity: 0.25; }
  75% { transform: translate(20px, -15px) rotate(8deg); opacity: 0.45; }
}

/* ============================================
   ENHANCED CARD HOVER EFFECTS
   ============================================ */
.cap {
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.cap:hover {
  border-color: oklch(0.50 0.10 280);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px oklch(0.4 0.15 280 / 0.3);
}
.cap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.cap:hover::after { opacity: 1; }

.step__card {
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.step__card:hover {
  border-color: oklch(0.45 0.08 280);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px oklch(0.4 0.15 280 / 0.25);
}

.case {
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.case:hover {
  border-color: oklch(0.45 0.08 280);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px oklch(0.4 0.15 280 / 0.3);
}

/* ============================================
   SECTION DIVIDER GLOW LINES
   ============================================ */
.section--alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.5 0.15 260 / 0.6), oklch(0.5 0.15 280 / 0.6), transparent);
}

/* ============================================
   ANIMATED NUMBER COUNTER
   ============================================ */
.bignum__v {
  transition: transform 0.3s;
}
.bignum:hover .bignum__v {
  transform: scale(1.05);
}

/* ============================================
   HERO ENHANCED EFFECTS
   ============================================ */
.hero__title {
  animation: heroFadeIn 1s ease-out 0.2s both;
}
.hero__sub {
  animation: heroFadeIn 1s ease-out 0.4s both;
}
.hero__cta {
  animation: heroFadeIn 1s ease-out 0.6s both;
}
.hero__meta {
  animation: heroFadeIn 1s ease-out 0.8s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.workbench {
  animation: workbenchFloat 6s ease-in-out infinite;
}
@keyframes workbenchFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   GRADIENT BORDER ANIMATION
   ============================================ */
.price--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6, #A855F7, #3B82F6);
  background-size: 300% 300%;
  animation: gradientBorder 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--grad);
  z-index: 60;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ============================================
   CURSOR GLOW EFFECT (JS-driven)
   ============================================ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.5 0.15 280 / 0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
.cursor-glow.is-active { opacity: 1; }

/* ============================================
   MAGIC MOVE SCROLL ANIMATIONS
   ============================================ */

/* Base reveal states */
.magic-reveal {
  opacity: 0;
  will-change: transform, opacity;
}
.magic-reveal.is-visible { opacity: 1; }

/* Fade up with scale */
.magic-fade-up {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.magic-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide from left */
.magic-slide-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.magic-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.magic-slide-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.magic-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up from center */
.magic-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.magic-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Rotate in */
.magic-rotate {
  opacity: 0;
  transform: rotate(-5deg) translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.magic-rotate.is-visible {
  opacity: 1;
  transform: rotate(0) translateY(0);
}

/* Blur in */
.magic-blur {
  opacity: 0;
  filter: blur(20px);
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, filter 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.magic-blur.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* 3D flip */
.magic-flip {
  opacity: 0;
  transform: perspective(1000px) rotateX(-15deg) translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.magic-flip.is-visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0) translateY(0);
}

/* Stagger delays for children */
.stagger-1 { transition-delay: 0.05s !important; }
.stagger-2 { transition-delay: 0.1s !important; }
.stagger-3 { transition-delay: 0.15s !important; }
.stagger-4 { transition-delay: 0.2s !important; }
.stagger-5 { transition-delay: 0.25s !important; }
.stagger-6 { transition-delay: 0.3s !important; }
.stagger-7 { transition-delay: 0.35s !important; }
.stagger-8 { transition-delay: 0.4s !important; }

/* ============================================
   PARALLAX SCROLL EFFECTS
   ============================================ */
.parallax-slow { will-change: transform; }
.parallax-medium { will-change: transform; }
.parallax-fast { will-change: transform; }

/* ============================================
   MAGNETIC HOVER EFFECT
   ============================================ */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   GLOW PULSE ON SCROLL
   ============================================ */
.glow-on-scroll {
  position: relative;
}
.glow-on-scroll::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.5s ease;
  z-index: -1;
}
.glow-on-scroll.is-glowing::before {
  opacity: 0.4;
  animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.02); }
}

/* ============================================
   TEXT REVEAL ANIMATION
   ============================================ */
.text-reveal {
  overflow: hidden;
}
.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-reveal.is-visible span {
  transform: translateY(0);
}

/* Split text character animation */
.char-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) rotate(5deg);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.char-reveal.is-visible .char {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* ============================================
   CARD TILT 3D EFFECT
   ============================================ */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}
.tilt-card > * {
  transform: translateZ(20px);
}

/* ============================================
   MORPHING BACKGROUND SHAPES
   ============================================ */
.morph-shape {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphShape 15s ease-in-out infinite;
}
@keyframes morphShape {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75% { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; }
}

/* ============================================
   SCROLL-TRIGGERED LINE DRAW
   ============================================ */
.line-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.line-draw.is-visible {
  stroke-dashoffset: 0;
}

/* ============================================
   COUNTER FLIP ANIMATION
   ============================================ */
.flip-counter {
  perspective: 400px;
}
.flip-counter .digit {
  display: inline-block;
  transform-style: preserve-3d;
  animation: flipIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes flipIn {
  from { transform: rotateX(-90deg); opacity: 0; }
  to { transform: rotateX(0); opacity: 1; }
}

/* ============================================
   ELASTIC BOUNCE EFFECT
   ============================================ */
.elastic-bounce {
  opacity: 0;
  transform: translateY(100px) scale(0.8);
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.elastic-bounce.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================
   SPOTLIGHT EFFECT
   ============================================ */
.spotlight {
  position: relative;
  overflow: hidden;
}
.spotlight::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    oklch(0.6 0.15 280 / 0.15) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.spotlight:hover::after {
  opacity: 1;
}

/* ============================================
   SHIMMER LOADING EFFECT
   ============================================ */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}
.shimmer-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.1), transparent);
  animation: shimmerSlide 2s ease-in-out infinite;
}
@keyframes shimmerSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ============================================
   SECTION TRANSITION EFFECTS
   ============================================ */
.section {
  position: relative;
}

/* Diagonal wipe transition between sections */
.section::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-1));
  pointer-events: none;
  opacity: 0.5;
}

/* ============================================
   ENHANCED BUTTON EFFECTS
   ============================================ */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: oklch(1 0 0 / 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn span, .btn svg {
  position: relative;
  z-index: 1;
}

/* Button magnetic pull */
.btn--primary {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

/* ============================================
   SCROLL SNAP SECTIONS (optional)
   ============================================ */
.scroll-snap-container {
  scroll-snap-type: y proximity;
}
.scroll-snap-section {
  scroll-snap-align: start;
}

/* ============================================
   ANIMATED UNDERLINE
   ============================================ */
.animated-underline {
  position: relative;
  display: inline-block;
}
.animated-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.animated-underline:hover::after,
.animated-underline.is-visible::after {
  width: 100%;
}

/* ============================================
   FLOATING LABEL EFFECT
   ============================================ */
.float-label {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.float-label.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .magic-fade-up, .magic-slide-left, .magic-slide-right, 
  .magic-scale, .magic-rotate, .magic-blur, .magic-flip,
  .elastic-bounce, .tilt-card, .parallax-slow, .parallax-medium, .parallax-fast {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
  .morph-shape, .shimmer-effect::after, .glow-on-scroll::before {
    animation: none !important;
  }
}

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */
body[data-theme="light"]{
  --bg-0: #f7f9ff;
  --bg-1: #fbfcff;
  --bg-2: #ffffff;
  --bg-3: #f0f4ff;
  --line: #dbe4f4;
  --line-soft: #e8eef8;
  --fg-0: #0f172a;
  --fg-1: #25324a;
  --fg-2: #64748b;
  --fg-3: #94a3b8;
  --grad-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.11), rgba(124, 58, 237, 0.12));
  --ok: #059669;
  --warn: #d97706;
}

body[data-theme="light"]{
  background:
    radial-gradient(ellipse 70% 42% at 10% 0%, rgba(59, 130, 246, 0.12), transparent 58%),
    radial-gradient(ellipse 60% 44% at 90% 12%, rgba(168, 85, 247, 0.12), transparent 56%),
    var(--bg-1);
}

body[data-theme="light"] .nav{
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(219, 228, 244, 0.9);
  box-shadow: 0 12px 34px -28px rgba(15, 23, 42, 0.35);
}
body[data-theme="light"] .lang__btn.is-active,
body[data-theme="light"] .theme-toggle,
body[data-theme="light"] .btn--ghost,
body[data-theme="light"] .eyebrow,
body[data-theme="light"] .section__eyebrow,
body[data-theme="light"] .preview-shot__pill{
  background: rgba(255, 255, 255, 0.78);
}
body[data-theme="light"] .theme-toggle:hover{
  background: #f1f5ff;
  border-color: #bfcbdf;
}
body[data-theme="light"] .btn--ghost:hover{
  background: #f1f5ff;
  border-color: #bfcbdf;
}
body[data-theme="light"] .btn--primary{
  box-shadow: 0 12px 28px -16px rgba(59, 130, 246, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body[data-theme="light"] .hero__grid,
body[data-theme="light"] .global-bg__grid,
body[data-theme="light"] .section--pricing::before,
body[data-theme="light"] .preview-shot::before{
  background-image:
    linear-gradient(to right, rgba(100, 116, 139, 0.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(100, 116, 139, 0.11) 1px, transparent 1px);
}
body[data-theme="light"] .hero__glow,
body[data-theme="light"] .global-bg__glow,
body[data-theme="light"] .section--proof::before{
  opacity: 0.2;
}
body[data-theme="light"] .float-icon{
  color: rgba(79, 70, 229, 0.22);
}

body[data-theme="light"] .section--alt,
body[data-theme="light"] .section--pricing,
body[data-theme="light"] .footer{
  background:
    radial-gradient(ellipse 64% 48% at 50% 0%, rgba(124, 58, 237, 0.09), transparent 62%),
    #f4f7fc;
}
body[data-theme="light"] .section::after{
  background: linear-gradient(to bottom, transparent, var(--bg-1));
  opacity: 0.75;
}

body[data-theme="light"] .wb-card,
body[data-theme="light"] .proof-card,
body[data-theme="light"] .cap,
body[data-theme="light"] .step__card,
body[data-theme="light"] .preview-shot,
body[data-theme="light"] .bignums,
body[data-theme="light"] .case,
body[data-theme="light"] .section--pricing .price,
body[data-theme="light"] .agent-node{
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94));
  box-shadow: 0 24px 60px -42px rgba(15, 23, 42, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
body[data-theme="light"] .section--pricing .price--featured,
body[data-theme="light"] .proof-card--hero{
  background:
    radial-gradient(ellipse 90% 56% at 50% 0%, rgba(124, 58, 237, 0.13), transparent 64%),
    linear-gradient(180deg, #ffffff, #f5f8ff);
}
body[data-theme="light"] .wb-card,
body[data-theme="light"] .proof-card,
body[data-theme="light"] .cap,
body[data-theme="light"] .step__card,
body[data-theme="light"] .preview-shot,
body[data-theme="light"] .bignums,
body[data-theme="light"] .case,
body[data-theme="light"] .section--pricing .price,
body[data-theme="light"] .agent-node,
body[data-theme="light"] .proof-card__meter,
body[data-theme="light"] .cap__viz,
body[data-theme="light"] .mini-stats > div,
body[data-theme="light"] .mini-cards__row{
  border-color: var(--line);
}

body[data-theme="light"] .thread__avatar--user,
body[data-theme="light"] .thread__bubble,
body[data-theme="light"] .thread__step-i,
body[data-theme="light"] .wb-card__chip,
body[data-theme="light"] .case__tag,
body[data-theme="light"] .price__badge,
body[data-theme="light"] .price__badge--max,
body[data-theme="light"] .proof-card__meter,
body[data-theme="light"] .cap__viz,
body[data-theme="light"] .mini-stats > div,
body[data-theme="light"] .mini-cards__row,
body[data-theme="light"] .phone__msg-body,
body[data-theme="light"] .phone__typing,
body[data-theme="light"] .phone__input,
body[data-theme="light"] .wb-chip{
  background: #f1f5ff;
}
body[data-theme="light"] .thread__row--user .thread__bubble{
  border-color: rgba(99, 102, 241, 0.24);
  color: var(--fg-1);
}
body[data-theme="light"] .wb-chip{
  box-shadow: 0 18px 38px -24px rgba(15, 23, 42, 0.38);
}
body[data-theme="light"] .pick__img,
body[data-theme="light"] .image-grid__cell{
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
}
body[data-theme="light"] .pick__img-label,
body[data-theme="light"] .image-grid__cell span{
  color: rgba(30, 41, 59, 0.64);
}

body[data-theme="light"] .phone{
  background: linear-gradient(180deg, #f8fafc, #dbe4f4);
  border-color: #cbd5e1;
  box-shadow: 0 34px 74px -34px rgba(15, 23, 42, 0.42), inset 0 1px 0 white;
}
body[data-theme="light"] .phone__screen{
  background: linear-gradient(180deg, #ffffff, #f1f5ff);
}
body[data-theme="light"] .phone__notch{
  background: #111827;
}
body[data-theme="light"] .phone__head{
  border-bottom-color: var(--line-soft);
}

body[data-theme="light"] .agents__core-inner{
  background: radial-gradient(circle at 30% 30%, #ffffff, #eaf1ff);
  box-shadow: 0 0 52px rgba(124, 58, 237, 0.22), inset 0 1px 0 white;
}
body[data-theme="light"] .agents__insight{
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px -24px rgba(15, 23, 42, 0.35), inset 0 1px 0 white;
}

body[data-theme="light"] .legal-modal__backdrop{
  background: rgba(15, 23, 42, 0.28);
}
body[data-theme="light"] .legal-modal__panel{
  background:
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(124, 58, 237, 0.12), transparent 70%),
    linear-gradient(180deg, #ffffff, #f7f9ff);
  border-color: var(--line);
  box-shadow: 0 40px 100px -36px rgba(15, 23, 42, 0.44), inset 0 1px 0 white;
}
body[data-theme="light"] .legal-modal__close{
  background: #f8fafc;
}
body[data-theme="light"] .legal-modal__close:hover{
  color: var(--fg-0);
  background: #eef2ff;
}

body[data-theme="light"] .footer__qr-img{
  border-color: #d5deeb;
}
body[data-theme="light"] .cursor-glow{
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 60%);
}
