/* ---------- Tokens ---------- */
:root {
  --accent: #0066FF;
  --bg: #07090F;
  --bg-2: #0B0E17;
  --surface: #0F1422;
  --surface-2: #141B2D;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #ECEFF7;
  --text-dim: #A4ACBE;
  --text-mute: #6B7385;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 60px -20px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.04), 0 30px 80px -30px rgba(0,102,255,0.45);
  --max: 1240px;
}

* { box-sizing: border-box; }
html, body, #root { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button, a, input, select { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .word-inner, .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .mesh-blob { animation: none !important; }
}
a { color: inherit; text-decoration: none; }
html, body { overflow-x: hidden; }
em { font-style: normal; color: var(--accent); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; }

/* ---------- Mesh background ---------- */
.mesh-wrap {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
  contain: layout paint style;
}
.mesh-blob {
  position: absolute; border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
.mesh-wrap { --mx: 0; --my: 0; }
.mesh-a { width: 720px; height: 720px; top: -200px; left: -160px; animation: float-a 18s ease-in-out infinite; transform: translate3d(calc(var(--mx) * 30px), calc(var(--my) * 22px), 0); transition: transform 240ms cubic-bezier(.2,.7,.2,1); }
.mesh-b { width: 600px; height: 600px; top: 20%; right: -120px; animation: float-b 22s ease-in-out infinite; transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * 18px), 0); transition: transform 240ms cubic-bezier(.2,.7,.2,1); }
.mesh-c { width: 520px; height: 520px; top: 60%; left: 30%; animation: float-c 26s ease-in-out infinite; transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * -16px), 0); transition: transform 240ms cubic-bezier(.2,.7,.2,1); }
@keyframes float-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(80px,60px) scale(1.08); } }
@keyframes float-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-100px,40px) scale(0.94); } }
@keyframes float-c { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-80px) scale(1.05); } }

.mesh-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 30%, transparent 100%);
}
.mesh-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 110%, rgba(0,0,0,0.85), transparent 60%);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal-in { opacity: 1; transform: translateY(0); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 100;
  pointer-events: none;
}
.scroll-progress-fill {
  height: 100%; width: 100%;
  transform-origin: left center;
  transition: transform 80ms linear;
  box-shadow: 0 0 12px currentColor;
}

/* ---------- Magnetic ---------- */
.magnetic { display: inline-block; }
.magnetic > * { transition: transform 320ms cubic-bezier(.2,.7,.2,1); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background 250ms ease, backdrop-filter 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.nav-scrolled {
  background: rgba(10,12,20,0.65);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 17px; white-space: nowrap; }
.brand-logo { color: var(--text); transition: opacity 200ms ease; }
.brand-logo:hover { opacity: 0.85; }
.brand-logo svg { display: block; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(0,102,255,0.18); }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--text-dim); }
.nav-links a { transition: color 200ms ease; }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms ease, background 200ms ease, color 200ms ease;
  cursor: pointer; border: 0;
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 26px; font-size: 15.5px; letter-spacing: -0.005em; }

