/* ============================================================
   Flashlight Ultra – Landing Page
   Deep black + gold accent, matching the app's theme.
   ============================================================ */
:root {
  --bg: #000000;
  --surface: #0d0d0f;
  --surface-2: #17171a;
  --line: #262629;
  --gold: #FFD700;
  --gold-dim: #8C7500;
  --text: #ffffff;
  --muted: #9a9aa2;
  --radius: 18px;
  --maxw: 1120px;
  font-synthesis: none;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Liberation Sans", "DejaVu Sans", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

/* --- NAV --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand__icon { border-radius: 8px; }
.brand__accent { color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links > a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav__links > a:hover { color: var(--text); }

.lang { display: flex; gap: 4px; }
.lang__btn {
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  padding: 4px 6px; cursor: pointer; line-height: 0; opacity: .5; transition: opacity .15s, border-color .15s;
}
.lang__btn:hover { opacity: .85; }
.lang__btn--active { opacity: 1; border-color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: transform .12s, box-shadow .15s;
}
.btn--primary { background: var(--gold); color: #000; box-shadow: 0 6px 22px rgba(255, 215, 0, .28); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 215, 0, .38); }

/* --- HERO --- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pill {
  display: inline-block; padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--gold); background: rgba(255, 215, 0, .08); border: 1px solid rgba(255, 215, 0, .25);
}
.pill--accent { color: #000; background: var(--gold); border: none; letter-spacing: 1px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -1.8px; margin: 18px 0 16px; font-weight: 800; }
.hero h1 .accent { color: var(--gold); }
.lead { font-size: 18px; color: var(--muted); max-width: 34ch; }
.hero__rating { margin-top: 16px; color: var(--muted); font-size: 14px; }

.store-row { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.store-row--center { justify-content: center; }
.store-badge img { height: 52px; display: block; }
.store-badge { transition: transform .12s; }
.store-badge:hover { transform: translateY(-2px); }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__glow {
  position: absolute; inset: 0; margin: auto; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, .28), transparent 62%); filter: blur(20px); z-index: 0;
}
.phone {
  position: relative; z-index: 1; width: 260px; aspect-ratio: 390 / 844; border-radius: 40px;
  background: #000; border: 9px solid #202024; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); overflow: hidden;
}
.phone--hero { transform: rotate(-3deg); }
.phone__shot { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* --- TRUST --- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.trust__item { color: var(--muted); font-size: 15px; font-weight: 500; }

/* --- SECTIONS --- */
.section { padding: 76px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -1px; text-align: center; }
.section__sub { text-align: center; color: var(--muted); max-width: 60ch; margin: 14px auto 0; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feature {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  transition: border-color .15s, transform .15s;
}
.feature:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.feature__icon { font-size: 30px; line-height: 1; }
.feature h3 { margin: 14px 0 8px; font-size: 18px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.step { text-align: center; padding: 8px; }
.step__num {
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #000; font-weight: 800; font-size: 20px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; justify-items: center; }
.showcase__item { text-align: center; }
.showcase figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.chip {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-size: 15px; font-weight: 600;
}

/* --- PRO --- */
.section--pro { background: linear-gradient(180deg, #0a0a0c, #000); }
.pro__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pro__list { list-style: none; margin: 22px 0 8px; display: grid; gap: 12px; }
.pro__list li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.check { color: #000; background: var(--gold); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: 0 0 auto; }

/* --- FAQ --- */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq__item {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px;
}
.faq__item summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; float: right; color: var(--gold); font-weight: 800; }
.faq__item[open] summary::after { content: "–"; }
.faq__a { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

/* --- CTA BAND --- */
.cta-band { background: radial-gradient(120% 140% at 50% 0%, rgba(255, 215, 0, .16), transparent 60%); padding: 72px 0; }
.cta-band__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band__icon { border-radius: 16px; margin-bottom: 18px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -1px; }
.cta-band p { color: var(--muted); margin: 10px 0 6px; font-size: 17px; }

/* --- FOOTER --- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 28px; background: var(--surface); }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__legal { margin-top: 26px; color: #5c5c63; font-size: 13px; }

/* --- RESPONSIVE --- */
@media (max-width: 860px) {
  .hero__inner, .pro__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .grid, .steps, .showcase { grid-template-columns: 1fr; }
  .nav__links > a { display: none; }
  .trust__inner { justify-content: flex-start; gap: 20px; }
}
