:root {
  --bg: #161227;
  --bg-deep: #0f0c1b;
  --card: rgba(30, 26, 51, 0.9);
  --card-solid: #1e1a33;
  --card-soft: #241f3d;
  --accent: #b4a0e8;
  --accent-strong: #d0c1ff;
  --accent-ink: #1f1738;
  --accent-soft: rgba(180, 160, 232, 0.12);
  --text: #ebe6f5;
  --muted: #9b94b4;
  --border: rgba(180, 160, 232, 0.18);
  --pink: #fdb3fd;
  --pink-soft: rgba(253, 179, 253, 0.16);
  --glow: rgba(126, 99, 206, 0.48);
  --shadow: 0 32px 80px rgba(7, 6, 18, 0.48);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shell: 1080px;
  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(154, 126, 240, 0.2), transparent 26%),
    radial-gradient(circle at 82% 10%, rgba(240, 160, 204, 0.12), transparent 24%),
    linear-gradient(180deg, #19142c 0%, #141022 42%, #100d1b 100%);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.page-glow, .page-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
}
.page-glow--left { background: radial-gradient(circle at 18% 22%, rgba(180, 160, 232, 0.16), transparent 34%); }
.page-glow--right { background: radial-gradient(circle at 82% 14%, rgba(240, 160, 204, 0.1), transparent 28%); }
.page-noise {
  opacity: 0.08;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="1"/></filter><rect width="140" height="140" filter="url(%23n)" opacity="0.55"/></svg>');
}

/* Shell */
.shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(15, 12, 27, 0.54);
  border-bottom: 1px solid rgba(180, 160, 232, 0.08);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { width: 132px; height: auto; }
.site-nav, .nav-actions { display: flex; align-items: center; gap: 14px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover { color: var(--accent-strong); }

/* Play Store badge */
.play-badge { display: inline-block; text-decoration: none; transition: transform 0.18s ease, opacity 0.18s ease; }
.play-badge:hover { transform: translateY(-1px); opacity: 0.9; }
.play-badge img { height: 44px; width: auto; }

/* Typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-strong); font-size: 12px; text-transform: uppercase;
  letter-spacing: 2px; font-weight: 800;
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208, 193, 255, 0.7));
}

h1, h2, h3, .step-card h3 { font-family: var(--font-head); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}

/* Quote carousel */
.quote-carousel {
  position: relative;
  min-height: 220px;
  margin-bottom: 24px;
}

.quote-pair {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.quote-pair.active {
  opacity: 1;
  pointer-events: auto;
}

.quote {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--pink);
  margin-bottom: 8px;
}

.quote--left {
  text-align: left;
}

.quote--right {
  text-align: right;
}

.hero__lede {
  max-width: 52ch;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 16px;
  line-height: 1.7;
}

.hero__trend {
  max-width: 52ch;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 28px;
  line-height: 1.7;
}

.hero__actions { margin-bottom: 24px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; }

.trust-chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(180, 160, 232, 0.14);
  background: rgba(180, 160, 232, 0.08); color: var(--accent-strong);
  font-weight: 700; font-size: 13px;
}

.hero__screenshot {
  display: flex; justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.hero__img {
  width: 320px;
  border-radius: 36px;
  box-shadow: 0 40px 100px rgba(7, 6, 18, 0.6), 0 0 60px rgba(126, 99, 206, 0.15);
}

/* Sections */
.section { padding: 72px 0 88px; scroll-margin-top: 80px; }
.section--alt {
  background: linear-gradient(180deg, rgba(20, 16, 35, 0.72) 0%, rgba(14, 11, 24, 0.72) 100%);
  border-top: 1px solid rgba(180, 160, 232, 0.06);
  border-bottom: 1px solid rgba(180, 160, 232, 0.06);
}

.section-heading { margin-bottom: 48px; }
.section-heading--center { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section-heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05; letter-spacing: -0.04em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }

/* Gallery */
.gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }

.gallery__item {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
}

.gallery__img {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(180, 160, 232, 0.12);
  box-shadow: 0 20px 60px rgba(7, 6, 18, 0.5), 0 0 30px rgba(126, 99, 206, 0.08);
  margin-bottom: 16px;
}

.gallery__img img {
  width: 100%;
  display: block;
}

.gallery__item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.gallery__item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Fade edges on gallery */
.gallery {
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(34, 29, 55, 0.96) 0%, rgba(23, 19, 39, 0.96) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.step-card__index {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(240, 160, 204, 0.2) 0%, rgba(180, 160, 232, 0.15) 100%);
  color: var(--pink); font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
}

.step-card h3 { margin: 20px 0 10px; font-size: 24px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Privacy */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.privacy-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(34, 29, 55, 0.96) 0%, rgba(23, 19, 39, 0.96) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.privacy-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(180, 160, 232, 0.1);
  margin-bottom: 20px;
}

.privacy-card__icon svg { width: 22px; height: 22px; color: var(--accent-strong); }
.privacy-card h3 { margin: 0 0 8px; font-size: 22px; }
.privacy-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(34, 29, 55, 0.96) 0%, rgba(23, 19, 39, 0.96) 100%);
  border: 1px solid var(--border);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 12px 0 0; color: var(--muted); }

/* CTA */
.cta-section { padding-bottom: 96px; }
.cta-block {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 50%, rgba(180, 160, 232, 0.12), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(240, 160, 204, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(34, 29, 55, 0.96) 0%, rgba(23, 19, 39, 0.96) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta-block h2 {
  margin: 0 0 28px;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer { padding: 0 0 54px; }
.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(180, 160, 232, 0.1);
}
.site-footer__logo { width: 120px; }
.site-footer__copy { margin: 0 0 0 8px; color: var(--muted); }

/* Reveal animation */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 40px 0 48px;
  }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__trend { margin-left: auto; margin-right: auto; }
  .hero__trust { justify-content: center; }
  .hero__img { width: 260px; }
  .quote--left, .quote--right { text-align: center; }
  .steps-grid, .privacy-grid { grid-template-columns: 1fr; }
  .brand__tagline { display: none; }
}

@media (max-width: 640px) {
  .shell { width: min(var(--shell), calc(100% - 26px)); }
  .site-header { position: static; }
  .site-nav { display: none; }
  .nav-shell { flex-wrap: wrap; }
  .nav-shell { flex-wrap: nowrap; }
  .nav-actions { margin-left: auto; }
  .play-badge img { height: 36px; }
  .quote-carousel { margin-bottom: 8px; min-height: 160px; }
  .quote { font-size: clamp(22px, 7vw, 36px); }
  .hero__lede { font-size: 16px; }
  .hero__trend { font-size: 16px; }
  .section-heading h2 { font-size: clamp(26px, 7vw, 38px); }
  .step-card, .privacy-card { padding: 22px; }
  .gallery__item { width: 200px; }
}
