/* ===========================================================================
   XPlayer2 — landing styles
   3D-cinema aesthetic: deep space dark, violet/cyan neon, floating AR glasses.
   =========================================================================== */

:root {
  --bg-0: #06050d;
  --bg-1: #0b0918;
  --bg-2: #110d22;

  --violet: #b388ff;
  --violet-2: #8b5cff;
  --violet-deep: #6a3df0;
  --cyan: #46e0ff;
  --magenta: #ff5fb0;

  --ink: #f3f1fb;
  --muted: #a7a2c9;
  --muted-2: #8e88b8;

  --card: rgba(255, 255, 255, 0.038);
  --card-hi: rgba(255, 255, 255, 0.06);
  --border: rgba(179, 136, 255, 0.16);
  --border-hi: rgba(179, 136, 255, 0.34);

  --grad-brand: linear-gradient(120deg, var(--violet) 0%, var(--cyan) 100%);
  --grad-brand-2: linear-gradient(120deg, #c9a7ff 0%, var(--violet-2) 45%, var(--cyan) 100%);

  --shadow-soft: 0 30px 80px -30px rgba(106, 61, 240, 0.55);
  --shadow-card: 0 24px 60px -32px rgba(0, 0, 0, 0.85);

  --maxw: 1180px;
  --radius: 20px;
  --radius-sm: 13px;

  --font-display: "Sora", "SF Pro Display", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------- background field */
.bg-field { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-field::before {
  /* base vertical gradient */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 50% -8%, rgba(139, 92, 255, 0.28), transparent 60%),
    radial-gradient(900px 600px at 85% 12%, rgba(70, 224, 255, 0.14), transparent 55%),
    radial-gradient(900px 600px at 12% 30%, rgba(255, 95, 176, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 38%, #05040a 100%);
}
.bg-stars {
  position: absolute; inset: -50% 0 0 0; height: 200%;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.2px 1.2px at 70% 60%, rgba(199,167,255,.9), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.6px 1.6px at 88% 22%, rgba(120,220,255,.8), transparent),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 12% 65%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 33% 48%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.3px 1.3px at 80% 78%, rgba(199,167,255,.7), transparent);
  background-repeat: repeat;
  background-size: 600px 600px;
  opacity: .55;
  animation: drift 90s linear infinite;
}
/* perspective neon grid floor */
.bg-grid {
  position: absolute; left: 50%; bottom: -6vh; width: 240vw; height: 70vh;
  transform: translateX(-50%) perspective(420px) rotateX(72deg);
  transform-origin: 50% 100%;
  background-image:
    linear-gradient(transparent 0%, rgba(139,92,255,.0) 60%, rgba(139,92,255,.55) 100%),
    repeating-linear-gradient(90deg, rgba(120,220,255,.30) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(179,136,255,.28) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
  opacity: .5;
  animation: grid-move 7s linear infinite;
}
@keyframes grid-move { to { background-position: 0 0, 0 64px, 0 64px; } }
@keyframes drift { to { transform: translateY(-25%); } }

.noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------- utilities */
.wrap { width: 100%; max-width: calc(var(--maxw) + 64px); margin-inline: auto; padding-inline: clamp(22px, 4vw, 48px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--violet);
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 100px;
  background: rgba(179,136,255,.06); backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }

.grad-text { background: var(--grad-brand-2); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 22px; border-radius: 14px; line-height: 1;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--grad-brand); color: #0a0716; box-shadow: 0 14px 36px -12px rgba(139,92,255,.7); }
.btn-primary:hover { box-shadow: 0 20px 48px -12px rgba(70,224,255,.7); }
.btn-ghost { background: var(--card); border-color: var(--border); color: var(--ink); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--card-hi); border-color: var(--border-hi); }

/* store-style badge buttons */
.store-btn {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 12px 20px; border-radius: 15px; min-width: 210px;
  background: var(--card); border: 1px solid var(--border); backdrop-filter: blur(12px);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, background .25s, box-shadow .25s;
}
.store-btn:hover { transform: translateY(-4px); border-color: var(--border-hi); background: var(--card-hi); box-shadow: var(--shadow-card); }
.store-btn .ico { width: 30px; height: 30px; flex: none; color: var(--violet); }
.store-btn .txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .txt small { font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.store-btn .txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; }
.store-btn.is-primary { background: linear-gradient(120deg, rgba(179,136,255,.18), rgba(70,224,255,.12)); border-color: var(--border-hi); }
.store-btn .badge-new { margin-left: auto; font-size: .6rem; font-weight: 700; letter-spacing: .08em; color: var(--cyan); border: 1px solid rgba(70,224,255,.4); padding: 3px 7px; border-radius: 7px; }

/* --------------------------------------------------------------- navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8,6,16,.72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 18px -6px rgba(139,92,255,.8); }
.brand .wm { white-space: nowrap; letter-spacing: -.02em; }
.brand b { color: var(--violet); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .94rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card); color: var(--muted); font-family: var(--font-body);
  font-size: .9rem; font-weight: 500; transition: color .2s, border-color .2s, background .2s; }
.lang-btn:hover { color: var(--ink); border-color: var(--border-hi); background: var(--card-hi); }
.lang-btn svg { width: 16px; height: 16px; flex: none; }
.lang-btn .chev { opacity: .7; transition: transform .25s; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; z-index: 60;
  list-style: none; margin: 0; padding: 6px; border-radius: 12px;
  background: rgba(12,10,24,.97); backdrop-filter: blur(16px); border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-card); display: none; }
.lang.open .lang-menu { display: block; animation: lang-in .18s ease; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px); } }
.lang-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px;
  color: var(--muted); font-family: var(--font-body); font-size: .92rem; transition: background .15s, color .15s; }
.lang-menu button:hover { background: var(--card-hi); color: var(--ink); }
.lang-menu button.active { color: var(--violet); font-weight: 600; background: rgba(179,136,255,.08); }
.nav .btn { padding: 10px 16px; font-size: .9rem; }
.nav-stores { display: flex; gap: 8px; }
.nav-store { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--border); color: var(--ink);
  transition: transform .2s, background .2s, border-color .2s; }
.nav-store:hover { transform: translateY(-2px); background: var(--card-hi); border-color: var(--border-hi); }
.nav-store svg { width: 22px; height: 22px; }
.nav-burger { display: none; }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 110px; padding-bottom: 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; width: 100%; }

.hero-copy { max-width: 600px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em;
  margin: 22px 0 0;
}
.hero h1 .line { display: block; }
.hero-sub { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.25rem); margin-top: 22px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-mini { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted-2); font-size: .86rem; }
.hero-mini span { display: inline-flex; align-items: center; gap: 7px; }
.hero-mini svg { width: 15px; height: 15px; color: var(--cyan); }

/* hero 3D stage */
.stage { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.stage-glow { position: absolute; width: 78%; height: 78%; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,255,.55), rgba(70,224,255,.18) 45%, transparent 70%);
  filter: blur(20px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }

/* projector beam */
.beam { position: absolute; bottom: 2%; left: 50%; width: 60%; height: 70%;
  transform: translateX(-50%); transform-origin: 50% 100%;
  background: conic-gradient(from 270deg at 50% 100%, transparent 78deg, rgba(120,220,255,.16) 90deg, rgba(179,136,255,.20) 90deg, transparent 102deg);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 100%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 100%, #000 30%, transparent 75%);
  filter: blur(4px); opacity: .7; animation: beam-flicker 5s ease-in-out infinite; }
@keyframes beam-flicker { 50% { opacity: .45; } }

/* floating cinema screen behind glasses */
.cinema {
  position: absolute; width: 58%; aspect-ratio: 16/9; top: 26%;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(199,167,255,.35);
  box-shadow: 0 0 60px rgba(139,92,255,.45), inset 0 0 30px rgba(0,0,0,.5);
  background:
    linear-gradient(115deg, rgba(255,95,176,.55), transparent 40%),
    linear-gradient(245deg, rgba(70,224,255,.55), transparent 42%),
    linear-gradient(160deg, #2a1c5e, #0c1a3a);
  animation: float-screen 8s ease-in-out infinite;
}
.cinema::before { /* film scan shimmer */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  background-size: 300% 100%; animation: sheen 4.5s linear infinite;
}
.cinema::after { /* SBS split hint */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
  background: rgba(255,255,255,.25); box-shadow: 0 0 8px rgba(255,255,255,.4);
}
@keyframes sheen { to { background-position: -300% 0; } }
@keyframes float-screen { 50% { transform: translateY(-12px); } }

.ar-glasses { position: relative; width: 88%; z-index: 3;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)) drop-shadow(0 0 26px rgba(139,92,255,.4));
  animation: float-glasses 7s ease-in-out infinite; }
@keyframes float-glasses { 50% { transform: translateY(-16px) rotate(.6deg); } }

/* anaglyph chips floating */
.chip3d { position: absolute; z-index: 4; font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  padding: 9px 14px; border-radius: 12px; background: rgba(11,9,24,.78); border: 1px solid var(--border-hi);
  backdrop-filter: blur(8px); box-shadow: var(--shadow-card); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.chip3d svg { width: 16px; height: 16px; color: var(--cyan); }
.chip3d.c1 { top: 14%; left: -4%; animation: float-a 6s ease-in-out infinite; }
.chip3d.c2 { top: 46%; right: -8%; animation: float-b 7s ease-in-out infinite; }
.chip3d.c3 { bottom: 12%; left: 6%; animation: float-a 8s ease-in-out infinite .5s; }
@keyframes float-a { 50% { transform: translateY(-14px); } }
@keyframes float-b { 50% { transform: translateY(12px); } }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--muted-2); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid var(--border-hi); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; background: var(--violet); border-radius: 3px; transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translate(-50%, 12px); opacity: 0; } }

