/* ==========================================================================
   FlixieTV IPTV — CinemaOS Spatial Glass & Bento Design System (Template 4)
   Canvas: Deep Midnight Obsidian (#050811) | Accent: #a855f7 (168, 85, 247)
   Typography: Outfit (Display) + Plus Jakarta Sans (Body) + JetBrains Mono (Specs)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;600;700&family=Outfit:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-obsidian: #050811;
  --bg-surface: #090e1c;
  --bg-elevated: #0e1629;
  --bg-glass: rgba(14, 22, 41, 0.72);
  --bg-glass-heavy: rgba(9, 14, 28, 0.9);
  --accent: #a855f7;
  --accent-rgb: 168, 85, 247;
  --accent-bright: color-mix(in srgb, var(--accent) 68%, #ffffff);
  --accent-deep: color-mix(in srgb, var(--accent) 75%, #000000);
  --accent-soft: rgba(168, 85, 247, 0.14);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(168, 85, 247, 0.28);
  --border-glow: rgba(168, 85, 247, 0.55);
  --txt-white: #f8fafc;
  --txt-body: #cbd5e1;
  --txt-muted: #8b9bb4;
  --emerald: #10b981;
  --whatsapp: #25d366;
  --gold-star: #fbbf24;

  /* Compatibility aliases for shared components & modals */
  --clr-bg: var(--bg-obsidian);
  --clr-bg2: var(--bg-surface);
  --clr-bg3: var(--bg-elevated);
  --clr-card: var(--bg-elevated);
  --clr-border: var(--border-accent);
  --clr-yellow: var(--accent);
  --clr-yellow-lt: var(--accent-bright);
  --clr-yellow-dk: var(--accent-deep);
  --clr-amber: var(--accent);
  --clr-white: var(--txt-white);
  --clr-text: var(--txt-body);
  --clr-muted: var(--txt-muted);
  --primary-rgb: 168, 85, 247;

  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-ambient: 0 20px 50px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 38px rgba(168, 85, 247, 0.22);
  --shadow-glow-lg: 0 12px 48px rgba(168, 85, 247, 0.35);
  --transition: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --container-w: 1260px;
}

/* ---------- Base Reset & Global Canvas ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(168, 85, 247, 0.11) 0%, transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #050811 0%, #070b18 50%, #050811 100%);
  color: var(--txt-body);
  line-height: 1.68;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-obsidian); }
::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.45);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--txt-white);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.35rem, 4.8vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.55rem); }
p { color: var(--txt-muted); font-size: 1.02rem; }

.highlight, .text-gradient {
  background: linear-gradient(135deg, var(--txt-white) 0%, var(--accent-bright) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--accent);
}

.mono-tag, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.32);
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.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;
}

/* ---------- Layout & Containers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(9, 14, 28, 0.85) 0%, rgba(14, 22, 41, 0.55) 50%, rgba(9, 14, 28, 0.85) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-intro p {
  margin-top: 0.9rem;
  font-size: 1.08rem;
}

.divider {
  width: 68px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 3px;
  margin: 1rem auto;
}

.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Buttons ---------- */
.btn, .btn-primary, .btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.08);
}

.btn-outline, .btn-secondary-outline, .btn-dark {
  background: rgba(255, 255, 255, 0.04);
  color: var(--txt-white);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(12px);
}

.btn-outline:hover, .btn-secondary-outline:hover, .btn-dark:hover {
  background: rgba(168, 85, 247, 0.14);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-wa {
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.btn-lg { padding: 16px 34px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; border-radius: var(--radius-sm); }

/* ---------- Floating Glass Dock Navigation ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  max-width: var(--container-w);
  margin: 0 auto;
  background: rgba(9, 14, 28, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(168, 85, 247, 0.08);
}

.nav-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links a {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--txt-body);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(168, 85, 247, 0.18);
  color: var(--txt-white);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.38);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  cursor: pointer;
  padding: 9px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--txt-white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  pointer-events: auto;
  display: none;
  flex-direction: column;
  gap: 8px;
  max-width: var(--container-w);
  margin: 10px auto 0;
  background: rgba(9, 14, 28, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-ambient);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--txt-body);
}

.mobile-menu a:hover {
  background: var(--accent-soft);
  color: var(--txt-white);
}

/* ---------- Split Cinema Hero (Template 4 Signature) ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 75% 40%, rgba(168, 85, 247, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.hero-rating-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--txt-body);
  margin-bottom: 1.25rem;
}

.hero-rating-strip .stars {
  color: var(--gold-star);
  letter-spacing: 1px;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero .lead {
  font-size: 1.12rem;
  color: var(--txt-body);
  max-width: 600px;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--txt-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.stat-item {
  text-align: center;
  padding: 6px;
  border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--txt-white);
}

.stat-item span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--txt-muted);
}

/* Right Hero Visual: Cinema Bento Stage */
.hero-cinema-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(14, 22, 41, 0.85), rgba(5, 8, 17, 0.9));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient), var(--shadow-glow);
}

