:root {
  --accent: #4878F0;
  --accent-dim: rgba(72, 120, 240, 0.15);
  --bg: #0a0a0f;
  --surface: #111118;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f5;
  --muted: rgba(240,240,245,0.5);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; text-decoration: none !important; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 20px 80px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(72,120,240,0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.btn-ghost:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: rgba(72,120,240,0.35); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Pro section ─────────────────────────────────────────────────────────── */
.pro-section {
  padding: 80px 20px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
}

.price-card.highlighted {
  border-color: var(--accent);
  background: rgba(72,120,240,0.08);
}

.price-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.price-amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.price-period {
  font-size: 14px;
  color: var(--muted);
  margin-left: 4px;
}

.price-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* ── Pro features list ──────────────────────────────────────────────────── */
.pro-features {
  text-align: left;
  margin: 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pro-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.pro-feature::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer .logo { font-size: 16px; font-weight: 800; }
footer .logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

.footer-copy { color: var(--muted); font-size: 12px; }

/* ── Doc pages (privacy, terms) ─────────────────────────────────────────── */
.doc-page {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px 80px;
}

.doc-page h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.doc-page .doc-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.doc-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.doc-page p, .doc-page li {
  font-size: 15px;
  color: rgba(240,240,245,0.75);
  line-height: 1.75;
}

.doc-page ul {
  padding-left: 20px;
  margin: 10px 0;
}

.doc-page li { margin-bottom: 6px; }

/* ── Screenshots ─────────────────────────────────────────────── */
.screenshots-section {
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.screenshots-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.screenshot-wrap {
  width: 220px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.screenshot-wrap img {
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }

  .hero {
    padding: 60px 20px 60px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 52px);
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions a {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .pricing-cards { grid-template-columns: 1fr; }
  .pro-features { grid-template-columns: 1fr; }
  .screenshot-wrap { width: 160px; }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 20px;
    gap: 20px;
  }

  /* Waitlist section */
  #waitlist form {
    flex-direction: column;
    align-items: center;
  }

  #waitlist form input {
    width: 100%;
    max-width: 320px;
  }

  #waitlist form button {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
