/* ==========================================================================
   DiasporaTV - Ultra Premium Landing Page Styles
   8px spacing grid · WCAG AA contrast · TV Remote Focus · Reduced Motion
   ========================================================================== */

:root {
  --bg: #070B18;
  --bg-deep: #040711;
  --surface: rgba(19, 29, 56, 0.78);
  --surface-solid: #131D38;
  --surface-hover: rgba(26, 40, 76, 0.92);
  --blue: #2E7CF6;
  --blue-bright: #4D9DFF;
  --cyan: #38BDF8;
  --amber: #F5B74F;
  --live: #22D07A;
  --live-red: #FF4D5E;
  --text: #F4F7FF;
  --text-secondary: #B8C6E0; /* WCAG AA >= 8.5:1 on #070B18 */
  --text-muted: #98A9C9;
  --line: rgba(160, 180, 224, 0.16);
  --line-hover: rgba(77, 157, 255, 0.48);
  --header-h: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--bg);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(46, 124, 246, 0.45); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #1E2E54; border-radius: 999px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Accessible TV remote & keyboard focus */
:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(77, 157, 255, 0.30);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; cursor: pointer; background: none; border: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Animated ambient hero backdrop */
.bg-ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(65% 50% at 50% 6%, rgba(46, 124, 246, 0.24), transparent 70%),
    radial-gradient(45% 38% at 85% 28%, rgba(56, 189, 248, 0.10), transparent 72%),
    radial-gradient(45% 40% at 12% 72%, rgba(46, 124, 246, 0.08), transparent 72%),
    var(--bg);
  animation: ambientShift 18s ease-in-out infinite alternate;
}

@keyframes ambientShift {
  0% { opacity: 0.92; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

/* ==========================================================================
   7.1 STICKY HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, border-color 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.scrolled {
  background: rgba(7, 11, 24, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-text {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: 0.5px; color: #fff;
}
.brand-text span { color: var(--blue-bright); }

.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.9px; text-transform: uppercase;
  color: var(--live); background: rgba(34, 208, 122, 0.13);
  border: 1px solid rgba(34, 208, 122, 0.36); border-radius: 999px; padding: 4px 10px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 10px var(--live);
}

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  padding: 6px 2px; transition: color 0.18s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lang-switch { display: flex; gap: 4px; background: rgba(19, 29, 56, 0.7); padding: 4px; border-radius: 10px; border: 1px solid var(--line); }
.lang-btn {
  padding: 5px 10px; border-radius: 7px; font-size: 12px; font-weight: 700; color: var(--text-secondary);
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-btn.active { background: var(--blue); color: #fff; }
.lang-btn:hover:not(.active) { color: #fff; background: rgba(255, 255, 255, 0.08); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 10px;
  background: linear-gradient(135deg, #3A8BFF, #1E5CE6);
  color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(46, 124, 246, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(46, 124, 246, 0.52); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); background: rgba(19, 29, 56, 0.7);
}

/* Mobile fullscreen drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(7, 11, 24, 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-close {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px;
}
.mobile-menu-nav { display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }
.mobile-menu-nav a { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 700; color: #fff; padding: 8px 0; }
.mobile-menu-cta { width: 100%; justify-content: center; padding: 16px; font-size: 16px; border-radius: 14px; }

/* ==========================================================================
   COMMON SECTION TYPOGRAPHY & REVEAL
   ========================================================================== */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.8px; color: var(--blue-bright);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Sora', sans-serif; font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; color: #fff;
  margin-bottom: 14px;
}
.section-sub { font-size: clamp(15px, 1.8vw, 18px); color: var(--text-secondary); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   7.2 HERO
   ========================================================================== */
.hero { padding: 56px 0 88px; text-align: center; }

.logo-hero {
  width: min(400px, 82vw); height: auto; margin: 0 auto 24px;
  filter: drop-shadow(0 12px 36px rgba(46, 124, 246, 0.36));
}

.version-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
  background: rgba(19, 29, 56, 0.85); border: 1px solid rgba(34, 208, 122, 0.35);
  font-size: 13px; font-weight: 600; color: var(--text);
}

.hero-title {
  font-family: 'Sora', sans-serif; font-size: clamp(30px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.12;
  max-width: 840px; margin: 0 auto 18px;
}
.hero-title .accent { color: var(--blue-bright); }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--text-secondary);
  max-width: 680px; margin: 0 auto 32px;
}

