/* ── Design tokens (from reference: deep purple / black-purple,
      neon pink gradient, soft neon glow, rounded cards) ── */
:root {
  --bg: #0c0616;
  --bg-2: #160a2a;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.68);
  --pink: #ff2e88;
  --violet: #8b5cf6;
  --grad: linear-gradient(92deg, #ff2e88 0%, #c44dff 55%, #7c5cff 100%);
  --glow: 0 8px 32px rgba(255, 46, 136, 0.35);
  --radius: 20px;
  --maxw: 480px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  background:
    radial-gradient(120% 60% at 50% -10%, #2a1150 0%, transparent 60%),
    radial-gradient(90% 50% at 90% 30%, rgba(255, 46, 136, 0.12) 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }

main, .header, .footer { max-width: var(--maxw); margin: 0 auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: rgba(12, 6, 22, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; letter-spacing: 0.2px; }
.header__logo {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad); font-size: 12px; box-shadow: var(--glow);
}
.header__cta {
  background: var(--grad); padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14px; box-shadow: var(--glow);
}

/* ── Hero: static showcase image, headline + CTA floating over it ── */
.hero { position: relative; padding: 16px 16px 8px; text-align: center; }
.hero__showcase {
  position: relative; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 50px rgba(196, 77, 255, 0.25);
}
.hero__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__scrim { position: absolute; left: 0; right: 0; pointer-events: none; }
.hero__scrim--top {
  top: 0; height: 46%;
  background: linear-gradient(180deg, rgba(8, 3, 18, 0.78) 0%, rgba(8, 3, 18, 0) 100%);
}
.hero__scrim--bottom {
  bottom: 0; height: 40%;
  background: linear-gradient(0deg, rgba(8, 3, 18, 0.82) 0%, rgba(8, 3, 18, 0) 100%);
}
.hero__title {
  position: absolute; top: 20px; left: 16px; right: 16px; z-index: 2;
  font-size: 40px; line-height: 1.08; font-weight: 800; letter-spacing: -0.8px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hero__tag {
  position: absolute; right: 12px; bottom: 86px; z-index: 2;
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  padding: 5px 9px; border-radius: 7px; background: var(--grad);
}
.hero__cta {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2;
  display: flex; justify-content: center;
}
.hero__note { margin-top: 14px; font-size: 12.5px; color: var(--text-dim); letter-spacing: 0.2px; }

/* ── Google Play button ── */
.gp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px; padding: 9px 18px 9px 14px; box-shadow: var(--glow);
}
.gp-btn--large { padding: 12px 24px 12px 18px; border-radius: 14px; }
.gp-btn__icon { width: 26px; height: 26px; flex: none; }
.gp-btn--large .gp-btn__icon { width: 30px; height: 30px; }
.gp-btn__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.gp-btn__text small { font-size: 10px; letter-spacing: 0.6px; opacity: 0.85; }
.gp-btn__text strong { font-size: 19px; font-weight: 600; }
.gp-btn--large .gp-btn__text strong { font-size: 22px; }

/* ── Sections ── */
.section { padding: 42px 0 6px; }
.section__title { font-size: 27px; font-weight: 900; padding: 0 20px; letter-spacing: -0.4px; line-height: 1.2; }
.section__sub { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; padding: 7px 20px 0; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); transition: all 0.25s; }
.dot--on { width: 18px; border-radius: 999px; background: var(--pink); }

/* ── Comparison ── */
.compare-rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 18px 20px 4px; scrollbar-width: none;
}
.compare-rail::-webkit-scrollbar { display: none; }
.compare-card {
  flex: 0 0 calc(100% - 40px); scroll-snap-align: center;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 24px; padding: 12px; backdrop-filter: blur(6px);
}
.compare-card__media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 13; background: #000; }
.compare-card__media img, .compare-card__media video { width: 100%; height: 100%; object-fit: cover; }
.compare-card__play, .video-card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255, 46, 136, 0.9); color: #fff;
  display: grid; place-items: center; box-shadow: var(--glow);
}
.compare-card__play svg, .video-card__play svg { width: 26px; height: 26px; margin-left: 3px; }
.compare-card__style {
  position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700;
  background: rgba(0, 0, 0, 0.55); padding: 5px 10px; border-radius: 999px;
}
.compare-card__foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px 2px; }
.compare-card__foot h3 { font-size: 17px; font-weight: 800; }
.toggle { display: flex; background: rgba(255, 255, 255, 0.08); border-radius: 999px; padding: 3px; }
.toggle__btn { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--text-dim); }
.toggle__btn--on { background: var(--grad); color: #fff; box-shadow: var(--glow); }

/* ── Creations rail ── */
.creation-rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 18px 20px 6px; scrollbar-width: none;
}
.creation-rail::-webkit-scrollbar { display: none; }
.creation-card { flex: 0 0 200px; scroll-snap-align: start; cursor: pointer; }
.creation-card__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 13; background: #000; border: 1px solid var(--card-border); }
.creation-card__media video { width: 100%; height: 100%; object-fit: cover; }
.creation-card__thumb {
  position: absolute; left: 8px; bottom: 8px; width: 52px; aspect-ratio: 9 / 13;
  object-fit: cover; border-radius: 10px; border: 2px solid rgba(255, 255, 255, 0.85);
}
.creation-card h3 { font-size: 15px; font-weight: 800; margin-top: 10px; }
.creation-card p { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 20px 6px; }
.video-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 9 / 13; background: #000; border: 1px solid var(--card-border);
  cursor: pointer;
}
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card .video-card__play { width: 52px; height: 52px; }
.video-card__label {
  position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 700;
  background: rgba(0, 0, 0, 0.55); padding: 4px 9px; border-radius: 999px;
}

