@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  --ink: #0a0a12;
  --ink-2: #15151f;
  --paper: #f4f2ee;
  --paper-2: #ebe7df;
  --purple-deep: #1a0d3d;
  --purple-mid: #4b2a9e;
  --violet: #7b5cff;
  --violet-soft: #a394ff;
  --ice: #c9d4ff;
  --rule: rgba(10, 10, 18, 0.1);
  --rule-d: rgba(255, 255, 255, 0.1);
  --muted: rgba(10, 10, 18, 0.55);
  --muted-d: rgba(255, 255, 255, 0.55);
  --max: 1140px;
  --gutter: clamp(20px, 4vw, 56px);
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ink); color: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; scroll-behavior: smooth; }
body { max-width: 100vw; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(42px, 6.2vw, 80px); letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.035em; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.02em; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-d); display: block; margin-bottom: 16px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; color: var(--paper); transition: all .3s ease; }
.nav.scrolled { backdrop-filter: blur(16px) saturate(150%); background: rgba(10,10,18,0.82); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.nav-brand svg { height: 28px; width: auto; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: -0.005em; cursor: pointer; border: none; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-violet { background: var(--violet); color: white; box-shadow: 0 12px 32px -8px rgba(123,92,255,0.5); }
.btn-violet:hover { background: #6a4ce0; box-shadow: 0 16px 40px -8px rgba(123,92,255,0.6); }
.btn-white { background: white; color: var(--ink); box-shadow: 0 12px 32px -8px rgba(0,0,0,0.15); }
.btn-white:hover { box-shadow: 0 16px 40px -8px rgba(0,0,0,0.2); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--paper); border: 1px solid rgba(255,255,255,0.15); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.btn-lg { padding: 17px 30px; font-size: 15px; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; padding: 120px 0 80px;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(108,63,184,0.5) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(45,23,115,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(123,92,255,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0d0520 0%, #0a0418 60%, #08030f 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}
.hero-orbit { position: absolute; right: -12%; top: 8%; width: 56%; opacity: .1; pointer-events: none; }
.hero-glow { position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%); width: 120%; height: 60%; background: radial-gradient(ellipse at center, rgba(123,92,255,0.12) 0%, transparent 60%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1040px; margin: 0 auto; }
.hero-content h1 { margin-bottom: 20px; line-height: 1.08; }
.hero-content h1 em { font-style: italic; font-weight: 300; color: var(--violet-soft); }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: rgba(244,242,238,0.7); max-width: 52ch; margin: 0 auto 36px; font-weight: 300; }

/* ── Form ── */
.waitlist-form { max-width: 520px; margin: 0 auto; }
.form-row { display: flex; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 5px 5px 5px 20px; transition: border-color .2s, box-shadow .2s; }
.form-row:focus-within { border-color: rgba(123,92,255,0.5); box-shadow: 0 0 0 4px rgba(123,92,255,0.12); }
.form-row input { flex: 1; min-width: 0; padding: 12px 0; border: none; background: transparent; color: white; font-family: var(--font-body); font-size: 15px; outline: none; }
.form-row input::placeholder { color: rgba(255,255,255,0.35); }
.form-row .btn { flex-shrink: 0; }
.form-micro { font-size: 12px; color: rgba(244,242,238,0.4); text-align: center; margin-top: 14px; font-family: var(--font-mono); letter-spacing: 0.03em; }
.form-success { display: none; text-align: center; padding: 12px 0; }
.form-success h3 { font-family: var(--font-display); font-size: 22px; color: var(--ice); margin-bottom: 6px; font-weight: 500; }
.form-success p { font-size: 15px; color: rgba(244,242,238,0.65); }
.waitlist-form.done .form-row, .waitlist-form.done .form-micro { display: none; }
.waitlist-form.done .form-success { display: block; }

/* Light form (final CTA) */
.form-light .form-row { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.form-light .form-row:focus-within { border-color: rgba(123,92,255,0.6); }

/* ── Offer section ── */
.offer {
  position: relative; padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper); color: var(--ink);
}
.offer-head { margin-bottom: 48px; }
.offer-head .eyebrow { color: var(--muted); }
.offer-head h2 { color: var(--ink); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: 24px; overflow: hidden; border: 1px solid var(--rule); }
.offer-card { background: white; padding: 36px 30px; position: relative; transition: background .3s ease; }
.offer-card:hover { background: #faf8ff; }
.offer-card-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--violet); margin-bottom: 20px; }
.offer-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.offer-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.offer-card::after { content: ''; position: absolute; top: 0; right: 0; width: 100px; height: 100px; background: radial-gradient(circle at top right, rgba(123,92,255,0.06), transparent 70%); pointer-events: none; }

/* ── Preview ── */
.preview {
  position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(123,92,255,0.08), transparent 60%),
    var(--ink);
}
.preview-head { margin-bottom: 56px; text-align: center; }
.preview-grid { display: grid; grid-template-columns: .85fr 1.3fr .85fr; gap: 20px; align-items: center; max-width: 880px; margin: 0 auto; }
.preview-phone { border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05) inset; background: #111; transform: perspective(800px) rotateY(var(--ry, 0deg)); transition: transform .4s ease; }
.preview-phone:first-child { --ry: 4deg; }
.preview-phone:last-child { --ry: -4deg; }
.preview-phone:hover { transform: perspective(800px) rotateY(0deg) translateY(-4px); }
.preview-phone img { width: 100%; height: auto; display: block; }
.preview-kit { border-radius: 22px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(75,42,158,0.5), 0 0 0 1px rgba(255,255,255,0.06) inset; }
.preview-kit img { width: 100%; height: auto; display: block; }

/* ── How it works ── */
.how { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); color: var(--ink); }
.how-head { margin-bottom: 48px; }
.how-head .eyebrow { color: var(--muted); }
.how-head h2 { color: var(--ink); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 24px; overflow: hidden; }
.how-step { padding: 40px 32px; position: relative; border-right: 1px solid var(--rule); transition: background .3s ease; }
.how-step:last-child { border-right: none; }
.how-step:hover { background: #faf8ff; }
.how-step-num { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--purple-mid)); color: white; display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; font-weight: 500; margin-bottom: 24px; }
.how-step h3 { margin-bottom: 8px; color: var(--ink); }
.how-step p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ── Trust ── */
.trust {
  position: relative; padding: clamp(100px, 12vw, 160px) 0; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(108,63,184,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 15% 85%, rgba(45,23,115,0.4) 0%, transparent 55%),
    linear-gradient(180deg, #110822 0%, #0a0418 100%);
}
.trust::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 10%, transparent 60%);
  pointer-events: none;
}
.trust > .container { position: relative; z-index: 1; }
.trust-inner { max-width: 680px; }
.trust-body { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.65; color: rgba(244,242,238,0.8); font-weight: 300; margin-top: 20px; }

