/* =============================================================
   iptvwith4k.store — Premium dark design system
   Original work. Palette: black / navy / electric-blue + violet.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Core surfaces */
  --bg-0: #05070d;          /* deepest black-navy */
  --bg-1: #080b16;          /* page background */
  --bg-2: #0c1226;          /* raised navy */
  --bg-3: #111a35;          /* elevated */
  --line: rgba(120, 150, 220, 0.14);
  --line-strong: rgba(130, 165, 240, 0.28);

  /* Brand accents */
  --blue: #2f7bff;          /* electric blue */
  --blue-2: #37c6ff;        /* cyan */
  --violet: #7b5cff;        /* violet */
  --glow: rgba(55, 150, 255, 0.55);
  --gold: #eac562;          /* tier accent */
  --gold-grad: linear-gradient(120deg, #f6dd8e 0%, #d9a53a 100%);
  --green: #35d6a0;         /* tier accent */
  --green-grad: linear-gradient(120deg, #58e6b0 0%, #1fae7c 100%);

  /* Text */
  --ink: #eef3ff;
  --ink-soft: #b7c2df;
  --ink-mute: #8592b5;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #37c6ff 0%, #2f7bff 45%, #7b5cff 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(55,198,255,.18), rgba(123,92,255,.18));
  --grad-text: linear-gradient(100deg, #9ad9ff 0%, #6aa8ff 40%, #b9a6ff 100%);

  /* Glass */
  --glass: rgba(17, 26, 53, 0.55);
  --glass-2: rgba(12, 18, 38, 0.7);
  --glass-brd: rgba(140, 175, 255, 0.16);

  /* Shape & motion */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-1: 0 10px 40px -12px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 1px rgba(90,150,255,.12), 0 24px 70px -30px rgba(47,123,255,.6);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --maxw: 1180px;

  --font: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg-1);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }

/* ---------- Ambient background ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(47,123,255,.16), transparent 60%),
    radial-gradient(55% 45% at 92% 8%, rgba(123,92,255,.14), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(55,198,255,.10), transparent 60%),
    var(--bg-1);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,150,220,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,220,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(75% 60% at 50% 30%, #000 0%, transparent 85%);
}

/* ---------- Skip link (a11y) ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; }
.skip-link:focus { left: 16px; top: 16px; width: auto; padding: 12px 20px; border-radius: 10px; background: var(--grad-brand); color: #fff; font-family: var(--font); font-weight: 600; box-shadow: var(--shadow-1); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 9vw, 120px) 0; position: relative; }
section[id] { scroll-margin-top: 88px; }
.section--tight { padding: clamp(44px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-2);
  padding: 7px 14px; border-radius: 100px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--glass-brd);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 12px var(--blue-2); }

.section-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 64px); text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 16px; }
.section-sub { color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.12rem); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost {
  background: var(--glass); color: var(--ink);
  border: 1px solid var(--line-strong); backdrop-filter: blur(10px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-glow); }
.btn--lg { padding: 17px 34px; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* ---------- Glass card ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8, 11, 22, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
/* Three-zone header: brand left · links centered · actions right */
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font); font-weight: 700; font-size: 1.14rem; letter-spacing: -0.02em; justify-self: start; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand b { color: var(--blue-2); }
.nav__links { display: flex; align-items: center; gap: 30px; justify-self: center; }
.nav__links a { font-size: .93rem; color: var(--ink-soft); font-weight: 500; transition: color .25s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad-brand); border-radius: 2px; transition: width .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; justify-self: end; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 100px; border: 1px solid var(--line); background: var(--glass); transition: border-color .25s, color .25s;
}
.lang__btn:hover { color: var(--ink); border-color: var(--line-strong); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px;
  background: var(--glass-2); border: 1px solid var(--glass-brd); border-radius: var(--r-md);
  backdrop-filter: blur(16px); box-shadow: var(--shadow-1); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--ease);
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .9rem; color: var(--ink-soft); transition: background .2s, color .2s; }
.lang__menu a:hover, .lang__menu a[aria-current="true"] { background: var(--grad-brand-soft); color: var(--ink); }
.lang__menu a .flag { font-size: 1.05rem; }

