/* ==========================================================================
   VISIONFLIX IPTV - PRODUCTION MOBILE-FIRST STYLESHEET (2026 NEXT-GEN GLASS)
   Theme: Dark Theme + Red Glowing Accents + Gold Headline + Blackneo Typography
   Architecture: Mobile-First Baseline (0px+) -> Progressive Desktop Enhancements
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Typography & CSS Variables Setup
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Blackneo';
  src: local('Blackneo'),
       url('https://fonts.cdnfonts.com/s/72813/Blackneo.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Tokens */
  --bg-dark: #07080c;
  --bg-dark-card: rgba(18, 20, 32, 0.65);
  --bg-dark-surface: rgba(13, 14, 22, 0.85);
  
  --primary-red: #ff1e42;
  --primary-red-hover: #e60033;
  --red-glow: rgba(255, 30, 66, 0.4);
  --red-border: rgba(255, 30, 66, 0.25);
  --red-border-strong: rgba(255, 30, 66, 0.6);
  
  --gold-glow: rgba(255, 215, 0, 0.35);
  --gold-light: #fff3a3;
  --gold-primary: #ffd700;
  --gold-dark: #e67e22;

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Glassmorphism Specs */
  --glass-bg: rgba(20, 24, 38, 0.55);
  --glass-blur: blur(18px) saturate(160%);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-border-red: 1px solid rgba(255, 30, 66, 0.25);
  --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.55);

  /* Typography Stack */
  --font-family-base: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-heading: 'Blackneo', 'Orbitron', 'Outfit', sans-serif;
  
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Mobile-First Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family-base);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #07080c;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 30, 66, 0.5);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Background Ambient Orbs */
.ambient-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orbPulse 12s infinite alternate ease-in-out;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-red);
  top: -50px;
  left: -50px;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: #3a0ca3;
  bottom: 10%;
  right: -50px;
  animation-delay: -4s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: var(--gold-dark);
  top: 40%;
  left: 30%;
  opacity: 0.2;
  animation-delay: -8s;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

@keyframes orbPulse {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(20px, -20px); }
}

/* Reusable Glass Components */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.text-center { text-align: center; }
.accent-red { color: var(--primary-red); }

/* Typography Headlines */
.gold-headline {
  font-family: var(--font-family-heading);
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold-primary) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--gold-glow);
  letter-spacing: -0.5px;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-family-heading);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Touch-Friendly Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-decoration: none;
  touch-action: manipulation;
}

.btn-red {
  background: linear-gradient(135deg, var(--primary-red), #d60029);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--red-glow);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-block {
  width: 100%;
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255, 30, 66, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(255, 30, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 30, 66, 0); }
}

/* --------------------------------------------------------------------------
   3. Navbar Header & Mobile Sliding Drawer (Mobile-First Baseline)
   -------------------------------------------------------------------------- */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 0;
  transition: background var(--transition-normal), backdrop-filter var(--transition-normal), border-color var(--transition-normal);
}

.navbar-header.scrolled {
  background: rgba(7, 8, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--red-border);
  padding: 0.6rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1001;
}

.logo-icon-box {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-red), #99001c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px var(--red-glow);
}

.logo-icon-box.small-box {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-family-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-tag {
  font-size: 0.55rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
  font-weight: 700;
  margin-top: -3px;
}

/* Mobile Menu Navigation Drawer (Baseline) */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  height: 100vh;
  height: 100dvh;
  background: rgba(7, 8, 12, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 5.5rem 1.8rem 2rem 1.8rem;
  border-left: 1px solid var(--red-border);
  transition: right var(--transition-normal);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.nav-menu.active {
  right: 0;
}

.nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  display: block;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-red);
}

