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

:root {
  --bg: #0f1117;
  --bg-card: #1a1d27;
  --bg-card-hover: #1e2130;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f0;
  --text-muted: #8b8fa8;
  --primary: #6366f1;
  --primary-hover: #4f52d8;
  --green: #22c55e;
  --radius: 12px;
}

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

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

/* ---- Layout ---- */
.container { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 860px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.nav-brand img { width: 28px; height: 28px; border-radius: 6px; }

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}

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

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-card-hover); }

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
}

.hero-badge {
  display: inline-block;
  background: rgba(99,102,241,0.15);
  color: var(--primary);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

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

.hero-sub {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Stats ---- */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number { font-size: 32px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ---- Features ---- */
.features { padding: 72px 24px; }

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

.section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 48px;
}

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

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

.feature-card:hover { border-color: rgba(99,102,241,0.4); }

.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---- Pricing ---- */
.pricing { padding: 72px 24px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.price-card.featured {
  border-color: var(--primary);
  background: rgba(99,102,241,0.06);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-plan { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }
.price-amount { font-size: 36px; font-weight: 800; line-height: 1; }
.price-period { font-size: 14px; color: var(--text-muted); margin-top: 4px; margin-bottom: 20px; }

.price-features { list-style: none; margin-bottom: 24px; }
.price-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  gap: 8px;
}
.price-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

.price-card .btn { width: 100%; text-align: center; }

.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- CTA ---- */
.cta-section {
  text-align: center;
  padding: 72px 24px;
  border-top: 1px solid var(--border);
}

.cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); margin-bottom: 32px; font-size: 16px; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }

/* ---- Privacy page ---- */
.prose {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px 80px;
}

.prose h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.prose .meta { color: var(--text-muted); font-size: 14px; margin-bottom: 48px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; }
.prose h3 { font-size: 16px; font-weight: 700; margin: 28px 0 8px; }
.prose p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.prose ul { color: var(--text-muted); padding-left: 20px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; line-height: 1.7; }
.prose strong { color: var(--text); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.prose th { text-align: left; padding: 10px 12px; background: var(--bg-card); color: var(--text); font-weight: 600; border: 1px solid var(--border); }
.prose td { padding: 10px 12px; color: var(--text-muted); border: 1px solid var(--border); vertical-align: top; }

@media (max-width: 600px) {
  .stats { gap: 32px; }
  .hero { padding: 60px 24px 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