.btn-primary { color: white; box-shadow: 0 10px 30px -10px var(--accent), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px var(--accent), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-shine {
  position: absolute; top: 0; left: -50%; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 600ms ease;
}
.btn-primary:hover .btn-shine { left: 130%; }

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-light {
  background: white; color: #0a0d18;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.45);
}
.btn-light:hover { background: #f4f6fb; }
.btn-outline-light {
  background: transparent; color: white;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px; letter-spacing: 0.01em;
  margin-bottom: 30px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  position: relative;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%; background: inherit; opacity: 0.45;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(2.2); opacity: 0; }
}

.display {
  font-size: clamp(44px, 7.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 26px;
  max-width: 16ch;
  text-wrap: balance;
}
.word-mask { display: inline-block; vertical-align: top; line-height: 1; }
.word-space { display: inline-block; }
.word-inner {
  display: inline-block;
  transform: translateY(0.45em);
  opacity: 0;
  animation: wordIn 800ms cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes wordIn { to { transform: translateY(0); opacity: 1; } }

.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-dim);
  max-width: 56ch;
  line-height: 1.5;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.lede-strong { color: var(--text); font-weight: 600; }

.cta-row {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 22px;
}
.cta-row-light { margin-bottom: 0; }

.trust {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-mute);
}
.trust-dot { width: 5px; height: 5px; background: #6CCB7A; border-radius: 50%; box-shadow: 0 0 0 4px rgba(108,203,122,0.15); }

/* ---------- Hero call card ---------- */
.hero-card-wrap { width: min(560px, 92%); margin-top: 64px; perspective: 1200px; }
.callcard {
  background: linear-gradient(180deg, rgba(20,27,45,0.85), rgba(15,20,34,0.85));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(14px);
}
.callcard-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease;
  will-change: transform;
}
.callcard-tilt:hover { box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 40px 100px -28px rgba(0,102,255,0.55); }
.callcard-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.callcard-avatar {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; color: white;
}
.callcard-meta { display: flex; flex-direction: column; min-width: 0; }
.callcard-title { font-size: 13px; font-weight: 600; line-height: 1.3; }
.callcard-sub { font-size: 11.5px; color: var(--text-mute); line-height: 1.3; }
.callcard-eq { margin-left: auto; display: flex; gap: 3px; align-items: flex-end; height: 22px; }
.callcard-eq span { width: 3px; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.callcard-eq span:nth-child(1) { animation-delay: 0ms; height: 60%; }
.callcard-eq span:nth-child(2) { animation-delay: 150ms; height: 90%; }
.callcard-eq span:nth-child(3) { animation-delay: 300ms; height: 50%; }
.callcard-eq span:nth-child(4) { animation-delay: 100ms; height: 75%; }
@keyframes eq { 0%,100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.callcard-body { padding: 14px 4px; min-height: 140px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bubble {
  font-size: 13.5px;
  padding: 9px 13px;
  border-radius: 14px;
  max-width: 80%;
  border: 1px solid transparent;
  animation: bubbleIn 260ms ease-out;
  text-align: left;
}
@keyframes bubbleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.bubble-caller { background: rgba(255,255,255,0.06); color: var(--text); border-radius: 14px 14px 14px 4px; }
.bubble-ai { background: rgba(0,102,255,0.10); color: var(--text); align-self: flex-end; border-radius: 14px 14px 4px 14px; border-color: rgba(0,102,255,0.3); }
.bubble-typing { background: rgba(0,102,255,0.10); align-self: flex-end; border-radius: 14px 14px 4px 14px; padding: 12px 14px; display: flex; gap: 4px; }
.bubble-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.55; animation: dot 1.2s ease-in-out infinite; }
.bubble-typing span:nth-child(2) { animation-delay: 150ms; }
.bubble-typing span:nth-child(3) { animation-delay: 300ms; }
@keyframes dot { 0%,100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-3px); opacity: 1; } }

.callcard-foot { display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.foot-pill { font-size: 11.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-dim); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section-problem { padding-top: 80px; }
.section-how { padding-bottom: 140px; }

.kicker {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.h2 {
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 18px;
  max-width: 18ch;
  text-wrap: balance;
}
.section-lede {
  font-size: 18px; color: var(--text-dim); max-width: 56ch; margin: 0 0 56px;
}

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.stat { position: relative; }
.stat-num {
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #8E97AE 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--text-dim); font-size: 16px; line-height: 1.5; max-width: 28ch; }
.stat-rule {
  position: absolute; left: 0; top: -16px; width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 16px;
  margin-top: 48px;
}
.tile {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(20,27,45,0.7), rgba(15,20,34,0.55));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), border-color 300ms ease, background 300ms ease;
}
.tile:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.tile-lg   { grid-column: span 3; grid-row: span 2; padding: 32px; }
.tile-tall { grid-column: span 3; grid-row: span 2; padding: 32px; }
.tile-md   { grid-column: span 3; }
.tile-sm   { grid-column: span 3; }
@media (min-width: 900px) {
  .tile-md   { grid-column: span 2; }
  .tile-sm   { grid-column: span 2; }
  .tile-lg   { grid-column: span 4; grid-row: span 2; }
  .tile-tall { grid-column: span 2; grid-row: span 2; }
}
.tile-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  border: 1px solid;
  background: rgba(255,255,255,0.02);
  margin-bottom: 18px;
}
.tile-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.tile-desc { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; max-width: 38ch; }
.tile-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  transition: opacity 400ms ease;
}
.tile:hover .tile-glow { opacity: 1; }

/* Calendar feature */
.cal-mini { margin-top: 20px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: rgba(0,0,0,0.25); }
.cal-mini-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.cal-mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-cell { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,0.04); }
.cal-mini-slots { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.slot { font-size: 11.5px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-dim); }
.slot-active { color: white !important; }