.nav__mobile { display: none; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); }
.nav__burger span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(120px, 17vw, 190px) 0 clamp(60px, 8vw, 100px); }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: .5; animation: float 14s ease-in-out infinite; }
.hero__orb--1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(47,123,255,.6), transparent 70%); top: -60px; left: -80px; }
.hero__orb--2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(123,92,255,.5), transparent 70%); top: 40px; right: -60px; animation-delay: -5s; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0);} 50% { transform: translateY(-26px) translateX(14px);} }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1.04; margin: 20px 0 20px; }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.24rem); color: var(--ink-soft); max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; color: var(--ink-mute); font-size: .88rem; }
.hero__trust .stars { color: #ffcf5c; letter-spacing: 2px; }
.hero__trust b { color: var(--ink); }

/* Hero visual: floating 4K player mock */
.hero__visual { position: relative; }
.player {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--glass-brd); background: var(--bg-2);
  box-shadow: var(--shadow-glow); aspect-ratio: 16 / 10;
  transform: perspective(1200px) rotateY(-9deg) rotateX(4deg);
  transition: transform .6s var(--ease);
}
.hero__visual:hover .player { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.player__top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(5,7,13,.6); border-bottom: 1px solid var(--line); }
.player__top i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.player__screen { position: relative; height: 100%; background:
    radial-gradient(120% 90% at 20% 10%, rgba(47,123,255,.35), transparent 55%),
    radial-gradient(120% 90% at 90% 90%, rgba(123,92,255,.35), transparent 55%),
    linear-gradient(160deg, #0a1330, #0a0f22); }
.player__poster { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s var(--ease); }
.player__poster[data-poster] { opacity: 1; }
.player__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,13,.15), rgba(5,7,13,.55)); pointer-events: none; }
.player__badge, .player__play, .player__bar { z-index: 2; }
.player__badge { position: absolute; top: 16px; left: 16px; font-family: var(--font); font-weight: 700; font-size: .72rem; letter-spacing: .1em; padding: 6px 11px; border-radius: 8px; background: var(--grad-brand); color: #fff; box-shadow: 0 6px 18px -6px var(--glow); }
.player__play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.player__play::after { content: ""; width: 0; height: 0; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.player__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8;} 100% { transform: scale(1.5); opacity: 0;} }
.player__bar { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.player__bar i { position: absolute; inset: 0; width: 42%; background: var(--grad-brand); border-radius: 4px; }

.chip-float {
  position: absolute; display: flex; align-items: center; gap: 9px;
  padding: 11px 15px; border-radius: 14px; font-size: .82rem; font-weight: 600; font-family: var(--font);
  background: var(--glass-2); border: 1px solid var(--glass-brd); backdrop-filter: blur(12px); box-shadow: var(--shadow-1);
  animation: float 8s ease-in-out infinite;
}
.chip-float svg { width: 20px; height: 20px; }
.chip-float--a { top: -22px; right: 6%; }
.chip-float--b { bottom: 8%; left: -26px; animation-delay: -3s; }

/* Marquee logos */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { display: flex; gap: 46px; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__row span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-mute); font-family: var(--font); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.marquee__row span svg { width: 22px; height: 22px; opacity: .8; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 30px 26px; border-radius: var(--r-lg); text-align: center; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0; background: var(--grad-brand-soft); opacity: 0; transition: opacity .4s; }
.stat:hover::before { opacity: 1; }
.stat__num { font-family: var(--font); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__num .suffix { -webkit-text-fill-color: initial; color: var(--blue-2); }
.stat__label { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; position: relative; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 32px 28px; border-radius: var(--r-lg); position: relative; overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.feature:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.feature__glow { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 70%); top: -70px; right: -50px; opacity: 0; transition: opacity .45s; filter: blur(10px); }
.feature:hover .feature__glow { opacity: .35; }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand-soft); border: 1px solid var(--glass-brd); margin-bottom: 20px; }
.feature__icon svg { width: 28px; height: 28px; color: var(--blue-2); }
.feature h3 { font-size: 1.24rem; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: .96rem; }
.feature--wide { grid-column: span 2; }