/* ── Steps & features ── */
.steps { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 6px; }
.step {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 16px;
}
.step__num {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 14px;
  background: var(--grad); display: grid; place-items: center;
  font-size: 19px; font-weight: 900; box-shadow: var(--glow);
}
.step h3 { font-size: 16px; font-weight: 800; }
.step p { color: var(--text-dim); font-size: 14px; line-height: 1.5; margin-top: 3px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 20px 6px; }
.feature {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 16px 14px;
}
.feature__icon { font-size: 22px; }
.feature h3 { font-size: 15px; font-weight: 800; margin: 8px 0 4px; }
.feature p { color: var(--text-dim); font-size: 13px; line-height: 1.45; }

/* ── Testimonials & FAQ (final screen) ── */
.review-list { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 6px; }
.review {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 15px 16px;
}
.review__head { display: flex; align-items: center; gap: 9px; }
.review__avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--grad); display: grid; place-items: center;
  font-weight: 900; font-size: 14px;
}
.review__name { font-weight: 800; font-size: 14.5px; }
.review__stars { margin-left: auto; color: #ffb63d; font-size: 13px; letter-spacing: 1px; }
.review p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin-top: 9px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 6px; }
.faq {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 4px 16px;
}
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 15px; padding: 12px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--pink); font-size: 20px; font-weight: 900; flex: none; }
.faq[open ] summary::after { content: '−'; }
.faq p { color: var(--text-dim); font-size: 14px; line-height: 1.65; padding: 0 0 14px; }

/* ── Footer ── */
.footer { text-align: center; padding: 36px 24px 110px; border-top: 1px solid rgba(255, 255, 255, 0.06); margin-top: 30px; }
.footer__brand { font-weight: 900; font-size: 17px; }
.footer__links { display: flex; gap: 22px; justify-content: center; margin: 14px 0; flex-wrap: wrap; }
.footer__links button { font-size: 14px; color: var(--text-dim); padding: 4px 2px; }
.footer__fine { font-size: 11px; line-height: 1.6; color: rgba(255, 255, 255, 0.4); margin-top: 8px; }

/* ── Fixed bottom download bar (the page's only download entry) ── */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; justify-content: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 6, 22, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sticky-bar .gp-btn { width: 100%; max-width: 448px; justify-content: center; }


.feature h3, .step h3, .compare-card__foot h3, .creation-card h3 { letter-spacing: -0.2px; }
.feature p, .step p { line-height: 1.55; }

@media (min-width: 431px) {
  .hero__title { font-size: 44px; }
}

/* ── Adaptive media: ANY uploaded size/ratio fills its slot ──
   Slots keep a fixed frame; media is centre-cropped (favouring the
   upper third where faces are) and never stretched or distorted. */
.hero__img { object-position: center 25%; }
.compare-card__media img, .compare-card__media video,
.creation-card__media video, .video-card video { object-position: center 30%; }
.creation-card__thumb { object-position: center 25%; }
.hero__img, .compare-card__media img, .compare-card__media video,
.creation-card__media video, .video-card video {
  width: 100%; height: 100%; object-fit: cover;
}
.header__logo-img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.compare-card__foot h3 { visibility: hidden; }

