:root {
  --bg: #0A0A0A;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --border: #222;
  --text: #f0f0f0;
  --text-muted: #888;
  --accent: #a855f7;
  --accent-glow: rgba(168, 85, 247, 0.3);
  --accent-2: #ec4899;
  --accent-gradient: linear-gradient(135deg, #a855f7, #ec4899);
  --radius: 16px;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 700; color: var(--text);
}
.navbar-brand svg { width: 32px; height: 32px; }
.navbar-right { display: flex; align-items: center; gap: 16px; }

.lang-switcher {
  display: flex; gap: 4px; background: var(--bg-card); border-radius: 8px;
  padding: 3px; border: 1px solid var(--border);
}
.lang-btn {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  padding: 4px 10px; border-radius: 6px; font-size: .8rem; font-weight: 600;
  transition: all .2s;
}
.lang-btn.active { background: var(--accent); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--text); }

.btn-download {
  background: var(--accent-gradient); color: #fff; border: none;
  padding: 8px 20px; border-radius: 8px; font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn-download:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }

/* ── Hero ── */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}
.hero h1 .gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  position: relative;
}

.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

.badge-apple {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000;
  padding: 12px 24px; border-radius: 12px;
  font-weight: 600; font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
}
.badge-apple:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.1); opacity: 1; color: #000; }
.badge-apple svg { width: 24px; height: 24px; }

.badge-android {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-card); color: var(--text-muted);
  padding: 12px 24px; border-radius: 12px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid var(--border);
  cursor: default;
}
.badge-android svg { width: 24px; height: 24px; opacity: .5; }
.badge-coming-soon {
  font-size: .65rem; text-transform: uppercase; letter-spacing: .08em;
  background: var(--border); padding: 2px 8px; border-radius: 4px;
  margin-left: 4px;
}

/* ── How it Works ── */
.how-it-works { padding: 80px 0; }
.section-title {
  text-align: center; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700;
  margin-bottom: 56px;
}
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.step {
  text-align: center; padding: 40px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: var(--accent-gradient); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ── Pricing ── */
.pricing { padding: 80px 0; }
.pricing-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  text-align: center; position: relative;
  transition: border-color .3s, transform .3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent-gradient); color: #fff;
  padding: 4px 16px; border-radius: 20px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em;
}
.pricing-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pricing-credits {
  font-size: 3rem; font-weight: 800; line-height: 1;
  margin-bottom: 4px;
}
.pricing-credits-label { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }
.pricing-price {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 8px;
}
.pricing-price .currency { font-size: 1rem; vertical-align: super; }
.pricing-per { color: var(--text-muted); font-size: .85rem; }

/* ── FAQ ── */
.faq { padding: 80px 0; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  padding: 20px 0; font-size: 1.05rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  text-align: left;
}
.faq-question::after {
  content: '+'; font-size: 1.5rem; color: var(--text-muted);
  transition: transform .3s;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-muted); font-size: .95rem; }

/* ── Footer ── */
.footer {
  padding: 48px 0; border-top: 1px solid var(--border);
  text-align: center;
}
.footer-links {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a { color: var(--text-muted); font-size: .9rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: .8rem; }

/* ── Legal Pages ── */
.legal-page { padding: 120px 0 80px; }
.legal-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; color: var(--text); }
.legal-page p, .legal-page li {
  color: var(--text-muted); font-size: .95rem; margin-bottom: 12px;
}
.legal-page ul { padding-left: 20px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--accent); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp .6s ease forwards;
}
.fade-up:nth-child(2) { animation-delay: .1s; }
.fade-up:nth-child(3) { animation-delay: .2s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .navbar .container { padding: 0 16px; }
  .btn-download { display: none; }
  .hero { padding: 120px 0 60px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 360px; }
  .how-it-works, .pricing, .faq { padding: 60px 0; }
  .section-title { margin-bottom: 40px; }
}