/* ============================================================
   DEVICES
   ============================================================ */
.devices__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 16px; }
.device {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 24px 14px; border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--glass-brd);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.device:hover { transform: translateY(-6px); border-color: var(--blue); background: var(--bg-3); }
.device__ic { width: 46px; height: 46px; color: var(--ink-soft); transition: color .35s, transform .35s; }
.device:hover .device__ic { color: var(--blue-2); transform: scale(1.08); }
.device span { font-size: .86rem; font-weight: 500; color: var(--ink-soft); font-family: var(--font); }
.device:hover span { color: var(--ink); }

/* ============================================================
   STREAMING QUALITY
   ============================================================ */
.quality__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 54px); align-items: center; }
.qbars { display: flex; flex-direction: column; gap: 18px; }
.qbar { padding: 18px 22px; border-radius: var(--r-md); }
.qbar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.qbar__name { font-family: var(--font); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.qbar__tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 4px 9px; border-radius: 6px; background: var(--grad-brand-soft); color: var(--blue-2); border: 1px solid var(--glass-brd); }
.qbar__track { height: 8px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.qbar__fill { height: 100%; border-radius: 6px; background: var(--grad-brand); width: 0; transition: width 1.4s var(--ease); }
.qbar__res { font-size: .82rem; color: var(--ink-mute); margin-top: 8px; }
.quality__copy h2 { margin-bottom: 16px; }
.quality__copy p { color: var(--ink-soft); margin-bottom: 20px; }
.qlist { display: grid; gap: 14px; }
.qlist li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-soft); font-size: .96rem; }
.qlist svg { width: 22px; height: 22px; color: var(--blue-2); flex: 0 0 22px; margin-top: 1px; }

/* ============================================================
   BRAND COMPATIBILITY GRID (12 cards)
   ============================================================ */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.brandcard {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  min-height: 132px; padding: 26px 14px; text-align: center;
  border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-brd);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.brandcard:hover { transform: translateY(-6px); border-color: var(--blue); background: var(--bg-3); }
.brandcard__ic { height: 40px; display: grid; place-items: center; }
.brandcard .device__ic { width: auto; height: 38px; max-width: 118px; color: var(--ink-soft); transition: color .35s, transform .35s; }
.brandcard:hover .device__ic { color: var(--blue-2); transform: scale(1.05); }
.brandcard > span:last-child { font-size: .9rem; font-weight: 500; color: var(--ink-soft); font-family: var(--font); }
.brandcard:hover > span:last-child { color: var(--ink); }
@media (max-width: 1024px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px)  { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px)  { .brand-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   INSTALLATION ACCORDION
   ============================================================ */
.install { max-width: 860px; }
.install__q { display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.install__ic {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-brand-soft); border: 1px solid var(--glass-brd);
}
.install__ic svg { width: 26px; height: 26px; color: var(--blue-2); }
.install__meta { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.install__meta b { font-family: var(--font); font-weight: 600; font-size: 1.04rem; color: var(--ink); letter-spacing: -0.01em; }
.install__meta span { color: var(--ink-mute); font-size: .84rem; font-weight: 400; }
.install__steps { display: grid; gap: 13px; padding: 4px 24px 24px 84px; }
.install__steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: .95rem; }
.install__steps svg { width: 20px; height: 20px; color: var(--blue-2); flex: 0 0 20px; margin-top: 2px; }
@media (max-width: 520px) { .install__steps { padding-left: 24px; } .install__meta b { font-size: .96rem; } }

/* ============================================================
   MOVIES & SERIES SHOWCASE (VOD)
   ============================================================ */
.vodsec { overflow: hidden; }
.vod-marquee {
  margin-top: clamp(28px, 4vw, 46px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.vod-track { display: flex; gap: 20px; width: max-content; padding: 8px 0; animation: scroll-x 70s linear infinite; }
.vod-marquee:hover .vod-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .vod-track { animation: none; } }

.vod {
  position: relative; flex: 0 0 auto; width: 210px; aspect-ratio: 2 / 3;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-1); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.vod:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-glow); }
