:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --surface: #ffffff;
  --border: #e3e6eb;
  --text: #16191f;
  --text-2: #4a5160;
  --text-3: #7a8191;
  --accent: #2f5bea;
  --accent-ink: #ffffff;
  --accent-soft: #e9eefe;
  --ray: #5ef2e5;
  --hero-1: #2f5bea;
  --hero-2: #172f86;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(16, 30, 80, 0.18);
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #111317;
    --bg-soft: #16191f;
    --surface: #1b1f26;
    --border: #2a2f37;
    --text: #e8eaee;
    --text-2: #b0b6c1;
    --text-3: #838a97;
    --accent: #7f9cff;
    --accent-ink: #0b1430;
    --accent-soft: #232c47;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Segoe UI Variable Text", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; height: auto; max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { margin: 0 auto; max-width: var(--max); padding: 0 24px; }

.skip { left: -999px; position: absolute; }
.skip:focus { background: var(--surface); left: 16px; padding: 8px 12px; top: 16px; z-index: 200; }

/* ---------- Header ---------- */
.site-header {
  backdrop-filter: saturate(1.4) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap { align-items: center; display: flex; gap: 24px; height: 64px; }
.brand { align-items: center; color: var(--text); display: flex; font-size: 20px; font-weight: 700; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; height: 32px; width: 32px; }
.site-nav { display: flex; flex: 1; gap: 22px; justify-content: center; }
.site-nav a { color: var(--text-2); font-size: 15px; text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.header-actions { align-items: center; display: flex; gap: 14px; }
.lang { color: var(--text-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.lang:hover { color: var(--accent); }

.btn {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: var(--accent-ink);
  display: inline-flex;
  font-weight: 600;
  gap: 8px;
  padding: 12px 22px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { box-shadow: 0 8px 22px rgba(47, 91, 234, .35); transform: translateY(-1px); }
.btn.small { font-size: 14px; padding: 8px 16px; }
.btn.light { background: #fff; color: #172f86; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn[aria-disabled="true"] { cursor: default; opacity: .85; }
.btn[aria-disabled="true"]:hover { box-shadow: none; transform: none; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 50% -10%, rgba(94, 242, 229, .25), transparent 60%), linear-gradient(160deg, var(--hero-1), var(--hero-2));
  color: #fff;
  overflow: hidden;
  padding: 88px 0 0;
  position: relative;
}
.hero .wrap { text-align: center; }
.eyebrow { align-items: center; background: rgba(255,255,255,.14); border-radius: 999px; display: inline-flex; font-size: 14px; gap: 8px; padding: 6px 14px; }
.eyebrow::before { background: var(--ray); border-radius: 50%; box-shadow: 0 0 10px var(--ray); content: ""; height: 8px; width: 8px; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 750; margin: 22px auto 18px; max-width: 900px; }
.hero h1 em { color: var(--ray); font-style: normal; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); margin: 0 auto; max-width: 680px; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-note { font-size: 14px; margin-top: 14px; opacity: .75; }
/* The store screenshot carries its own caption band; crop it (112 of 1280 px wide = 8.75%) and the side margins. */
.hero-shot { aspect-ratio: 1200 / 660; margin: 56px auto 0; max-width: 1040px; overflow: hidden; position: relative; border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -10px 60px rgba(4, 10, 40, .45); }
.hero-shot img { margin: -9.96% 0 0 -3.56%; max-width: none; width: 106.67%; }
.hero-shot::after {
  animation: hero-scan 5s ease-in-out 2.2s infinite;
  background: linear-gradient(90deg, transparent, var(--ray), transparent);
  box-shadow: 0 0 18px 4px rgba(94, 242, 229, .6);
  content: "";
  height: 3px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}
@keyframes hero-scan {
  0% { opacity: 0; top: 0; }
  8% { opacity: 1; }
  45% { opacity: 1; top: 100%; }
  50%, 100% { opacity: 0; top: 100%; }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.soft { background: var(--bg-soft); }
.section-head { margin: 0 auto 48px; max-width: 720px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { color: var(--text-2); font-size: 19px; margin-top: 14px; }

.features { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.feature .icon { align-items: center; background: var(--accent-soft); border-radius: 12px; color: var(--accent); display: flex; height: 46px; justify-content: center; margin-bottom: 18px; width: 46px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 16px; }

.more { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.more span { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; color: var(--text-2); font-size: 15px; padding: 7px 14px; }

/* Gallery */
.gallery { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery button { background: none; border: 0; cursor: zoom-in; padding: 0; width: 100%; }
.gallery img { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.gallery figcaption { color: var(--text-2); font-size: 15px; margin-top: 12px; text-align: center; }

.lightbox { background: rgba(5, 10, 30, .88); border: 0; height: 100vh; max-height: none; max-width: none; padding: 24px; width: 100vw; }
.lightbox img { max-width: 94vw; }
.lightbox[open] { align-items: center; display: flex; justify-content: center; }
.lightbox img { border-radius: 10px; max-height: 92vh; width: auto; }
.lightbox button { background: #fff; border: 0; border-radius: 50%; cursor: pointer; font-size: 20px; height: 40px; position: fixed; right: 20px; top: 20px; width: 40px; }

/* Video */
.video-card {
  aspect-ratio: 16 / 9;
  background: #0b1430;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: block;
  margin: 0 auto;
  max-width: 960px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}
.video-card img { height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; width: 100%; }
.video-card:hover img { filter: brightness(.85); transform: scale(1.02); }
.play {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255,255,255,.25), 0 12px 40px rgba(0,0,0,.35);
  color: #2f5bea;
  display: flex;
  height: 84px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
  width: 84px;
}
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.play svg { margin-left: 5px; }
.video-length { background: rgba(5,10,30,.75); border-radius: 6px; bottom: 14px; color: #fff; font-size: 14px; padding: 3px 9px; position: absolute; right: 14px; }

.video-modal { background: transparent; border: 0; max-height: none; max-width: none; padding: 0; width: min(1100px, 94vw); }
.video-modal::backdrop { background: rgba(5, 10, 30, .9); backdrop-filter: blur(4px); }
.video-modal video { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); width: 100%; }
.video-modal .close { background: #fff; border: 0; border-radius: 50%; color: #16191f; cursor: pointer; font-size: 22px; height: 40px; line-height: 1; position: fixed; right: 20px; top: 20px; width: 40px; }

/* Privacy */
.trust { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.trust div { border-left: 3px solid var(--ray); padding: 4px 0 4px 18px; }
.trust strong { display: block; font-size: 18px; margin-bottom: 6px; }
.trust p { color: var(--text-2); font-size: 16px; }

/* FAQ */
.faq { margin: 0 auto; max-width: 780px; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; padding-right: 30px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: var(--text-3); content: "+"; font-size: 24px; font-weight: 400; line-height: 1; position: absolute; right: 0; top: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin-top: 10px; }

/* CTA */
.cta { background: linear-gradient(160deg, var(--hero-1), var(--hero-2)); color: #fff; text-align: center; }
.cta img { border-radius: 20px; box-shadow: 0 12px 30px rgba(0,0,0,.3); height: 84px; margin: 0 auto 22px; width: 84px; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); }
.cta p { font-size: 19px; margin: 12px auto 30px; max-width: 600px; opacity: .9; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); color: var(--text-3); font-size: 15px; padding: 32px 0; }
.site-footer .wrap { align-items: center; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ---------- Ray intro ---------- */
.ray-intro {
  animation: intro-wipe 1.05s cubic-bezier(.7,0,.25,1) .75s forwards, intro-hide 0s linear 1.85s forwards;
  background:
    repeating-linear-gradient(0deg, rgba(94, 242, 229, .06) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 50% 45%, #1d3fb8 0%, #0b1430 70%);
  clip-path: inset(0 0 0 0);
  display: grid;
  inset: 0;
  place-items: center;
  position: fixed;
  z-index: 100;
}
.ray-intro .mark { align-items: center; animation: intro-mark .7s ease-out both; display: flex; flex-direction: column; gap: 12px; position: relative; }
.ray-intro .mark img { border-radius: 22px; box-shadow: 0 0 60px rgba(94, 242, 229, .35); height: 96px; width: 96px; }
.ray-intro .mark span { color: #fff; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.ray-intro .mark::after {
  animation: intro-mark-scan .7s ease-in-out .05s both;
  background: var(--ray);
  box-shadow: 0 0 16px 4px rgba(94, 242, 229, .8);
  content: "";
  height: 3px;
  left: -30px;
  position: absolute;
  right: -30px;
  top: 0;
}
.ray-intro .beam {
  animation: intro-beam 1.05s cubic-bezier(.7,0,.25,1) .75s forwards;
  background: linear-gradient(90deg, transparent, var(--ray) 15%, #fff 50%, var(--ray) 85%, transparent);
  box-shadow: 0 0 24px 6px rgba(94, 242, 229, .75), 0 0 80px 20px rgba(94, 242, 229, .25);
  height: 4px;
  left: 0;
  position: fixed;
  right: 0;
  top: -10px;
}
@keyframes intro-mark { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes intro-mark-scan { from { opacity: 1; top: 0; } 90% { opacity: 1; } to { opacity: 0; top: 100%; } }
@keyframes intro-wipe { to { clip-path: inset(100% 0 0 0); } }
@keyframes intro-beam { from { top: 0; } to { top: 100%; opacity: .2; } }
@keyframes intro-hide { to { visibility: hidden; } }

html.no-intro .ray-intro { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ray-intro { display: none; }
  .hero-shot::after { display: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .site-nav { display: none; }
  .site-header .wrap { justify-content: space-between; }
  .features, .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding-top: 64px; }
  .features, .trust, .gallery { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
}
