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

:root {
  --bg: #07050f;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --text: #f3f4f6;
  --muted: rgba(243, 244, 246, 0.72);
}

html, body {
  min-height: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(236, 72, 153, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 30% at 90% 70%, rgba(34, 211, 238, 0.1), transparent 50%),
    var(--bg);
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 60% 70%, #fff, transparent),
    radial-gradient(1px 1px at 80% 20%, #fff, transparent),
    radial-gradient(1px 1px at 40% 90%, #fff, transparent),
    radial-gradient(1px 1px at 90% 50%, #fff, transparent);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 18px 40px;
  text-align: center;
}

/* ── Download first ── */
.download-first {
  margin-bottom: 24px;
}

.download-first .label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.store-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge.play {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 8px 28px rgba(102, 126, 234, 0.35);
}

.store-badge.ios {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── Hero image ── */
.hero-img-wrap.hero-first {
  margin: 0 -8px 20px;
}

.hero-img-wrap {
  margin: 8px -8px 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.25);
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Brand + headline ── */
.logo-sm {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 10px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.logo-sm img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

h1 {
  font-size: clamp(1.45rem, 5vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 30%, var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Feature chips ── */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 28px;
  text-align: right;
}

.chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.2);
  backdrop-filter: blur(6px);
}

.chip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.chip-icon.purple { background: rgba(124, 58, 237, 0.25); }
.chip-icon.pink { background: rgba(236, 72, 153, 0.2); }
.chip-icon.cyan { background: rgba(34, 211, 238, 0.15); }

.chip-text h2 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.chip-text p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Mini FAQ ── */
.mini-faq {
  text-align: right;
  margin-top: 8px;
}

.mini-faq h2 {
  font-size: 0.85rem;
  color: var(--purple-light);
  margin-bottom: 10px;
  text-align: center;
}

.mini-faq details {
  margin-bottom: 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 14px;
}

.mini-faq summary {
  cursor: pointer;
  padding: 12px 0;
  font-size: 0.85rem;
  font-weight: 600;
  list-style: none;
}

.mini-faq summary::-webkit-details-marker { display: none; }

.mini-faq details p {
  font-size: 0.8rem;
  color: var(--muted);
  padding-bottom: 12px;
  line-height: 1.55;
}

.footer-links {
  margin-top: 28px;
  font-size: 0.78rem;
  opacity: 0.55;
}

.footer-links a {
  color: var(--purple-light);
  text-decoration: none;
  margin: 0 6px;
}

.redirect-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.hub-link {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.2);
  color: var(--purple-light);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.15s;
}

.hub-link:hover {
  background: rgba(124, 58, 237, 0.15);
}

@media (min-width: 480px) {
  .store-row {
    flex-direction: row;
  }
  .store-badge {
    flex: 1;
  }
}