.vod__art {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 25% 12%, color-mix(in srgb, var(--g1) 85%, #fff 12%), transparent 60%),
    radial-gradient(120% 90% at 85% 95%, color-mix(in srgb, var(--g1) 70%, #000 20%), transparent 55%),
    linear-gradient(160deg, var(--g1), var(--g2));
  background-size: cover;
}
/* When a real poster is loaded, show it edge-to-edge and drop the placeholder */
.vod__art[data-poster] { background-size: cover; background-position: center; }
.vod__art[data-poster] .vod__logo { display: none; }
.vod__art[data-poster] .vod__shine { opacity: .25; }
.vod__art[style*="url("] .vod__logo { display: none; }
.vod__logo { color: rgba(255,255,255,.28); }
.vod__shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.10) 50%, transparent 60%); }
.vod__rate {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font); font-weight: 700; font-size: .78rem; color: #fff;
  padding: 5px 9px; border-radius: 9px; background: rgba(5,7,13,.6);
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14);
}
.vod__rate svg { color: #ffcf5c; }
.vod__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 15px 15px;
  background: linear-gradient(180deg, transparent, rgba(5,7,13,.62) 45%, rgba(5,7,13,.9));
}
.vod__type {
  display: inline-block; font-family: var(--font); font-size: .64rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue-2);
  padding: 3px 8px; border-radius: 6px; background: rgba(47,123,255,.16); border: 1px solid var(--glass-brd);
  margin-bottom: 8px;
}
.vod__title { font-size: 1rem; line-height: 1.2; color: #fff; }
.vod__year { font-size: .8rem; color: var(--ink-mute); }
@media (max-width: 460px) { .vod { width: 158px; } .vod-track { gap: 14px; } }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--violet)); opacity: .4; }
.tstep { position: relative; padding: 0 0 34px 76px; }
.tstep:last-child { padding-bottom: 0; }
.tstep__num { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font); font-weight: 700; font-size: 1.2rem; background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--blue-2); box-shadow: var(--shadow-1); z-index: 1; }
.tstep__card { padding: 22px 24px; border-radius: var(--r-md); }
.tstep__card h3 { font-size: 1.16rem; margin-bottom: 7px; }
.tstep__card p { color: var(--ink-soft); font-size: .95rem; }

/* ============================================================
   COMPARISON
   ============================================================ */
.compare { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--glass-brd); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
.compare thead th { font-family: var(--font); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); background: var(--bg-2); }
.compare thead th.is-us { color: var(--blue-2); }
.compare tbody tr:hover { background: rgba(47,123,255,.05); }
.compare td:first-child { color: var(--ink-soft); }
.compare .col-us { background: rgba(47,123,255,.06); font-weight: 600; }
.compare .yes { color: #46e0a8; display: inline-flex; align-items: center; gap: 7px; }
.compare .no { color: #6c7794; display: inline-flex; align-items: center; gap: 7px; }
.compare .yes svg, .compare .no svg { width: 18px; height: 18px; }
.compare tr:last-child td { border-bottom: 0; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { padding: 34px 30px; border-radius: var(--r-lg); position: relative; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s; }
.plan:hover { transform: translateY(-6px); }
.plan--featured { border-color: var(--blue); box-shadow: var(--shadow-glow); }
.plan--featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px -8px var(--glow); }
.plan__name { font-family: var(--font); font-weight: 600; font-size: 1.15rem; }
.plan__desc { color: var(--ink-mute); font-size: .88rem; margin: 6px 0 20px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__price b { font-family: var(--font); font-weight: 700; font-size: 3rem; line-height: 1; }
.plan__price .cur { font-size: 1.3rem; color: var(--ink-soft); align-self: flex-start; margin-top: 6px; }
.plan__price .per { color: var(--ink-mute); font-size: .95rem; }
.plan__note { color: var(--ink-mute); font-size: .82rem; margin-bottom: 22px; }
.plan__feats { display: grid; gap: 13px; margin-bottom: 26px; flex: 1; }
.plan__feats li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); font-size: .93rem; }
.plan__feats svg { width: 19px; height: 19px; color: var(--blue-2); flex: 0 0 19px; margin-top: 2px; }
.pricing__foot { text-align: center; margin-top: 26px; color: var(--ink-mute); font-size: .9rem; }

/* 4-tier layout */
.pricing__grid--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pricing__grid--4 .plan { padding: 32px 24px; }
.pricing__grid--4 .plan__feats li { font-size: .88rem; }
.plan__term { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink-soft); font-size: .9rem; margin: 5px 0 16px; }
.plan__bonus { color: var(--green); font-weight: 600; font-size: .82rem; }
.plan__price b { font-size: 2.7rem; }

