/* ============================================================
   GRADIENT — landing page styles
   Design tokens from DESIGN-gradient.md
   ============================================================ */

/* ---- TOKENS · DARK THEME · ACID + COOL-ELECTRIC ---- */
:root {
  /* Colors — ink (text on dark surfaces) */
  --ink: #F5F5F5;
  --body: rgba(245, 245, 245, 0.78);
  --body-strong: #FFFFFF;
  --muted: rgba(245, 245, 245, 0.55);
  --muted-soft: rgba(245, 245, 245, 0.38);

  /* Colors — surface (pure black canvas, minimal layering) */
  --canvas: #000000;
  --canvas-2: #060606;
  --surface-card: #0C0C0C;
  --surface-elevated: #111111;
  --surface-soft: #080808;
  --surface-inverse: #000000;
  --surface-inverse-elevated: #0F0F0F;

  /* Colors — hairline */
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --hairline-on-dark: rgba(255, 255, 255, 0.12);

  /* Colors — brand (cool electric, no pink) */
  --brand-indigo: #4F46E5;
  --brand-violet: #7C3AED;
  --brand-cyan: #22D3EE;
  --brand-blue: #3B82F6;
  --brand-pink: #A855F7; /* legacy alias — purple-ish, no warm */
  --brand-deep: #312E81;
  --brand-soft: rgba(79, 70, 229, 0.12);

  /* Acid accent — primary CTA color */
  --acid: #07f5da;
  --acid-hover: #2dffe6;
  --acid-deep: #06c4ad;
  --acid-soft: rgba(7, 245, 218, 0.12);
  --on-acid: #002a25;

  /* Colors — action */
  --primary: var(--acid);
  --primary-hover: var(--acid-hover);
  --on-primary: var(--on-acid);
  --on-dark: #FFFFFF;

  /* Gradients — cool electric: indigo → blue → cyan */
  --grad-horizontal: linear-gradient(90deg, #4F46E5 0%, #6366F1 35%, #22D3EE 100%);
  --grad-diagonal: linear-gradient(135deg, #4F46E5 0%, #3B82F6 50%, #22D3EE 100%);
  --grad-text: linear-gradient(90deg, #6366F1 0%, #22D3EE 100%);
  --grad-text-wide: linear-gradient(90deg, #4F46E5 0%, #6366F1 25%, #3B82F6 50%, #06B6D4 75%, #22D3EE 100%);
  --grad-mesh: radial-gradient(at 20% 30%, rgba(79, 70, 229, 0.55) 0%, transparent 50%),
               radial-gradient(at 80% 25%, rgba(34, 211, 238, 0.40) 0%, transparent 55%),
               radial-gradient(at 50% 85%, rgba(124, 58, 237, 0.40) 0%, transparent 55%);
  --grad-orb: radial-gradient(circle, rgba(79, 70, 229, 0.55) 0%, rgba(34, 211, 238, 0.20) 35%, transparent 70%);
  --grad-orb-pink: radial-gradient(circle, rgba(34, 211, 238, 0.45) 0%, transparent 70%);
  --grad-orb-indigo: radial-gradient(circle, rgba(79, 70, 229, 0.55) 0%, transparent 70%);
  --grad-acid-glow: radial-gradient(circle, rgba(7, 245, 218, 0.30) 0%, transparent 65%);

  /* Radius */
  --r-none: 0px;
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-xxl: 32px;
  --r-full: 9999px;

  /* Spacing */
  --s-xxs: 4px;
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 40px;
  --s-xxl: 64px;
  --s-xxxl: 96px;
  --s-section: 128px;

  /* Shadows — dark, with subtle ambient + accent glows */
  --sh-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
  --sh-sm: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --sh-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --sh-lg: 0 12px 32px rgba(0, 0, 0, 0.55), 0 4px 8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --sh-xl: 0 24px 64px rgba(0, 0, 0, 0.6), 0 8px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --sh-glow-brand: 0 12px 48px rgba(34, 211, 238, 0.40);
  --sh-glow-indigo: 0 8px 32px rgba(79, 70, 229, 0.45);
  --sh-glow-pink: 0 8px 32px rgba(124, 58, 237, 0.35);
  --sh-glow-acid: 0 0 32px rgba(7, 245, 218, 0.55), 0 8px 24px rgba(7, 245, 218, 0.20);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-base: 240ms;
  --t-slow: 400ms;
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.font-display { font-family: 'Sora', 'Onest', sans-serif; }
body.modal-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; padding: 0; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
::selection { background: rgba(7, 245, 218, 0.28); color: var(--on-acid); }
html { color-scheme: dark; }
body { background: var(--canvas); }

/* Sparkles background canvas */
#bgParticles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#bgParticles canvas { width: 100% !important; height: 100% !important; }
/* Lift content above the particles layer */
.top-nav, main, .site-footer, .modal { position: relative; z-index: 1; }
.top-nav { z-index: 100; }
.modal { z-index: 200; }

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--ink); color: var(--on-dark);
  padding: 12px 16px; z-index: 1000;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-xl);
}

.section {
  padding: var(--s-section) 0;
}

/* ---- SCROLL PROGRESS ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--grad-text-wide);
  background-size: 200% 100%;
  width: 0%;
  z-index: 1001;
  pointer-events: none;
  animation: gradient-shift 4s linear infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---- TYPOGRAPHY ---- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-md);
}
.eyebrow-light { color: rgba(255, 255, 255, 0.7); }

.section-title {
  font-family: 'Sora', 'Onest', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-lg);
  color: var(--ink);
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 720px;
  margin: 0;
}

.section-header {
  margin-bottom: var(--s-xxxl);
  text-align: center;
}
.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.gradient-text-animated {
  background: var(--grad-text-wide);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 6s ease-in-out infinite;
}
@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--r-full);
  padding: 14px 24px;
  height: 48px;
  cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-large {
  height: 56px;
  padding: 16px 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--acid);
  color: var(--on-acid);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: var(--sh-glow-acid);
}
.btn-primary:hover {
  background: var(--acid-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 48px rgba(7, 245, 218, 0.7), 0 8px 24px rgba(7, 245, 218, 0.30);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  border-color: var(--brand-cyan);
  background: rgba(34, 211, 238, 0.08);
  color: var(--brand-cyan);
  transform: translateY(-1px);
}

.btn-gradient {
  background: var(--grad-horizontal);
  background-size: 150% 100%;
  background-position: 0% 50%;
  color: var(--on-dark);
  box-shadow: var(--sh-glow-indigo);
  transition: all var(--t-base) var(--ease-out), background-position 600ms var(--ease);
}
.btn-gradient:hover {
  background-position: 100% 50%;
  box-shadow: var(--sh-glow-brand);
  transform: translateY(-2px);
}

/* Acid CTA — primary brand button with angular cut */
.btn-acid {
  background: var(--acid);
  color: var(--on-acid);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  box-shadow: var(--sh-glow-acid);
  padding: 16px 28px;
  height: 56px;
}
.btn-acid:hover {
  background: var(--acid-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 56px rgba(7, 245, 218, 0.75), 0 8px 24px rgba(7, 245, 218, 0.35);
}
.btn-acid svg { stroke: var(--on-acid); }

.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 2px;
  transition: border-color var(--t-base) var(--ease);
}
.text-link:hover { border-color: var(--ink); }

/* ---- TOP NAV ---- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--hairline);
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.top-nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  border-bottom-color: var(--hairline-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.4);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-xl);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.logo-text {
  font-family: 'Sora', 'Onest', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: var(--grad-text-wide);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 5s linear infinite;
}
.logo-text-light {
  font-size: 28px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s-xl);
}
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color var(--t-fast) var(--ease);
  position: relative;
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--grad-horizontal);
  transition: width var(--t-base) var(--ease);
}
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px;
  height: 44px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  background: var(--acid);
  color: var(--on-acid);
  box-shadow: 0 0 24px rgba(7, 245, 218, 0.45);
}
.nav-cta:hover {
  background: var(--acid-hover);
  box-shadow: 0 0 32px rgba(7, 245, 218, 0.65);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-sheet {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  bottom: 0;
  background: var(--canvas);
  padding: var(--s-xl);
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-out);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}
.nav-sheet.open { transform: translateX(0); }
.nav-sheet-menu {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  padding-top: var(--s-lg);
}
.nav-sheet-menu a {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-sheet-cta {
  margin-top: auto;
  width: 100%;
}

/* ---- GRADIENT DIVIDER ---- */
.gradient-divider {
  height: 2px;
  background: var(--grad-text-wide);
  background-size: 200% 100%;
  animation: gradient-shift 4s linear infinite;
  border-radius: 2px;
}

/* ============================================================
   HERO — DARK · ACID · MASSIVE TYPOGRAPHY
   ============================================================ */
.hero {
  position: relative;
  padding: 60px 0 80px;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  display: flex;
  align-items: center;
}
/* Hero orbs — fully removed to match the LUX PROMO clean look.
   Kept hidden in case JS still references them. */
.hero-orb {
  display: none;
}
@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.06); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.1); }
}
@keyframes orb-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 30px) scale(0.9); }
}

