/* ==========================================================================
   Vivo 4K — Design System
   Dark cinematic, premium streaming aesthetic.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #05060b;
  --bg-elev: #0a0c14;
  --bg-soft: #0e1119;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f2f4f9;
  --text-2: #b9c0d2;
  --muted: #8b93a7;

  --violet: #8b5cf6;
  --violet-deep: #6d28d9;
  --cyan: #22d3ee;
  --gold: #f5c76a;
  --green: #34d399;
  --red: #fb7185;

  --grad: linear-gradient(120deg, #a78bfa 0%, #7c3aed 38%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.10));

  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 20px 80px -24px rgba(124, 58, 237, 0.55);

  --container: 1200px;
  --header-h: 74px;

  --font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Ambient background layers */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(124, 58, 237, 0.20), transparent 65%),
    radial-gradient(800px 460px at 92% 4%, rgba(34, 211, 238, 0.12), transparent 65%),
    radial-gradient(1000px 700px at 50% 110%, rgba(109, 40, 217, 0.10), transparent 70%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 44px, var(--container));
  margin-inline: auto;
}
.container-narrow { width: min(100% - 44px, 820px); margin-inline: auto; }

section { position: relative; }
.section { padding: clamp(64px, 8vw, 116px) 0; }
.section-sm { padding: clamp(44px, 5vw, 68px) 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--violet);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus { top: 14px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}
.grad-text {
  background-image:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 60%),
    var(--grad);
  background-size: 260% 100%, 100% 100%;
  background-position: 180% 0, 0 0;
  background-repeat: no-repeat, no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-sheen 9s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}