/* Tier accents */
.plan--gold { border-color: rgba(234,197,98,.55); box-shadow: 0 0 0 1px rgba(234,197,98,.18), 0 24px 70px -30px rgba(217,165,58,.5); }
.plan--gold::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--gold-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan--green { border-color: rgba(53,214,160,.45); }
.plan__flag--gold { background: var(--gold-grad); color: #241a06; box-shadow: 0 8px 20px -8px rgba(217,165,58,.7); }
.plan__flag--green { background: var(--green-grad); color: #052018; box-shadow: 0 8px 20px -8px rgba(31,174,124,.7); }
.plan--gold .plan__feats svg, .plan--gold .step__note b { color: var(--gold); }
.plan--green .plan__feats svg, .plan--green .plan__bonus, .plan--green .step__note b { color: var(--green); }

.btn--gold { background: var(--gold-grad); color: #241a06; box-shadow: 0 10px 30px -10px rgba(217,165,58,.55), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(217,165,58,.6); }
.btn--green { background: var(--green-grad); color: #052018; box-shadow: 0 10px 30px -10px rgba(31,174,124,.5), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--green:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(31,174,124,.6); }

/* Connection stepper */
.step { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; border-radius: 100px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 12px; }
.step__btn { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line-strong); color: var(--ink); transition: border-color .25s, background .25s, transform .15s, opacity .25s; }
.step__btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue-2); }
.step__btn:active:not(:disabled) { transform: scale(.92); }
.step__btn:disabled { opacity: .35; cursor: not-allowed; }
.plan--gold .step__inc { background: var(--gold-grad); color: #241a06; border-color: transparent; }
.plan--green .step__inc { background: var(--green-grad); color: #052018; border-color: transparent; }
.step__mid { font-family: var(--font); font-size: .92rem; color: var(--ink); text-align: center; }
.step__count { font-weight: 700; font-size: 1.05rem; }
.step__word { color: var(--ink-soft); }
.step__note { color: var(--ink-mute); font-size: .78rem; text-align: center; margin-bottom: 22px; line-height: 1.4; }
.step__note b { color: var(--green); font-weight: 600; }

@media (max-width: 1024px) { .pricing__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pricing__grid--4 { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tgrid { columns: 3; column-gap: 22px; }
.tcard { break-inside: avoid; margin-bottom: 22px; padding: 26px; border-radius: var(--r-lg); }
.tcard__stars { color: #ffcf5c; letter-spacing: 2px; margin-bottom: 13px; font-size: .95rem; }
.tcard p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 18px; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font); font-weight: 700; color: #fff; background: var(--grad-brand); flex: 0 0 42px; }
.tcard__meta b { font-family: var(--font); font-weight: 600; font-size: .95rem; display: block; }
.tcard__meta span { color: var(--ink-mute); font-size: .82rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--glass-brd); background: var(--glass); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--font); font-weight: 600; font-size: 1.03rem; color: var(--ink); }
.faq__q .ic { flex: 0 0 22px; width: 22px; height: 22px; position: relative; transition: transform .35s var(--ease); }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--blue-2); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq__q .ic::before { width: 14px; height: 2px; }
.faq__q .ic::after { width: 2px; height: 14px; transition: transform .35s var(--ease); }
.faq__item.is-open .faq__q .ic::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--ink-soft); font-size: .96rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.ctaband { position: relative; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 70px); text-align: center; overflow: hidden; background: linear-gradient(120deg, rgba(47,123,255,.16), rgba(123,92,255,.16)); border: 1px solid var(--glass-brd); }
.ctaband::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(55,198,255,.3), transparent 70%); top: -200px; left: 50%; transform: translateX(-50%); filter: blur(30px); z-index: 0; }
.ctaband > * { position: relative; z-index: 1; }
.ctaband h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.ctaband p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 76px) 0 34px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer__brand p { color: var(--ink-mute); font-size: .92rem; margin: 16px 0 20px; max-width: 300px; }
.footer__soc { display: flex; gap: 12px; }
.footer__soc a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); transition: border-color .25s, transform .25s, color .25s; color: var(--ink-soft); }
.footer__soc a:hover { border-color: var(--blue); color: var(--blue-2); transform: translateY(-3px); }
.footer__soc svg { width: 19px; height: 19px; }
.footer__col h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--ink-soft); font-size: .93rem; padding: 6px 0; transition: color .25s, padding-left .25s; }
.footer__col a:hover { color: var(--blue-2); padding-left: 5px; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: .86rem; }
.footer__bar .langlinks { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__bar .langlinks a:hover { color: var(--blue-2); }
.footer__disc { color: var(--ink-mute); font-size: .8rem; max-width: var(--maxw); margin: 22px auto 0; padding: 0 24px; text-align: center; line-height: 1.6; }

/* ============================================================
   Breadcrumb (landing pages)
   ============================================================ */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--ink-mute); margin-bottom: 22px; }