/* Clock feature */
.clock-feat { margin-top: 18px; }
.clock-row { display: flex; gap: 8px; align-items: flex-end; height: 110px; }
.clock-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; justify-content: flex-end; }
.clock-bar { width: 100%; border-radius: 4px 4px 0 0; }
.clock-bar-night { width: 100%; border-radius: 4px 4px 0 0; opacity: 0.7; }
.clock-day { font-size: 11px; color: var(--text-mute); margin-top: 4px; }
.clock-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--text-mute); margin-top: 12px; }
.clock-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }

/* Wave feature */
.wave-feat { margin-top: 20px; display: flex; align-items: center; gap: 4px; height: 56px; }
.wave-feat span { width: 3px; border-radius: 2px; height: 100%; animation: wavebar 1.3s ease-in-out infinite; transform-origin: center; }
@keyframes wavebar { 0%,100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }

/* Lead feature */
.lead-feat { margin-top: 16px; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: rgba(0,0,0,0.22); font-size: 13px; }
.lead-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.lead-row:last-child { border-bottom: 0; }
.lead-k { color: var(--text-mute); }
.lead-v { color: var(--text); font-weight: 500; }

/* ---------- How it works ---------- */
.section-how .how-sub { max-width: 62ch; margin: 18px auto 0; color: var(--text-dim); font-size: 17px; line-height: 1.6; text-align: center; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.step { position: relative; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(15,20,34,0.4); display: flex; flex-direction: column; }
.step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-num { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; }
.step-when { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-dim); text-transform: uppercase; }
.step-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid; margin-bottom: 16px; }
.step-title { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.step-desc { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; flex: 1; }
.step-deliverable { display: flex; gap: 8px; align-items: baseline; padding-top: 14px; border-top: 1px dashed var(--border); }
.step-deliverable-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; flex-shrink: 0; }
.step-deliverable-text { font-size: 13.5px; color: var(--text); }

.step-simple { padding: 32px 28px; }
.step-simple .step-num { display: block; font-size: 12px; letter-spacing: 0.2em; margin-bottom: 18px; }
.step-simple .step-icon { margin-bottom: 18px; }
.step-simple .step-title { font-size: 22px; margin-bottom: 10px; }
.step-simple .step-desc { margin-bottom: 0; }

/* ---------- How it works v2 (animated track + ghost numbers) ---------- */
.steps-track {
  position: relative;
  margin-top: 64px;
}
.steps-line {
  position: relative;
  height: 2px;
  margin: 0 8% 56px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}
.steps-line-fill {
  position: absolute; inset: 0 auto 0 0;
  height: 100%;
  border-radius: 2px;
  transition: width 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.steps-line-node {
  position: absolute; top: 50%;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  transition: all 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.steps-line-node.active::after {
  content: ""; position: absolute; inset: -3px; border-radius: 999px;
  border: 1px solid currentColor; opacity: 0.4;
  animation: nodePulse 2.4s ease-in-out infinite;
}
@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.8); opacity: 0; }
}