.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 14px; font-weight: 700; font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #3A8BFF 0%, #1E5CE6 100%);
  color: #fff; border: 1.5px solid rgba(147, 197, 253, 0.45);
  box-shadow: 0 10px 32px rgba(46, 124, 246, 0.42);
  animation: ctaPulse 4.5s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(46, 124, 246, 0.65);
  border-color: var(--blue-bright);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 32px rgba(46, 124, 246, 0.42); }
  50% { box-shadow: 0 12px 44px rgba(77, 157, 255, 0.62); }
}

.btn-secondary {
  background: var(--surface); color: #fff; border: 1.5px solid var(--line);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--line-hover); background: var(--surface-hover); }

.apk-meta-line { font-size: 14px; font-weight: 600; color: var(--blue-bright); margin-bottom: 10px; }
.hero-features-line { font-size: 14px; color: var(--text-secondary); margin-bottom: 36px; }

/* Inline SVG round flags */
.flags-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-bottom: 32px; }
.flag-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flag-circle {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.flag-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }

/* Trust indicators */
.trust-bar {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 24px; padding: 14px 28px; border-radius: 16px;
  background: rgba(19, 29, 56, 0.55); border: 1px solid var(--line);
}
.trust-bar.hidden { display: none; }
.trust-item { display: flex; flex-direction: column; align-items: center; padding: 0 8px; }
.trust-val { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800; color: #fff; }
.trust-lbl { font-size: 12px; color: var(--text-secondary); }
.trust-sep { width: 1px; height: 28px; background: var(--line); }

/* ==========================================================================
   7.3 APP SHOWCASE (TV + MOBILE MOCKUPS)
   ========================================================================== */
.showcase-stage {
  position: relative; max-width: 960px; margin: 0 auto; padding: 24px 0 40px;
}
.showcase-glow {
  position: absolute; inset: 10% 12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 124, 246, 0.32), transparent 70%);
  filter: blur(48px);
}

.tv-frame {
  position: relative; width: 84%; margin: 0 auto;
  border-radius: 18px; padding: 10px;
  background: linear-gradient(145deg, #243356, #0E162B);
  border: 1.5px solid rgba(147, 197, 253, 0.25);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #0D1733, #070B18);
}
.tv-screen img { width: 100%; height: 100%; object-fit: cover; }
.tv-stand {
  width: 140px; height: 10px; margin: 0 auto;
  background: linear-gradient(180deg, #27375C, #111A33);
  border-radius: 0 0 8px 8px;
}
.tv-base {
  width: 240px; height: 6px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, #3B5285, transparent);
  border-radius: 999px;
}

.phone-frame {
  position: absolute; right: 2%; bottom: 16px; width: 23%; max-width: 220px; min-width: 120px;
  border-radius: 26px; padding: 7px;
  background: linear-gradient(145deg, #2C3F6A, #0D152B);
  border: 1.5px solid rgba(147, 197, 253, 0.35);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.72);
  animation: floatPhone 5.5s ease-in-out infinite;
}
.phone-screen {
  aspect-ratio: 9 / 19.5; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #0D1733, #070B18);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-badge {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(12, 20, 42, 0.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(160, 180, 224, 0.24);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  animation: floatBadge 6s ease-in-out infinite;
}
.float-badge.b1 { top: 8%; left: 0; animation-delay: 0s; }
.float-badge.b2 { top: 2%; right: 4%; animation-delay: 1.6s; }
.float-badge.b3 { bottom: 6%; left: 4%; animation-delay: 3.1s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.red-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live-red);
  box-shadow: 0 0 10px var(--live-red);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   7.4 STATS BAR
   ========================================================================== */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}
.stat-cell { text-align: center; padding: 8px; }
.stat-num {
  font-family: 'Sora', sans-serif; font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 6px;
}
.stat-lbl { font-size: 14px; font-weight: 600; color: var(--text-secondary); }

/* ==========================================================================
   7.5 CHANNELS
   ========================================================================== */
.channels-controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }

