:root {
  --bg-dark: #0a0e1a;
  --bg-surface: #131829;
  --bg-elevated: #1a2035;
  --primary: #6c63ff;
  --primary-light: #8b83ff;
  --accent: #34d399;
  --text-primary: #f0f0f5;
  --text-secondary: #9ca3af;
  --text-tertiary: #6b7280;
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
}

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

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

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 16px 24px;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
}
nav .logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-primary);
  font-weight: 700; font-size: 18px;
}
nav .logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
nav .nav-links { display: flex; gap: 24px; }
nav .nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
nav .nav-links a:hover { color: var(--text-primary); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-icon {
  font-size: 72px; margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.hero .subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 560px; margin-bottom: 40px;
}
.hero .cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; text-decoration: none;
  border-radius: 50px; font-weight: 600; font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(108,99,255,0.3);
}
.hero .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108,99,255,0.4);
}

/* FEATURES */
.features {
  padding: 80px 24px;
  max-width: 960px; margin: 0 auto;
}
.features h2 {
  text-align: center; font-size: 32px; font-weight: 700;
  margin-bottom: 48px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108,99,255,0.3);
}
.feature-card .icon {
  font-size: 32px; margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 17px; font-weight: 600; margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}

/* LEGAL PAGES */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal-page h1 {
  font-size: 32px; font-weight: 700;
  margin-bottom: 8px;
}
.legal-page .last-updated {
  color: var(--text-tertiary);
  font-size: 14px; margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 20px; font-weight: 600;
  margin-top: 40px; margin-bottom: 12px;
  color: var(--primary-light);
}
.legal-page p, .legal-page li {
  color: var(--text-secondary);
  font-size: 15px; line-height: 1.8;
  margin-bottom: 12px;
}
.legal-page ul {
  padding-left: 24px; margin-bottom: 16px;
}
.legal-page a {
  color: var(--primary-light);
  text-decoration: none;
}
.legal-page a:hover { text-decoration: underline; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}
footer .links {
  display: flex; gap: 24px;
  justify-content: center; margin-bottom: 16px;
}
footer .links a {
  color: var(--text-secondary);
  text-decoration: none; font-size: 14px;
}
footer .links a:hover { color: var(--text-primary); }
footer .copy {
  color: var(--text-tertiary); font-size: 13px;
}

/* SUPPORT */
.support-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.support-page h1 {
  font-size: 32px; font-weight: 700;
  margin-bottom: 8px;
}
.support-page .intro {
  color: var(--text-secondary);
  font-size: 16px; margin-bottom: 40px;
}
.support-page h2 {
  font-size: 20px; font-weight: 600;
  margin-top: 36px; margin-bottom: 12px;
  color: var(--primary-light);
}
.support-page p {
  color: var(--text-secondary);
  font-size: 15px; line-height: 1.8;
  margin-bottom: 12px;
}
.support-page .contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
}
.support-page .contact-card a {
  color: var(--primary-light);
  text-decoration: none;
}

@media (max-width: 640px) {
  nav .nav-links { gap: 16px; }
  nav .nav-links a { font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; }
}