.stage-hud-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--txt-body);
}

.hud-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.stage-poster-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 2 / 2.8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-surface);
}

.stage-poster-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stage-poster-tile:hover img {
  transform: scale(1.06);
}

.stage-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(5,8,17,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}

.stage-poster-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: rgba(5, 8, 17, 0.85);
  color: var(--accent-bright);
  border: 1px solid var(--border-accent);
}

.stage-poster-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--txt-white);
}

.stage-poster-sub {
  font-size: 0.72rem;
  color: var(--txt-muted);
}

/* ---------- Sports & Broadcast Network Bar ---------- */
.sports-network-bar {
  padding: 36px 0;
  background: rgba(9, 14, 28, 0.9);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 46px;
  margin-top: 1.25rem;
}

.logos-strip img {
  max-height: 42px;
  max-width: 135px;
  width: auto;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: var(--transition);
}

.logos-strip img:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 6px 18px rgba(168, 85, 247, 0.45));
}

/* ---------- Hardware-Accelerated Infinite Carousels ---------- */
.showcase-section {
  overflow: hidden;
}

.showcase-group {
  margin-bottom: 3.25rem;
}

.showcase-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--container-w);
  margin: 0 auto 1.35rem;
  padding: 0 24px;
}

.subhead-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

.marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.roll-left {
  animation: marqueeLeft 46s linear infinite;
}

.roll-right {
  animation: marqueeRight 52s linear infinite;
}

@keyframes marqueeLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Tier 1: Streaming Hub Cards */
.platform-hub-card {
  position: relative;
  width: 300px;
  height: 185px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-elevated);
  flex-shrink: 0;
  transition: var(--transition);
}

.platform-hub-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.platform-hub-card .card-media,
.platform-hub-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-hub-card .card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.15) 0%, rgba(5, 8, 17, 0.92) 100%);
}

.card-badge-top {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(5, 8, 17, 0.82);
  color: var(--accent-bright);
  border: 1px solid var(--border-accent);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.card-brand-overlay {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
}

.brand-logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--txt-white);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--txt-body);
}

/* Tier 2: VOD Poster Cards */
.vod-poster-card {
  position: relative;
  width: 210px;
  height: 310px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-elevated);
  flex-shrink: 0;
  transition: var(--transition);
}

.vod-poster-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.vod-poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vod-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.05) 35%, rgba(5, 8, 17, 0.95) 100%);
}

.vod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(5, 8, 17, 0.85);
  color: var(--accent-bright);
  border: 1px solid var(--border-accent);
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

.vod-meta {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
}

.vod-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--txt-white);
  margin-bottom: 2px;
}

.vod-genre {
  font-size: 0.76rem;
  color: var(--txt-muted);
}

.showcase-cta-bar {
  max-width: 920px;
  margin: 2rem auto 0;
  padding: 16px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.showcase-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--txt-body);
}

/* ---------- Bento Feature Cards ---------- */
.feature-card, .reseller-perk, .seo-card, .device-card {
  background: linear-gradient(160deg, rgba(14, 22, 41, 0.85) 0%, rgba(9, 14, 28, 0.92) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover, .reseller-perk:hover, .seo-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-ambient), var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon, .reseller-perk-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.reseller-perk {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.reseller-perk-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.feature-card h3, .reseller-perk h3, .seo-card h3 {
  margin-bottom: 0.65rem;
}

/* ---------- Pricing Cockpit Cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 22, 41, 0.9) 0%, rgba(9, 14, 28, 0.96) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-ambient), var(--shadow-glow);
}

.pricing-card.popular {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.14) 0%, rgba(14, 22, 41, 0.96) 45%, rgba(9, 14, 28, 0.98) 100%);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-glow-lg);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.45);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--txt-white);
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 0.4rem;
}

.pricing-price strong {
  font-family: var(--font-mono);
  font-size: 2.55rem;
  font-weight: 800;
  color: var(--txt-white);
  letter-spacing: -0.03em;
}

.pricing-price span {
  font-size: 0.86rem;
  color: var(--txt-muted);
}

.pricing-tagline {
  font-size: 0.85rem;
  color: var(--accent-bright);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--txt-body);
}

.pricing-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.35rem 1.75rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.pricing-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--txt-body);
}

/* ---------- Comparison Matrix Table ---------- */
.value-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
  background: var(--bg-surface);
  box-shadow: var(--shadow-ambient);
}

.value-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.value-table th,
.value-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.value-table thead th {
  background: rgba(14, 22, 41, 0.95);
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--txt-white);
}

