:root {
  --bg: #07070d;
  --bg-card: #0e0e1a;
  --bg-card-hover: #13132a;
  --border: rgba(255,255,255,0.07);
  --fg: #e8e8f0;
  --fg-muted: #7a7a96;
  --fg-dim: #4a4a68;
  --accent: #00e5c8;
  --accent-dim: rgba(0,229,200,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

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

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(7,7,13,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.75rem;
  font-family: 'DM Mono', monospace;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60%;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,229,200,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(0,229,200,0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,229,200,0.4); }
  70% { box-shadow: 0 0 0 8px rgba(0,229,200,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,200,0); }
}
.hero-headline {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  background: linear-gradient(160deg, #ffffff 0%, #c8c8e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.04em;
}

/* FEATURES */
.features {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-card);
  padding: 2.25rem;
  transition: background 0.2s;
}
.feature-card:hover {
  background: var(--bg-card-hover);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,200,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* HOW */
.how {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.how-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.how-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 3.5rem;
  max-width: 500px;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.how-step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.how-step:last-child { border-bottom: none; }
.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-top: 0.25rem;
  min-width: 2rem;
}
.step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 500px;
}

/* CLOSING */
.closing {
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.closing-inner {
  max-width: 680px;
  position: relative;
}
.closing::before {
  content: '';
  position: absolute;
  bottom: 0; left: -2rem; right: -2rem;
  height: 40%;
  background: radial-gradient(ellipse 60% 80% at 30% 100%, rgba(0,229,200,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: 'DM Mono', monospace;
}

/* WAITLIST FORM */
.hero-waitlist {
  margin-top: 3rem;
  max-width: 520px;
}
.hero-waitlist-note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.02em;
}
.waitlist-form { width: 100%; }
.waitlist-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.waitlist-row input[type="email"] {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.waitlist-row input[type="email"]::placeholder { color: var(--fg-dim); }
.waitlist-row input[type="email"]:focus {
  border-color: var(--accent);
}
.waitlist-row input[type="email"].error {
  border-color: #ff4d6a;
}
.btn-waitlist {
  background: var(--accent);
  color: #07070d;
  border: none;
  border-radius: 8px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}
.btn-waitlist:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-waitlist:active { transform: translateY(0); }
.btn-waitlist:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.waitlist-msg {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-family: 'DM Mono', monospace;
  min-height: 1.2em;
}
.waitlist-msg.success { color: var(--accent); }
.waitlist-msg.error { color: #ff4d6a; }

/* CLOSING SECTION */
.closing-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.closing-pricing {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pricing-price {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.pricing-period {
  font-weight: 400;
  color: var(--fg-muted);
}
.pricing-divider { color: var(--fg-dim); }
.pricing-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-family: 'DM Mono', monospace;
}
.closing-waitlist { max-width: 480px; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero-stats { gap: 2rem; }
  .stat-num { font-size: 1.5rem; }
  .features { padding: 3rem 1.5rem; }
  .how { padding: 3rem 1.5rem; }
  .how-step { flex-direction: column; gap: 0.5rem; }
  .closing { padding: 4rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .waitlist-row { flex-direction: column; align-items: stretch; }
  .btn-waitlist { width: 100%; padding: 0.8rem; }
}