.hero .container.hero-container {
  max-width: 100%;
  padding: 0 40px;
  margin: 0;
}
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-xxl);
  text-align: left;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-title {
  font-family: 'Unbounded', 'Sora', 'Onest', sans-serif;
  font-size: clamp(48px, 9.2vw, 144px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 0 0 var(--s-xl);
  color: var(--ink);
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-title .line {
  display: block;
}
.hero-title .line-acid {
  color: var(--acid);
}
.hero-title .line-outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.45);
  text-stroke: 2px rgba(255, 255, 255, 0.45);
}
@supports not (-webkit-text-stroke: 2px white) {
  .hero-title .line-outline { color: rgba(255, 255, 255, 0.30); }
}
.hero-subtitle {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 var(--s-xl);
  max-width: 620px;
}
.hero-cta-row {
  display: flex;
  gap: var(--s-md);
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: var(--s-md);
}
.hero-trust {
  display: flex;
  gap: var(--s-md);
  flex-wrap: wrap;
  justify-content: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ---- HERO ATMOSPHERIC BACKGROUND ---- */
/* Mesh removed for clean black look */
.hero-bg-mesh {
  display: none;
}
@keyframes mesh-pulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.85; }
  100% { transform: scale(1.08) translate(24px, -12px); opacity: 1; }
}