/* ----------------------------------------------------------- trust strip */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(11,9,24,.4); }
.trust-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; padding: 26px 0; }
.trust-in .label { color: var(--muted-2); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.trust-in .glasses-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--muted); transition: color .2s, transform .2s; }
.trust-in .glasses-brand:hover { color: var(--ink); }
.trust-in .stat { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.trust-in .stat svg { width: 17px; height: 17px; color: var(--violet); }

/* --------------------------------------------------------------- features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.f-card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s;
}
.f-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(179,136,255,.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.f-card:hover { transform: translateY(-6px); background: var(--card-hi); border-color: transparent; }
.f-card:hover::before { opacity: 1; }
.f-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(139,92,255,.22), rgba(70,224,255,.12)); border: 1px solid var(--border); }
.f-ico svg { width: 26px; height: 26px; color: var(--violet); }
.f-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; margin-bottom: 9px; letter-spacing: -.01em; }
.f-card p { color: var(--muted); font-size: .95rem; }
.f-card.wide { grid-column: span 1; }
.f-card .tag { position: absolute; top: 20px; right: 20px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; color: var(--cyan); border: 1px solid rgba(70,224,255,.4); padding: 3px 8px; border-radius: 8px; }

/* --------------------------------------------------- AI 2D->3D showcase */
.ai-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ai-copy h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; }
.ai-copy p { color: var(--muted); margin-top: 16px; font-size: 1.04rem; }
.ai-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.ai-step { display: flex; gap: 14px; align-items: flex-start; }
.ai-step .n { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; background: var(--grad-brand); color: #0a0716; }
.ai-step b { font-family: var(--font-display); font-weight: 600; }
.ai-step span { color: var(--muted); font-size: .92rem; display: block; }
.ai-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  padding: 9px 14px; border-radius: 11px; color: var(--ink);
  background: linear-gradient(120deg, rgba(139,92,255,.16), rgba(70,224,255,.08)); border: 1px solid var(--border-hi); }
