/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg:        #0d0f14;
  --bg-2:      #12151c;
  --bg-card:   #181c26;
  --border:    #232838;
  --accent:    #4f8ef7;
  --accent-h:  #3a78e8;
  --text:      #e8eaf0;
  --text-muted:#8a90a8;
  --radius:    12px;
  --max-w:     1100px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
}
.logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo span { color: var(--accent); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79,142,247,0.15) 0%, transparent 70%),
    var(--bg);
}
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(79,142,247,0.4);
  background: rgba(79,142,247,0.08);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 800px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.btn-primary {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
}

/* ── Section shared ──────────────────────────────────────── */
section { padding: 100px 24px; }
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 56px;
  max-width: 600px;
}

/* ── Features ────────────────────────────────────────────── */
.features {
  background: var(--bg-2);
  text-align: center;
}
.features h2 { margin-left: auto; margin-right: auto; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(79,142,247,0.4);
  transform: translateY(-3px);
}
.card-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── How it works ────────────────────────────────────────── */
.how {
  max-width: var(--max-w);
  margin: 0 auto;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  padding: 0 16px;
}
.step-num {
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(79,142,247,0.25);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.step-divider {
  width: 1px;
  height: 120px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
}

/* ── Waitlist ─────────────────────────────────────────────── */
.waitlist {
  background: var(--bg-2);
}
.waitlist-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.waitlist p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1rem;
}
.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-row input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.form-row input[type="email"]:focus {
  border-color: var(--accent);
}
.form-row input[type="email"]::placeholder {
  color: var(--text-muted);
}
.form-message {
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 22px;
}
.form-message.success { color: #4ade80; }
.form-message.error   { color: #f87171; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .step-divider { display: none; }
  .steps { flex-direction: column; gap: 36px; }
  .step { padding: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