/* Grid disabled — replaced by sparkles particles in hero */
.hero-bg-grid { display: none; }

/* Hero sparkles canvas — sits behind hero content but above hero background */
.hero-bg-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-particles canvas { width: 100% !important; height: 100% !important; }
.hero .container.hero-container { position: relative; z-index: 2; }

/* Subtle acid-green glow on the right edge — matches LUX PROMO accent */
.hero-spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  right: -250px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(7, 245, 218, 0.10) 0%, transparent 60%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

/* ---- HERO BADGE (eyebrow with dash) ---- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: var(--s-xl);
  white-space: nowrap;
  box-shadow: none;
}
.hero-badge::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--acid);
}
.hero-badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-badge-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse-dot 2s ease-out infinite;
  opacity: 0.7;
}
@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ============================================================
   HERO CHAT MOCKUP — temporarily hidden from hero (will move to its own section in next step)
   ============================================================ */
.hero-chat {
  display: none;
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  perspective: 1500px;
}
.hero-chat-glow {
  position: absolute;
  inset: -50px;
  background: var(--grad-mesh);
  border-radius: var(--r-xxl);
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
  animation: mesh-pulse 14s ease-in-out infinite alternate;
}
.hero-chat-frame {
  position: relative;
  background:
    linear-gradient(var(--surface-card), var(--surface-card)) padding-box,
    conic-gradient(from var(--angle, 0deg),
      var(--brand-indigo) 0deg,
      var(--brand-violet) 90deg,
      var(--brand-pink) 180deg,
      var(--brand-violet) 270deg,
      var(--brand-indigo) 360deg) border-box;
  border: 2px solid transparent;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl), 0 0 60px rgba(168, 85, 247, 0.18);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease-out);
  animation: chat-frame-spin 8s linear infinite;
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes chat-frame-spin {
  to { --angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-chat-frame { animation: none; }
}
.hero-chat-header {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  padding: var(--s-md) var(--s-lg);
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--hairline);
}
.hero-chat-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-horizontal);
  background-size: 200% 100%;
  animation: gradient-flow 5s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.hero-chat-avatar-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--brand-violet);
  opacity: 0;
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero-chat-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.hero-chat-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.hero-chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.status-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}
.status-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse-dot 2s ease-out infinite;
}
.hero-chat-controls {
  display: flex;
  gap: 4px;
}
.hero-chat-controls span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-soft);
}

.hero-chat-body {
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  min-height: 280px;
  background: var(--surface-card);
}
.chat-msg {
  display: flex;
  max-width: 85%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.chat-msg.appear { opacity: 1; transform: translateY(0); }
.chat-msg-client {
  margin-left: auto;
}
.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: var(--r-lg);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.chat-msg-client .chat-msg-bubble {
  background: var(--grad-horizontal);
  background-size: 180% 100%;
  animation: gradient-shift 6s ease-in-out infinite alternate;
  color: var(--on-dark);
  border-bottom-right-radius: 4px;
}
.chat-msg-agent .chat-msg-bubble {
  background: var(--surface-elevated);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-bottom-left-radius: 4px;
}
.chat-msg-typing .chat-msg-bubble {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
  align-items: center;
}
.chat-msg-typing .chat-msg-bubble span {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: typing-dot 1.2s ease-in-out infinite;
}
.chat-msg-typing .chat-msg-bubble span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg-typing .chat-msg-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.hero-chat-events {
  padding: var(--s-sm) var(--s-lg) var(--s-md);
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
  min-height: 50px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-event {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  text-align: left;
}
.chat-event.appear { opacity: 1; transform: translateX(0); }
.chat-event-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-horizontal);
  align-items: center;
  justify-content: center;
  color: var(--on-dark);
  font-size: 11px;
  flex-shrink: 0;
}

/* ============================================================
   BENEFITS STRIP (4 metric cards — moved from hero)
   ============================================================ */