.ai-badge svg { width: 16px; height: 16px; color: var(--cyan); flex: none; }

.ai-visual { display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px; border-radius: var(--radius); border: 1px solid var(--border);
  background: #0a0818; box-shadow: var(--shadow-card); }
.ai-frame { position: relative; width: 100%; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); aspect-ratio: 220 / 96; background: #06050d; }
.ai-frame .scene { width: 100%; height: 100%; display: block; }
.ai-frame .cap { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px);
  font-family: var(--font-display); font-weight: 600; font-size: .68rem; color: #fff;
  background: rgba(0,0,0,.6); padding: 5px 9px; border-radius: 8px; backdrop-filter: blur(4px); }
.ai-arrow { width: 24px; height: 24px; color: var(--violet); display: block; flex: none;
  filter: drop-shadow(0 0 8px rgba(139,92,255,.6)); animation: ai-bob 2.4s ease-in-out infinite; }
@keyframes ai-bob { 50% { transform: translateY(4px); } }

/* ------------------------------------------------------------- screenshots */
.shots { position: relative; }
.carousel { position: relative; margin: 0 -8px; }
.carousel-track {
  display: flex; gap: 22px; list-style: none; margin: 0; padding: 12px 8px 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.cphone {
  flex: 0 0 auto; width: 250px; scroll-snap-align: center; border-radius: 32px; padding: 8px;
  background: linear-gradient(160deg, #2a2440, #0e0c18); border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-card), 0 0 50px -22px rgba(139,92,255,.6);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.cphone:hover { transform: translateY(-8px); }
.cphone img { border-radius: 25px; width: 100%; display: block; background: #000; }
.cphone figcaption { text-align: center; color: var(--muted); font-size: .82rem; padding: 13px 4px 5px; }
.carousel-nav {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11,9,24,.82); border: 1px solid var(--border-hi); backdrop-filter: blur(8px);
  color: var(--ink); box-shadow: var(--shadow-card); transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.carousel-nav:hover { background: var(--violet-2); color: #0a0716; }
.carousel-nav:active { transform: translateY(-50%) scale(.92); }
.carousel-nav.prev { left: 2px; }
.carousel-nav.next { right: 2px; }
.carousel-nav svg { width: 22px; height: 22px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--border-hi); transition: background .25s, width .25s; }
.carousel-dots button.active { background: var(--violet); width: 22px; border-radius: 5px; }
.shot-land { width: min(620px, 100%); margin: 48px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-hi); box-shadow: var(--shadow-card); }
.shot-land img { width: 100%; }
.shot-caption { text-align: center; color: var(--muted-2); font-size: .82rem; margin-top: 12px; }
@media (max-width: 720px) {
  .carousel-nav { display: none; }
  .carousel { margin: 0; }
}
@media (max-width: 560px) {
  .cphone { width: min(74vw, 280px); }
}

/* --------------------------------------------------------------- glasses */
.glasses-section { text-align: center; }
.glasses-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 12px; }
.g-card { padding: 22px 30px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); min-width: 150px; transition: transform .3s, border-color .3s, background .3s; }
.g-card:hover { transform: translateY(-5px); border-color: var(--border-hi); background: var(--card-hi); }
.g-card .name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; }
.g-card .name span { color: var(--violet); }
.g-card .kind { color: var(--muted-2); font-size: .8rem; margin-top: 4px; letter-spacing: .04em; }
.g-card.g-more { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, rgba(139,92,255,.14), rgba(70,224,255,.06)); border-color: var(--border-hi); }
.g-card.g-more .name { background: var(--grad-brand-2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glasses-note { max-width: 560px; margin: 26px auto 0; color: var(--muted-2); font-size: .92rem; }

/* --------------------------------------------------------------- download */
.download { position: relative; }
.dl-card {
  position: relative; border-radius: 28px; padding: clamp(40px, 6vw, 70px);
  background: linear-gradient(135deg, rgba(139,92,255,.16), rgba(70,224,255,.08));
  border: 1px solid var(--border-hi); overflow: hidden; text-align: center;
  box-shadow: var(--shadow-soft);
}
.dl-card::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -180px; right: -120px; background: radial-gradient(circle, rgba(70,224,255,.35), transparent 70%); filter: blur(20px); }
.dl-card h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.02em; position: relative; }
.dl-card p { color: var(--muted); margin-top: 14px; max-width: 520px; margin-inline: auto; position: relative; }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; position: relative; }
.dl-note { margin-top: 22px; font-size: .82rem; color: var(--muted-2); position: relative; }
.dl-note a { color: var(--violet); border-bottom: 1px solid var(--border-hi); }

