:root {
  --bg: #0b0a17;
  --bg-2: #12101f;
  --card: #161427;
  --line: #2a2742;
  --text: #f4f3fa;
  --muted: #a9a6c2;
  --accent: #2fd8ff;
  --gold: #ffd23f;
  --pink: #ff4f8b;
  --radius: 18px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 10, 23, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 17px;
}
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }

.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Hero */

.hero {
  position: relative;
  padding: 64px 0 24px;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(47, 216, 255, 0.16), transparent 70%),
    radial-gradient(50% 60% at 10% 0%, rgba(255, 79, 139, 0.14), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 34em; }

.get { display: flex; align-items: center; gap: 24px; margin-top: 30px; }

.badge { display: inline-block; transition: transform 0.15s; }
.badge:hover { transform: translateY(-2px); }
.badge img { display: block; height: 54px; width: auto; }

.qr { margin: 0; display: flex; align-items: center; gap: 12px; }
.qr img { width: 76px; height: 76px; padding: 5px; background: #fff; border-radius: 10px; }
.qr figcaption { font-size: 13px; color: var(--muted); max-width: 9em; line-height: 1.35; }

.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

.hero-shot img {
  display: block;
  width: 100%;
  border-radius: 22px;
  border: 6px solid #1d1b2e;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 48px;
}

.stats li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
  font-weight: 600;
}

/* Sections */

.section { padding: 56px 0; }
.section-lead { margin-top: 10px; color: var(--muted); }

.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.mode, .feature, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.mode h3 { color: var(--gold); }
.mode p, .feature p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }

.gallery {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding: 0 max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery img {
  flex: 0 0 auto;
  width: min(84vw, 560px);
  border-radius: 16px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  background: var(--card);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.feature h3 { color: var(--accent); }

.cta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(47, 216, 255, 0.12), rgba(255, 79, 139, 0.12)), var(--card);
}

.cta > img { border-radius: 20px; flex: 0 0 auto; }
.cta > div { flex: 1; }
.cta p { margin-top: 6px; color: var(--muted); }
.cta .get { margin-top: 0; }

/* Text pages */

.page { padding: 48px 0 64px; }
.page h1 { font-size: clamp(34px, 6vw, 48px); font-weight: 900; }
.page h1 .sub { display: block; margin-top: 6px; font-size: 0.5em; font-weight: 600; color: var(--muted); }
.page h2 { font-size: 24px; margin: 40px 0 14px; }
.page .card h2 { margin-top: 0; }
.page h3 { margin: 20px 0 4px; font-size: 17px; }
.page .card p, .page li { color: var(--muted); }
.page .card { margin: 16px 0; }
.page strong { color: var(--text); }
.center { text-align: center; }

.updated { margin-top: 10px; font-size: 14px; color: var(--muted); }

.lang {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.contact { margin-top: 32px; }
.contact p { margin-bottom: 18px; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--accent);
  color: #06121a;
  font-weight: 700;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
.button.ghost { background: none; color: var(--text); border: 1px solid var(--line); }

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-weight: 650;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--muted);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* Footer */

.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; background: var(--bg-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.footer nav a { color: var(--muted); }
.footer p { width: 100%; font-size: 13px; color: var(--muted); }

/* Tablets */

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .get { justify-content: center; }
  .modes, .features { grid-template-columns: 1fr 1fr; }
}

/* Phones: the badge opens the App Store directly, so the QR code is only for computers. */

@media (max-width: 640px), (pointer: coarse) {
  .qr { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .nav-links a[href$="#modes"] { display: none; }
  .lead { font-size: 17px; }
  .stats { margin-top: 32px; }
  .stats li { font-size: 14px; padding: 6px 12px; }
  .section { padding: 40px 0; }
  .modes, .features { grid-template-columns: 1fr; }
  .mode, .feature, .card { padding: 18px; }
  .gallery { padding: 0 16px 12px; scroll-padding: 0 16px; }
  .cta { flex-direction: column; text-align: center; padding: 28px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