.crumbs a:hover { color: var(--blue-2); }
.crumbs .sep { opacity: .5; }

/* Prose for landing pages */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 40px 0 16px; }
.prose h3 { font-size: 1.25rem; margin: 28px 0 12px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose ul.ticks { display: grid; gap: 12px; margin: 8px 0 20px; }
.prose ul.ticks li { display: flex; gap: 12px; color: var(--ink-soft); }
.prose ul.ticks svg { width: 20px; height: 20px; color: var(--blue-2); flex: 0 0 20px; margin-top: 3px; }
.prose a.inline { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.prose a.inline:hover { color: var(--blue); }

.pill-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.pill-links a { padding: 10px 18px; border-radius: 100px; background: var(--glass); border: 1px solid var(--glass-brd); font-size: .9rem; font-weight: 500; color: var(--ink-soft); transition: border-color .25s, color .25s, transform .25s; }
.pill-links a:hover { border-color: var(--blue); color: var(--ink); transform: translateY(-2px); }

/* ============================================================
   Scroll reveal
   ============================================================ */
/* Progressive enhancement: only hide when JS is active, so no-JS users
   and crawlers always see fully rendered content. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature--wide { grid-column: span 2; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .tgrid { columns: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: block; }
  .nav__mobile {
    position: fixed; inset: 72px 0 auto 0; background: var(--glass-2); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: 20px 24px 30px; display: none; flex-direction: column; gap: 6px;
  }
  .nav.is-open .nav__mobile { display: flex; }
  .nav__mobile a { padding: 13px 8px; border-radius: 10px; color: var(--ink-soft); font-family: var(--font); font-weight: 500; }
  .nav__mobile a:hover { background: var(--glass); color: var(--ink); }
  .nav__mobile .btn { display: inline-flex; margin-top: 10px; }
  .quality__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 560px; }
  .tgrid { columns: 1; }
  .section { padding: 60px 0; }
}
@media (max-width: 460px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__title { font-size: 2.2rem; }
}