.benefits-strip {
  padding: var(--s-xxxl) 0 var(--s-xxl);
  border-top: 1px solid var(--hairline);
}
.benefits-header {
  text-align: center;
  margin-bottom: var(--s-xl);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
  perspective: 1000px;
}
.benefit-card {
  background: var(--surface-card);
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.benefit-head {
  padding: var(--s-xl) var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  align-items: flex-start;
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  min-height: 130px;
}
.benefit-value {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}
.benefit-value-text {
  font-size: 32px;
  letter-spacing: -0.02em;
}
.benefit-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}
.benefit-body {
  padding: var(--s-md) var(--s-lg) var(--s-lg);
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
  flex: 1;
}
.benefit-card-gradient .benefit-head {
  background: var(--grad-horizontal);
  background-size: 180% 100%;
  animation: gradient-shift 6s ease-in-out infinite alternate;
}
.benefit-card-dark .benefit-head {
  background: var(--surface-inverse);
}
.benefit-card-pink .benefit-head {
  background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 60%, #4F46E5 100%);
}
.benefit-card-indigo .benefit-head {
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 50%, #22D3EE 100%);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  padding: var(--s-xxl) 0 var(--s-xxxl);
  border-top: 1px solid var(--hairline);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-lg);
}
.stat-card {
  text-align: center;
  padding: var(--s-lg);
  border-radius: var(--r-xl);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  transition: transform var(--t-base) var(--ease-out);
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
}
.stat-value {
  display: block;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  background: var(--grad-text-wide);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 5s ease-in-out infinite;
  margin-bottom: var(--s-xs);
}
.stat-label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.stats-caption {
  text-align: center;
  margin: var(--s-xl) 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ============================================================
   TRUST MARQUEE
   ============================================================ */
.trust-marquee {
  padding: var(--s-xxxl) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-elevated);
  overflow: hidden;
}
.trust-header {
  text-align: center;
  margin-bottom: var(--s-xl);
}
.trust-subtitle {
  font-size: 16px;
  color: var(--body);
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.marquee-row-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: var(--s-xl) 0 var(--s-md);
}

.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
  padding: var(--s-md) 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--s-xl);
  flex-shrink: 0;
  padding-right: var(--s-xl);
  animation: marquee-scroll 60s linear infinite;
}
.marquee-reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 50s;
}

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

/* Pause on hover */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-industries .marquee-item {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-industries .marquee-dot {
  font-size: 24px;
  color: var(--brand-violet);
  opacity: 0.6;
}

.marquee-companies {
  padding: var(--s-sm) 0;
}
.marquee-company {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: var(--s-sm) var(--s-lg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  background: var(--surface-card);
  white-space: nowrap;
  transition: color var(--t-base), border-color var(--t-base);
}
.marquee-company:hover {
  color: var(--ink);
  border-color: var(--brand-violet);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  transition: all var(--t-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-horizontal);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out);
  z-index: 0;
  border-radius: inherit;
  filter: blur(40px);
  transform: translateY(50%) scale(0.8);
}
.service-card:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.service-card:hover::before {
  opacity: 0.15;
}
.service-card > * { position: relative; z-index: 1; }

.service-icon {
  font-size: 36px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  border-radius: var(--r-lg);
}

.service-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}

.service-description {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  font-size: 14px;
  color: var(--body);
}
.service-bullets li {
  display: flex;
  gap: var(--s-xs);
  line-height: 1.5;
}
.service-bullets li::before {
  content: '✦';
  color: var(--brand-violet);
  font-weight: 600;
  flex-shrink: 0;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--s-md);
  border-top: 1px solid var(--hairline);
}
.service-metric {
  font-size: 14px;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---- FLAGSHIP card (AI-агент по продажам) ---- */
.service-card-flagship {
  grid-column: span 2;
  padding: var(--s-xl) var(--s-xl) var(--s-lg);
  background:
    linear-gradient(135deg, rgba(7, 245, 218, 0.04), rgba(79, 70, 229, 0.05) 60%, transparent),
    var(--surface-card);
  border-color: rgba(7, 245, 218, 0.20);
  box-shadow: 0 0 0 1px rgba(7, 245, 218, 0.04), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.service-card-flagship::before {
  background: var(--grad-horizontal);
  opacity: 0;
  filter: blur(60px);
}
.service-card-flagship:hover {
  border-color: rgba(7, 245, 218, 0.35);
}
.service-card-flagship:hover::before { opacity: 0.18; }

.flagship-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px 6px 12px;
  background: rgba(7, 245, 218, 0.10);
  border: 1px solid rgba(7, 245, 218, 0.30);
  border-radius: var(--r-full);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: var(--s-sm);
}
.flagship-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
  animation: flagship-pulse 2s ease-in-out infinite;
}
@keyframes flagship-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.service-card-flagship .service-icon {
  width: 76px;
  height: 76px;
  font-size: 42px;
  background: linear-gradient(135deg, rgba(7, 245, 218, 0.14), rgba(79, 70, 229, 0.12));
  border: 1px solid rgba(7, 245, 218, 0.18);
}
.service-card-flagship .service-title {
  font-size: 30px;
  font-family: 'Sora', 'Onest', sans-serif;
  letter-spacing: -0.022em;
  line-height: 1.15;
}
.service-card-flagship .service-description {
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
}
.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-lg) var(--s-xl);
  margin-top: var(--s-xs);
}
.flagship-grid .service-bullets { gap: var(--s-sm); }
.service-card-flagship .service-metric {
  font-size: 15px;
}

/* ---- ACCENT card (AI-Руководитель продаж) — subtle cyan ring ---- */
.service-card-accent {
  background: linear-gradient(180deg, rgba(7, 245, 218, 0.025), transparent 50%), var(--surface-card);
  border-color: rgba(7, 245, 218, 0.12);
}
.service-card-accent .service-icon {
  background: rgba(7, 245, 218, 0.10);
  border: 1px solid rgba(7, 245, 218, 0.18);
}