.country-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.country-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  transition: all 0.18s ease;
}
.country-tab.active { background: var(--blue); border-color: var(--blue-bright); color: #fff; }
.country-tab:hover:not(.active) { border-color: var(--line-hover); color: #fff; }
.tab-flag { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.tab-count {
  font-size: 12px; padding: 2px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); color: inherit;
}

.search-cat-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.search-input {
  flex: 1 1 240px; max-width: 340px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(13, 20, 42, 0.9); border: 1px solid var(--line);
  color: #fff; font-size: 14px; font-family: inherit;
}
.search-input::placeholder { color: var(--text-muted); }

.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(19, 29, 56, 0.6); border: 1px solid var(--line); color: var(--text-secondary);
  transition: all 0.18s ease;
}
.cat-chip.active { background: rgba(46, 124, 246, 0.24); border-color: var(--blue-bright); color: #fff; }
.cat-chip:hover:not(.active) { color: #fff; border-color: var(--line-hover); }

.channels-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

.channel-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 12px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.channel-card:hover { transform: translateY(-3px); border-color: var(--line-hover); background: var(--surface-hover); }

.channel-avatar {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, #2E7CF6, #1A3A7A);
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; color: #fff;
}
.channel-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #0B1328; }
.channel-name { font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 4px; }
.channel-cat { font-size: 12px; color: var(--text-secondary); }
.channel-flag { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; overflow: hidden; }

.channels-empty { text-align: center; padding: 40px 16px; color: var(--text-secondary); font-size: 16px; grid-column: 1 / -1; }
.channels-more-wrap { text-align: center; margin-top: 24px; }
.channels-note { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-muted); }

/* ==========================================================================
   7.6 FEATURES (6 CARDS: 3x2 DESKTOP, 2 TABLET, 1 MOBILE)
   ========================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature-card {
  padding: 28px; border-radius: var(--radius-md);
  background: var(--surface); backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-hover);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46, 124, 246, 0.16); border: 1px solid rgba(77, 157, 255, 0.35);
  color: var(--blue-bright);
}
.feature-card h3 { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.feature-card p { font-size: 15px; color: var(--text-secondary); }

/* ==========================================================================
   7.7 COMPATIBLE DEVICES
   ========================================================================== */
.devices-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 20px; }
.device-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 24px 12px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.device-card:hover { transform: translateY(-3px); border-color: var(--line-hover); }
.device-card svg { color: var(--blue-bright); }
.device-name { font-size: 14px; font-weight: 600; color: #fff; }
.devices-note { text-align: center; font-size: 14px; color: var(--text-secondary); }

/* ==========================================================================
   7.8 INSTALLATION
   ========================================================================== */
.download-card {
  max-width: 780px; margin: 0 auto 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(19, 29, 56, 0.92), rgba(13, 22, 46, 0.95));
  border: 1px solid rgba(77, 157, 255, 0.35);
}
.download-card-left { display: flex; align-items: center; gap: 16px; }
.app-icon-box {
  width: 58px; height: 58px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); flex-shrink: 0;
}
.download-card-title { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.download-card-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-secondary); }
.download-card-meta strong { color: #fff; }

.install-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; }
.install-tab {
  padding: 12px 22px; border-radius: 12px; font-size: 15px; font-weight: 700;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-secondary);
  transition: all 0.18s ease;
}
.install-tab.active { background: var(--blue); border-color: var(--blue-bright); color: #fff; }

.install-panel { display: none; max-width: 960px; margin: 0 auto; }
.install-panel.active { display: block; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  padding: 24px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--line);
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  background: var(--blue); color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step-card p { font-size: 15px; color: var(--text); }
.step-helper { margin-top: 10px; font-size: 13px; color: var(--text-secondary); }

.tv-install-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.tv-steps-list { display: flex; flex-direction: column; gap: 14px; }
.tv-step-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--line);
}
.tv-step-row .step-num { margin-bottom: 0; flex-shrink: 0; }
.tv-step-row p { font-size: 15px; color: var(--text); }

