/* =========================================================
   Echo Media Player — marketing site
   Colour tokens mirror EMP_M-NEW :core EchoColors.kt (dark scheme)
   ========================================================= */
:root {
  --bg: #01010E;            /* EchoBackground */
  --surface: #0A0A16;       /* EchoSurface */
  --surface-2: #12121F;     /* EchoSurfaceContainer */
  --surface-3: #1A1A29;     /* EchoSurfaceContainerHigh */
  --surface-4: #232334;     /* EchoSurfaceContainerHighest */
  --chrome: #0D0D1A;        /* EchoChrome */
  --primary: #F26964;       /* EchoPrimary */
  --primary-soft: rgba(242, 105, 100, .22); /* EchoChromeIndicator */
  --red: #EF3349;           /* logo outer ring */
  --blush: #FBD5CD;         /* logo inner ring */
  --premium: #FF6B35;       /* EchoPremium */
  --success: #10B981;       /* EchoSuccess / EchoSyncContent */
  --fav: #F0182E;           /* EchoFavoriteRed */
  --slate: #97A0BD;         /* logo play triangle (dark variant) */
  --navy: #222D62;          /* logo navy */
  --text: #F2F4FA;          /* EchoOnChrome */
  --muted: #A1A1B0;         /* EchoOnChromeVariant */
  --muted-2: #6E6E80;
  --hair: rgba(255, 255, 255, .08);
  --hair-2: rgba(255, 255, 255, .12);

  /* Neumorphism (dark) */
  --neu: #10101D;
  --neu-dark: #04040B;
  --neu-light: #1E1E33;
  --neu-out: 12px 12px 28px var(--neu-dark), -10px -10px 24px var(--neu-light);
  --neu-out-sm: 6px 6px 14px var(--neu-dark), -5px -5px 12px var(--neu-light);
  --neu-in: inset 6px 6px 12px var(--neu-dark), inset -5px -5px 10px var(--neu-light);
  --neu-in-sm: inset 3px 3px 6px var(--neu-dark), inset -3px -3px 6px var(--neu-light);

  --radius: 22px;
  --radius-sm: 14px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary); color: var(--bg); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Background ambience ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before, .ambient::after {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(120px); opacity: .18;
}
.ambient::before { background: var(--red); top: -30vmax; left: -20vmax; animation: drift 26s ease-in-out infinite alternate; }
.ambient::after { background: var(--navy); bottom: -30vmax; right: -20vmax; opacity: .45; animation: drift 32s ease-in-out infinite alternate-reverse; }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  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='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.1); } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.grad-text {
  background: linear-gradient(100deg, var(--blush) 0%, var(--primary) 35%, var(--red) 60%, var(--blush) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 0;
  font: 600 .98rem/1 var(--font-body); white-space: nowrap;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #01010E; box-shadow: 0 10px 30px -10px rgba(242,105,100,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(242,105,100,.85); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn-ghost:hover { background: rgba(255,255,255,.05); }
.btn-neu { background: var(--neu); color: var(--text); box-shadow: var(--neu-out-sm); }
.btn-neu:hover { transform: translateY(-2px); }
.btn-neu:active { box-shadow: var(--neu-in-sm); transform: none; }
.btn-lg { min-height: 56px; padding: 0 1.8rem; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 0 1rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled { background: rgba(1,1,14,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--hair); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 800 1.2rem/1 var(--font-display); letter-spacing: -.01em; }
.brand .logo { width: 38px; height: 38px; }
.brand small { display: inline; font: inherit; letter-spacing: inherit; text-transform: none; color: var(--text); margin-left: .28em; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a:not(.btn) { padding: .55rem .9rem; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; gap: .5rem; margin-left: .75rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--neu); box-shadow: var(--neu-out-sm); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1rem var(--gutter) 1.5rem; background: rgba(1,1,14,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hair);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .menu-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin: .75rem 0 0; }
  .nav-cta .btn { flex: 1; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.5rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .9rem; color: var(--muted); }
.hero-meta > span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--success); }
.pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .45rem;
  border-radius: 999px; background: var(--neu); box-shadow: var(--neu-out-sm); font-size: .85rem; color: var(--muted); margin-bottom: 1.6rem;
}
.pill b { background: var(--primary); color: var(--bg); padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; letter-spacing: .06em; }

.hero-stage { position: relative; height: clamp(440px, 52vw, 600px); perspective: 1400px; }
.hero-stage .rings { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 120%; aspect-ratio: 1; pointer-events: none; }
.hero-stage .rings i {
  position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 2px solid var(--primary); opacity: 0; animation: echo 6s var(--ease) infinite;
}
.hero-stage .rings i:nth-child(2) { animation-delay: 2s; border-color: var(--red); }
.hero-stage .rings i:nth-child(3) { animation-delay: 4s; border-color: var(--blush); }
@keyframes echo { 0% { transform: scale(.25); opacity: .5; } 100% { transform: scale(1); opacity: 0; } }
.hero-tv { position: absolute; right: 0; top: 6%; width: 88%; transform: rotateY(-14deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hero-phone { position: absolute; left: -2%; bottom: 0; width: 36%; max-width: 250px; transform: rotateY(10deg) rotateX(2deg); transition: transform .6s var(--ease); z-index: 2; }
.hero-remote { position: absolute; right: 4%; bottom: 2%; z-index: 3; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { height: clamp(360px, 92vw, 520px); }
  .hero-tv { width: 92%; }
}
@media (max-width: 560px) {
  .hero-remote { display: none; }
  .hero-phone { width: 42%; }
}

/* ---------- Neumorphic primitives ---------- */
.neu { background: var(--neu); border-radius: var(--radius); box-shadow: var(--neu-out); }
.neu-inset { background: var(--neu); border-radius: var(--radius); box-shadow: var(--neu-in); }
.stage {
  position: relative; background: var(--neu); border-radius: 32px; box-shadow: var(--neu-out);
  padding: clamp(20px, 3.5vw, 44px); overflow: hidden; isolation: isolate;
}
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 80% 0%, rgba(242,105,100,.08), transparent 70%); }