/* ---- CTA card (last cell — "Не нашли своего агента?") ---- */
.service-card-cta {
  background:
    linear-gradient(135deg, rgba(7, 245, 218, 0.05), transparent 60%),
    var(--surface-soft);
  border: 1px dashed rgba(7, 245, 218, 0.30);
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.service-card-cta:hover {
  border-style: solid;
  border-color: rgba(7, 245, 218, 0.55);
  box-shadow: 0 0 32px rgba(7, 245, 218, 0.15);
  transform: translateY(-4px);
}
.cta-card-mark {
  font-family: 'Sora', 'Onest', sans-serif;
  font-size: 80px;
  font-weight: 300;
  line-height: 0.7;
  color: var(--acid);
  margin-bottom: var(--s-xs);
  text-shadow: 0 0 24px rgba(7, 245, 218, 0.4);
}
.service-card-cta .service-title {
  font-size: 22px;
  font-family: 'Sora', 'Onest', sans-serif;
  letter-spacing: -0.015em;
}
.service-card-cta .service-description {
  margin-bottom: var(--s-md);
}
.cta-card-btn {
  align-self: stretch;
  justify-content: center;
  margin-top: auto;
}

/* Responsive: flagship goes full-width single column on tablets */
@media (max-width: 1024px) {
  .service-card-flagship { grid-column: span 2; }
  .flagship-grid { grid-template-columns: 1fr; gap: var(--s-md); }
}
@media (max-width: 768px) {
  .service-card-flagship { grid-column: span 1; padding: var(--s-xl); }
  .service-card-flagship .service-title { font-size: 24px; }
}

/* ============================================================
   INLINE DIAGNOSTIC CARD
   ============================================================ */
.inline-diagnostic-section {
  padding: var(--s-xxl) 0;
}
.inline-diagnostic-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow var(--t-slow) var(--ease-out);
}
.inline-diagnostic-card:hover { box-shadow: var(--sh-md); }
.inline-diagnostic-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-xl);
  padding: var(--s-xl);
  align-items: center;
}
.inline-diagnostic-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-xs);
}
.inline-diagnostic-text {
  font-size: 15px;
  color: var(--body);
  margin: 0;
}

/* ============================================================
   PAINS
   ============================================================ */
.pains {
  background: var(--surface-elevated);
}
.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}
.pain-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  transition: transform var(--t-base) var(--ease-out), border-color var(--t-base);
}
.pain-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
}
.pain-icon {
  font-size: 32px;
  line-height: 1;
}
.pain-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
}
.pain-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
}
.pain-solution {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  margin: 0;
  padding: var(--s-sm) var(--s-md);
  background: var(--brand-soft);
  border-radius: var(--r-md);
  border-left: 3px solid var(--brand-violet);
}

/* ============================================================
   PROCESS v2 — 10-day cycle, editorial typography
   ============================================================ */
.process-v2 {
  background: var(--canvas);
  position: relative;
}

/* Hero with massive "10" */
.process-hero {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  margin-bottom: var(--s-xxl);
  max-width: 1100px;
}
.process-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  color: var(--acid);
  letter-spacing: 0.18em;
  margin-bottom: 0;
}
.process-headline-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-xl);
  margin-top: var(--s-sm);
  flex-wrap: wrap;
}
.process-headline {
  font-family: 'Sora', 'Onest', sans-serif;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  flex: 1 1 480px;
  text-wrap: balance;
}
.process-bignumber {
  display: flex;
  align-items: flex-end;
  gap: var(--s-md);
  position: relative;
  flex-shrink: 0;
}
.process-bignumber::before {
  content: '';
  position: absolute;
  inset: -20px -10px;
  background: radial-gradient(closest-side, rgba(7, 245, 218, 0.18), transparent 70%);
  z-index: -1;
  filter: blur(28px);
  pointer-events: none;
}
.bignumber-value {
  font-family: 'Sora', 'Onest', sans-serif;
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, var(--acid) 0%, #06c4ad 70%, transparent 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(7, 245, 218, 0.35));
}
.bignumber-suffix {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 16px;
  white-space: nowrap;
}
.process-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  max-width: 720px;
}

/* Timeline rail with day markers */
.process-rail {
  position: relative;
  margin: var(--s-xl) 0 var(--s-xxl);
  padding: var(--s-xl) 8px var(--s-xxl);
}
.rail-line {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-strong) 8%, var(--hairline-strong) 92%, transparent);
  transform: translateY(-50%);
}
.rail-progress {
  position: absolute;
  left: 8px;
  top: 50%;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--acid));
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(7, 245, 218, 0.6);
  animation: rail-fill 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
