/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0f172a;
  --bg-card:  #1e293b;
  --bg-alt:   #111827;
  --border:   #1e293b;
  --border-hover: rgba(34,197,94,.3);
  --text:     #f1f5f9;
  --muted:    #94a3b8;
  --faint:    #475569;
  --green:    #22c55e;
  --green-hover: #4ade80;
  --green-glow:  rgba(34,197,94,.15);
  --radius:   9999px;
  --radius-card: 1rem;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ── Utilities ────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.accent { color: var(--green); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #0f172a;
  box-shadow: 0 4px 24px var(--green-glow);
}
.btn-primary:hover { background: var(--green-hover); }

.btn-outline {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--faint); color: var(--text); }

.btn-sm { padding: 0.5rem 1.25rem; font-size: .875rem; }

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(30,41,59,.8);
  background: rgba(15,23,42,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 6rem;
  text-align: center;
}
@media (min-width: 640px) { .hero { padding: 11rem 0 8rem; } }

.glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(34,197,94,.3);
  background: rgba(34,197,94,.08);
  color: var(--green);
  border-radius: var(--radius);
  padding: .375rem 1rem;
  font-size: .8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .875rem;
}
@media (min-width: 500px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}

/* ── Stats bar ────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(30,41,59,.3);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  divide: var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  gap: 1.5rem;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green);
}
.stat-label {
  font-size: .8125rem;
  color: var(--faint);
  margin-top: .25rem;
}

/* ── Sections ─────────────────────────────────────── */
.section { padding: 5rem 0; }
@media (min-width: 640px) { .section { padding: 7rem 0; } }

.section-alt { background: rgba(17,24,39,.5); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}
.section-header p { color: var(--muted); }

/* ── Features Grid ────────────────────────────────── */
.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 540px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(30,41,59,.4);
  padding: 1.75rem;
  transition: border-color .2s, background .2s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  background: rgba(30,41,59,.7);
}
.feature-icon {
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.feature-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Steps ────────────────────────────────────────── */
.steps-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -.03em;
}
.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.step p { color: var(--muted); font-size: .9375rem; line-height: 1.65; }

/* ── Waitlist ─────────────────────────────────────── */
.waitlist-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.waitlist-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}
.waitlist-inner > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
@media (min-width: 500px) { .waitlist-form { flex-direction: row; } }

.email-input {
  flex: 1;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  padding: .875rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.email-input::placeholder { color: var(--faint); }
.email-input:focus { border-color: var(--green); }

.form-note {
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--faint);
}

/* ── Footer ───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
  font-size: .875rem;
  color: var(--faint);
}
