/* ========================================
   VORAPLAYER — GLOBAL STYLES
   ======================================== */

:root {
  --primary: #1A6BFF;
  --primary-dark: #1457cc;
  --primary-light: #6ea8fe;
  --bg: #060D1F;
  --bg-2: #0D1B3E;
  --bg-card: #111d3f;
  --bg-card-2: #162248;
  --border: rgba(255,255,255,0.07);
  --text: #f0f4ff;
  --text-secondary: #8494b8;
  --text-muted: #4a5a7a;
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Exo 2', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ========================================
   LAYOUT
   ======================================== */

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========================================
   NAV
   ======================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(6,13,31,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-toggle:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.lang-flag { font-size: 14px; }

.btn-nav {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .15s !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .4;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,107,255,0.35), transparent 70%);
  top: -100px; left: -100px;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(100,50,255,0.2), transparent 70%);
  bottom: 0; right: 100px;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,107,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-layout {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,107,255,0.1);
  border: 1px solid rgba(26,107,255,0.25);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.5; transform:scale(0.8); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #1A6BFF, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(26,107,255,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,107,255,0.4);
}
.btn-android { background: #01875f; box-shadow: 0 4px 24px rgba(1,135,95,0.3); }
.btn-android:hover { background: #016d4e; box-shadow: 0 8px 32px rgba(1,135,95,0.4); }

.hero-note { font-size: 13px; color: var(--text-muted); }

/* ========================================
   PHONE MOCKUPS (SVG-based)
   ======================================== */

.hero-mockup {
  position: relative;
  height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── CAROUSEL ── */
.mockup-carousel {
  position: relative;
  width: 100%;
  height: 520px;
}

.carousel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform .7s cubic-bezier(.4,0,.2,1),
              opacity   .7s cubic-bezier(.4,0,.2,1),
              filter    .7s cubic-bezier(.4,0,.2,1);
  will-change: transform, opacity;
}

/* Active — centre, plein format */
.carousel-item.c-active {
  transform: translate(-50%, -50%) scale(1);
  z-index: 3;
  opacity: 1;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.75))
          drop-shadow(0 0 40px rgba(26,107,255,0.22));
}

/* Gauche */
.carousel-item.c-prev {
  transform: translate(calc(-50% - 180px), -50%) scale(0.68) rotate(-6deg);
  z-index: 1;
  opacity: 0.55;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.5));
}

/* Droite */
.carousel-item.c-next {
  transform: translate(calc(-50% + 180px), -50%) scale(0.68) rotate(6deg);
  z-index: 1;
  opacity: 0.55;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.5));
}

/* Off-screen (4th item when only 3 visible) */
.carousel-item.c-hidden {
  transform: translate(-50%, -50%) scale(0.4);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* ── PHONES GROUP (slide 1) ── */
.phones-group {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.pg-center {
  z-index: 2;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.7)) drop-shadow(0 0 32px rgba(26,107,255,0.2));
}
.pg-side {
  opacity: 0.6;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.5));
}
.pg-left  { transform: rotate(-7deg); }
.pg-right { transform: rotate(7deg); }
.pg-center .phone-svg { width: 175px; }
.pg-side   .phone-svg { width: 120px; }

/* ── TV GROUP (slide 2: Live TV + Home réunies) ── */
.tv-group {
  position: relative;
  width: 460px;
  height: 360px;
}
.tg-item {
  position: absolute;
  transition: transform .35s ease;
}
.tg-item .tv-mockup-svg { width: 300px; }
/* TV avant (Live TV) — devant, droite, droite */
.tg-front {
  right: 0;
  bottom: 0;
  z-index: 2;
  transform: rotate(3deg);
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.75)) drop-shadow(0 0 32px rgba(26,107,255,0.18));
}
/* TV arrière (Home) — derrière, gauche, plus petite */
.tg-back {
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0.82;
  transform: rotate(-4deg) scale(0.85);
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.55));
}