@keyframes rail-fill {
  to { width: calc(100% - 16px); }
}
.rail-marks {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 56px;
}
.rail-marks li {
  position: absolute;
  left: var(--mark);
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mark-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--canvas);
  border: 1.5px solid var(--hairline-strong);
  position: relative;
  z-index: 2;
  margin-top: 23px;
}
.mark-dot-end {
  background: var(--acid);
  border-color: var(--acid);
  box-shadow: 0 0 16px var(--acid);
}
.rail-marks li:first-child .mark-dot {
  background: var(--acid);
  border-color: var(--acid);
  box-shadow: 0 0 16px var(--acid);
}
.mark-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.mark-label-end,
.rail-marks li:first-child .mark-label {
  color: var(--acid);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Step cards */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}
.process-step {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-xl) var(--s-lg) var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  isolation: isolate;
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out);
}
.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--acid), transparent 70%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease-out);
  z-index: -1;
}
.process-step:hover {
  border-color: rgba(7, 245, 218, 0.32);
  background: rgba(7, 245, 218, 0.02);
  transform: translateY(-3px);
}
.process-step:hover::before {
  transform: scaleY(1);
}
.process-step-final {
  background: linear-gradient(180deg, rgba(7, 245, 218, 0.05), transparent 60%), var(--surface-card);
  border-color: rgba(7, 245, 218, 0.20);
}

.step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-sm);
  margin-bottom: var(--s-xs);
}
.step-num {
  font-family: 'Sora', 'Onest', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--acid);
  font-feature-settings: "tnum";
}
.step-day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  white-space: nowrap;
}
.step-title {
  font-family: 'Sora', 'Onest', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.008em;
  margin: 0;
  color: var(--ink);
}
.step-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  flex: 1;
}
.step-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: var(--s-sm);
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
}
.step-tag-acid {
  color: var(--acid);
  border-color: rgba(7, 245, 218, 0.35);
  background: rgba(7, 245, 218, 0.08);
}

/* Responsive */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-rail { display: none; }
  .bignumber-value { font-size: clamp(96px, 22vw, 180px); }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-headline-row { flex-direction: column; align-items: flex-start; gap: var(--s-md); }
  .bignumber-value { font-size: 110px; }
}

/* ============================================================
   TECH
   ============================================================ */
.tech {
  background: var(--surface-elevated);
}
.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  align-items: start;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-lg);
}
.tech-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.tech-icon {
  font-size: 32px;
  line-height: 1;
}
.tech-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.tech-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
}

