/* Standalone marketing landing page (public/landing) — plain static
   HTML, not part of the React app/build, same pattern as
   public/download/download.css. Relies on public/legal/legal.css for
   the shared :root color tokens, base html/body reset, and header.top/
   .brand styles every public/ page already uses; this file only adds
   what's unique here (hero, single store CTA, feature strip,
   screenshot gallery). Deliberately simpler/single-language and a
   single Google Play CTA — this is a focused, single-purpose landing
   page, not a replacement for the fuller bilingual /download page. */

.lp-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 24px 0 64px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero h1 .gold { color: var(--gold); }

.hero .lead {
  margin-bottom: 28px;
}

.hero .feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero .feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}

.hero .feature-bullets svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* Two store CTAs, side by side (wraps to stacked on narrow screens) —
   same .store-btn/.store-btn.primary split download.css already uses:
   Google Play stays the gold-gradient "this is the main one" treatment
   (matching the app's own PrimaryButton/THEME.goldGradient), App Store
   gets the neutral glass style since it's the secondary option. */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.store-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.store-btn svg { color: var(--ink); flex-shrink: 0; }
.store-btn .store-btn-text { display: flex; flex-direction: column; line-height: 1.25; }
.store-btn .store-btn-small { font-size: 11px; font-weight: 700; color: var(--muted-soft); text-transform: uppercase; letter-spacing: 0.03em; }
.store-btn .store-btn-big { font-size: 19px; font-weight: 900; color: var(--ink); }

.store-btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #F3B62B 0%, #E8912D 100%);
  box-shadow: 0 10px 30px rgba(232, 145, 45, 0.35);
}
.store-btn.primary:hover { box-shadow: 0 14px 36px rgba(232, 145, 45, 0.45); }
.store-btn.primary svg { color: #1A1204; }
.store-btn.primary .store-btn-small { color: rgba(26, 18, 4, 0.65); }
.store-btn.primary .store-btn-big { color: #1A1204; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-soft);
}

.cta-band {
  text-align: center;
  padding: 56px 0;
}
.cta-band p { max-width: 46ch; margin: 0 auto 24px; }
.cta-band .store-buttons { justify-content: center; }

/* ---------- Phone mockup (hero + gallery) ---------- */

.phone-frame,
.shot-frame {
  padding: 14px;
  border-radius: 40px;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.7), rgba(15, 20, 30, 0.85));
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.phone-frame img,
.shot-frame img {
  display: block;
  width: 100%;
  border-radius: 28px;
}

.phone-frame {
  justify-self: center;
  width: 280px;
}

/* ---------- Feature highlights ---------- */

.section-heading {
  text-align: center;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
  color: var(--ink);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: 56px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.feature-card .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(240, 180, 41, 0.15);
  color: var(--gold);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.feature-card p { font-size: 14.5px; margin: 0; }

/* ---------- Screenshot gallery ---------- */

.gallery-section {
  padding: 24px 0 56px;
  text-align: center;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 32px;
}

.shot-frame {
  width: 190px;
  padding: 10px;
  border-radius: 28px;
  flex-shrink: 0;
}

.shot-frame img { border-radius: 18px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 48px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .feature-bullets { align-items: center; }
  .store-buttons { justify-content: center; }
  .trust-row { justify-content: center; }
  .phone-frame { margin-top: 8px; }
  .feature-strip { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .lp-wrap { padding: 24px 18px 64px; }
  .hero h1 { font-size: 32px; }
  .section-heading { font-size: 22px; }
  .shot-frame { width: 145px; }
}

/* Sticky mobile CTA — a persistent reminder once the hero's own CTA has
   scrolled out of view, which on a single-column mobile layout happens
   fast. Reuses .store-btn.primary as-is so it doesn't introduce a new
   visual language; hidden entirely above the breakpoint since the hero
   CTA is already in easy reach on wider viewports. Placed AFTER the
   560px block above so its own padding-bottom override always wins
   over that block's `padding` shorthand, regardless of viewport width
   within this range — otherwise the sticky bar would overlap the
   footer content on the narrowest screens. */
@media (max-width: 640px) {
  .lp-wrap { padding-bottom: 96px; }
  .sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 14, 22, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
  }
  .sticky-cta .store-btn { width: 100%; max-width: 360px; justify-content: center; }
}
@media (min-width: 641px) {
  .sticky-cta { display: none; }
}
