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

:root {
  --bg:        #09090F;
  --bg-card:   #12121C;
  --bg-surf:   #1A1A28;
  --purple:    #8B5CF6;
  --purple-lt: #A78BFA;
  --pink:      #EC4899;
  --gold:      #F59E0B;
  --text:      #F1F5F9;
  --text-sub:  #94A3B8;
  --text-dim:  #475569;
  --border:    rgba(255,255,255,0.07);
  --radius:    14px;
  --grad:      linear-gradient(135deg, #8B5CF6, #EC4899);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: var(--purple-lt); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

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

/* ── Nav ─────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,9,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 20px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  cursor: pointer;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-sub); font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(139,92,246,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(236,72,153,0.12) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  font-size: 13px; font-weight: 500; color: var(--purple-lt);
  margin-bottom: 28px;
}
.hero-badge span { width: 6px; height: 6px; background: var(--purple); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900; line-height: 1.1; letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p {
  font-size: 18px; color: var(--text-sub); line-height: 1.7;
  margin-bottom: 40px; max-width: 480px;
}
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .2s; border: none; text-decoration: none !important;
}
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 8px 30px rgba(139,92,246,0.4); }
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-surf); }

/* ── Stats ───────────────────────────────────────────────────────────── */
.stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 60px 0;
}
.stat-item { text-align: center; }
.stat-value { font-size: 36px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 13px; color: var(--text-sub); margin-top: 4px; }

/* ── Features ────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--purple); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--text-sub); max-width: 540px; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-3px); }
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feat-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feat-desc { font-size: 14px; color: var(--text-sub); line-height: 1.6; }

/* ── CTA ─────────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(236,72,153,0.08));
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 24px; padding: 64px 40px;
  text-align: center; margin: 40px 0 80px;
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: var(--text-sub); margin-bottom: 32px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-weight: 800; font-size: 18px; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-sub); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ── Content Pages (Privacy, Terms, About) ────────────────────────────── */
.content-page { max-width: 760px; margin: 60px auto; padding: 0 24px 80px; }
.content-page h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.content-page .meta { color: var(--text-sub); font-size: 13px; margin-bottom: 40px; }
.content-page h2 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; color: var(--purple-lt); }
.content-page h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.content-page p { color: var(--text-sub); margin-bottom: 14px; line-height: 1.8; }
.content-page ul { color: var(--text-sub); padding-left: 24px; margin-bottom: 14px; }
.content-page ul li { margin-bottom: 6px; line-height: 1.7; }
.content-page a { color: var(--purple-lt); }
.content-divider { height: 1px; background: var(--border); margin: 16px 0; }

/* ── 404 ─────────────────────────────────────────────────────────────── */
.not-found {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 60vh; text-align: center;
  gap: 16px;
}
.not-found h1 { font-size: 80px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.not-found p { color: var(--text-sub); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { min-height: 70vh; }
  .stats { gap: 24px; }
  .cta-section { padding: 40px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