.code-mockup {
  background: var(--surface-inverse);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline-on-dark);
  box-shadow: var(--sh-lg);
  position: relative;
}
.code-mockup-header {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
  padding: var(--s-sm) var(--s-md);
  background: var(--surface-inverse-elevated);
  border-bottom: 1px solid var(--hairline-on-dark);
}
.code-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--hairline-on-dark);
}
.code-mockup-title {
  margin-left: var(--s-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}
.code-block {
  margin: 0;
  padding: var(--s-lg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  overflow-x: auto;
}
.tk-keyword { color: #C084FC; }
.tk-class   { color: #60A5FA; }
.tk-string  { color: #FBBF24; }
.tk-fn      { color: #34D399; }
.tk-var     { color: #FFFFFF; }
.tk-comment { color: #6B7280; font-style: italic; }

/* ============================================================
   CASES
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-lg);
}
.case-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-strong);
  box-shadow: var(--sh-md);
}
.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-xs);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-niche {
  color: var(--brand-indigo);
  background: var(--brand-soft);
  padding: 6px 12px;
  border-radius: var(--r-full);
}
.case-city { color: var(--muted); }
.case-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}
.case-task {
  font-size: 14px;
  color: var(--body);
  margin: 0;
}
.case-task strong { color: var(--ink); }
.case-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  font-size: 14px;
  color: var(--body);
  margin: 0 0 var(--s-md);
}
.case-bullets li {
  display: flex;
  gap: var(--s-xs);
  line-height: 1.5;
}
.case-bullets li::before {
  content: '→';
  color: var(--brand-violet);
  font-weight: 600;
  flex-shrink: 0;
}
.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-sm);
  padding-top: var(--s-md);
  border-top: 1px solid var(--hairline);
}
.case-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.case-result-value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.case-result-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--canvas);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}
.testimonial {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  transition: border-color var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
  position: relative;
}
.testimonial:hover {
  border-color: rgba(7, 245, 218, 0.40);
  background: rgba(7, 245, 218, 0.03);
  transform: translateY(-2px);
}
.testimonial-stars {
  display: inline-flex;
  gap: 3px;
}
.testimonial-stars span {
  width: 14px;
  height: 14px;
  background: var(--acid);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.39 7.36H22l-6.18 4.49L18.21 21 12 16.27 5.79 21l2.39-7.15L2 9.36h7.61z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.39 7.36H22l-6.18 4.49L18.21 21 12 16.27 5.79 21l2.39-7.15L2 9.36h7.61z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.testimonial-stars .star-empty {
  background: rgba(255, 255, 255, 0.18);
}
.testimonial-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.92);
  margin: 0;
  flex: 1;
  letter-spacing: -0.005em;
}
.testimonial-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid var(--hairline);
  align-items: end;
}
.testimonial-name {
  font-family: 'Sora', 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.testimonial-date {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-align: right;
  align-self: end;
}
.testimonial-role {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPARISON
   ============================================================ */
.comparison-table-wrapper {
  background: var(--surface-card);
  border-radius: var(--r-xxl);
  border: 1px solid var(--hairline);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: var(--s-md) var(--s-lg);
  text-align: center;
  font-size: 14px;
}
.comparison-table th {
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--surface-elevated);
}
.comparison-table th.cmp-feature { text-align: left; }
.comparison-table th.cmp-us {
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 700;
}
.comparison-table tbody td:first-child { text-align: left; color: var(--body); }
.comparison-table tbody td:nth-child(2) { background: rgba(168, 85, 247, 0.04); font-weight: 600; }
.comparison-table tr { border-bottom: 1px solid var(--hairline); }
.comparison-table tr:last-child { border-bottom: 0; }
.cmp-yes { color: var(--brand-indigo); font-weight: 700; font-size: 18px; }
.cmp-no { color: var(--muted-soft); font-size: 18px; font-weight: 700; }
.cmp-partial { color: var(--muted); font-size: 13px; }
.cmp-na { color: var(--muted-soft); font-size: 12px; }

/* ============================================================
   DIAGNOSTIC BAND
   ============================================================ */
.diagnostic-band {
  padding: var(--s-section) 0;
}
.diagnostic-band-card {
  position: relative;
  background: var(--surface-inverse);
  border-radius: var(--r-xxl);
  padding: var(--s-xxxl);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.diagnostic-mesh {
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.7;
  z-index: -1;
  filter: blur(40px);
  animation: mesh-drift 20s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-30px, 30px); }
}
.diagnostic-orb {
  position: absolute;
  width: 400px; height: 400px;
  top: -50px; right: -50px;
  background: var(--grad-orb-pink);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
  animation: orb-drift-1 16s ease-in-out infinite;
}
.diagnostic-band-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-xxl);
  align-items: center;
}
.diagnostic-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: var(--s-md) 0 var(--s-md);
  color: var(--on-dark);
}
.diagnostic-text {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 var(--s-xl);
}
.diagnostic-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  font-size: 16px;
  color: var(--on-dark);
}
.diagnostic-checklist li {
  display: flex;
  gap: var(--s-md);
  align-items: flex-start;
  padding: var(--s-md) var(--s-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px);
}
.diagnostic-checklist .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.dot-violet { background: var(--brand-violet); box-shadow: 0 0 12px var(--brand-violet); }
.dot-pink { background: var(--brand-pink); box-shadow: 0 0 12px var(--brand-pink); }
.dot-indigo { background: var(--brand-indigo); box-shadow: 0 0 12px var(--brand-indigo); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-md);
  padding: var(--s-lg) 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-toggle {
  font-size: 24px;
  font-weight: 400;
  color: var(--muted);
  transition: transform var(--t-base) var(--ease-out), color var(--t-base);
  flex-shrink: 0;
}
.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  color: var(--brand-violet);
}
.faq-answer {
  padding: 0 0 var(--s-lg);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}
.faq-answer p { margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface-inverse);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--s-xxxl) 0 var(--s-xl);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-text-wide);
  background-size: 200% 100%;
  animation: gradient-shift 6s linear infinite;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-xxl);
  padding-bottom: var(--s-xxl);
  border-bottom: 1px solid var(--hairline-on-dark);
  margin-bottom: var(--s-lg);
}
.footer-brand .logo-text-light {
  margin-bottom: var(--s-sm);
  display: inline-block;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
  margin: 0;
  line-height: 1.55;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
}
.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin: 0 0 var(--s-md);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  font-size: 14px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--t-base);
}
.footer-col a:hover { color: var(--on-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-md);
}
.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
.footer-cta {
  height: 44px;
  padding: 10px 20px;
  font-size: 14px;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-md);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease), visibility 0s linear var(--t-base);
}
.modal.open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--t-base) var(--ease), visibility 0s;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  background: var(--surface-card);
  border-radius: var(--r-xxl);
  padding: var(--s-xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--sh-xl);
  transform: scale(0.96);
  transition: transform var(--t-base) var(--ease-out);
}
.modal.open .modal-content { transform: scale(1); }
.modal-close {
  position: absolute;
  top: var(--s-md); right: var(--s-md);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--muted);
  border-radius: var(--r-full);
  transition: background var(--t-base);
}
.modal-close:hover { background: var(--surface-elevated); color: var(--ink); }
.modal-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: var(--s-xs) 0 var(--s-sm);
}
.modal-text {
  font-size: 15px;
  color: var(--body);
  margin: 0 0 var(--s-lg);
}