@keyframes grad-sheen {
  0%, 62% { background-position: 180% 0, 0 0; }
  88%, 100% { background-position: -80% 0, 0 0; }
}
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--text-2);
  line-height: 1.68;
  max-width: 62ch;
}
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 16px 0 14px;
}
.section-head p { color: var(--text-2); font-size: 1.04rem; }
.mini { font-size: 0.82rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s, border-color 0.28s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background: var(--grad);
  color: #0b0616;
  box-shadow: 0 10px 34px -12px rgba(124, 58, 237, 0.75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -14px rgba(124, 58, 237, 0.9); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.84rem; }
.btn-block { width: 100%; }
.btn-wa { background: #1faf54; color: #fff; box-shadow: 0 10px 30px -12px rgba(31, 175, 84, 0.7); }
.btn-wa:hover { transform: translateY(-2px); background: #25c45f; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.94rem;
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.announce {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.22), rgba(34, 211, 238, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  color: var(--text-2);
  text-align: center;
  padding: 9px 16px;
}
.announce strong { color: #fff; }
.announce a { color: var(--cyan); font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(5, 6, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled { background: rgba(5, 6, 11, 0.92); border-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  flex: none;
}
.logo-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 8px 24px -10px rgba(124, 58, 237, 0.9);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.18s var(--ease), box-shadow 0.3s var(--ease);
}
.logo:hover .logo-mark {
  box-shadow: 0 10px 30px -8px rgba(124, 58, 237, 1), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.lm-sheen {
  position: absolute;
  inset: -45%;
  z-index: 1;
  opacity: 0.55;
  background: conic-gradient(from 0deg, transparent 0 52%, rgba(255, 255, 255, 0.55) 70%, transparent 84%);
  animation: lm-sheen 9s linear infinite;
  transition: opacity 0.3s;
}
.lm-orbit {
  position: absolute;
  inset: 4.5px;
  z-index: 2;
  border-radius: 50%;
  opacity: 0.8;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0 68%, rgba(255, 255, 255, 0.95) 86%, rgba(255, 255, 255, 0) 95%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.6px));
  animation: lm-spin 6s linear infinite;
  transition: opacity 0.3s;
}
.lm-tv {
  position: relative;
  z-index: 3;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s var(--ease);
}
.logo:hover .lm-sheen { opacity: 0.85; }
.logo:hover .lm-orbit { animation-duration: 1.6s; opacity: 1; }
.logo:hover .lm-tv { transform: scale(1.07) translateY(-0.5px); }
.logo:hover .logo-word .k { text-shadow: 0 0 22px rgba(34, 211, 238, 0.55); }
.logo .logo-word .k { transition: text-shadow 0.35s var(--ease); }
.logo-word .lw {
  --lw-glow: rgba(255, 255, 255, 0.6);
  display: inline-block;
  transform-origin: 50% 90%;
  animation: lw-wave 4.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
.logo-word .lw.k {
  --lw-glow: rgba(34, 211, 238, 0.7);
  color: var(--cyan);
}
.logo-word .lw:nth-child(1) { animation-delay: 0s; }
.logo-word .lw:nth-child(2) { animation-delay: 0.08s; }
.logo-word .lw:nth-child(3) { animation-delay: 0.16s; }
.logo-word .lw:nth-child(4) { animation-delay: 0.24s; }
.logo-word .lw:nth-child(5) { animation-delay: 0.32s; }
.logo-word .lw:nth-child(6) { animation-delay: 0.4s; }
@keyframes lw-wave {
  0%, 64%, 100% { transform: none; filter: none; }
  7% { transform: translateY(-2px); filter: brightness(1.25) drop-shadow(0 0 5px var(--lw-glow)); }
  16% { transform: none; filter: none; }
}
.logo:focus-visible .logo-mark { outline: 2px solid var(--cyan); outline-offset: 3px; }
@keyframes lm-spin { to { transform: rotate(360deg); } }
@keyframes lm-sheen { to { transform: rotate(360deg); } }

.logo span .k { color: var(--cyan); }

/* First-load assembly (JS adds .is-boot for ~1.2 s, once per session) */
.logo.is-boot .logo-mark { animation: lm-boot 0.95s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
.logo.is-boot .lm-tv { animation: lm-tv-in 0.75s 0.08s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
.logo.is-boot .logo-word .lw { animation: lw-boot 0.55s cubic-bezier(0.2, 0.9, 0.25, 1) both; }
.logo.is-boot .logo-word .lw:nth-child(1) { animation-delay: 0.12s; }
.logo.is-boot .logo-word .lw:nth-child(2) { animation-delay: 0.16s; }
.logo.is-boot .logo-word .lw:nth-child(3) { animation-delay: 0.2s; }
.logo.is-boot .logo-word .lw:nth-child(4) { animation-delay: 0.24s; }
.logo.is-boot .logo-word .lw:nth-child(5) { animation-delay: 0.28s; }
.logo.is-boot .logo-word .lw:nth-child(6) { animation-delay: 0.32s; }
@keyframes lm-boot {
  0% { transform: scale(0.7); opacity: 0; filter: brightness(2.1); }
  55% { transform: scale(1.06); opacity: 1; filter: brightness(1.35); }
  100% { transform: scale(1); opacity: 1; filter: brightness(1); }
}
@keyframes lm-tv-in {
  from { transform: scale(0.25); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes lw-boot {
  from { opacity: 0; transform: translateY(-6px) scale(0.78); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lm-sheen, .lm-orbit { animation: none; }
  .logo.is-boot .logo-mark,
  .logo.is-boot .lm-tv,
  .logo.is-boot .logo-word .lw { animation: none; }
  .hero-title > span,
  .hero-title > .grad-text { animation: none; }
  .grad-text { animation: none; }
  .logo-word .lw { animation: none; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 9px 13px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--text);
  position: relative;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: var(--text);
  transition: transform 0.25s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 11, 0.98);
  padding: 18px 0 26px;
}
.mobile-panel.open { display: block; }
.mobile-panel nav { display: grid; gap: 3px; margin-bottom: 16px; }
.mobile-panel nav a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--text-2);
}
.mobile-panel nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.mobile-panel .btn { width: 100%; margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 76px); overflow: hidden; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}
.hero-radar-left {
  position: absolute;
  z-index: 0;
  left: -22%;
  top: 52%;
  width: min(66vw, 900px);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(0deg);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(139, 92, 246, 0.07) 0%,
    rgba(139, 92, 246, 0.02) 42%,
    transparent 68%);
  border: 1px solid rgba(139, 92, 246, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 100px rgba(139, 92, 246, 0.08);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: hero-radar-left-spin 40s linear infinite;
}
.hero-radar-left::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.75);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.35rem);
  letter-spacing: -0.04em;
  margin: 20px 0 22px;
}
.hero-title > span {
  display: inline-block;
  animation: ht-rise 0.9s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}
.hero-title > span:nth-child(1) { animation-delay: 0.05s; }
.hero-title > span:nth-child(2) { animation-delay: 0.1s; }
.hero-title > span:nth-child(3) { animation-delay: 0.15s; }
.hero-title > span:nth-child(4) { animation-delay: 0.2s; }
.hero-title > span:nth-child(5) { animation-delay: 0.25s; }
.hero-title > span:nth-child(6) { animation-delay: 0.3s; }
.hero-title > span:nth-child(7) { animation-delay: 0.38s; }
.hero-title > .grad-text {
  animation:
    ht-rise 0.9s cubic-bezier(0.2, 0.85, 0.25, 1) 0.38s both,
    grad-sheen 9s cubic-bezier(0.5, 0, 0.2, 1) 1.6s infinite;
}
@keyframes ht-rise {
  0% { opacity: 0; transform: translateY(26px) scale(0.96) rotate(0.4deg); filter: blur(7px); }
  100% { opacity: 1; transform: none; filter: none; }
}
.hero p.lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
}
.hero-note svg { width: 15px; height: 15px; color: var(--green); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.10);
  font-size: 0.78rem;
  font-weight: 500;
  color: #ddd6fe;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.trust-row .meta { font-size: 0.83rem; color: var(--muted); }
.trust-row .meta strong { color: var(--text); display: block; font-size: 0.9rem; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -9px;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: #0b0616;
}
.avatar-stack span:first-child { margin-left: 0; }

/* Hero visual — title film with layered motion */
.hero-visual { position: relative; isolation: isolate; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12% -10% -9%;
  background:
    radial-gradient(circle at 40% 26%, rgba(124, 58, 237, 0.42), transparent 62%),
    radial-gradient(circle at 82% 82%, rgba(34, 211, 238, 0.20), transparent 58%);
  filter: blur(26px);
  z-index: -1;
}

.hero-atmosphere {
  position: absolute;
  inset: -18% -16% -12%;
  z-index: 0;
  overflow: hidden;
  border-radius: 32px;
  pointer-events: none;
}
.hero-orbit,
.hero-ember { position: absolute; display: block; }
.hero-orbit--ring {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 50%;
  animation: hero-ring-pulse 8s ease-in-out infinite;
}
.hero-orbit--ring-1 { width: 62%; aspect-ratio: 1; }
.hero-orbit--ring-2 {
  width: 88%;
  aspect-ratio: 1;
  border-color: rgba(34, 211, 238, 0.13);
  animation-delay: -2.6s;
}
.hero-orbit--ring-3 {
  width: 114%;
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.07);
  animation-delay: -5.2s;
}
.hero-ember {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(34, 211, 238, 0.35);
  opacity: 0;
  animation: hero-ember-rise 9s linear infinite;
}
.hero-ember--1 { left: 18%; bottom: 8%; animation-delay: -1s; }
.hero-ember--2 { left: 36%; bottom: 2%; animation-delay: -3.4s; }
.hero-ember--3 { left: 58%; bottom: 12%; animation-delay: -5.8s; }
.hero-ember--4 { left: 76%; bottom: 4%; animation-delay: -7.2s; }
.hero-ember--5 { left: 88%; bottom: 18%; animation-delay: -2.2s; }

.hero-film {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 16 / 9;
  animation: hero-film-bob 7s ease-in-out infinite;
}
.hero-film::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 45%, rgba(139, 92, 246, 0.20), transparent 58%),
    radial-gradient(ellipse at 72% 55%, rgba(34, 211, 238, 0.12), transparent 60%);
  filter: blur(24px);
  opacity: 0.9;
}
.hero-film__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.62)) drop-shadow(0 0 28px rgba(139, 92, 246, 0.22)) drop-shadow(0 0 22px rgba(34, 211, 238, 0.12));
}

