:root {
  --bg: #0B0E14;
  --bg-card: #141821;
  --bg-elev: #1C2230;
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --accent: #34D399;
  --accent-dim: #10B981;
  --border: #21262D;
  --danger: #F87171;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1080px; margin: 0 auto; padding: 0 24px;
}
.logo { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-block; padding: 10px 18px;
  background: var(--accent); color: #04130D;
  border-radius: 8px; font-weight: 600; font-size: 14px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-dim); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* hero */
.hero { padding: 96px 0 64px; text-align: center; }
.hero h1 {
  font-size: 56px; font-weight: 800; line-height: 1.08;
  letter-spacing: -0.025em; margin-bottom: 24px;
}
.hero .sub {
  font-size: 20px; color: var(--text-muted);
  max-width: 680px; margin: 0 auto 40px;
}

.waitlist-form {
  display: flex; gap: 12px; max-width: 480px; margin: 0 auto;
}
.waitlist-form input {
  flex: 1; padding: 14px 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 15px;
  transition: border-color 0.15s;
}
.waitlist-form input::placeholder { color: var(--text-muted); }
.waitlist-form input:focus { outline: none; border-color: var(--accent); }
.waitlist-form button {
  padding: 14px 24px; background: var(--accent); color: #04130D;
  border: none; border-radius: 8px; font-weight: 600; font-size: 15px;
  cursor: pointer; white-space: nowrap; transition: background 0.15s;
}
.waitlist-form button:hover { background: var(--accent-dim); }

.form-msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.form-msg.success { color: var(--accent); }
.form-msg.error { color: var(--danger); }

.social-proof { margin-top: 16px; color: var(--text-muted); font-size: 14px; }
.social-proof #count { color: var(--text); font-weight: 600; }

.screenshot { margin-top: 64px; }
.screenshot-img {
  max-width: 860px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  display: block;
  margin: 0 auto;
}

/* sections */
section { padding: 96px 0; }
h2 {
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.015em; margin-bottom: 20px;
}

.pain { text-align: center; }
.pain p { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: 18px; }

.features h2, .compare h2, .waitlist h2 { text-align: center; }

.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 48px;
}
.feature {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
}
.feature-icon { font-size: 28px; color: var(--accent); margin-bottom: 12px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 15px; }

.compare-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 48px;
}
.compare-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
}
.compare-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--accent); }
.compare-card p { color: var(--text-muted); }

code {
  background: var(--bg-elev); padding: 2px 6px;
  border-radius: 4px; font-size: 13px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
}

.waitlist { text-align: center; }
.waitlist p { color: var(--text-muted); margin-bottom: 28px; }

.footer {
  padding: 48px 0; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 14px; text-align: center;
}
.footer p { margin-bottom: 8px; }
.muted { color: var(--text-muted); }

@media (max-width: 720px) {
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 36px; }
  .hero .sub { font-size: 17px; }
  h2 { font-size: 28px; }
  section { padding: 64px 0; }
  .feature-grid, .compare-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .nav-links a:not(.btn) { display: none; }
  .screenshot-placeholder { height: 260px; }
}
