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

:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-card: #0f3460;
  --bg-card-hover: #1a4a7a;
  --accent: #e94560;
  --accent-light: #ff6b81;
  --text-primary: #eee;
  --text-secondary: #aab;
  --text-muted: #778;
  --green: #2ecc71;
  --yellow: #f1c40f;
  --red: #e74c3c;
  --orange: #e67e22;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .35);
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color .2s;
}
a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(26, 26, 46, .85);
  border-bottom: 1px solid rgba(233, 69, 96, .15);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

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

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}

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

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--accent), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-mascot {
  flex: 0 0 280px;
}

.hero-mascot img {
  width: 280px;
  height: 280px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(233, 69, 96, .2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, .35);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent-light);
}

.btn-outline:hover {
  background: rgba(233, 69, 96, .1);
  color: var(--accent-light);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Section Shared ──────────────────────────────────────── */
section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ── Features Grid ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s, border-color .2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, .3);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: .95rem;
}

/* ── Stats Bar ───────────────────────────────────────────── */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 24px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-top: 4px;
}

/* ── How It Works ────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
  font-size: .9rem;
}

/* ── Topics ──────────────────────────────────────────────── */
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.topic-tag {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: border-color .2s, color .2s;
}

.topic-tag:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta {
  text-align: center;
  padding: 80px 24px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 28px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: .85rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

/* ── Privacy-specific ────────────────────────────────────── */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.privacy-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.privacy-content .last-updated {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: .9rem;
}

.privacy-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--accent-light);
}

.privacy-content p,
.privacy-content ul {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

.privacy-content ul {
  padding-left: 24px;
}

.privacy-content li {
  margin-bottom: 8px;
}

.privacy-content .highlight-box {
  background: var(--bg-secondary);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}

.privacy-content .highlight-box p {
  color: var(--text-primary);
  margin-bottom: 0;
  font-weight: 500;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 48px;
    gap: 32px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-mascot {
    flex: 0 0 auto;
  }

  .hero-mascot img {
    width: 180px;
    height: 180px;
  }

  .stats {
    gap: 32px;
  }

  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}