/* ---------- Devices ---------- */
.phone {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 42px; padding: 9px;
  background: linear-gradient(145deg, #171728, #0b0b16);
  box-shadow: 18px 18px 40px var(--neu-dark), -12px -12px 30px var(--neu-light), inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone::after { /* side button */ content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 12%; border-radius: 2px; background: #1c1c2e; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); box-shadow: var(--neu-in-sm); }
.phone .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 30%; height: 18px; background: #000; border-radius: 0 0 12px 12px; z-index: 9; }
.phone.small { border-radius: 34px; padding: 7px; }
.phone.small .screen { border-radius: 28px; }

.tv { position: relative; }
.tv .bezel {
  aspect-ratio: 16 / 9; border-radius: 16px; padding: 10px;
  background: linear-gradient(145deg, #161626, #09090f);
  box-shadow: 20px 20px 50px var(--neu-dark), -14px -14px 34px var(--neu-light), inset 0 0 0 1px rgba(255,255,255,.05);
}
.tv .screen { container-type: inline-size; position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: var(--bg); }
.tv .stand { width: 34%; height: 14px; margin: 0 auto; background: linear-gradient(#141424, #0a0a14); border-radius: 0 0 10px 10px; box-shadow: 0 16px 30px -10px #000; }
.tv .screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 38%); }

.browser { border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--neu-out); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--neu); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a3e; }
.browser .url { flex: 1; margin-left: 8px; padding: 5px 10px; border-radius: 8px; font-size: .72rem; color: var(--muted); box-shadow: var(--neu-in-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Remote control */
.remote { width: 86px; padding: 16px 12px 22px; border-radius: 44px; background: var(--neu); box-shadow: var(--neu-out); display: grid; gap: 14px; justify-items: center; }
.remote .dpad { position: relative; width: 62px; height: 62px; border-radius: 50%; box-shadow: var(--neu-in-sm); }
.remote .dpad b { position: absolute; width: 12px; height: 12px; border-radius: 3px; background: var(--surface-4); transition: background .2s, box-shadow .2s; }
.remote .dpad b.up { top: 6px; left: 25px; } .remote .dpad b.down { bottom: 6px; left: 25px; }
.remote .dpad b.left { left: 6px; top: 25px; } .remote .dpad b.right { right: 6px; top: 25px; }
.remote .dpad .ok { position: absolute; inset: 18px; border-radius: 50%; background: var(--neu); box-shadow: var(--neu-out-sm); transition: box-shadow .15s; }
.remote .dpad b.on { background: var(--primary); box-shadow: 0 0 12px var(--primary); }
.remote .dpad .ok.on { box-shadow: var(--neu-in-sm), 0 0 0 2px var(--primary); }
.remote .keys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.remote .keys i { width: 22px; height: 22px; border-radius: 50%; box-shadow: var(--neu-out-sm); background: var(--neu); }

/* =========================================================
   In-app UI (mockups)
   ========================================================= */
.app { position: absolute; left: 0; top: 0; width: 262px; height: calc(100% / var(--s, 1)); transform: scale(var(--s, 1)); transform-origin: 0 0; display: flex; flex-direction: column; font-family: var(--font-body); color: var(--text); background: var(--bg); font-size: 10px; line-height: 1.3; }
.app * { line-height: inherit; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 30px 12px 8px; }
.app-top .logo { width: 22px; height: 22px; }
.app-top .t { font: 800 12px/1 var(--font-display); }
.app-top .ic { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; }
.app-top .ic svg { width: 12px; height: 12px; }
.app-body { flex: 1; overflow: hidden; padding: 0 12px; position: relative; }
.app-nav { display: flex; justify-content: space-around; padding: 7px 6px 14px; background: var(--chrome); border-top: 1px solid var(--hair); }
.app-nav span { display: grid; justify-items: center; gap: 3px; font-size: 7.5px; color: var(--muted); padding: 3px 8px; border-radius: 12px; }
.app-nav span svg { width: 13px; height: 13px; }
.app-nav span.on { color: var(--text); }
.app-nav span.on svg { background: var(--primary-soft); border-radius: 10px; padding: 2px 8px; width: 30px; height: 17px; }

.hero-card { position: relative; height: 150px; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.hero-card .slides { display: flex; height: 100%; transition: transform .8s var(--ease); }
.hero-card .slide { flex: 0 0 100%; position: relative; }
.hero-card .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(1,1,14,.95)); }
.hero-card .meta { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; }
.hero-card .meta b { display: block; font: 800 14px/1.1 var(--font-display); margin-bottom: 3px; }
.hero-card .meta small { color: var(--muted); font-size: 8px; }
.hero-card .play { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; background: var(--primary); color: var(--bg); font-weight: 700; padding: 4px 9px; border-radius: 99px; font-size: 8px; }
.hero-card .dots { position: absolute; right: 10px; bottom: 12px; z-index: 2; display: flex; gap: 3px; }
.hero-card .dots i { width: 4px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); transition: width .4s; }
.hero-card .dots i.on { width: 12px; background: var(--primary); }

.shelf-t { display: flex; justify-content: space-between; font-weight: 700; font-size: 10px; margin: 4px 0 6px; }
.shelf-t small { color: var(--primary); font-weight: 600; font-size: 8px; }
.shelf { display: flex; gap: 7px; margin-bottom: 10px; }
.shelf .poster { flex: 0 0 29%; }
.poster { position: relative; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; }
.poster.wide { aspect-ratio: 16 / 9; }
.poster .pt { position: absolute; left: 5px; right: 5px; bottom: 5px; font: 800 7.5px/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.poster .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: rgba(255,255,255,.2); }
.poster .prog i { display: block; height: 100%; background: var(--primary); }
.chips { display: flex; gap: 5px; margin-bottom: 10px; flex-wrap: nowrap; overflow: hidden; }
.chip { flex: none; padding: 4px 9px; border-radius: 99px; background: var(--surface-3); font-size: 8px; color: var(--muted); transition: all .4s var(--ease); }
.chip.on { background: var(--primary); color: var(--bg); font-weight: 700; }

/* Generated artwork (no third-party posters) */
.art { position: absolute; inset: 0; }
.a1 { background: radial-gradient(circle at 70% 30%, #ff9a76 0 12%, transparent 13%), linear-gradient(160deg, #3b1e5e, #d4455d 60%, #f7a26b); }
.a2 { background: radial-gradient(circle at 30% 25%, #fff3 0 4%, transparent 5%), radial-gradient(circle at 60% 40%, #9ad0ff55 0 20%, transparent 40%), linear-gradient(180deg, #051937, #004d7a 55%, #008793); }
.a3 { background: linear-gradient(0deg, #0b0b0b 0 22%, transparent 22%), radial-gradient(circle at 50% 78%, #ffcc70 0 16%, transparent 17%), linear-gradient(180deg, #ff7e5f, #feb47b 60%, #2b1a10 60.5%); }
.a4 { background: repeating-linear-gradient(90deg, #ffffff0d 0 2px, transparent 2px 14px), linear-gradient(135deg, #0f0c29, #302b63 50%, #ff2e63); }
.a5 { background: radial-gradient(ellipse at 50% 120%, #10b981 0 30%, transparent 55%), linear-gradient(180deg, #02111f, #0a3d3a); }
.a6 { background: conic-gradient(from 200deg at 60% 40%, #f26964, #fbd5cd, #222d62, #f26964); }
.a7 { background: linear-gradient(180deg, transparent 55%, #1a0f05 55%), radial-gradient(circle at 25% 35%, #ffe29f 0 10%, transparent 11%), linear-gradient(180deg, #4b6cb7, #182848); }
.a8 { background: radial-gradient(circle at 50% 50%, #ff6b35 0 8%, transparent 30%), repeating-radial-gradient(circle at 50% 50%, #ffffff10 0 2px, transparent 2px 10px), linear-gradient(135deg, #1f1c2c, #928dab); }
.a9 { background: linear-gradient(135deg, #134e5e, #71b280); }
.a10 { background: linear-gradient(200deg, #ef3349 0%, #222d62 70%); }

/* Channel logos */
.ch { width: 26px; height: 18px; border-radius: 4px; display: grid; place-items: center; font: 800 6.5px/1 var(--font-display); color: #fff; flex: none; }

/* TV UI */
.tv-app { position: absolute; inset: 0; display: grid; grid-template-columns: 9% 1fr; background: var(--bg); font-size: 1.75cqw; }
.tv-rail { display: flex; flex-direction: column; align-items: center; gap: 1.4em; padding: 1.4em 0; background: var(--chrome); border-right: 1px solid var(--hair); }
.tv-rail .logo { width: 2.6em; height: 2.6em; margin-bottom: .6em; }
.tv-rail i { width: 2em; height: 2em; border-radius: .6em; display: grid; place-items: center; color: var(--muted); }
.tv-rail i svg { width: 1.4em; height: 1.4em; }
.tv-rail i.on { background: var(--primary-soft); color: var(--text); }
.tv-main { position: relative; overflow: hidden; }
.tv-hero { position: relative; height: 44%; }
.tv-hero .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,1,14,.95) 10%, transparent 70%), linear-gradient(transparent 50%, var(--bg)); }
.tv-hero .meta { position: absolute; left: 4%; top: 18%; max-width: 50%; z-index: 2; }
.tv-hero .meta b { display: block; font: 800 2.4em/1 var(--font-display); margin-bottom: .35em; }
.tv-hero .meta small { color: var(--muted); font-size: .95em; display: block; margin-bottom: .9em; }
.tv-hero .btns { display: flex; gap: .6em; }
.tv-hero .btns span { padding: .55em 1.2em; border-radius: 99px; font-weight: 700; font-size: .95em; background: rgba(255,255,255,.1); }
.tv-hero .btns span.p { background: var(--primary); color: var(--bg); }
.tv-row { padding: 0 4%; margin-top: .6em; }
.tv-row .rt { font-weight: 700; font-size: 1.1em; margin-bottom: .6em; }
.tv-cards { display: flex; gap: 1.1em; }
.tv-cards .poster { flex: 0 0 15%; aspect-ratio: 16/10; border-radius: .6em; transition: transform .45s var(--ease-spring), box-shadow .35s; }
.tv-cards .poster.focused { transform: scale(1.12); z-index: 2; box-shadow: 0 0 0 .25em var(--text), 0 1em 2.2em -.4em rgba(242,105,100,.7); }
.tv-cards .poster .pt { font-size: .85em; }

/* EPG */
.epg { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); font-size: 1.65cqw; }
.epg-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4em 2em .8em; }
.epg-head b { font: 800 1.6em/1 var(--font-display); }
.epg-head .chips { margin: 0; }
.epg-head .chip { font-size: .95em; padding: .45em 1em; }
.epg-grid { position: relative; flex: 1; padding: 0 2em 1.5em; display: grid; grid-template-columns: 17% 1fr; gap: .45em .6em; align-content: start; }
.epg-times { grid-column: 2; display: flex; justify-content: space-between; color: var(--muted-2); font-size: .9em; padding-bottom: .2em; }
.epg-chan { display: flex; align-items: center; gap: .6em; background: var(--surface-2); border-radius: .5em; padding: .45em .6em; font-weight: 600; font-size: .95em; white-space: nowrap; overflow: hidden; }
.epg-chan .ch { width: 2.8em; height: 1.9em; font-size: .72em; }
.epg-progs { position: relative; display: flex; gap: .35em; }
.epg-progs span { background: var(--surface-2); border-radius: .5em; padding: .5em .7em; font-size: .92em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); transition: background .4s, color .4s; }
.epg-progs span.now { background: var(--surface-4); color: var(--text); }
.epg-progs span.sel { background: var(--primary); color: var(--bg); font-weight: 700; }
.epg-now { position: absolute; top: 1.6em; bottom: 1.5em; width: 2px; background: var(--premium); box-shadow: 0 0 10px var(--premium); z-index: 3; transition: left 1s linear; }
.epg-now::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--premium); }

/* Player */
.player { position: absolute; inset: 0; background: #000; overflow: hidden; font-size: 1.75cqw; }
.player .video { position: absolute; inset: -10%; background: radial-gradient(circle at 30% 60%, #f7a26b 0 8%, transparent 30%), radial-gradient(circle at 70% 30%, #3b82f6 0 6%, transparent 30%), linear-gradient(130deg, #1b1037, #6b2a55 45%, #0a3d3a); animation: pan 14s ease-in-out infinite alternate; }
@keyframes pan { to { transform: translate(6%, -4%) scale(1.08); } }
.player .scrim { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.7), transparent 30%, transparent 55%, rgba(0,0,0,.75)); opacity: 0; transition: opacity .5s; }
.player.controls .scrim { opacity: 1; }
.player .ctrl { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.player.controls .ctrl { opacity: 1; }
.player .ptitle { position: absolute; left: 3.5%; top: 6%; font: 700 1.3em/1.2 var(--font-display); }
.player .ptitle small { display: block; font: 500 .7em var(--font-body); color: rgba(255,255,255,.7); }
.player .center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 2.6em; align-items: center; }
.player .center i { width: 3em; height: 3em; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.player .center i.big { width: 4.4em; height: 4.4em; background: rgba(255,255,255,.18); }
.player .center svg { width: 45%; height: 45%; }
.player .bar { position: absolute; left: 3.5%; right: 3.5%; bottom: 9%; }
.player .track { height: .38em; border-radius: 1em; background: rgba(255,255,255,.25); position: relative; }
.player .track .buf { position: absolute; inset: 0 40% 0 0; background: rgba(255,255,255,.3); border-radius: inherit; }
.player .track .fill { position: absolute; inset: 0 auto 0 0; width: 22%; background: var(--primary); border-radius: inherit; transition: width 1.2s var(--ease); }
.player .track .fill::after { content: ""; position: absolute; right: -.6em; top: 50%; width: 1.2em; height: 1.2em; margin-top: -.6em; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 .35em rgba(242,105,100,.3); }
.player .times { display: flex; justify-content: space-between; margin-top: .6em; font-size: .85em; color: rgba(255,255,255,.75); }
.player .tools { position: absolute; right: 3.5%; top: 6%; display: flex; gap: .6em; }
.player .tools span { padding: .35em .75em; border-radius: 99px; background: rgba(255,255,255,.12); font-size: .82em; font-weight: 600; transition: background .3s, color .3s; }
.player .tools span.on { background: var(--primary); color: var(--bg); }
.player .sub { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); padding: .3em .8em; background: rgba(0,0,0,.55); color: #fff; font-weight: 600; font-size: 1.25em; border-radius: .3em; white-space: nowrap; opacity: 0; transition: opacity .4s, bottom .5s var(--ease); }
.player .sub.show { opacity: 1; }
.player.controls .sub { bottom: 26%; }
.upnext { position: absolute; right: 3.5%; bottom: 20%; width: 34%; padding: .9em; border-radius: .9em; background: rgba(13,13,26,.92); box-shadow: 0 1em 3em rgba(0,0,0,.6); transform: translateX(120%); transition: transform .7s var(--ease); display: grid; grid-template-columns: 38% 1fr; gap: .8em; }
.upnext.show { transform: none; }
.upnext .poster { aspect-ratio: 16/10; border-radius: .5em; }
.upnext b { display: block; font-size: 1em; margin-bottom: .25em; }
.upnext small { color: var(--muted); font-size: .85em; }
.upnext .ub { grid-column: 1 / -1; display: flex; gap: .5em; }
.upnext .ub span { flex: 1; text-align: center; padding: .5em; border-radius: 99px; font-weight: 700; font-size: .85em; background: rgba(255,255,255,.1); }
.upnext .ub span.p { background: var(--primary); color: var(--bg); position: relative; overflow: hidden; }
.upnext .ub span.p i { position: absolute; inset: 0 100% 0 0; background: rgba(255,255,255,.35); }
.upnext.show .ub span.p i { animation: countdown 5s linear forwards; }
@keyframes countdown { to { right: 0; } }

/* Forms inside app */
.f-title { font: 800 15px/1.2 var(--font-display); margin: 6px 0 10px; }
.seg { display: flex; padding: 3px; border-radius: 99px; background: var(--surface-2); margin-bottom: 12px; }
.seg span { flex: 1; text-align: center; padding: 5px; border-radius: 99px; font-size: 8.5px; font-weight: 600; color: var(--muted); }
.seg span.on { background: var(--primary); color: var(--bg); }
.field { margin-bottom: 9px; }
.field label { display: block; font-size: 8px; color: var(--muted); margin-bottom: 3px; }
.field .in { height: 26px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--hair); padding: 0 8px; display: flex; align-items: center; font-size: 9px; transition: border-color .3s; overflow: hidden; white-space: nowrap; }
.field .in.focus { border-color: var(--primary); }
.field .in.focus::after { content: ""; width: 1px; height: 12px; background: var(--primary); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-btn { height: 30px; border-radius: 99px; background: var(--primary); color: var(--bg); font-weight: 700; font-size: 9.5px; display: grid; place-items: center; margin-top: 12px; transition: transform .2s; }
.app-btn.press { transform: scale(.94); }
.sync-row { background: var(--surface-2); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.sync-row .l { display: flex; justify-content: space-between; font-size: 9px; font-weight: 600; margin-bottom: 6px; }
.sync-row .l small { color: var(--muted); font-weight: 500; }
.sync-row .t { height: 5px; border-radius: 5px; background: rgba(255,255,255,.12); overflow: hidden; }
.sync-row .t i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .25s linear; }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.counts div { background: var(--surface-2); border-radius: 10px; padding: 8px 4px; text-align: center; }
.counts b { display: block; font: 800 12px/1 var(--font-display); }
.counts small { font-size: 7px; color: var(--muted); }

/* Screen transitions in demos */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translateX(18px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.scr.on { opacity: 1; transform: none; }
.scr.out { transform: translateX(-18px) scale(.98); }

/* Touch indicator */
.tap { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255,255,255,.35); box-shadow: 0 0 0 0 rgba(255,255,255,.4); pointer-events: none; opacity: 0; z-index: 20; transition: left .6s var(--ease), top .6s var(--ease), opacity .3s; }
.tap.show { opacity: 1; }
.tap.hit { animation: tapHit .5s var(--ease); }
@keyframes tapHit { 0% { transform: scale(1); } 40% { transform: scale(.7); box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 100% { transform: scale(1); box-shadow: 0 0 0 16px rgba(255,255,255,0); } }

/* ---------- Feature blocks ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 12vw, 150px); }
.feature.flip > :first-child { order: 2; }
.feature .copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
@media (max-width: 920px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
}
.steps { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .7rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; padding: .85rem 1rem; border-radius: 16px; transition: background .4s, box-shadow .4s; color: var(--muted); }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 .95rem var(--font-display); background: var(--neu); box-shadow: var(--neu-out-sm); color: var(--muted); transition: all .4s; }
.steps li b { display: block; color: var(--text); font-weight: 600; margin-bottom: .1rem; }
.steps li.on { background: var(--neu); box-shadow: var(--neu-in-sm); }
.steps li.on::before { background: var(--primary); color: var(--bg); box-shadow: 0 8px 20px -8px var(--primary); }
.steps li span { font-size: .92rem; }

.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F26964' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  position: relative; grid-column: span 2; padding: 26px; border-radius: var(--radius); background: var(--neu); box-shadow: var(--neu-out);
  overflow: hidden; transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card.span-3 { grid-column: span 3; } .card.span-4 { grid-column: span 4; }
.card .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; box-shadow: var(--neu-in-sm); color: var(--primary); margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .95rem; margin: 0; }
.card .glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -80px; top: -80px; background: radial-gradient(var(--primary-soft), transparent 70%); pointer-events: none; }
@media (max-width: 920px) { .bento { grid-template-columns: repeat(2, 1fr); } .card, .card.span-3, .card.span-4 { grid-column: span 2; } }
@media (min-width: 640px) and (max-width: 920px) { .card { grid-column: span 1; } }

/* Keypad (parental PIN) */
.pin { display: grid; justify-items: center; gap: 22px; }
.pin-dots { display: flex; gap: 14px; }
.pin-dots i { width: 16px; height: 16px; border-radius: 50%; box-shadow: var(--neu-in-sm); transition: background .25s, box-shadow .25s, transform .3s var(--ease-spring); }
.pin-dots i.on { background: var(--primary); box-shadow: 0 0 12px var(--primary); transform: scale(1.1); }
.pin-dots.ok i { background: var(--success); box-shadow: 0 0 12px var(--success); }
.keypad { display: grid; grid-template-columns: repeat(3, 64px); gap: 16px; }
.keypad span { height: 64px; border-radius: 50%; display: grid; place-items: center; font: 600 1.3rem var(--font-display); background: var(--neu); box-shadow: var(--neu-out-sm); transition: box-shadow .15s, color .15s; user-select: none; }
.keypad span.press { box-shadow: var(--neu-in-sm); color: var(--primary); }
.keypad span.ghost { visibility: hidden; }
.lock { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; box-shadow: var(--neu-out-sm); color: var(--primary); transition: color .3s; }
.lock svg { width: 30px; height: 30px; }
.lock .shackle { transition: transform .5s var(--ease-spring); transform-origin: 17px 11px; }
.lock.open { color: var(--success); }
.lock.open .shackle { transform: translateY(-3px) rotate(-25deg); }

/* Pairing */
.pair { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }
.code-box { display: flex; gap: .35em; justify-content: center; }
.code-box span { width: 1.9em; height: 2.4em; display: grid; place-items: center; border-radius: .45em; background: var(--surface-3); font: 800 1.35em/1 var(--font-display); transition: transform .4s var(--ease-spring), background .3s, color .3s; }
.code-box span.in { background: var(--primary); color: var(--bg); transform: translateY(-3px); }
.reg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: var(--surface-2); font-size: 2.6cqw; padding: 4%; }
.reg h4 { font: 800 1.9em/1.1 var(--font-display); margin: 0 0 .3em; color: var(--premium); }
.reg p { font-size: 1em; margin: 0 0 1em; color: var(--muted); }
.reg .done { display: none; }
.reg.linked .wait { display: none; }
.reg.linked .done { display: block; }
.reg .badge { display: inline-flex; align-items: center; gap: .5em; padding: .6em 1.2em; border-radius: 99px; background: rgba(16,185,129,.15); color: var(--success); font-weight: 700; font-size: 1.1em; }
.portal { padding: 16px; font-size: 12px; }
.portal h5 { font: 700 14px/1.2 var(--font-display); margin: 0 0 4px; }
.portal p { font-size: 11px; margin: 0 0 12px; }
.portal .in { height: 38px; border-radius: 10px; box-shadow: var(--neu-in-sm); display: flex; align-items: center; padding: 0 12px; font: 700 15px var(--font-display); letter-spacing: .2em; margin-bottom: 10px; }
.portal .go { height: 36px; border-radius: 99px; display: grid; place-items: center; background: var(--primary); color: var(--bg); font-weight: 700; transition: transform .2s, background .3s; }
.portal .go.press { transform: scale(.95); }
.portal .go.ok { background: var(--success); color: #fff; }

/* Platforms */
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.platform { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.2rem; border-radius: 16px; background: var(--neu); box-shadow: var(--neu-out-sm); font-weight: 600; font-size: .95rem; }
.platform svg { width: 20px; height: 20px; color: var(--primary); }
.platform em { font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--premium); background: rgba(255,107,53,.12); padding: .2rem .5rem; border-radius: 99px; }

/* Marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding: 20px 0; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { flex: none; padding: .7rem 1.2rem; border-radius: 99px; background: var(--neu); box-shadow: var(--neu-out-sm); color: var(--muted); font-weight: 500; font-size: .92rem; white-space: nowrap; }
.marquee-track span b { color: var(--primary); margin-right: .35rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Gallery */
.gallery-tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--neu); box-shadow: var(--neu-in-sm); margin-bottom: 36px; }
.gallery-tabs button { border: 0; background: transparent; padding: .65rem 1.4rem; border-radius: 999px; color: var(--muted); font-weight: 600; transition: all .35s var(--ease); }
.gallery-tabs button.on { background: var(--primary); color: var(--bg); box-shadow: 0 8px 20px -8px var(--primary); }
.gallery { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--gutter) 50px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery > figure { flex: none; margin: 0; scroll-snap-align: center; text-align: center; transition: transform .5s var(--ease), opacity .5s; }
.gallery > figure figcaption { margin-top: 18px; font-weight: 600; font-size: .95rem; color: var(--muted); }
.gallery .phone { width: 230px; }
.gallery .tv { width: min(620px, 82vw); }
.gallery img.shot { border-radius: 34px; }
.gallery-nav { display: flex; justify-content: center; gap: 12px; }
.gallery-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--neu); box-shadow: var(--neu-out-sm); display: grid; place-items: center; }
.gallery-nav button:active { box-shadow: var(--neu-in-sm); }
.gallery-nav svg { width: 20px; height: 20px; }

/* Disclaimer */
.notice { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--neu); box-shadow: var(--neu-in); }
.notice .icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,107,53,.12); color: var(--premium); }
.notice .icon svg { width: 28px; height: 28px; }
.notice h3 { margin-bottom: .5rem; }
.notice p { margin: 0; }
@media (max-width: 560px) { .notice { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 90px) var(--gutter); border-radius: 36px; background: linear-gradient(135deg, #1a0d1c, #10101d 50%, #0d1330); box-shadow: var(--neu-out); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(242,105,100,.25), transparent 30%, rgba(34,45,98,.5), transparent 60%); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 7vw, 90px) 0 clamp(30px, 5vw, 60px); text-align: center; }
.page-hero .lead { margin: 0 auto; }
.page-hero .eyebrow::before { display: none; }

/* ---------- Download page ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 820px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card { padding: clamp(24px, 3.5vw, 36px); border-radius: 28px; background: var(--neu); box-shadow: var(--neu-out); display: flex; flex-direction: column; }
.dl-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dl-card header .icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; box-shadow: var(--neu-in-sm); color: var(--primary); }
.dl-card header .icon svg { width: 28px; height: 28px; }
.dl-card h3 { margin: 0; }
.dl-card .ver { font-size: .85rem; color: var(--muted); }
.dl-card .abi { display: grid; gap: 10px; margin: 18px 0; }
.abi-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--neu); box-shadow: var(--neu-out-sm); transition: box-shadow .25s, transform .25s; }
.abi-opt:hover { transform: translateY(-2px); }
.abi-opt:active { box-shadow: var(--neu-in-sm); transform: none; }
.abi-opt b { font-size: .95rem; } .abi-opt small { display: block; color: var(--muted); font-size: .8rem; }
.abi-opt .tag { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bg); background: var(--primary); padding: .25rem .55rem; border-radius: 99px; }
.abi-opt svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.dl-card .note { font-size: .85rem; color: var(--muted); margin-top: auto; }
.skeleton { height: 58px; border-radius: 16px; background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.store { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--neu); box-shadow: var(--neu-out-sm); transition: transform .35s var(--ease), box-shadow .25s; }
a.store:hover { transform: translateY(-4px); }
a.store:active { box-shadow: var(--neu-in-sm); }
.store .si { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-3); flex: none; }
.store .si svg { width: 24px; height: 24px; }
.store small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.store b { font-size: 1rem; }
.store.soon { opacity: .6; }
.store.soon small { color: var(--premium); }

.downloader { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 860px) { .downloader { grid-template-columns: 1fr; } }
.dcode { text-align: center; padding: clamp(28px, 4vw, 44px); border-radius: 32px; background: var(--neu); box-shadow: var(--neu-out); }
.dcode .label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.dcode .digits { display: flex; justify-content: center; gap: clamp(4px, 1vw, 10px); flex-wrap: nowrap; }
.dcode .digits span { width: clamp(34px, 4.6vw, 54px); height: clamp(50px, 6.6vw, 74px); border-radius: 16px; display: grid; place-items: center; font: 800 clamp(1.6rem, 3.6vw, 2.5rem)/1 var(--font-display); color: var(--primary); box-shadow: var(--neu-in); opacity: 0; transform: translateY(14px) rotateX(-60deg); transition: all .6s var(--ease-spring); }
.dcode.show .digits span { opacity: 1; transform: none; }
.dcode .or { margin: 20px 0 6px; font-size: .88rem; color: var(--muted); }
.dcode .url { font: 700 1.05rem var(--font-display); color: var(--text); }
.dcode .copy { margin-top: 20px; }

/* ---------- Reseller page ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 24px; border-radius: 22px; background: var(--neu); box-shadow: var(--neu-in); text-align: center; }
.stat b { display: block; font: 800 clamp(1.7rem, 3.4vw, 2.4rem)/1 var(--font-display); color: var(--primary); margin-bottom: 8px; }
.stat span { font-size: .9rem; color: var(--muted); }
.dash { padding: 18px; font-size: 12px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-top b { font: 700 15px var(--font-display); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dash-kpis div { padding: 12px; border-radius: 14px; box-shadow: var(--neu-in-sm); }
.dash-kpis small { color: var(--muted); font-size: 10px; display: block; }
.dash-kpis b { font: 800 18px var(--font-display); }
.dash-rows { display: grid; gap: 8px; }
.dash-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 11px; opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.dash-row.show { opacity: 1; transform: none; }
.dash-row code { font: 700 12px var(--font-display); letter-spacing: .12em; color: var(--primary); }
.dash-row .st { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: rgba(16,185,129,.15); color: var(--success); }
.dash-row .st.w { background: rgba(255,107,53,.15); color: var(--premium); }
.dash-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 14px; }
.dash-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--primary), rgba(242,105,100,.25)); height: 0; transition: height 1s var(--ease); }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: f; }
@media (max-width: 860px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow li { list-style: none; counter-increment: f; padding: 24px; border-radius: 22px; background: var(--neu); box-shadow: var(--neu-out-sm); position: relative; }
.flow li::before { content: "0" counter(f); display: block; font: 800 2rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px var(--primary); margin-bottom: 14px; }
.flow li b { display: block; margin-bottom: .3rem; }
.flow li p { margin: 0; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-cats { position: sticky; top: 96px; display: grid; gap: 8px; }
@media (max-width: 860px) { .faq-cats { position: static; display: flex; overflow-x: auto; scrollbar-width: none; } }
.faq-cats button { text-align: left; border: 0; padding: .8rem 1.1rem; border-radius: 14px; background: transparent; color: var(--muted); font-weight: 600; white-space: nowrap; transition: all .3s var(--ease); }
.faq-cats button.on { background: var(--neu); box-shadow: var(--neu-out-sm); color: var(--text); }
.faq-search { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 56px; border-radius: 18px; background: var(--neu); box-shadow: var(--neu-in); margin-bottom: 26px; }
.faq-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.faq-search input { flex: 1; border: 0; background: transparent; color: var(--text); font: inherit; outline: none; min-width: 0; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border-radius: 20px; background: var(--neu); box-shadow: var(--neu-out-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex: none; width: 32px; height: 32px; border-radius: 10px; box-shadow: var(--neu-in-sm); display: grid; place-items: center; transition: transform .4s var(--ease); color: var(--primary); }
.faq-item summary .pm svg { width: 16px; height: 16px; }
.faq-item[open] summary .pm { transform: rotate(45deg); }
.faq-item .ans { padding: 0 22px 20px; color: var(--muted); }
.faq-item .ans p { margin-bottom: .7em; }
.faq-item .ans a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.faq-empty { padding: 40px; text-align: center; color: var(--muted); display: none; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal-toc { display: none; } }
.legal-toc { position: sticky; top: 96px; padding: 20px; border-radius: 20px; background: var(--neu); box-shadow: var(--neu-out-sm); font-size: .88rem; }
.legal-toc b { display: block; margin-bottom: 10px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal-toc a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--muted); transition: all .2s; }
.legal-toc a:hover, .legal-toc a.on { color: var(--text); background: rgba(255,255,255,.05); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin: 2.4rem 0 .8rem; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: #c4c4d0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose .callout { padding: 20px 22px; border-radius: 18px; background: var(--neu); box-shadow: var(--neu-in-sm); margin: 1.5rem 0; }
.prose .callout p:last-child { margin: 0; }
.updated { display: inline-block; margin-top: 1rem; font-size: .88rem; color: var(--muted); padding: .4rem .9rem; border-radius: 99px; box-shadow: var(--neu-in-sm); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(60px, 10vw, 120px); padding: 64px 0 36px; border-top: 1px solid var(--hair); background: linear-gradient(transparent, rgba(34,45,98,.12)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { font-size: .9rem; max-width: 42ch; margin-top: 1rem; }
.site-footer h4 { font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.site-footer ul a { color: #c4c4d0; font-size: .95rem; transition: color .2s; }
.site-footer ul a:hover { color: var(--primary); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.socials a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--neu); box-shadow: var(--neu-out-sm); color: var(--muted); transition: color .2s, transform .3s var(--ease-spring); }
.socials a:hover { color: var(--primary); transform: translateY(-3px); }
.socials a svg { width: 18px; height: 18px; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .85rem; color: var(--muted-2); }
.foot-legal p { margin: 0; color: var(--muted-2); font-size: .82rem; max-width: 80ch; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.loaded .split-line > span { transform: none; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); padding: .8rem 1.3rem; border-radius: 99px; background: var(--surface-4); color: var(--text); font-weight: 600; font-size: .92rem; box-shadow: 0 16px 40px rgba(0,0,0,.5); opacity: 0; transition: all .4s var(--ease); z-index: 100; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

/* ---------- Logo motion & small fixes ---------- */
.logo { overflow: visible; }
.logo.anim .ring { animation: ringPulse 3.6s var(--ease) infinite; }
.logo.anim .r3 { animation-delay: 0s; } .logo.anim .r2 { animation-delay: .25s; } .logo.anim .r1 { animation-delay: .5s; }
@keyframes ringPulse { 0%, 60%, 100% { opacity: 1; } 20% { opacity: .35; } }
.hero-card .play svg { width: 8px; height: 8px; }
.app span[style*="width"] > svg { width: 100%; height: 100%; }
.app svg.logo { width: 22px; height: 22px; flex: none; }
.app-btn svg { width: 10px; height: 10px; }
.brand .logo, .foot-brand .logo { flex: none; }
.demo-phone { width: min(290px, 78vw); margin: 0 auto; }
.demo-phone .screen { position: relative; }
.engine-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.engine-chips button { border: 0; padding: .7rem 1.1rem; border-radius: 14px; background: var(--neu); box-shadow: var(--neu-out-sm); color: var(--muted); font-weight: 600; font-size: .9rem; transition: all .3s var(--ease); }
.engine-chips button.on { box-shadow: var(--neu-in-sm); color: var(--primary); }
.epg-wrap { position: relative; }
.epg-wrap .epg-phone { position: absolute; right: -2%; bottom: -8%; width: 30%; min-width: 120px; }
@media (max-width: 560px) { .epg-wrap .epg-phone { display: none; } }
#demo-tvnav { padding-bottom: 60px; }
.tvnav-remote { position: absolute; right: 18px; bottom: 14px; transform: scale(.8); transform-origin: bottom right; }
@media (max-width: 560px) { .tvnav-remote { transform: scale(.6); } }
.app div > svg.logo { width: 100%; height: 100%; }
.hero-phone { width: 40%; }
.hero-tv { top: 8%; }
@media (max-width: 639px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card { grid-column: span 1; padding: 18px; }
  .card.span-3, .card.span-4 { grid-column: span 2; }
  .card h3 { font-size: 1.02rem; }
  .card p { font-size: .85rem; }
  .card .icon { width: 44px; height: 44px; margin-bottom: 12px; }
}
section[id] { scroll-margin-top: 80px; }

/* ---------- Pixel-style device frame for real screenshots ---------- */
.pixel {
  position: relative; padding: 2.6%; border-radius: 13% / 6%;
  background: linear-gradient(150deg, #2a2a38, #0c0c14 45%, #1b1b27);
  box-shadow: 18px 18px 40px var(--neu-dark), -12px -12px 30px var(--neu-light), inset 0 0 0 1.5px rgba(255,255,255,.08), inset 0 0 0 4px #07070c;
}
.pixel::before { content: ""; position: absolute; right: -2px; top: 20%; width: 3px; height: 9%; border-radius: 2px; background: #2a2a38; }
.pixel::after { content: ""; position: absolute; right: -2px; top: 33%; width: 3px; height: 15%; border-radius: 2px; background: #2a2a38; }
.pscreen { container-type: inline-size; position: relative; aspect-ratio: 720 / 1527; border-radius: 10.5% / 5%; overflow: hidden; background: #01010E; display: flex; flex-direction: column; }
.pstatus { position: absolute; top: 0; left: 0; right: 0; height: 9.3cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 6.5cqw; color: #fff; font: 600 3.7cqw/1 var(--font-body); background: linear-gradient(rgba(0,0,0,.28), transparent); text-shadow: 0 1px 2px rgba(0,0,0,.4); z-index: 4; pointer-events: none; }
.pstatus .cam { position: absolute; left: 50%; top: 50%; width: 3.8cqw; height: 3.8cqw; margin: -1.9cqw 0 0 -1.9cqw; border-radius: 50%; background: #000; box-shadow: 0 0 0 .7cqw #14141c; }
.pstatus .sicons { display: flex; gap: 1.2cqw; align-items: center; }
.pstatus svg { width: 3.8cqw; height: 3.8cqw; }
.pimg { position: relative; flex: 1; overflow: hidden; }
.pimg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pimg img.seq { position: absolute; inset: 0; opacity: 0; transform: translateY(3%); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.pimg img.seq.on { opacity: 1; transform: none; }
.pimg img.seq.first { position: relative; }
.pscreen .gbar { position: absolute; left: 50%; bottom: 1.6cqw; width: 30cqw; height: 1.1cqw; margin-left: -15cqw; border-radius: 1cqw; background: rgba(255,255,255,.55); z-index: 3; }
.gallery .pixel { width: 240px; }
.hero-phone .pixel, .demo-phone .pixel, .epg-phone .pixel { width: 100%; }

/* Overlays placed on top of real screenshots (percent of the image) */
.ov { position: absolute; z-index: 2; pointer-events: none; }
.ov-type { left: 6%; min-width: 55%; padding: .6cqw 1.6cqw; transform: translateY(-50%); background: #01010E; color: #fff; font: 400 4.3cqw/1.2 var(--font-body); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.ov-type.on { opacity: 1; }
.ov-type.focus::after { content: ""; display: inline-block; width: .4cqw; height: 4.6cqw; margin-left: .3cqw; vertical-align: -1cqw; background: var(--primary); animation: blink 1s steps(1) infinite; }
.ov-ring { left: 4%; right: 4%; height: 6.6%; transform: translateY(-50%); border: .5cqw solid var(--primary); border-radius: 2cqw; opacity: 0; transition: opacity .25s; }
.ov-ring.on { opacity: 1; }
.ov-btn { left: 4%; right: 4%; top: 59.5%; height: 6.1%; border-radius: 1.6cqw; background: #F26964; color: #1a0b0b; display: grid; place-items: center; font: 600 4.2cqw var(--font-body); opacity: 0; transition: opacity .4s, transform .2s; }
.ov-btn.on { opacity: 1; }
.ov-btn.press { transform: scale(.95); }
.pimg .tap { width: 9cqw; height: 9cqw; margin: -4.5cqw 0 0 -4.5cqw; }
.brand em { font-style: normal; color: var(--primary); margin-left: .28em; }
.brand > span { white-space: nowrap; }
.pixel.land { padding: 1.2%; border-radius: 6% / 13%; }
.pixel.land .pscreen { aspect-ratio: 1280 / 591; border-radius: 4.6% / 10%; }
.pixel.land::before, .pixel.land::after { display: none; }
.gallery .pixel.land { width: min(520px, 80vw); }
.gallery { align-items: center; }

/* ---------- Real TV screenshots inside the TV frame ---------- */
.tv .screen .pimg { position: absolute; inset: 0; }
.tv .screen img.tvshot { display: block; width: 100%; height: 100%; object-fit: cover; }
.pimg img.kb.on { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1); } }
.tv .linked-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .8s var(--ease), transform 1s var(--ease); z-index: 3; }
.tv .linked-shot.on { opacity: 1; transform: none; }
/* Long screenshot that scrolls inside the phone */
.pimg img.scroll { height: auto; object-fit: initial; }
.pimg img.scroll.on { animation: pscroll 8s 1s ease-in-out both; }
@keyframes pscroll { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 212cqw)); } }
/* Parental demo: TV screenshot + keypad */
#demo-pin { display: grid; gap: 28px; justify-items: center; }
#demo-pin .pin-tv { width: 100%; }
#demo-pin .keypad { grid-template-columns: repeat(3, 52px); gap: 12px; }
#demo-pin .keypad span { height: 52px; font-size: 1.1rem; }
#demo-pin .lock { width: 52px; height: 52px; }
#demo-pin .pin { grid-template-columns: auto auto; align-items: center; column-gap: 34px; }
#demo-pin .pin .lock, #demo-pin .pin .pin-dots { grid-column: 1; }
#demo-pin .pin .keypad { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 560px) { #demo-pin .pin { grid-template-columns: 1fr; justify-items: center; } #demo-pin .pin .keypad { grid-column: 1; grid-row: auto; } }