.downloader-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px;
  padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(46, 124, 246, 0.16), rgba(19, 29, 56, 0.92));
  border: 1.5px solid rgba(77, 157, 255, 0.45);
}
.downloader-url {
  font-family: 'Sora', sans-serif; font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800; color: #fff; letter-spacing: 0.3px; word-break: break-all;
}
.copy-btn {
  padding: 12px 24px; border-radius: 12px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 14px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.copy-btn:hover { background: var(--blue-bright); transform: translateY(-1px); }

/* ==========================================================================
   7.9 FAQ ACCORDION
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: var(--radius-md); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: var(--line-hover); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left;
  font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 700; color: #fff;
}
.faq-arrow { flex-shrink: 0; transition: transform 0.25s ease; color: var(--blue-bright); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a { padding: 0 24px 20px; font-size: 15px; color: var(--text-secondary); }
.faq-a a { color: var(--blue-bright); font-weight: 600; text-decoration: underline; }

/* ==========================================================================
   7.10 FINAL CTA
   ========================================================================== */
.final-cta {
  position: relative; overflow: hidden;
  padding: 88px 24px; text-align: center;
  background: linear-gradient(135deg, rgba(46, 124, 246, 0.24), rgba(14, 26, 62, 0.96) 55%, rgba(7, 11, 24, 1));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.final-cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.final-cta .btn-primary { margin: 24px 0 14px; }

/* ==========================================================================
   7.11 FOOTER
   ========================================================================== */
.site-footer { padding: 64px 0 40px; background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-logo { width: 170px; height: auto; margin-bottom: 14px; }
.footer-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 18px; }
.social-row { display: flex; gap: 10px; }
.social-row.hidden { display: none; }
.social-link {
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-secondary);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.social-link:hover { color: #fff; border-color: var(--blue-bright); }

.footer-col h4 { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color 0.18s ease; }
.footer-col a:hover { color: var(--blue-bright); }

.footer-disclaimer {
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-muted); text-align: center; margin-bottom: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-secondary); text-align: center; }

/* ==========================================================================
   FLOATING CONTROLS: BACK TO TOP, MOBILE STICKY CTA, ANTI-SCAM NOTICE (12)
   ========================================================================== */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(19, 29, 56, 0.9); backdrop-filter: blur(12px);
  border: 1px solid var(--line-hover); color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.mobile-sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  padding: 12px 16px;
  background: rgba(7, 11, 24, 0.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.28s ease;
}
.mobile-sticky-cta.show { transform: translateY(0); }
.mobile-sticky-cta a {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 12px;
  background: linear-gradient(135deg, #3A8BFF, #1E5CE6);
  color: #fff; font-weight: 700; font-size: 15px;
}

/* Section 12: Floating Anti-Scam Notice */
.scam-notice {
  position: fixed; left: 24px; bottom: 24px; z-index: 95;
  max-width: 380px; padding: 16px 18px; border-radius: 16px;
  background: rgba(12, 18, 36, 0.92); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 183, 79, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  opacity: 0; pointer-events: none; transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease, bottom 0.28s ease;
}
.scam-notice.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scam-notice-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.scam-notice-title-wrap { display: flex; align-items: center; gap: 8px; }
.scam-notice-icon { color: var(--amber); flex-shrink: 0; }
.scam-notice-title { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--amber); }
.scam-notice-close {
  width: 44px; height: 44px; margin: -10px -10px -10px 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 20px; flex-shrink: 0;
  transition: color 0.18s ease, background 0.18s ease;
}
.scam-notice-close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.scam-notice-body { font-size: 13px; line-height: 1.55; color: var(--text); }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet <= 1024px, Mobile <= 767px)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .channels-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-install-layout { grid-template-columns: 1fr; }
  .scam-notice { max-width: 340px; }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 24px 16px; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tv-frame { width: 100%; }
  .phone-frame { width: 32%; right: 2%; bottom: 0; }
  .float-badge { font-size: 10px; padding: 6px 10px; }
  .float-badge.b1 { top: -8px; left: 0; }
  .float-badge.b2 { display: none; }
  .back-to-top { display: none; }
  .mobile-sticky-cta { display: block; }
  .scam-notice { left: 12px; right: 12px; max-width: none; bottom: 12px; }
  .scam-notice.above-sticky { bottom: 82px; }
}

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