/* SVG sizes (active size — prev/next scaled via transform) */
.phone-svg {
  width: 210px;
  height: auto;
  display: block;
}
.phone-svg-featured {
  width: 210px;
}
.tv-mockup-svg {
  width: 300px;
  height: auto;
  display: block;
}

/* Dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
  justify-content: center;
}
.c-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background .4s, transform .4s;
  cursor: pointer;
}
.c-dot-active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ========================================
   FAQ (home page)
   ======================================== */
.faq { padding: 90px 0; }
.faq-container { max-width: 820px; }
.faq-list { margin-top: 40px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 12px);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: var(--bg-card);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: background .2s;
  user-select: none;
}
.faq-q:hover { background: rgba(255,255,255,0.04); }
.faq-arrow { font-size: 20px; color: var(--primary); transition: transform .3s; flex-shrink: 0; margin-left: 14px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  background: var(--bg-2);
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 340px; padding: 16px 22px; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }

/* ========================================
   STATS
   ======================================== */

.stats {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: center;
}
.stat-item { text-align: center; padding: 0 40px; }
.stat-number {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-label { color: var(--text-secondary); font-size: 13px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ========================================
   FEATURES
   ======================================== */

.features { padding: 100px 0; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .3s, transform .3s;
  overflow: hidden;
}
.feature-card:hover { border-color: rgba(26,107,255,0.3); transform: translateY(-4px); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

.feature-tall { grid-row: span 2; }
.feature-wide {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--bg-card), #0d1f45);
}
.feature-wide-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.feature-wide-text { flex: 1; min-width: 200px; }
.security-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-item {
  background: rgba(26,107,255,0.1);
  border: 1px solid rgba(26,107,255,0.2);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--primary-light);
  white-space: nowrap;
}

/* ========================================
   FEATURES — FEAT GRID
   ======================================== */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

/* Base card */
.feat-card {
  background: #0d1531;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.feat-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}
.feat-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feat-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* Colored top accent line */
.card-live::before     { background: linear-gradient(90deg, #1A6BFF, #60a5fa); }
.card-qr::before       { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.card-vod::before      { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.card-multi::before    { background: linear-gradient(90deg, #10b981, #34d399); }
.card-fav::before      { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.card-security::before { background: linear-gradient(90deg, #1A6BFF, #8b5cf6, #10b981); }

/* Badges */
.feat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.badge-blue   { background: rgba(26,107,255,0.15);  color: #60a5fa;  border: 1px solid rgba(26,107,255,0.35); }
.badge-purple { background: rgba(139,92,246,0.15);  color: #c4b5fd;  border: 1px solid rgba(139,92,246,0.35); }
.badge-green  { background: rgba(16,185,129,0.15);  color: #6ee7b7;  border: 1px solid rgba(16,185,129,0.35); }
.badge-cyan   { background: rgba(6,182,212,0.15);   color: #67e8f9;  border: 1px solid rgba(6,182,212,0.35); }
.badge-yellow { background: rgba(245,158,11,0.15);  color: #fcd34d;  border: 1px solid rgba(245,158,11,0.35); }

/* Card spans */
.card-live     { grid-column: span 2; }
.card-security { grid-column: span 3; }

/* ---- LIVE TV ---- */
.live-preview {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  align-items: flex-start;
}
.live-screen {
  width: 170px;
  height: 105px;
  background: #060D1F;
  border-radius: 8px;
  border: 1px solid rgba(26,107,255,0.3);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.ls-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(26,107,255,0.12);
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: .06em;
}
.live-blink {
  width: 6px; height: 6px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 6px #ef4444;
  animation: blink 1.4s infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.ls-chan { margin-left: auto; color: rgba(255,255,255,0.45); font-weight: 400; letter-spacing: 0; }
.ls-body {
  flex: 1;
  background: linear-gradient(160deg, #0d1a3a 0%, #1a1040 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ls-wave {
  width: 80px; height: 20px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.04) 50%,
    rgba(255,255,255,0.08) 75%, rgba(255,255,255,0.04) 100%);
  border-radius: 2px;
}

.ch-list { display: flex; flex-direction: column; gap: 4px; flex: 1; justify-content: center; }
.ch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 12px;
  color: var(--text-secondary);
}
.ch-row-on {
  background: rgba(26,107,255,0.12);
  color: var(--text);
  font-weight: 600;
}
.ch-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ch-tag {
  margin-left: auto;
  font-size: 9px;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: .06em;
}

/* ---- VOD ---- */
.poster-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.vod-poster {
  flex: 1;
  height: 96px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}
.pr-star {
  position: absolute;
  top: 6px; left: 6px;
  background: rgba(0,0,0,0.6);
  color: #fbbf24;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---- MULTI-SCREEN ---- */
.devices-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 24px;
}
.dev {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.dev span { font-size: 11px; color: var(--text-secondary); }
.dev svg  { filter: drop-shadow(0 0 10px rgba(16,185,129,0.35)); }

/* ---- QR ---- */
.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.qr-label { font-size: 11px; color: var(--text-muted); }
.qr-scan { animation: scan 2s ease-in-out infinite; }
@keyframes scan {
  0%   { transform: translateY(-32px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(32px); opacity: 0; }
}

/* ---- FAVORITES ---- */
.fav-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.fav-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
}
.fav-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -.5px;
}
.fav-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.fav-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-cat  { font-size: 11px; color: var(--text-muted); }

/* ---- SECURITY ---- */
.sec-layout {
  display: flex;
  align-items: center;
  gap: 60px;
}
.sec-left { flex: 1; }
.sec-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex-shrink: 0;
}
.sec-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(26,107,255,0.08);
  border: 1px solid rgba(26,107,255,0.2);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}
.sec-pill svg { flex-shrink: 0; }

/* ========================================
   PLATFORMS
   ======================================== */

.platforms { padding: 100px 0; background: rgba(255,255,255,0.015); }
.platforms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: border-color .3s, transform .3s;
}
.platform-card:hover { border-color: rgba(26,107,255,0.3); transform: translateY(-4px); }
.platform-featured {
  border-color: rgba(26,107,255,0.3);
  background: linear-gradient(160deg, #0f1e45, #0d1b3e);
  box-shadow: 0 20px 60px rgba(26,107,255,0.15);
}
.platform-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.platform-icon { margin: 0 auto 20px; }
.platform-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.platform-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.btn-platform {
  display: inline-block;
  background: rgba(26,107,255,0.1);
  border: 1px solid rgba(26,107,255,0.25);
  color: var(--primary-light);
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}
.btn-platform:hover { background: rgba(26,107,255,0.2); }

/* ========================================
   HOW IT WORKS
   ======================================== */

.howto { padding: 100px 0; }
.steps { display: flex; align-items: center; gap: 16px; margin-top: 60px; }
.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  color: rgba(26,107,255,0.25);
  line-height: 1;
  margin-bottom: 16px;
}
.step-content h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.step-arrow { font-size: 28px; color: var(--primary); flex-shrink: 0; }

/* ========================================
   CTA FINAL
   ======================================== */

.cta-final {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(26,107,255,0.2), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-final h2 { font-family: var(--font-head); font-size: clamp(28px,4vw,48px); font-weight: 900; margin-bottom: 16px; }
.cta-final p { color: var(--text-secondary); font-size: 17px; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========================================
   FOOTER
   ======================================== */

.footer { border-top: 1px solid var(--border); padding: 40px 0; background: rgba(0,0,0,0.2); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-secondary); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ========================================
   SCROLL REVEAL
   ======================================== */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ========================================
   SUB-PAGES (shared)
   ======================================== */

.page-hero { padding: 140px 0 60px; text-align: center; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(28px,4vw,44px); font-weight:800; margin-bottom:12px; }
.page-hero p { color: var(--text-secondary); font-size:16px; }

/* ========================================
   RESPONSIVE
   ======================================== */

/* ── Tablet large (≤1024px) ── */
@media (max-width: 1024px) {
  /* Hero */
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle, .section-sub { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-mockup { height: 440px; margin-top: 20px; }
  .carousel-item.c-prev  { transform: translate(calc(-50% - 140px), -50%) scale(0.65) rotate(-6deg); }
  .carousel-item.c-next  { transform: translate(calc(-50% + 140px), -50%) scale(0.65) rotate(6deg); }
  .phone-svg { width: 165px; }
  .phone-svg-featured { width: 165px; }
  .tv-mockup-svg { width: 240px; }

  /* Feat grid: 2 cols */
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .card-live     { grid-column: span 2; }
  .card-security { grid-column: span 2; }
  .live-preview  { flex-direction: column; gap: 12px; }
  .live-screen   { width: 100%; height: 110px; }
  .ch-list       { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .sec-layout    { flex-direction: column; gap: 24px; }
  .sec-pills     { grid-template-columns: 1fr 1fr; width: 100%; }
}

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(6,13,31,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    z-index: 99;
    align-items: flex-start;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { font-size: 17px; color: var(--text); }

  /* Hero */
  .hero { padding: 80px 0 40px; }
  .hero-title { font-size: clamp(30px, 8vw, 48px); }
  .hero-mockup { height: 320px; }
  .carousel-item.c-prev  { transform: translate(calc(-50% - 110px), -50%) scale(0.6) rotate(-6deg); }
  .carousel-item.c-next  { transform: translate(calc(-50% + 110px), -50%) scale(0.6) rotate(6deg); }
  .phone-svg { width: 130px; }
  .phone-svg-featured { width: 130px; }
  .tv-mockup-svg { width: 190px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-divider { display: none; }
  .stat-item { padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px; }

  /* Feat grid: 1 col on mobile */
  .feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .card-live, .card-security { grid-column: span 1; }
  .live-preview { flex-direction: column; gap: 12px; }
  .live-screen { width: 100%; height: 100px; }
  .ch-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .sec-layout { flex-direction: column; gap: 20px; }
  .sec-pills { grid-template-columns: 1fr 1fr; }
  .sec-pill { font-size: 12px; padding: 10px 12px; }

  /* Platforms */
  .platforms-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps { flex-direction: column; gap: 12px; }
  .step-arrow { transform: rotate(90deg); font-size: 22px; text-align: center; }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
  /* Hero phones */
  .hero-mockup { height: 240px; }
  .carousel-item.c-prev  { transform: translate(calc(-50% - 84px), -50%) scale(0.55) rotate(-6deg); }
  .carousel-item.c-next  { transform: translate(calc(-50% + 84px), -50%) scale(0.55) rotate(6deg); }
  .phone-svg { width: 105px; }
  .phone-svg-featured { width: 105px; }
  .tv-mockup-svg { width: 155px; }

  /* Hero text */
  .hero-subtitle { font-size: 15px; }
  .btn-primary { padding: 12px 20px; font-size: 14px; }

  /* Stats: 2 cols without borders */
  .stat-item { border: none; padding: 10px; }
  .stat-number { font-size: 26px; }
  .sec-pills { grid-template-columns: 1fr; }
  .sec-pill { white-space: normal; }
  .feat-card { padding: 24px 20px; }

  /* Bento cards: reduce padding */
  .bento-card { padding: 20px; border-radius: 16px; }
  .bento-live { padding: 20px; }
  .bento-security-right { grid-template-columns: 1fr; }

  /* Device row: smaller */
  .device-row { gap: 10px; }
  .device-item svg { transform: scale(0.85); }

  /* QR */
  .qr-visual { padding-top: 12px; }
  .qr-svg { width: 80px !important; }

  /* Fav list */
  .fav-row { font-size: 12px; padding: 7px 8px; }
  .fav-ch { width: 26px; height: 26px; font-size: 7.5px; }

  /* Sections padding */
  .features, .platforms, .howto, .cta-final { padding: 60px 0; }
  .section-title { font-size: clamp(24px, 7vw, 36px); }

  /* Steps */
  .step { padding: 20px; }
  .step-num { font-size: 28px; }

  /* Footer */
  .footer-links { gap: 14px; }
  .footer-links a { font-size: 13px; }

  /* Platforms */
  .platform-card { padding: 28px 20px; }
}