/* Backdrop Overlay for Mobile Drawer */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Header Actions & Mobile Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-actions .btn {
  display: none; /* Hidden on mobile header to save space, available inside menu / hero */
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1001;
  touch-action: manipulation;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--primary-red);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--primary-red);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(13, 14, 22, 0.95);
  backdrop-filter: blur(20px);
  border: var(--glass-border-red);
  border-radius: 12px;
  padding: 0.5rem 0;
  width: 140px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 1002;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-dropdown li:hover, .lang-dropdown li.active {
  background: rgba(255, 30, 66, 0.15);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. Hero Section (Mobile-First Baseline)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 7rem 0 3rem 0;
  scroll-margin-top: 100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 30, 66, 0.1);
  border: 1px solid var(--red-border);
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 1.2rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-red);
  animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 1.2rem auto 2rem auto;
  max-width: 550px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-cta-group .btn {
  width: 100%;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.benefit-item i {
  color: var(--gold-primary);
}

/* TV Mockup Frame */
.tv-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.tv-frame {
  position: relative;
  background: #10121a;
  border-radius: 16px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 30, 66, 0.2);
}

.screen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.screen-stream {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 8, 12, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--primary-red);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.live-badge .blink-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary-red);
  border-radius: 50%;
  animation: dotPulse 1s infinite;
}

.tv-stand {
  width: 140px;
  height: 12px;
  background: linear-gradient(180deg, #1a1e2d, #090a0f);
  margin: 0 auto;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   5. Stats Section (Mobile-First Baseline)
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: var(--font-family-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   6. 4K Showcase Carousel (Mobile Touch Enabled)
   -------------------------------------------------------------------------- */
.showcase-section {
  padding: 4rem 0;
  scroll-margin-top: 100px;
}

.showcase-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 2rem;
  touch-action: pan-y pinch-zoom;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-normal);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(7, 8, 12, 0.96) 0%, rgba(7, 8, 12, 0.65) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slide-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0.3rem 0;
  color: #fff;
}

.slide-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  justify-content: space-between;
}

.badge-tag {
  background: rgba(255, 30, 66, 0.2);
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.rating-badge {
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

/* Carousel Controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 8, 12, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  touch-action: manipulation;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  width: 24px;
  border-radius: 10px;
  background: var(--primary-red);
}

/* --------------------------------------------------------------------------
   7. TV Series Showcase Slider (Custom Interactive Carousel)
   -------------------------------------------------------------------------- */
.series-showcase-section {
  padding: 4rem 0;
  scroll-margin-top: 100px;
  background: radial-gradient(circle at center, rgba(255, 30, 66, 0.04) 0%, transparent 70%);
}

.series-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 2rem;
  padding: 0.5rem 0 1rem 0;
  touch-action: pan-y pinch-zoom;
}

.series-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 1.25rem;
  width: 100%;
}

.series-card {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.series-card.active-slide {
  border-color: var(--primary-red);
  box-shadow: 0 10px 30px var(--red-glow);
}

.series-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.series-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-normal);
}

.series-card:hover .series-poster img {
  transform: scale(1.05);
}

.series-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(7, 8, 12, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.series-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.series-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.series-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.series-meta .rating {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Series Arrow Buttons */
.series-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 8, 12, 0.85);
  border: 1px solid rgba(255, 30, 66, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  touch-action: manipulation;
}

.series-arrow:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  box-shadow: 0 0 15px var(--red-glow);
}

.series-prev { left: 0.4rem; }
.series-next { right: 0.4rem; }

/* Series Dots Navigation */
.series-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.series-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
}

.series-dot.active {
  width: 26px;
  border-radius: 12px;
  background: var(--primary-red);
  box-shadow: 0 0 10px var(--red-glow);
}

