:root {
  --bg: #0D0D1E;
  --bg2: #15102E;
  --surface: #181830;
  --surface-high: #22224A;
  --border: #2E2E60;
  --primary: #FF3D6B;
  --secondary: #6C5CE7;
  --accent: #FFB800;
  --success: #00D9A3;
  --text: #FFFFFF;
  --text-secondary: #9090B8;
  --text-tertiary: #606088;
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 960px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Glow background */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.glow::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(108, 92, 231, 0.25) 0%, transparent 70%);
}
.glow::after {
  content: "";
  position: absolute;
  top: 200px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 61, 107, 0.15) 0%, transparent 70%);
}

/* Header */
header {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  border-bottom: 1px solid rgba(46, 46, 96, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav.header-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
nav.header-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}
nav.header-nav a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
  text-align: center;
}
.hero-emoji { font-size: 64px; margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.badge {
  display: inline-block;
  background: rgba(108, 92, 231, 0.2);
  border: 1px solid rgba(108, 92, 231, 0.4);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 48px 0;
}
.stat { text-align: center; }
.stat-num {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-top: 4px;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 61, 107, 0.4);
}
.feature-icon { font-size: 32px; margin-bottom: 12px; }
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Categories */
.categories {
  position: relative;
  z-index: 1;
  padding: 40px 0 60px;
}
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill {
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* CTA */
.cta {
  position: relative;
  z-index: 1;
  padding: 60px 0 80px;
  text-align: center;
}
.cta-box {
  background: linear-gradient(135deg, rgba(255, 61, 107, 0.15), rgba(108, 92, 231, 0.15));
  border: 1px solid rgba(255, 61, 107, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}
.cta-box h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 16px;
}
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.9; transform: scale(1.02); color: white; }

/* Legal pages */
.legal-page {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}
.legal-page h1 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
}
.legal-page .updated {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}
.legal-page p, .legal-page li {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 15px;
}
.legal-page ul { padding-left: 20px; margin-bottom: 16px; }
.legal-page hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.legal-page th, .legal-page td {
  text-align: left;
  padding: 12px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.legal-page th {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 15px;
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
footer p {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
footer nav a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .stats { gap: 24px; }
  nav.header-nav { display: none; }
}