.value-table .feature-col {
  font-weight: 700;
  color: var(--txt-white);
}

.value-table .cable-col {
  color: #f87171;
}

.value-table .iptv-col {
  background: rgba(168, 85, 247, 0.09);
  color: #34d399;
  font-weight: 700;
}

/* ---------- Steps Timeline ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.step-item:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Accordions & Technical FAQ ---------- */
.faq-item, .seo-accordion {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover, .seo-accordion:hover {
  border-color: var(--border-accent);
}

.faq-q, .seo-accordion-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--txt-white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
}

.faq-q h3 {
  font-size: 1.05rem;
  margin: 0;
}

.faq-icon, .seo-accordion-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-a, .seo-accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.32s ease, padding 0.32s ease;
}

.faq-item.open .faq-a {
  max-height: 800px;
  padding-bottom: 1.35rem;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.seo-intro p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
}

/* ---------- Page Hero (Subpages) ---------- */
.page-hero {
  padding: 150px 0 70px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(168, 85, 247, 0.16) 0%, transparent 70%),
    var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18) 0%, rgba(14, 22, 41, 0.95) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-ambient), var(--shadow-glow);
}

.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p { max-width: 580px; margin: 0 auto 1.75rem; color: var(--txt-body); }

/* ---------- Footer ---------- */
.footer {
  background: #03050b;
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 38px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--txt-white);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--txt-muted);
}

.footer-col a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--txt-muted);
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-contact-links a:hover {
  color: var(--txt-white);
}

/* ---------- Modals (Checkout & Free Trial) ---------- */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 5, 11, 0.82);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.custom-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.custom-modal-dialog {
  width: 100%;
  max-width: 500px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-ambient), var(--shadow-glow);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--txt-white);
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-header {
  margin-bottom: 1.35rem;
}

.modal-header h3 {
  margin-bottom: 0.35rem;
}

.order-summary-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.order-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-summary-price {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-bright);
}

.modal-form-group {
  margin-bottom: 1rem;
}

.modal-form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--txt-white);
  margin-bottom: 0.45rem;
}

.modal-form-input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(5, 8, 17, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--txt-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.modal-form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.chip-item {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--txt-body);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.chip-item.is-selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--txt-white);
}

.modal-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--txt-muted);
}

.trial-success-card {
  display: none;
}

/* ---------- Floating WhatsApp & Social Proof Toast ---------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-float-btn svg {
  width: 22px;
  height: 22px;
}

.social-proof-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 980;
  background: rgba(9, 14, 28, 0.95);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-ambient);
  transform: translateY(130%);
  opacity: 0;
  transition: var(--transition);
  max-width: 340px;
}

.social-proof-toast.is-active {
  transform: translateY(0);
  opacity: 1;
}

.social-proof-toast-text {
  font-size: 0.82rem;
  color: var(--txt-body);
  line-height: 1.4;
}

.social-proof-toast-text strong {
  display: block;
  color: var(--txt-white);
}

.social-proof-toast-time {
  display: block;
  font-size: 0.72rem;
  color: var(--accent-bright);
  margin-top: 2px;
}

.social-proof-toast-close {
  background: none;
  border: none;
  color: var(--txt-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 995;
  background: rgba(5, 8, 17, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-accent);
  padding: 10px 16px;
  gap: 10px;
}

.btn-sticky-pricing {
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1080px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .pricing-grid.grid-3, .seo-grid, .pricing-trust-strip {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 120px 0 60px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-bar {
    display: flex;
  }
  .whatsapp-float-btn {
    bottom: 74px;
  }
  .social-proof-toast {
    display: none;
  }
}