.steps-v2 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-v2 {
  position: relative; isolation: isolate;
  padding: 30px 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15,20,34,0.55), rgba(15,20,34,0.30));
  overflow: hidden;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 320ms ease,
              box-shadow 480ms ease;
}
.step-v2::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.10), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0.7;
}
.step-v2:hover {
  transform: translateY(-6px);
  border-color: var(--accent, #0066FF);
  box-shadow: 0 24px 60px -28px var(--accent, #0066FF);
}
.step-v2:hover .step-icon-v2 { transform: scale(1.06) rotate(-3deg); }
.step-v2:hover .step-icon-ring { transform: scale(1.6); opacity: 0; }
.step-v2:hover .step-spot { opacity: 1; }
.step-v2:hover .step-ghost-n {
  color: var(--accent, #0066FF);
  opacity: 0.18;
  transform: translateY(-4px);
}

.step-ghost-n {
  position: absolute;
  top: -24px; right: -8px;
  font-size: 168px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  z-index: 0;
  font-variant-numeric: tabular-nums;
  transition: color 360ms ease, opacity 360ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step-head-v2 { position: relative; z-index: 1; margin-bottom: 20px; }
.step-day {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid; border-radius: 999px;
  background: rgba(15,20,34,0.6);
}
.step-day-dot {
  width: 6px; height: 6px; border-radius: 999px;
  box-shadow: 0 0 0 0 currentColor;
  animation: dayDot 2.4s ease-in-out infinite;
}
@keyframes dayDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,102,255,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(0,102,255,0); }
}

.step-icon-v2 {
  position: relative; z-index: 1;
  width: 52px; height: 52px;
  border: 1px solid;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step-icon-ring {
  position: absolute; inset: -6px;
  border-radius: 18px;
  border: 1px solid;
  opacity: 0.55;
  transition: transform 700ms ease, opacity 700ms ease;
}
.step-title-v2 {
  position: relative; z-index: 1;
  font-size: 22px; font-weight: 700; letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.step-desc-v2 {
  position: relative; z-index: 1;
  color: var(--text-dim);
  font-size: 14.5px; line-height: 1.55;
}
.step-spot {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 420ms ease;
  pointer-events: none; z-index: 0;
}

@media (max-width: 900px) {
  .steps-v2 { grid-template-columns: 1fr; gap: 16px; }
  .steps-line { display: none; }
  .step-ghost-n { font-size: 132px; top: -14px; right: 0; }
}
.how-guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.how-guarantee { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(15,20,34,0.3); }
.how-guarantee-icon { width: 38px; height: 38px; border-radius: 10px; border: 1px solid; display: grid; place-items: center; flex-shrink: 0; }
.how-guarantee-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.how-guarantee-sub { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
@media (max-width: 900px) {
  .stats, .steps, .how-guarantees { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.final {
  position: relative; overflow: hidden;
  padding: 110px 0; color: white;
  background: linear-gradient(180deg, #0A0E1B 0%, #0C1226 60%, #0A0E1B 100%);
}
.final-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.85;
}
.final-inner { text-align: center; position: relative; }
.final-border {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.4;
  pointer-events: none;
}
.final-h {
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 18px;
  text-wrap: balance;
}
.final-h-soft {
  background: linear-gradient(
    100deg,
    var(--accent) 0%,
    #7AA8FF 35%,
    #ffffff 50%,
    #7AA8FF 65%,
    var(--accent) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: finalShine 6s linear infinite;
  text-shadow: 0 0 60px rgba(122, 168, 255, 0.25);
}
@keyframes finalShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .final-h-soft { animation: none; background-position: 50% 50%; }
}
.final-sub { font-size: 18px; color: rgba(255,255,255,0.7); margin: 0 0 36px; }
.final-mail { margin: 24px 0 0; font-size: 14.5px; color: rgba(255,255,255,0.55); }
.final-mail a { color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.25); transition: border-color 200ms ease; }
.final-mail a:hover { border-bottom-color: rgba(255,255,255,0.7); }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); position: relative; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.foot-top { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.foot-brand { color: var(--text); display: inline-flex; }
.foot-brand svg { display: block; }
.foot-tagline { margin: 0; color: var(--text-dim); font-size: 14.5px; max-width: 36ch; }
.foot-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 14px;
  color: var(--text-dim);
  white-space: nowrap;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 8px;
  scrollbar-width: none;
}
.foot-links::-webkit-scrollbar { display: none; }
.foot-links a { transition: color 200ms ease; }
.foot-links a:hover { color: var(--text); }
.foot-legal {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--text-mute);
}
.foot-legal a { transition: color 200ms ease; }
.foot-legal a:hover { color: var(--text-dim); }
.foot-sep { color: var(--text-mute); opacity: 0.5; }
.foot-copy {
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 13px;
}
.foot-legal-id {
  width: 100%;
  margin-top: 6px;
  color: var(--text-mute);
  opacity: 0.7;
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .footer { padding: 48px 0 28px; }
  .foot-links { gap: 6px 10px; font-size: 11.5px; }
  .foot-tagline { font-size: 13.5px; }
}

/* ---------- Live ticker ---------- */
.eyebrow-live { padding: 6px 14px 6px 8px; }
.live-ticker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dim); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.6);
  animation: liveBlink 1.8s ease-out infinite;
}
@keyframes liveBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
}
.live-label { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; color: #FF6B7A; }
.live-sep { width: 1px; height: 12px; background: var(--border-strong); }
.live-num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }
.live-text { color: var(--text-mute); }

/* ---------- Scarcity badge ---------- */
.scarcity {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  font-size: 13px; color: var(--text-dim);
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 165, 0, 0.06);
  border: 1px solid rgba(255, 165, 0, 0.18);
}
.scarcity strong { color: #FFC56B; font-weight: 700; }
.scarcity-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 1.6s ease-out infinite;
}

