/* css/style.css */

/* ── Design tokens ───────────────────────────────── */
:root {
  --bg:        #0f0f1a;
  --surface:   #1a1a2e;
  --border:    #2a2a3a;
  --accent:    #6366f1;
  --highlight: #a78bfa;
  --text:      #94a3b8;
  --muted:     #64748b;
  --white:     #f8fafc;

  --radius: 10px;
  --max-w:  860px;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--highlight); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Layout ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
section { padding: 88px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

/* ── Typography ──────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
h2 {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.subtitle {
  font-size: 15px;
  color: var(--text);
  max-width: 520px;
  margin-bottom: 28px;
}
.accent { color: var(--highlight); }

/* ── Form ────────────────────────────────────────── */
.waitlist-form { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input[type="email"]:focus { border-color: var(--accent); }
.waitlist-form input[type="email"]::placeholder { color: var(--muted); }
.waitlist-form button[type="submit"] {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.waitlist-form button[type="submit"]:hover { opacity: 0.85; }
.waitlist-form button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; }
.form-error {
  width: 100%;
  font-size: 13px;
  color: #f87171;
  margin-top: 4px;
}
.form-trust {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

/* ── Stat bar ────────────────────────────────────── */
.stat-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stat-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.stat { text-align: center; }
.stat-number {
  font-size: 26px;
  font-weight: 700;
  color: var(--highlight);
  display: block;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
}

/* ── Comparison cards ────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .container { padding: 0 24px; }
  section { padding: 56px 0; }
}
@media (max-width: 480px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.compare-card.featured { border-color: var(--accent); }
.compare-card .card-platform {
  font-size: 13px;
  font-weight: 600;
  color: var(--highlight);
  margin-bottom: 8px;
}
.compare-card.dim .card-platform { color: var(--muted); }
.compare-card p { font-size: 13px; }
.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px;
}
.callout strong { color: var(--highlight); }

/* ── Steps ───────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; align-items: flex-start; gap: 16px; }
.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.step-text { font-size: 14px; padding-top: 4px; }

/* ── Vision section ──────────────────────────────── */
.vision-section {
  background: #1a0a2e;
  text-align: center;
}
.vision-quote {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.vision-body {
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto;
}

/* ── Benefits list ───────────────────────────────── */
.benefits {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.benefits li {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}
.benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Footer ──────────────────────────────────────── */
footer {
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── Thank-you page ──────────────────────────────── */
.ty-hero {
  text-align: center;
  padding: 80px 24px 64px;
}
.ty-emoji { font-size: 48px; margin-bottom: 20px; }
.next-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.next-step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
}
.next-step-card:hover { border-color: var(--accent); text-decoration: none; }
.next-step-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.next-step-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.next-step-desc { font-size: 13px; color: var(--muted); }
.share-section { text-align: center; padding: 40px 24px; }
.share-section p { font-size: 14px; margin-bottom: 16px; }
.share-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }

/* ── Language switcher ───────────────────────────── */
.lang-bar {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding: 10px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.lang-btn:hover { color: var(--text); border-color: var(--border); }
.lang-btn.active { color: var(--highlight); border-color: var(--accent); }