.hero-float-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 136px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 20, 0.82);
  box-shadow:
    0 18px 40px -18px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: default;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  animation: hero-card-float 6s ease-in-out infinite;
}
.hero-float-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(18, 22, 36, 0.92);
  box-shadow:
    0 24px 44px -16px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(139, 92, 246, 0.18),
    0 0 28px rgba(139, 92, 246, 0.16);
}
.hero-float-card__emoji {
  font-size: 1.2rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.25));
  transition: transform 0.28s ease;
}
.hero-float-card:hover .hero-float-card__emoji { transform: scale(1.12) rotate(-6deg); }
.hero-float-card__content { min-width: 0; }
.hero-float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-float-card span:not(.hero-float-card__emoji) {
  display: block;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--text-2);
}
.hero-float-card--channels { top: -10%; left: -6%; }
.hero-float-card--movies { top: -14%; right: -5%; animation-delay: -1.4s; }
.hero-float-card--hdr { bottom: -12%; left: -7%; animation-delay: -2.9s; }
.hero-float-card--activation { bottom: -10%; right: -4%; animation-delay: -4.3s; }


@keyframes hero-radar-left-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}
@keyframes hero-ring-pulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.98); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.02); }
}
@keyframes hero-film-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes hero-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}
@keyframes hero-ember-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  15% { opacity: 0.8; }
  85% { opacity: 0.5; }
  100% { opacity: 0; transform: translate3d(0, -220px, 0) scale(1); }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  padding: 18px 0;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex;
  gap: 46px;
  padding-right: 46px;
  animation: scroll 34s linear infinite;
  flex: none;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: #6f778c;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.marquee-track span:hover { color: #d5d9e6; }