/* ---------- Activity toasts ---------- */
.toast {
  position: fixed; left: 24px; bottom: 24px;
  z-index: 80;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(15, 20, 34, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7);
  min-width: 280px; max-width: 340px;
  transform: translateX(-360px);
  opacity: 0;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1), opacity 420ms ease;
}
.toast-in { transform: translateX(0); opacity: 1; }
.toast-out { transform: translateX(-360px); opacity: 0; }
.toast-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7AA8FF);
  color: white; font-weight: 700; font-size: 13px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.toast-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.toast-line { font-size: 13px; color: var(--text); line-height: 1.3; }
.toast-line strong { font-weight: 600; }
.toast-sub { font-size: 11.5px; color: var(--text-mute); line-height: 1.3; margin-top: 2px; }
.toast-time { font-size: 10.5px; color: var(--text-mute); align-self: flex-start; flex-shrink: 0; }
@media (max-width: 540px) {
  .toast { left: 12px; right: 12px; bottom: 12px; min-width: 0; max-width: none; }
}

/* ---------- Sector marquee ---------- */
.marquee {
  position: relative;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 13, 22, 0.5);
  backdrop-filter: blur(8px);
  overflow: hidden;
  z-index: 1;
}
.marquee-track {
  display: flex; gap: 44px;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-dim);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.marquee-fade {
  position: absolute; top: 0; bottom: 0; width: 120px;
  z-index: 2; pointer-events: none;
}
.marquee-fade-l { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-fade-r { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

/* ---------- ROI calculator ---------- */
.roi {
  margin: 80px auto 0;
  max-width: 880px;
  background: linear-gradient(180deg, rgba(20,27,45,0.7), rgba(15,20,34,0.55));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.roi::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 90% 0%, rgba(0,102,255,0.10), transparent 60%);
  pointer-events: none;
}
.roi-head { position: relative; margin-bottom: 28px; text-align: left; }
.roi-kicker {
  display: inline-block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 10px;
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px;
}
.roi-title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.roi-body {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px;
  align-items: center;
  position: relative;
}
.roi-control { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.roi-control-row { display: flex; justify-content: space-between; align-items: center; }
.roi-control label { font-size: 14px; color: var(--text-dim); }
.roi-pill {
  font-size: 16px; font-weight: 700; padding: 4px 12px;
  border: 1px solid; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.roi-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--p), rgba(255,255,255,0.08) var(--p), rgba(255,255,255,0.08) 100%);
  border-radius: 999px; outline: none;
  cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 4px var(--accent), 0 8px 20px -6px rgba(0,0,0,0.5);
  cursor: grab;
  transition: transform 150ms ease;
}
.roi-slider::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.roi-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: white; border: 0;
  box-shadow: 0 0 0 4px var(--accent), 0 8px 20px -6px rgba(0,0,0,0.5);
  cursor: grab;
}
.roi-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-mute); margin-top: 4px; font-variant-numeric: tabular-nums; }
.roi-result { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: rgba(0,0,0,0.25); border: 1px solid var(--border); border-radius: 16px; text-align: left; }
.roi-stat-k { font-size: 12.5px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.06em; }
.roi-stat-v { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; transition: color 200ms ease; }
.roi-stat:nth-child(2) .roi-stat-v { font-size: 22px; color: var(--text-dim); }
.roi-note { font-size: 11.5px; color: var(--text-mute); line-height: 1.5; margin-top: 6px; }
@media (max-width: 760px) {
  .roi { padding: 22px; }
  .roi-body { grid-template-columns: 1fr; gap: 24px; }
  .roi-title { font-size: 22px; }
}