/* --------------------------------------------------------------- faq */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; transition: border-color .25s; }
.faq-item[open] { border-color: var(--border-hi); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-ic { flex: none; width: 20px; height: 20px; color: var(--violet); transition: transform .3s; }
.faq-item[open] summary .faq-ic { transform: rotate(180deg); }
.faq-item .ans { padding: 0 24px 20px; color: var(--muted); font-size: .96rem; }

/* --------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; background: rgba(8,6,16,.5); }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer-tag { font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.footer-blurb { color: var(--muted-2); font-size: .9rem; max-width: 320px; }
.footer-blurb a, .footer-bottom > span a { color: var(--violet); transition: color .2s; }
.footer-blurb a:hover, .footer-bottom > span a:hover { color: var(--cyan); }
.footer-col h4 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: .94rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .84rem; }
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a { color: var(--muted); transition: color .2s, transform .2s; }
.footer-bottom .socials a:hover { color: var(--violet); transform: translateY(-2px); }
.footer-bottom .socials svg { width: 20px; height: 20px; }

/* --------------------------------------------------------- scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .4s; }

/* ----------------------------------------------- screenshot capture mode */
.shots-mode .hero { min-height: auto; padding-top: 120px; padding-bottom: 40px; }
.shots-mode .scroll-cue { display: none; }

/* --------------------------------------------------------- i18n display */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 640px; margin-inline: auto; }
  .hero-cta, .hero-mini { justify-content: center; }
  .stage { max-width: 460px; margin: 10px auto 0; order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-showcase { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-col.about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-in { padding-inline: 16px; gap: 10px; }
  .brand { font-size: 1rem; margin-right: auto; }
  .nav-actions { gap: 7px; flex: 0 0 auto; }
  .nav-stores { display: flex; gap: 7px; }          /* market buttons stay visible */
  .nav-store { width: 38px; height: 38px; }
  .nav-store svg { width: 20px; height: 20px; }
  .nav-burger { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 11px; }
  .nav-burger svg { width: 22px; height: 22px; }
  /* menu opens as a compact card anchored to the right under the burger */
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: auto; right: clamp(14px, 4vw, 40px);
    width: min(78vw, 282px); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 14px;
    background: rgba(10,8,20,.98); backdrop-filter: blur(18px); border: 1px solid var(--border-hi);
    border-radius: 16px; box-shadow: var(--shadow-card); }
  .nav.open .nav-links a { padding: 13px 2px; border-bottom: 1px solid var(--border); }
  /* language picker flows inside the mobile menu */
  .lang { width: 100%; margin-top: 10px; }
  .lang-btn { width: 100%; justify-content: space-between; }
  .lang-btn .chev { margin-left: auto; }
  .lang-menu { position: static; display: block; width: 100%; min-width: 0; margin-top: 8px;
    background: transparent; border: 0; box-shadow: none; padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .25s ease; }
  .lang.open .lang-menu { max-height: 320px; animation: none; }
  .lang-menu button { padding: 11px 4px; }
  .chip3d { display: none; }
}
@media (max-width: 380px) {
  .nav-store { width: 36px; height: 36px; }
  .nav-store svg { width: 19px; height: 19px; }
  .brand { font-size: .98rem; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .store-btn { min-width: 0; width: 100%; }
  .hero-cta { flex-direction: column; }
  .hero-cta .store-btn { width: 100%; }
  .hero { padding-top: 96px; }
  .stage { max-width: 320px; margin-top: 0; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 30px; height: 30px; }
}

/* ----------------------------------------------- reduced motion / print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