/* ── Urgency ── */
.urgency { padding: clamp(64px, 8vw, 100px) 0; border-top: 1px solid var(--rule-d); border-bottom: 1px solid var(--rule-d); }
.urgency-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.urgency-inner p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: rgba(244,242,238,0.75); font-weight: 300; }
.urgency-inner strong { font-weight: 500; color: var(--violet-soft); }

/* ── Final CTA ── */
.final {
  position: relative; overflow: hidden; padding: clamp(100px, 14vw, 180px) 0; text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(123,92,255,0.15) 0%, transparent 55%),
    var(--ink);
}
.final > .container { position: relative; z-index: 1; }
.final h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.04em; font-weight: 300; margin-bottom: 36px; max-width: 14ch; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.foot { text-align: center; padding: 32px var(--gutter); border-top: 1px solid var(--rule-d); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(244,242,238,0.35); }
.foot p { margin-bottom: 8px; }
.foot p:last-child { margin-bottom: 0; }
.foot-disclaimer { font-size: 10px; letter-spacing: 0.06em; color: rgba(244,242,238,0.3); margin-bottom: 12px; }
.foot a { color: rgba(244,242,238,0.35); text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--violet-soft); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero-orbit { right: -40%; width: 100%; opacity: .06; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { border-right: none !important; border-bottom: 1px solid var(--rule); }
  .offer-card:last-child { border-bottom: none; }
  .preview-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .preview-kit { grid-column: span 2; order: -1; }
  .preview-phone { --ry: 0deg !important; }
  .how-steps { grid-template-columns: 1fr; }
  .how-step { border-right: none; border-bottom: 1px solid var(--rule); }
  .how-step:last-child { border-bottom: none; }
  .form-row { flex-direction: column; border-radius: 20px; padding: 12px; gap: 8px; }
  .form-row input { padding: 10px 12px; }
  .form-row .btn { width: 100%; }
}
@media (max-width: 600px) {
  .hero { padding: 110px 0 64px; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-kit { grid-column: span 1; }
  .preview-phone:first-child, .preview-phone:last-child { max-width: 280px; margin: 0 auto; }
}
