:root {
  --bg:        #0e0e1c;
  --surface:   #1a1a2e;
  --border:    #2a2a4a;
  --accent:    #7c6af7;
  --accent2:   #a78bfa;
  --text:      #f0f0fa;
  --muted:     #8888aa;
  --success:   #4ade80;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ── Nav ─────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

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

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

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

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .15s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  text-decoration: none;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 96px 24px 80px;
  gap: 24px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.hero-icon img { width: 100%; height: 100%; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Store buttons ───────────────────────────────────── */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color .15s, background .15s;
  text-decoration: none;
}

.store-btn:hover {
  border-color: var(--accent);
  background: #1f1f38;
  text-decoration: none;
}

.store-btn svg { width: 22px; height: 22px; fill: var(--text); flex-shrink: 0; }

.store-btn .btn-sub { font-size: 0.72rem; font-weight: 400; color: var(--muted); display: block; }
.store-btn .btn-label { font-size: 1rem; font-weight: 700; display: block; line-height: 1.1; }

/* ── Features grid ───────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}

.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── Content pages (privacy / support) ──────────────── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.page-content .updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 48px;
}

.page-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 36px 0 10px;
  color: var(--accent2);
}

.page-content p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.page-content ul { color: var(--muted); padding-left: 20px; margin-bottom: 14px; }
.page-content li { margin-bottom: 6px; line-height: 1.7; }
.page-content a { color: var(--accent2); }
.page-content strong { color: var(--text); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  margin-top: 48px;
}

.contact-card h2 { margin-top: 0; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-item { border-top: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.faq-item p { margin-bottom: 0; }

/* ── Footer ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

footer p { font-size: 0.82rem; color: var(--muted); }
footer nav { display: flex; gap: 20px; }
footer nav a { font-size: 0.82rem; color: var(--muted); }
footer nav a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 600px) {
  nav { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}