.diagnostic-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--s-xxs);
}
.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
}
.form-optional {
  color: var(--muted-soft);
  font-weight: 400;
}
.form-input {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
textarea.form-input { resize: vertical; min-height: 80px; }
.form-checkbox {
  display: flex;
  gap: var(--s-xs);
  font-size: 13px;
  color: var(--muted);
  align-items: flex-start;
  cursor: pointer;
}
.form-checkbox input { margin-top: 4px; accent-color: var(--brand-indigo); }
.form-submit {
  width: 100%;
  margin-top: var(--s-xs);
}
.form-hint {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   FX BUNDLE — premium animations
   ============================================================ */

/* ---- Custom cursor blob ---- */
.cursor-blob {
  position: fixed;
  top: 0; left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(168, 85, 247, 0.55) 0%,
    rgba(79, 70, 229, 0.35) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  filter: blur(10px);
  will-change: transform, width, height;
  transition: width 0.45s var(--ease-out),
              height 0.45s var(--ease-out),
              background 0.4s var(--ease-out),
              opacity 0.35s var(--ease-out);
}
.cursor-blob.active { opacity: 1; }
.cursor-blob.hover {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle,
    rgba(236, 72, 153, 0.45) 0%,
    rgba(168, 85, 247, 0.30) 40%,
    transparent 70%);
}
.cursor-blob.click {
  width: 60px;
  height: 60px;
  filter: blur(6px);
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-blob { display: none; }
}

/* ---- Card spotlight (radial glow follows cursor) ---- */
.service-card,
.pain-card,
.case-card,
.tech-card,
.benefit-card,
.stat-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
}
.pain-card,
.case-card,
.tech-card,
.stat-card {
  overflow: hidden;
}
.service-card::after,
.pain-card::after,
.case-card::after,
.tech-card::after,
.benefit-card::after,
.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my),
    rgba(168, 85, 247, 0.18),
    rgba(79, 70, 229, 0.10) 25%,
    transparent 55%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: normal;
}
.service-card:hover::after,
.pain-card:hover::after,
.case-card:hover::after,
.tech-card:hover::after,
.benefit-card:hover::after,
.stat-card:hover::after {
  opacity: 1;
}
/* Make sure card content stays above the spotlight */
.service-card > *,
.pain-card > *,
.case-card > *,
.tech-card > *,
.benefit-card > *,
.stat-card > * {
  position: relative;
  z-index: 3;
}
/* Benefit-card has a colored head — spotlight only intensifies the body */
.benefit-card::after {
  background: radial-gradient(380px circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.10),
    transparent 55%);
}
@media (prefers-reduced-motion: reduce) {
  .service-card::after,
  .pain-card::after,
  .case-card::after,
  .tech-card::after,
  .benefit-card::after,
  .stat-card::after { display: none; }
}

/* ---- Hero title — word-by-word reveal ---- */
.hero-title .word {
  display: inline-block;
  vertical-align: bottom;
  line-height: inherit;
}
.hero-title .word-inner {
  display: inline-block;
  transform: translateY(75%);
  filter: blur(14px);
  opacity: 0;
  will-change: transform, filter, opacity;
}
.hero-title.title-revealed .word-inner {
  transform: translateY(0);
  filter: blur(0);
  opacity: 1;
  transition:
    transform 0.95s var(--ease-out) calc(var(--word-i, 0) * 65ms),
    filter   0.80s var(--ease-out) calc(var(--word-i, 0) * 65ms),
    opacity  0.80s var(--ease-out) calc(var(--word-i, 0) * 65ms);
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .word-inner {
    transform: none;
    filter: none;
    opacity: 1;
  }
}

/* ---- Number scramble cursor (tabular alignment) ---- */
.stat-value[data-counter] {
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   REVEAL ANIMATIONS (fallback if no GSAP)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 var(--s-lg); }
  .section { padding: var(--s-xxxl) 0; }

  .hero-container { gap: var(--s-xxl); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pains-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .tech-layout { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }

  .diagnostic-band-content { grid-template-columns: 1fr; gap: var(--s-xl); }

  .footer-top { grid-template-columns: 1fr; gap: var(--s-xl); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .section { padding: var(--s-xxl) 0; }
  .hero { padding: 40px 0 80px; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); max-width: 540px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-chat { max-width: 100%; }
  .hero-chat-glow { inset: -20px; }
  .hero-badge { white-space: normal; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }
  .pains-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }

  .inline-diagnostic-content { grid-template-columns: 1fr; gap: var(--s-md); }
  .inline-diagnostic-cta { width: 100%; }

  .diagnostic-band-card { padding: var(--s-xl); border-radius: var(--r-lg); }

  .case-results { grid-template-columns: 1fr; gap: var(--s-md); }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: var(--s-lg); }
  .footer-bottom { flex-direction: column; gap: var(--s-md); align-items: flex-start; }

  .marquee-industries .marquee-item { font-size: 24px; }

  .comparison-table th, .comparison-table td { padding: var(--s-sm); font-size: 13px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 38px; line-height: 1.05; }
  .section-title { font-size: 32px; }
  .hero-cta-row { flex-direction: column; width: 100%; }
  .hero-cta-row .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; max-width: 380px; }
  .hero-chat-body { padding: var(--s-md); min-height: 240px; }
  .chat-msg-bubble { font-size: 13px; padding: 9px 12px; }
}
