/* GameDeck website. Dark, cobalt-lit, self-contained (system fonts, no trackers). */
:root {
  --bg: #06080c;
  --bg-2: #0a0e15;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f6fa;
  --text-2: #b4bccb;
  --text-3: #7d8696;
  --cobalt: #5ea2ff;
  --cobalt-2: #2f72e4;
  --cobalt-3: #8fc4ff;
  --rose: #ff8fa8;
  --ok: #2fd07f;
  --radius: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --display: "Segoe UI Variable Display", "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Segoe UI Variable Text", "SF Pro Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
*, *::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 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
p { margin: 0; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }

/* Language: English is in the HTML; legal pages have English and Romanian blocks, English shows for every other language. */
html:not([lang="ro"]) [data-lang="ro"], html[lang="ro"] [data-lang="en"] { display: none !important; }

/* ------------------------------------------------------------ background light */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.aurora::before { width: 900px; height: 700px; left: -200px; top: -320px; background: radial-gradient(closest-side, rgba(47, 114, 228, 0.55), transparent); animation: drift 22s ease-in-out infinite alternate; }
.aurora::after { width: 800px; height: 700px; right: -260px; top: 30vh; background: radial-gradient(closest-side, rgba(94, 162, 255, 0.28), transparent); animation: drift 28s ease-in-out infinite alternate-reverse; }
.grid-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
@keyframes drift { to { transform: translate(120px, 80px) scale(1.15); } }

/* ------------------------------------------------------------ navigation */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); background: rgba(6, 8, 12, 0.62); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 650 20px/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
.brand span { color: var(--text-3); font-weight: 500; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font: 600 12px/1 var(--body); letter-spacing: 0.06em; cursor: pointer; transition: border-color .2s, color .2s; }
.lang:hover, .lang:focus-within { color: var(--text); border-color: rgba(120, 160, 255, 0.45); }
.lang .i { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.lang select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; color-scheme: dark; }
.lang select option { background: #0d1117; color: #e8edf5; }
.legal-note { margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text-2); font-size: 14px; }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; place-items: center; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px; font: 650 16px/1 var(--body); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.25s; cursor: pointer; }
.btn:hover { background: var(--surface-2); transform: translateY(-1px); }
.btn-primary { border: 0; color: #fff; background: linear-gradient(140deg, #7db6ff, var(--cobalt-2) 70%); box-shadow: 0 14px 40px -14px rgba(47, 114, 228, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-primary:hover { background: linear-gradient(140deg, #93c3ff, #3a7ef0 70%); box-shadow: 0 20px 50px -14px rgba(47, 114, 228, 1), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn small { font-weight: 500; opacity: 0.75; font-size: 13px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: 84px 0 40px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 14px; }
.pill b { display: inline-grid; place-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(47, 208, 127, 0.14); color: #8ff0bd; font-size: 12px; letter-spacing: 0.04em; }
.hero h1 { margin: 26px auto 0; max-width: 940px; font-size: clamp(42px, 7vw, 84px); font-weight: 720; }
.grad { background: linear-gradient(100deg, #fff 10%, var(--cobalt-3) 45%, var(--cobalt) 70%, #fff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 9s ease-in-out infinite; }
@keyframes shine { 50% { background-position: 100% 0; } }
.hero .lead { margin: 24px auto 0; max-width: 700px; color: var(--text-2); font-size: clamp(17px, 2vw, 20px); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 22px; color: var(--text-3); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--ok); }

/* device mockups */
.stage { position: relative; margin: 70px auto 0; max-width: 1100px; perspective: 1800px; }
.stage::before { content: ""; position: absolute; inset: 10% 8% -6%; background: radial-gradient(closest-side, rgba(47, 114, 228, 0.45), transparent); filter: blur(60px); z-index: -1; }
.browser { position: relative; border-radius: 18px; padding: 0; background: linear-gradient(180deg, #151b26, #0b0f16); border: 1px solid var(--line-2); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3140; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--text-3); font-size: 12px; }
.hero .browser { transform: rotateX(8deg); transform-origin: 50% 0; transition: transform 1.2s var(--ease); }
.hero .stage.in .browser { transform: rotateX(0deg); }
.phone { position: relative; width: 100%; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #2a3240, #0c1018 40%, #1b2230); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.phone img { border-radius: 31px; width: 100%; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 82px; height: 22px; transform: translateX(-50%); border-radius: 999px; background: #05070a; z-index: 2; }
.hero .phone { position: absolute; right: -2%; bottom: -8%; width: 23%; min-width: 150px; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* ------------------------------------------------------------ logos / proof strip */
.strip { padding: 70px 0 20px; }
.strip p { text-align: center; color: var(--text-3); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.marquee { margin-top: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 15px; white-space: nowrap; }
.marquee-track svg { width: 18px; height: 18px; color: var(--cobalt-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections */
section { position: relative; }
.section { padding: 120px 0 0; }
.kicker { display: inline-block; color: var(--cobalt-3); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; }
.section-head p { margin-top: 18px; color: var(--text-2); font-size: 18px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); overflow: hidden; transition: border-color 0.3s, transform 0.3s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(94, 162, 255, 0.14), transparent 45%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #0a0f18; background: linear-gradient(145deg, var(--cobalt-3), var(--cobalt-2)); box-shadow: 0 12px 26px -12px rgba(47, 114, 228, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.card .ico svg { width: 24px; height: 24px; stroke-width: 2; }
.card h3 { margin-top: 22px; font-size: 21px; font-weight: 650; letter-spacing: -0.015em; }
.card p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }

/* spotlight rows */
.spot { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); align-items: center; gap: 64px; margin-top: 110px; }
.spot.flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); }
.spot.flip .spot-text { order: 2; }
.spot h3 { margin-top: 12px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
.spot p { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--text-2); font-size: 16px; }
.ticks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--cobalt); }
.spot-media { position: relative; }
.spot-media .phone { position: absolute; width: 30%; right: -4%; bottom: -12%; }
.spot-media::before { content: ""; position: absolute; inset: 15% 10%; background: radial-gradient(closest-side, rgba(47, 114, 228, 0.35), transparent); filter: blur(50px); z-index: -1; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; counter-reset: step; }
.step { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font: 700 46px/1 var(--display); letter-spacing: -0.04em; background: linear-gradient(180deg, var(--cobalt-3), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-top: 18px; font-size: 20px; font-weight: 650; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }

/* phone gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 60px; align-items: start; }
.gallery figure { margin: 0; }
.gallery figure:nth-child(even) { margin-top: 48px; }
.gallery figcaption { margin-top: 16px; text-align: center; color: var(--text-2); font-size: 15px; }

/* privacy band */
.band { margin-top: 120px; padding: 56px; border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(800px circle at 0% 0%, rgba(47, 114, 228, 0.18), transparent 50%), linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 50px; align-items: center; }
.band h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin-top: 12px; }
.band-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.band-list div { padding: 20px; border-radius: 16px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); }
.band-list strong { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.band-list strong svg { color: var(--ok); width: 20px; height: 20px; }
.band-list p { margin-top: 6px; color: var(--text-2); font-size: 14.5px; }

/* download */
.download { margin-top: 120px; padding: 70px 40px; text-align: center; border-radius: 34px; position: relative; overflow: hidden; border: 1px solid rgba(94, 162, 255, 0.35);
  background: radial-gradient(700px circle at 50% 0%, rgba(47, 114, 228, 0.45), transparent 60%), linear-gradient(180deg, #0d1626, #080b12); }
.download img.big { width: 92px; height: 92px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(47, 114, 228, 0.6)); }
.download h2 { margin-top: 26px; font-size: clamp(34px, 5vw, 58px); font-weight: 720; }
.download p { margin: 16px auto 0; max-width: 620px; color: var(--text-2); font-size: 18px; }
.download .hero-cta { margin-top: 32px; }
.reqs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.reqs span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--text-2); font-size: 14px; }

/* support + author */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.support { background: radial-gradient(600px circle at 100% 0%, rgba(255, 120, 150, 0.16), transparent 55%), linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.support .ico { background: linear-gradient(145deg, #ffb3c3, #ff6f8f); box-shadow: 0 12px 26px -12px rgba(255, 111, 143, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.support .note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px dashed rgba(255, 143, 168, 0.4); color: var(--text); font-size: 14.5px; }
.card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.author-head { display: flex; align-items: center; gap: 16px; }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(145deg, #1d2534, #0d121b); border: 1px solid var(--line-2); }
.avatar img { width: 40px; height: 40px; }
.author-head h3 { margin-top: 0; }
.author-head span { color: var(--text-3); font-size: 14px; }

/* FAQ */
.faq { max-width: 880px; margin: 56px auto 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color 0.2s, background 0.2s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); font-size: 16px; }
.faq details p + p { margin-top: -10px; }

/* footer */
footer { margin-top: 140px; border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--text-3); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot h4 { margin: 0 0 14px; color: var(--text); font-size: 14px; letter-spacing: 0.02em; }
.foot a { display: block; padding: 4px 0; color: var(--text-2); }
.foot a:hover { color: var(--text); }
.foot .brand { margin-bottom: 14px; color: var(--text); }
.copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

/* legal pages */
.legal { max-width: 820px; padding: 70px 0 0; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 720; }
.legal .updated { margin-top: 12px; color: var(--text-3); font-size: 14px; }
.legal h2 { margin-top: 44px; font-size: 24px; font-weight: 650; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--text-2); font-size: 16.5px; }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--cobalt-3); text-decoration: underline; text-underline-offset: 3px; }
.legal .box { margin-top: 26px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot, .spot.flip { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 90px; }
  .spot.flip .spot-text { order: 0; }
  .band { grid-template-columns: minmax(0, 1fr); padding: 40px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: rgba(6, 8, 12, 0.985); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); z-index: 60; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: grid; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 56px; }
  .stage { margin-top: 48px; }
  .hero .phone { width: 34%; right: -3%; bottom: -14%; min-width: 0; }
  .browser-bar { height: 28px; } .browser-bar i { width: 8px; height: 8px; } .browser-bar span { display: none; }
  .features, .steps, .duo, .band-list { grid-template-columns: minmax(0, 1fr); }
  .gallery { gap: 16px; }
  .gallery figure:nth-child(even) { margin-top: 30px; }
  .section { padding-top: 90px; }
  .band { padding: 28px 22px; margin-top: 90px; }
  .download { padding: 50px 22px; margin-top: 90px; }
  .card, .step { padding: 24px; }
  .foot { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .phone { border-radius: 30px; padding: 7px; } .phone img { border-radius: 24px; } .phone::before { top: 12px; width: 54px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.brand b { font: inherit; }

/* ------------------------------------------------------------ motion and extras */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cobalt-2), var(--cobalt-3)); box-shadow: 0 0 12px rgba(94, 162, 255, 0.8); }

/* the light sweep over primary buttons */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 4.5s ease-in-out infinite; }
@keyframes sweep { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn:active { transform: scale(0.97); }

/* equalizer in the hero pill */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; margin-left: 4px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--cobalt); transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; } .eq i:nth-child(4) { animation-delay: -0.9s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

/* rotating light around the download card */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.download { border: 0; }
.download::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; z-index: 0; pointer-events: none;
  background: conic-gradient(from var(--spin), rgba(94, 162, 255, 0.15), rgba(143, 196, 255, 0.95), rgba(47, 114, 228, 0.25) 30%, rgba(94, 162, 255, 0.15) 60%, rgba(143, 196, 255, 0.9) 80%, rgba(94, 162, 255, 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
.download > * { position: relative; z-index: 1; }
@keyframes spin { to { --spin: 360deg; } }
.download img.big { animation: float 6s ease-in-out infinite; }
.dl-alt { margin-top: 18px !important; font-size: 15px !important; }
.dl-alt a { color: var(--cobalt-3); text-decoration: underline; text-underline-offset: 3px; }

/* icons in the feature cards breathe a little */
.card .ico { transition: transform 0.4s var(--ease); }
.card:hover .ico { transform: translateY(-3px) rotate(-6deg) scale(1.06); }

/* stats and the live demo deck */
.live { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: stretch; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; align-content: center; gap: 6px; }
.stat strong { font: 720 clamp(40px, 5vw, 58px)/1 var(--display); letter-spacing: -0.04em; background: linear-gradient(180deg, #fff, var(--cobalt-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-2); font-size: 15px; }
.demo { padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(160deg, #111826, #090d14); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.demo-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; color: var(--text-3); }
.demo-bar span { width: 26px; height: 26px; border-radius: 8px; background: url(assets/logo.svg) center / 22px no-repeat; }
.demo-bar b { color: var(--text); font-weight: 600; }
.demo-bar em { margin-left: auto; font-style: normal; color: #ff6b81; font-weight: 700; letter-spacing: 0.08em; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.keys i { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 1; border-radius: 16px; font-style: normal; color: var(--text-2);
  background: linear-gradient(160deg, #1a2231, #0f141e); border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px -10px #000;
  animation: press 9s ease-in-out infinite; }
.keys i svg { width: 26px; height: 26px; }
.keys i small { font-size: 12px; color: var(--text-3); }
.keys i b { font: 700 24px/1 var(--display); color: var(--text); }
.keys i.temp b { color: #ffd08a; }
.keys i:nth-child(1) { animation-delay: 0s; } .keys i:nth-child(2) { animation-delay: 1s; } .keys i:nth-child(3) { animation-delay: 2s; }
.keys i:nth-child(4) { animation-delay: 3s; } .keys i:nth-child(5) { animation-delay: 4s; } .keys i:nth-child(6) { animation-delay: 5s; }
.keys i:nth-child(7) { animation-delay: 6s; } .keys i:nth-child(8) { animation-delay: 7s; } .keys i:nth-child(9) { animation-delay: 8s; }
@keyframes press {
  0%, 9%, 100% { transform: none; border-color: rgba(255, 255, 255, 0.07); color: var(--text-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px -10px #000; }
  3% { transform: scale(0.93); border-color: rgba(94, 162, 255, 0.9); color: #fff; box-shadow: 0 0 0 1px rgba(94, 162, 255, 0.5), 0 0 30px rgba(94, 162, 255, 0.55); }
}

/* phones drift smoothly */
.spot-media .phone, .gallery .phone { transition: translate 0.25s linear; }

/* ------------------------------------------------------------ tablets */
@media (min-width: 641px) and (max-width: 1000px) {
  .hero h1 { font-size: clamp(48px, 8vw, 70px); }
  .stage { margin-top: 56px; }
  .hero .phone { width: 26%; right: 0; bottom: -10%; }
  .live { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 20px; }
  .demo { max-width: 460px; width: 100%; justify-self: center; }
  .spot-media .phone { width: 26%; right: 2%; }
  .spot-text { max-width: 640px; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .band-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------ phones */
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-cta .btn { width: 100%; max-width: 340px; }
  .hero .phone { width: 36%; right: 0; bottom: -16%; }
  .stage { margin-bottom: 30px; }
  .features { gap: 12px; }
  .card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .card .ico { grid-row: span 2; width: 44px; height: 44px; }
  .card h3 { margin-top: 2px; font-size: 18px; }
  .card p { margin-top: 6px; font-size: 15px; }
  .card.support, .duo .card { display: block; }
  .duo .card .ico { width: 48px; height: 48px; }
  .duo .card h3 { margin-top: 18px; }
  .live { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 10px; }
  .stat { padding: 18px; }
  .stat span { font-size: 13.5px; }
  .keys { gap: 8px; }
  .keys i { border-radius: 14px; }
  .spot { margin-top: 80px; }
  .spot-media .phone { width: 34%; right: 0; bottom: -14%; }
  .spot-media { margin-bottom: 26px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-meta { gap: 8px 16px; }
  .reqs span { font-size: 13px; }
}

/* ------------------------------------------------ presentation video */
.btn-watch small { margin-left: 2px; padding: 3px 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); font: 600 12px/1 var(--body); opacity: 0.85; }
.video-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(3, 5, 9, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.25s var(--ease); }
.video-modal[hidden] { display: none; }
.video-modal.open { opacity: 1; }
.video-box { position: relative; width: min(1200px, 100%); transform: scale(0.96); transition: transform 0.3s var(--ease); }
.video-modal.open .video-box { transform: none; }
.video-box video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 80px -20px rgba(47, 114, 228, 0.5); }
.video-close { position: absolute; top: -56px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); color: var(--text); cursor: pointer; }
.video-close:hover { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 640px) { .video-modal { padding: 12px; } .video-close { top: -52px; } }
@media (prefers-reduced-motion: reduce) { .video-modal, .video-box { transition: none; } }
