:root {
  --bg: #0a0a0f;
  --surface: #13131a;
  --border: rgba(255,255,255,0.08);
  --accent: #a78bfa;
  --accent2: #818cf8;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --radius: 16px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}
.nav-logo .emoji { font-size: 24px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* HERO */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(167,139,250,0.12);
  color: var(--accent);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f1f5f9 30%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #0a0a0f;
  border-radius: 14px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.15s;
}
.app-store-btn:hover { opacity: 0.88; text-decoration: none; }
.app-store-btn svg { width: 22px; height: 22px; }

/* FEATURES */
.features {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.features h2 {
  text-align: center;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 56px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-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(--muted); line-height: 1.6; }

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

/* PROSE (privacy, support pages) */
.prose-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.prose-page h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.prose-page .last-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
}
.prose-page h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 40px 0 12px;
}
.prose-page p, .prose-page li {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 12px;
}
.prose-page ul { padding-left: 24px; }
.prose-page a { color: var(--accent); }

/* SUPPORT */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 40px;
  text-align: center;
}
.contact-card h2 { margin-top: 0; }
.contact-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 16px;
  transition: opacity 0.15s;
}
.contact-btn:hover { opacity: 0.85; text-decoration: none; }

@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
}