/* ---------- Call modal ---------- */
.callmodal-back {
  position: fixed; inset: 0; z-index: 200;
  background: #07090F;
  display: grid; place-items: center;
  padding: 24px;
  overflow-y: auto;
  animation: fadeIn 220ms ease;
}
.callmodal-back::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 50% at 50% 30%, rgba(0,102,255,0.18), transparent 70%),
    radial-gradient(60% 60% at 80% 90%, rgba(0,102,255,0.10), transparent 70%);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.callmodal {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  max-width: 720px; width: 100%;
  text-align: center;
  box-shadow: none;
  opacity: 1;
}
.callmodal-close {
  position: fixed; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong);
  color: var(--text); font-size: 22px; line-height: 1;
  cursor: pointer; transition: background 150ms ease, transform 150ms ease;
  z-index: 1;
}
.callmodal-close:hover { background: rgba(255,255,255,0.12); transform: rotate(90deg); }
.callmodal-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.callmodal-pulse { width: 9px; height: 9px; border-radius: 50%; animation: pulse 1.6s ease-out infinite; }
.callmodal-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 14px; }
.callmodal-sub { font-size: clamp(15px, 1.3vw, 18px); color: var(--text-dim); margin-bottom: 28px; max-width: 44ch; margin-left: auto; margin-right: auto; line-height: 1.5; }
.callmodal-num { font-size: clamp(32px, 6vw, 68px); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; padding: 28px 20px; border-radius: 20px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-strong); margin-bottom: 24px; }
.callmodal-bullets { list-style: none; padding: 0; margin: 0 auto 28px; display: flex; flex-direction: column; gap: 10px; max-width: 32ch; text-align: left; font-size: 15px; color: var(--text-dim); }
.callmodal-bullets li { display: flex; align-items: center; gap: 12px; }
.callmodal-bullet-dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.callmodal-foot { margin-top: 20px; font-size: 13px; color: var(--text-dim); opacity: 0.7; letter-spacing: 0.04em; }
.callmodal-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 540px) {
  .callmodal-close { top: 14px; right: 14px; width: 38px; height: 38px; }
  .callmodal-num { padding: 22px 14px; }
}

/* ---------- Tablet (≤ 1080px) ---------- */
@media (max-width: 1080px) {
  .container { padding: 0 28px; }
  .nav-links { gap: 22px; }
  .section { padding: 100px 0; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile-lg { grid-column: span 4; }
  .tile-tall { grid-column: span 2; grid-row: span 1; }
  .tile-md { grid-column: span 2; }
  .tile-sm { grid-column: span 2; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .how-guarantees { grid-template-columns: 1fr; }
  .roi-body { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Tablet portrait & large phones (≤ 860px) ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner > .btn { margin-left: auto; }
  .hero { padding: 40px 0 72px; }
  .hero-card-wrap { width: min(560px, 100%); margin-top: 48px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 360px; }
  .cta-row .btn, .cta-row-light .btn { width: 100%; justify-content: center; }
  .cta-row-light { flex-direction: column; align-items: stretch; gap: 12px; max-width: 360px; margin: 0 auto; }
  .section-lede { font-size: 16.5px; margin-bottom: 40px; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .roi { padding: 22px; }
}

/* ---------- Mobile (≤ 760px) ---------- */
@media (max-width: 760px) {
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .brand-logo svg { height: 26px; }
  .btn-sm { padding: 8px 12px; font-size: 12px; }
  .container { padding: 0 20px; }
  .hero { padding: 28px 0 56px; }
  .section { padding: 72px 0; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile-lg, .tile-tall, .tile-md, .tile-sm { grid-column: span 1; grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px; }
  .step-deliverable { flex-direction: column; gap: 4px; }
  .how-guarantee { padding: 18px; }
  .section-how .how-sub { font-size: 15.5px; }
  .final-sub { font-size: 16px; }
  .final-mail { font-size: 13px; }
  .roi-title { font-size: 20px; }
  .roi-stat-v { font-size: 30px; }
}

/* ---------- Small phones (≤ 480px) ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .brand-logo svg { height: 22px; }
  .brand { font-size: 15px; }
  .nav-inner { padding: 10px 14px; }
  .nav-inner > .btn { padding: 8px 12px; font-size: 12px; }
  .eyebrow { font-size: 11.5px; padding: 6px 12px; margin-bottom: 22px; }
  .btn-lg { padding: 14px 18px; font-size: 14.5px; }
  .lede { margin-top: 18px; }
  .hero-card-wrap { margin-top: 36px; }
  .callcard { padding: 16px; }
  .section { padding: 56px 0; }
  .kicker { font-size: 11px; }
  .step { padding: 20px; }
  .step-icon { width: 40px; height: 40px; }
  .step-title { font-size: 18px; }
  .how-guarantee-icon { width: 34px; height: 34px; }
  .final-mail { word-break: break-word; }
}

/* ---------- Tiny phones (≤ 360px) ---------- */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .brand span { display: none; }
  .nav-inner > .btn { padding: 7px 10px; font-size: 11.5px; }
  .btn-lg { padding: 12px 16px; font-size: 14px; }
  .step-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}