/* Mobile Pricing Card Centering (0px to 768px) */
@media (max-width: 768px) {
  .pricing-card {
    text-align: center;
    align-items: center;
  }

  .pricing-header {
    text-align: center;
    width: 100%;
  }

  .plan-features {
    align-items: center;
    width: 100%;
  }

  .plan-features li {
    justify-content: center;
    text-align: center;
  }

  .card-extra-info {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .delivery-time-badge {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   8. Features Grid Section (Mobile-First Baseline)
   -------------------------------------------------------------------------- */
.features-section {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 16px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 30, 66, 0.12);
  border: 1px solid var(--red-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Pricing Packages Section (Mobile-First Baseline)
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.featured-plan {
  border-color: var(--primary-red);
  box-shadow: 0 0 30px var(--red-glow);
}

.popular-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  transform: rotate(45deg);
  background: var(--primary-red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.25rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header {
  margin-bottom: 1.2rem;
  text-align: center;
  width: 100%;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.plan-price {
  font-family: var(--font-family-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
}

.plan-price .currency {
  color: var(--primary-red);
  font-size: 1.5rem;
  vertical-align: super;
}

.plan-price .period {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--font-family-base);
  font-weight: 400;
}

.plan-features {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  width: 100%;
}

.plan-features li {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  width: 100%;
}

.check-icon {
  color: var(--primary-red);
  font-size: 0.85rem;
}

.card-extra-info {
  margin: 1rem 0;
  padding: 0.75rem 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.delivery-time-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #00ff88;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Styled Platform Chips */
.platform-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
  width: 100%;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.platform-chip i {
  font-size: 0.82rem;
}

.chip-apple { color: #ffffff; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); }
.chip-android { color: #3ddc84; border-color: rgba(61, 220, 132, 0.3); background: rgba(61, 220, 132, 0.08); }
.chip-tv { color: var(--primary-red); border-color: rgba(255, 30, 66, 0.3); background: rgba(255, 30, 66, 0.08); }
.chip-windows { color: #00adef; border-color: rgba(0, 173, 239, 0.3); background: rgba(0, 173, 239, 0.08); }

/* --------------------------------------------------------------------------
   10. FAQ Accordion Section (Mobile-First Baseline)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 4rem 0;
}

.faq-grid {
  max-width: 800px;
  margin: 2rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 52px;
  padding: 1rem 1.2rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 0.8rem;
  touch-action: manipulation;
}

.faq-icon {
  color: var(--primary-red);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 1.2rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.2rem 1.2rem 1.2rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Reseller Program Section (Mobile-First Baseline)
   -------------------------------------------------------------------------- */
.reseller-section {
  padding: 3rem 0;
}

.reseller-card {
  padding: 2rem 1.25rem;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(255, 30, 66, 0.12) 0%, rgba(15, 18, 28, 0.8) 100%);
  border: 1px solid rgba(255, 30, 66, 0.3);
}

.reseller-content {
  text-align: center;
}

.reseller-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0.8rem 0;
}

.reseller-content p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.reseller-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.reseller-contacts .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   12. Footer Section (Mobile-First Baseline)
   -------------------------------------------------------------------------- */
.footer-section {
  padding: 3rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 12, 0.95);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
}

.footer-left p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.legal-link {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.2rem;
}

.divider {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer-social-btns {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
}

.telegram-btn {
  background: rgba(0, 136, 204, 0.2);
  border: 1px solid rgba(0, 136, 204, 0.5);
  color: #0088cc;
}

.whatsapp-footer-btn {
  background: rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.5);
  color: #25D366;
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 24, 38, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--primary-red);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* Floating Support Stack (Telegram & WhatsApp - Bottom-Left) */
.floating-widgets-stack {
  position: fixed;
  bottom: 1.5rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 997;
}

.floating-widget {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.telegram-float {
  background: linear-gradient(135deg, #0088cc, #005580);
}

.whatsapp-float {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.widget-tooltip {
  display: none; /* Tooltip hidden on mobile touchscreens to avoid viewport clutter */
}

/* --------------------------------------------------------------------------
   13. Modals & Popups (Mobile-First Optimization)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  max-height: 88dvh;
  margin: auto;
  padding: 1.5rem 1.2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  position: relative;
  background: rgba(18, 20, 32, 0.96);
  border: 1px solid var(--primary-red);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 0.4rem;
}

.modal-header p {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

/* Tabs Inside Modal */
.checkout-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 30px;
  margin: 1.2rem 0;
  gap: 4px;
}

.tab-btn {
  flex: 1;
  min-height: 44px;
  padding: 0.5rem;
  border: none;
  background: none;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  touch-action: manipulation;
}

.tab-btn.active {
  background: var(--primary-red);
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

/* Form Controls with 16px minimum font size to prevent iOS Safari auto-zoom */
.form-group input,
.form-group select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: rgba(7, 8, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px; /* Critical for mobile iOS input focus without page zoom */
  font-family: var(--font-family-base);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 10px var(--red-glow);
}

.direct-pay-info {
  padding: 1rem;
  margin-bottom: 1.2rem;
  text-align: left;
}

.pay-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.4rem;
}

.direct-pay-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-contact-divider {
  text-align: center;
  margin: 1rem 0 0.6rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
}

.modal-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.modal-contact-btn {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.modal-contact-btn.tg { background: rgba(0, 136, 204, 0.25); border: 1px solid rgba(0, 136, 204, 0.6); color: #0088cc; }
.modal-contact-btn.wa { background: rgba(37, 211, 102, 0.25); border: 1px solid rgba(37, 211, 102, 0.6); color: #25D366; }
.modal-contact-btn.mail { background: rgba(255, 30, 66, 0.25); border: 1px solid rgba(255, 30, 66, 0.6); color: var(--primary-red); }

.modal-footer-notes {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* Legal Modals */
.legal-modal-card {
  max-width: 700px;
}

.legal-text-content {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d1d5db;
  margin-top: 1.2rem;
  text-align: left;
}

.legal-text-content h4 {
  color: var(--gold-primary);
  margin: 1rem 0 0.4rem 0;
  font-size: 0.95rem;
}

.legal-text-content p {
  margin-bottom: 0.8rem;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20, 24, 38, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--primary-red);
  padding: 0.8rem 1.4rem;
  border-radius: 50px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 3000;
  opacity: 0;
  transition: all var(--transition-normal);
  width: 90%;
  max-width: 400px;
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon { color: #2ec4b6; font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   14. Progressive Desktop & Tablet Enhancements (min-width media queries)
   -------------------------------------------------------------------------- */

/* Small Tablets / Large Mobile Devices (481px+) */
@media (min-width: 481px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
  }
  
  .hero-cta-group .btn {
    width: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .series-card {
    flex: 0 0 calc(50% - 0.625rem);
    max-width: calc(50% - 0.625rem);
  }

  .series-poster {
    aspect-ratio: 2 / 3;
  }

  .reseller-contacts {
    flex-direction: row;
    justify-content: center;
  }

  .reseller-contacts .btn {
    width: auto;
  }

  .floating-widget {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
  
  .widget-tooltip {
    display: block;
    position: absolute;
    left: 64px;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: rgba(20, 24, 38, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
  }

  .floating-widget:hover .widget-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* Medium Tablets & Laptops (769px+) */
@media (min-width: 769px) {
  .hero-section {
    padding: 9rem 0 5rem 0;
  }

  .nav-actions .btn {
    display: inline-flex; /* Show action buttons in top header on desktop */
  }

  .mobile-toggle {
    display: none; /* Hide hamburger toggle on desktop */
  }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border: none;
  }

  .nav-menu ul {
    flex-direction: row;
    gap: 2rem;
  }

  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
    align-items: center;
  }

  .hero-cta-group {
    justify-content: flex-start;
  }

  .hero-benefits {
    justify-content: flex-start;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .series-card {
    flex: 0 0 calc(33.333% - 0.833rem);
    max-width: calc(33.333% - 0.833rem);
  }

  .carousel-slide {
    aspect-ratio: 16 / 9;
  }

  .slide-content {
    padding: 2rem;
  }

  .slide-content h3 {
    font-size: 1.8rem;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Large Desktops (1025px+) */
@media (min-width: 1025px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .series-card {
    flex: 0 0 calc(25% - 0.9375rem);
    max-width: calc(25% - 0.9375rem);
  }

  .featured-plan {
    transform: translateY(-12px);
  }

  .glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 30, 66, 0.4);
    box-shadow: 0 20px 40px rgba(255, 30, 66, 0.2);
  }
}