@keyframes scroll { to { transform: translateX(-100%); } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 26px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px 180px at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.34); }
.card:hover::after { opacity: 1; }
.card.tag-top { overflow: visible; }
.card.tag-top::after { border-radius: inherit; }
.card h3 { font-size: 1.06rem; margin-bottom: 9px; }
.card p { color: var(--text-2); font-size: 0.92rem; line-height: 1.62; }

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 92, 246, 0.28);
  color: #c4b5fd;
  margin-bottom: 18px;
}
.icon-box svg { width: 20px; height: 20px; }
.icon-box.cyan { border-color: rgba(34, 211, 238, 0.28); color: #a5f3fc; background: linear-gradient(120deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.08)); }
.icon-box.gold { border-color: rgba(245, 199, 106, 0.3); color: var(--gold); background: linear-gradient(120deg, rgba(245, 199, 106, 0.14), rgba(139, 92, 246, 0.06)); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat .lbl { font-size: 0.8rem; color: var(--muted); margin-top: 4px; letter-spacing: 0.02em; }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; color: var(--text-2); }
.check-list li svg { width: 19px; height: 19px; flex: none; color: var(--green); margin-top: 2px; }
.check-list b { color: var(--text); font-weight: 600; }

/* Visual panel for splits */
.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #11131f, #080a11);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 65%);
}
.ui-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 9px;
  font-size: 0.82rem;
}
.ui-row .thumb {
  width: 46px;
  height: 30px;
  border-radius: 6px;
  background: var(--grad);
  opacity: 0.75;
  flex: none;
}
.ui-row .thumb.alt { background: linear-gradient(120deg, #f472b6, #8b5cf6); }
.ui-row .thumb.alt2 { background: linear-gradient(120deg, #22d3ee, #34d399); }
.ui-row .grow { flex: 1; min-width: 0; }
.ui-row b { display: block; font-size: 0.8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row small { color: var(--muted); font-size: 0.7rem; }
.ui-row .tag { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.3); padding: 2px 6px; border-radius: 4px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.step-num {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.08);
  width: fit-content;
  padding: 4px 9px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 9px; }
.step p { color: var(--text-2); font-size: 0.92rem; }

/* ---------- Category tiles ---------- */
.tile {
  position: relative;
  min-height: 168px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #0b0d15;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tile-grad, linear-gradient(160deg, rgba(139, 92, 246, 0.5), rgba(13, 15, 24, 0.2)));
  opacity: 0.55;
  transition: opacity 0.35s, transform 0.5s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, transparent 20%, rgba(5, 6, 11, 0.92));
}
.tile:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.25); }
.tile:hover::before { opacity: 0.8; transform: scale(1.06); }
.tile > * { position: relative; z-index: 1; }
.tile h3 { font-size: 1.02rem; }
.tile p { font-size: 0.8rem; color: var(--text-2); margin-top: 3px; }

/* ---------- Pricing ---------- */
.device-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 30px auto 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
}
.device-tab {
  position: relative;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 18px 10px;
  cursor: pointer;
  transition: color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.device-tab:hover { color: #fff; background: var(--surface-2); }
.device-tab[aria-selected="true"] {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.22), 0 6px 18px -10px rgba(34, 211, 238, 0.5);
}
.device-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.device-panel { display: contents; }
.device-panel[hidden] { display: none; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; margin-top: 34px; }
.plan {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.plan:hover { transform: translateY(-5px); }
.plan.lowest-per-month {
  border-color: rgba(139, 92, 246, 0.55);
  background:
    radial-gradient(600px 220px at 50% -10%, rgba(124, 58, 237, 0.30), transparent 70%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-glow);
}
.plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--grad);
  color: #0b0616;
  white-space: nowrap;
}
.plan-tag.popular {
  background: linear-gradient(120deg, #fbbf24, #f97316);
  color: #1b1005;
  box-shadow: 0 6px 18px -10px rgba(249, 115, 22, 0.65);
}
.plan-tag.king {
  background: linear-gradient(120deg, #fb7185, #be123c);
  color: #fff;
  text-transform: none;
  box-shadow: 0 6px 18px -10px rgba(190, 18, 60, 0.6);
}
.plan-name { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--text-2); }
.term-label { display: block; margin-top: 8px; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plan-price { display: flex; align-items: flex-end; gap: 6px; margin: 14px 0 4px; }
.plan-price .amount {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-price .amount::before {
  content: "$";
  font-size: 0.52em;
  font-weight: 600;
  color: var(--text-2);
  position: relative;
  top: -0.62em;
  margin-right: 2px;
  letter-spacing: 0;
}
.plan-price .per { font-size: 0.82rem; color: var(--muted); padding-bottom: 5px; }
.plan-was { font-size: 0.8rem; color: var(--muted); }
.plan-per-month { margin-top: 2px; font-size: 0.78rem; color: var(--cyan); }
.panel-credits { margin-top: 8px; font-size: 0.9rem; font-weight: 600; color: var(--cyan); }

/* Reseller panel options and priced cards */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}
.option-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.option-grid svg { width: 20px; height: 20px; flex: none; color: #c4b5fd; }
.option-grid li span { min-width: 0; overflow-wrap: anywhere; font-size: 0.88rem; color: var(--text-2); }

.reseller-card { display: flex; flex-direction: column; }
.reseller-card .reseller-price-label {
  margin-top: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.reseller-card .reseller-price {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.reseller-card .reseller-trials { display: grid; gap: 10px; margin: 18px 0 22px; }
.reseller-card .reseller-trial {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.reseller-card .reseller-trial span { flex: none; color: var(--muted); }
.reseller-card .reseller-trial strong { min-width: 0; text-align: right; overflow-wrap: anywhere; font-weight: 600; color: var(--text); }
.reseller-card .reseller-condition,
.reseller-card .reseller-note { font-size: 0.78rem; line-height: 1.5; color: var(--muted); }
.reseller-card .reseller-note { color: var(--gold); }
.reseller-card .reseller-cta { width: 100%; margin-top: auto; }
.reseller-card .reseller-cta {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.reseller-card .reseller-cta:hover {
  background: rgba(255, 255, 255, 0.09);
}
.reseller-card .reseller-benefits {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}
.reseller-card .reseller-benefits li {
  position: relative;
  padding-left: 18px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-2);
}
.reseller-card .reseller-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.plan-was s { opacity: 0.7; }
.plan-desc { font-size: 0.86rem; color: var(--text-2); margin: 10px 0 18px; min-height: 42px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 24px; }
.plan ul li { display: flex; gap: 9px; font-size: 0.86rem; color: var(--text-2); align-items: flex-start; }
.plan ul li svg { width: 16px; height: 16px; flex: none; color: var(--green); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan-foot { text-align: center; font-size: 0.72rem; color: var(--muted); margin-top: 12px; }
.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.84rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.guarantee svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 640px; }
thead th {
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--line);
}
tbody td { padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { color: var(--text); font-weight: 500; }
td .yes { color: var(--green); font-weight: 700; }
td .no { color: #6b7280; }
th.hl { color: #ddd6fe; background: rgba(139, 92, 246, 0.14); }

/* ---------- Testimonials ---------- */
.quote {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote p { font-size: 0.92rem; color: var(--text-2); line-height: 1.62; }
.quote p::before { content: "“"; }
.quote p::after { content: "”"; }
.who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.who .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b0616;
  background: var(--grad);
  flex: none;
}
.who b { display: block; font-size: 0.84rem; }
.who small { color: var(--muted); font-size: 0.72rem; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 10px; }
.acc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.acc.open { border-color: rgba(139, 92, 246, 0.4); background: rgba(139, 92, 246, 0.06); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 19px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 550;
  color: var(--text);
}
.acc-btn .plus { position: relative; width: 15px; height: 15px; flex: none; }
.acc-btn .plus::before,
.acc-btn .plus::after {
  content: "";
  position: absolute;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.acc-btn .plus::before { top: 7px; left: 0; width: 15px; height: 1.5px; }
.acc-btn .plus::after { left: 7px; top: 0; height: 15px; width: 1.5px; }
.acc.open .acc-btn .plus::after { transform: rotate(90deg); }
.acc.open .acc-btn .plus::before { background: var(--cyan); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.38s var(--ease); }
.acc-panel > div { padding: 0 22px 21px; color: var(--text-2); font-size: 0.92rem; line-height: 1.7; }
.acc-panel a { color: var(--cyan); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.3);
  background:
    radial-gradient(700px 320px at 50% -30%, rgba(124, 58, 237, 0.4), transparent 70%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  padding: clamp(38px, 6vw, 68px);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-2); max-width: 54ch; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 12, 0.6);
  padding: clamp(44px, 5vw, 64px) 0 26px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin: 16px 0 20px; max-width: 34ch; line-height: 1.65; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 15px;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 0.87rem; color: var(--text-2); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.socials a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: var(--line-strong); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #6f778c;
}
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: #fff; }
.legal-note { font-size: 0.72rem; color: #626a7e; margin-top: 12px; line-height: 1.6; max-width: 92ch; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  /* Bottom-left, clear of the Tawk.to launcher pinned bottom-right. */
  left: 20px;
  right: auto;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 13px;
  border-radius: var(--radius-pill);
  background: #1faf54;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.wa-float:hover { transform: translateY(-3px); background: #23c45e; }
.wa-float svg { width: 22px; height: 22px; }
.wa-float .pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(31, 175, 84, 0.6);
  animation: ring 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.14); opacity: 0; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(46px, 6vw, 78px) 0 clamp(28px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin: 16px 0 16px; }
.page-hero .lead { max-width: 68ch; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.5; }

/* ---------- Forms ---------- */
.form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  padding: clamp(24px, 3.4vw, 38px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 500; color: var(--text-2); }
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b93a7' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: #5f677b; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.07);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}
.form-note { font-size: 0.75rem; color: var(--muted); margin-top: 14px; }
.form-status {
  margin-top: 14px;
  font-size: 0.85rem;
  border-radius: 10px;
  padding: 11px 14px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: #a7f3d0; }
.form-status.err { background: rgba(251, 113, 133, 0.1); border: 1px solid rgba(251, 113, 133, 0.3); color: #fecdd3; }

/* ---------- Content pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 44px 0 14px; }
.prose h3 { font-size: 1.14rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text-2); font-size: 0.96rem; line-height: 1.78; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 18px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 26px; counter-increment: n; }
.prose ol li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #ddd6fe;
  font-size: 0.64rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(34, 211, 238, 0.35); text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote {
  border-left: 2px solid var(--violet);
  padding: 4px 0 4px 18px;
  margin: 22px 0;
  color: var(--text);
  font-style: italic;
}
.prose table { min-width: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }

.callout {
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.06);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
  color: var(--text-2);
}
.callout strong { color: #a5f3fc; }

/* ---------- Misc ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge svg { width: 13px; height: 13px; }
.badge.hot { border-color: rgba(245, 199, 106, 0.35); background: rgba(245, 199, 106, 0.1); color: var(--gold); }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 32px; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.note-box {
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 18px;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .wa-float .pulse { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
/* Mid-desktop: keep the floating cards inside the hero bounds. */
@media (max-width: 1280px) {
  .hero-float-card--channels { left: -3%; }
  .hero-float-card--movies { right: -2%; }
  .hero-float-card--hdr { left: -4%; }
  .hero-float-card--activation { right: 0; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: none; margin-inline: 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-radar-left { display: none; }
  .hero-visual { width: 100%; max-width: 520px; margin: 24px auto 0; }
  .hero-atmosphere { inset: -12% -8% -8%; }
  .hero-ember { display: none; }
  .hero-film { animation: none; }
  .hero-float-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }
  .hero-float-card { position: static; min-width: 0; animation: none; }
  .split { grid-template-columns: 1fr; }
  .split .panel { order: 2; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); max-width: none; margin-inline: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .container, .container-narrow { width: calc(100% - 32px); }
  .header-cta .btn-primary { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .device-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 14px; }
  .hero-actions .btn { width: 100%; }
  .site-footer { margin-top: 30px; }
  .wa-float span.txt { display: none; }
  .wa-float { padding: 14px; }
  .acc-btn { padding: 16px 17px; font-size: 0.92rem; }
  .acc-panel > div { padding: 0 17px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
}

/* Desktop: keep the four plans in one row even when zoom shrinks the viewport. */
@media (hover: hover) and (pointer: fine) {
  .plans {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 20px 2px 20px;
    margin-top: 20px;
  }
}

/* Print */
@media print {
  body::before, body::after, .site-header, .wa-float, .announce, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #222; }
}

/* Late overrides: the title rules above are declared after the first
   reduced-motion block, so they need their own guard at the end. */
@media (prefers-reduced-motion: reduce) {
  .hero-title > span,
  .hero-title > .grad-text,
  .grad-text { animation: none; }
}

/* Forced colours: gradient-clipped text can disappear, so fall back to solid ink. */
@media (forced-colors: active) {
  .grad-text {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
    animation: none;
  }
}

/* Hero motion is defined late, so it needs its own final reduced-motion guard. */
@media (prefers-reduced-motion: reduce) {
  .hero-film,
  .hero-orbit--ring,
  .hero-ember,
  .hero-float-card,
  .hero-radar-left { animation: none; }
  .hero-float-card,
  .hero-float-card__emoji { transition: none; }
}
