/* 
================================================================
Beplays IPTV - Premium Custom Styling (Restructured Edition)
Designed with High-Conversion Bento Grid, Centered Hero,
Dedicated Downloads Section & Cyberpunk Cinema Theme
================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* CSS VARIABLES FOR CORE STYLE SYSTEM */
:root {
  /* Color Tokens */
  --bg-deep: #06030e;
  --bg-main: #0c081d;
  --bg-card: rgba(16, 11, 33, 0.7);
  --bg-card-hover: rgba(28, 17, 58, 0.85);
  
  --primary-gold: #ff2a5f;
  --secondary-orange: #ff9f00;
  --accent-rose: #00f2fe;
  --whatsapp-green: #22c55e;
  --whatsapp-green-hover: #16a34a;
  
  --text-primary: #ffffff;
  --text-muted: #94a3b8;
  --text-muted-bright: #cbd5e1;
  
  --border-glow: rgba(255, 42, 95, 0.18);
  --border-glow-hover: rgba(255, 42, 95, 0.45);
  --border-white-glow: rgba(255, 255, 255, 0.05);
  
  /* Glow Shadows */
  --shadow-glow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 42, 95, 0.04);
  --shadow-glow-hover: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 42, 95, 0.2);
  --shadow-btn: 0 4px 15px rgba(255, 42, 95, 0.35);
  --shadow-btn-hover: 0 8px 25px rgba(255, 42, 95, 0.55);
  
  /* Fonts */
  --font-sans: 'Outfit', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

/* BASE STYLES & RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Background Ambient Glow Lights */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 42, 95, 0.06) 0%, rgba(255, 159, 0, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.04) 0%, rgba(255, 42, 95, 0) 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bottom-glow {
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 42, 95, 0.02) 0%, rgba(12, 8, 29, 0) 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Grid overlay background */
.bg-grid {
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* SCROLLBAR CUSTOMIZATION */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid var(--bg-deep);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* UTILITY CLASSES */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-rose {
  background: linear-gradient(135deg, var(--secondary-orange) 0%, var(--accent-rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-display {
  font-family: var(--font-display);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 42, 95, 0.2);
  color: var(--primary-gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.section-badge .ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-gold);
  position: relative;
}

.section-badge .ping-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--primary-gold);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: var(--primary-gold);
  box-shadow: 0 4px 15px rgba(255, 42, 95, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
}

/* PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-deep);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.03);
  border-top-color: var(--primary-gold);
  border-bottom-color: var(--secondary-orange);
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.preloader-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  animation: pulse-slow 2s infinite ease-in-out;
  border-radius: 12px;
}

.preloader-bar {
  margin-top: 2rem;
  height: 2px;
  width: 120px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary-gold), var(--secondary-orange));
  width: 50%;
  border-radius: 2px;
  animation: loading-bar 1.5s infinite ease-in-out;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes loading-bar {
  0% { left: -50%; width: 30%; }
  50% { width: 60%; }
  100% { left: 120%; width: 30%; }
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  height: 75px;
  background: rgba(6, 3, 14, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-white-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 42, 95, 0.25);
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.08) rotate(5deg);
}

/* Sleek Pill Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-white-glow);
  padding: 0.4rem;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link i {
  font-size: 0.7rem;
  color: var(--primary-gold);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 42, 95, 0.25);
}

.nav-link.active i {
  color: #ffffff;
}

.navbar-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-white-glow);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-gold);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: rgba(6, 3, 14, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1001;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  box-shadow: -10px 0 40px rgba(0,0,0,0.8);
  border-left: 1px solid var(--border-white-glow);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-white-glow);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mobile-drawer-close:hover {
  color: var(--primary-gold);
  border-color: rgba(255, 42, 95, 0.3);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav-link i {
  color: var(--primary-gold);
  font-size: 1.1rem;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-white-glow);
  transform: translateX(5px);
}

.mobile-nav-link.active {
  background: linear-gradient(135deg, rgba(255, 42, 95, 0.15) 0%, rgba(255, 159, 0, 0.15) 100%);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.mobile-drawer-ctas {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ================================================================
   RESTRUCTURED HERO SECTION (CENTERED & GLOWING SCREEN BELOW)
================================================================ */
.hero-centered {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 150px 0 100px 0;
  text-align: center;
  overflow: hidden;
}

.hero-centered-content {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.hero-centered-content h1 {
  font-size: 4.85rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
}

.hero-centered-content p {
  color: var(--text-muted-bright);
  font-size: 1.25rem;
  max-width: 680px;
  line-height: 1.6;
}

.hero-centered-media {
  width: 100%;
  max-width: 900px;
  margin-top: 4rem;
  position: relative;
  z-index: 10;
}

.hero-centered-media-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 0.85rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 42, 95, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-centered-media-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 42, 95, 0.2), transparent);
  pointer-events: none;
  z-index: 1;
}

.hero-centered-media-content {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-centered-media-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-centered-media-wrapper:hover img {
  transform: scale(1.02);
}

/* ================================================================
   RESTRUCTURED BENEFITS: BENTO GRID LAYOUT
================================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-white-glow);
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow-hover);
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-4px);
}

.bento-card-large {
  grid-column: span 1;
}

.bento-card-full {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.bento-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bento-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 42, 95, 0.06);
  border: 1px solid rgba(255, 42, 95, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary-gold);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-card-icon {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 42, 95, 0.3);
}

.bento-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-display);
}

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

/* Bento Visual Enhancements */
.bento-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border-radius: 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-white-glow);
  overflow: hidden;
}

.bento-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.bento-chart-mock {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  justify-content: center;
}

.chart-line-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chart-bar-container {
  height: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.chart-bar-progress {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary-gold), var(--secondary-orange));
}

/* ================================================================
   RESTRUCTURED CATALOG: TOP NAV PILL SELECTORS
================================================================ */
.catalog-top-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-white-glow);
  padding: 0.5rem;
  border-radius: 9999px;
  max-width: 750px;
  margin: 0 auto 3rem auto;
  backdrop-filter: blur(10px);
}

.catalog-top-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted-bright);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.catalog-top-tab i {
  font-size: 0.9rem;
}

.catalog-top-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.catalog-top-tab.active {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 42, 95, 0.25);
}

.catalog-search-centered {
  max-width: 480px;
  margin: 0 auto 3rem auto;
  position: relative;
}

.catalog-search-centered i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.catalog-search-centered input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-white-glow);
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 9999px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.catalog-search-centered input:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 20px rgba(255, 42, 95, 0.15);
}

/* Catalog Card Grid & Layout */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

.catalog-item-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-white-glow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px; /* Professional outer card border frame */
  cursor: pointer;
}

.catalog-item-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow-hover);
}

.catalog-item-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px; /* Inner rounded frame corner */
  border: 1px solid rgba(255, 255, 255, 0.08); /* Inner outline on image */
  transition: transform 0.5s ease;
  display: block;
  margin: 0 auto; /* Perfectly centered image */
}

.catalog-item-card:hover img {
  transform: scale(1.02);
  border-color: var(--primary-gold);
}

.catalog-item-quality {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
}

.catalog-item-info {
  padding: 1.15rem 0.5rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: transparent;
}

.catalog-item-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-sans);
}

.catalog-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.catalog-item-rating {
  color: var(--secondary-orange);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.catalog-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
  gap: 1rem;
  width: 100%;
}

.catalog-empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
}

.catalog-empty-state h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.catalog-empty-state p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
}

@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================================
   NEW DOWNLOADS ("DESCARGAS") SECTION
================================================================ */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.download-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
  border-radius: 28px;
}

.download-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.download-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-rose);
}

.download-card:hover .download-icon {
  background: var(--accent-rose);
  color: var(--bg-deep);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.download-title-wrapper h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.download-title-wrapper span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.download-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.downloader-code-box {
  background: var(--bg-deep);
  border: 1px solid var(--border-white-glow);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.downloader-code-box span.label {
  color: var(--text-muted);
  font-weight: 600;
}

.downloader-code-box span.code {
  color: var(--primary-gold);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.download-card .btn {
  width: 100%;
}

/* ================================================================
   STEPS RESTRUCTURED: TIMELINE SEQUENCE
================================================================ */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--border-white-glow), var(--border-glow), var(--border-white-glow));
  z-index: 1;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.timeline-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.timeline-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-white-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step:hover .timeline-badge {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(255, 42, 95, 0.3);
}

.timeline-step h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================================
   GLASS CARD SYSTEM
================================================================ */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-white-glow);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow-hover);
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-5px);
}

/* BENEFITS SECTION */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(255, 42, 95, 0.05);
  border: 1px solid rgba(255, 42, 95, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-gold);
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(255, 42, 95, 0.05);
}

.benefit-card:hover .benefit-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.benefit-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* PRICING PLANS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.pricing-card.popular {
  border-color: rgba(255, 42, 95, 0.45);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 42, 95, 0.15);
  transform: scale(1.04);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-orange));
  z-index: -1;
  pointer-events: none;
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 1rem;
  border-radius: 0 0 0 16px;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.15);
}

.plan-icon {
  font-size: 2.25rem;
  color: var(--primary-gold);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.plan-price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.plan-price {
  font-size: 1.85rem;
  font-weight: 900;
  font-family: var(--font-display);
}

.plan-duration {
  font-size: 0.75rem;
  color: var(--text-muted-bright);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.plan-features li {
  font-size: 0.8rem;
  color: var(--text-muted-bright);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.plan-features li i {
  color: var(--primary-gold);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

/* COMPARISON TABLE */
.comparison-container {
  max-width: 960px;
  margin: 5rem auto 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-white-glow);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.comparison-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted-bright);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.comparison-table th {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.comparison-table th.highlight-col {
  color: var(--primary-gold);
}

.comparison-table td {
  padding: 1.15rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted-bright);
  font-weight: 500;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.feature-name {
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table td.highlight-col {
  color: var(--primary-gold);
  font-weight: 700;
}

.comparison-table td i.fa-check {
  color: var(--primary-gold);
  font-size: 0.95rem;
}

/* DEVICE COMPATIBILITY */
.device-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.device-tab {
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-align: center;
}

.device-tab.active {
  border-color: var(--primary-gold);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 25px rgba(255, 42, 95, 0.1);
}

.device-tab-icon {
  font-size: 2.25rem;
  color: var(--primary-gold);
  transition: transform 0.3s ease;
}

.device-tab:hover .device-tab-icon {
  transform: scale(1.08);
}

.device-tab-name {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.device-content-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}

.device-content-wrapper {
  width: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-white-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: #000;
  cursor: pointer;
}

.device-content-wrapper img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.device-content-wrapper:hover img {
  transform: scale(1.015);
}

.device-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.device-content-wrapper:hover .device-hover-overlay {
  opacity: 1;
}

.device-hover-btn {
  background: var(--primary-gold);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 20px rgba(255, 42, 95, 0.2);
}

/* STATS SECTION */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.stat-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* FAQ ACCORDION */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-white-glow);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 42, 95, 0.2);
}

.faq-header {
  width: 100%;
  padding: 1.25rem 1.75rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.faq-header span {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.faq-header i {
  color: var(--primary-gold);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  border-top: 1px solid transparent;
}

.faq-body-content {
  padding: 1.25rem 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted-bright);
  line-height: 1.6;
}

.faq-item.active {
  border-color: rgba(255, 42, 95, 0.3);
}

.faq-item.active .faq-header {
  background: rgba(255, 255, 255, 0.01);
}

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

.faq-item.active .faq-body {
  border-top-color: rgba(255, 255, 255, 0.03);
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rating-stars {
  color: #fbbf24;
  font-size: 0.85rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-text {
  font-size: 0.85rem;
  color: var(--text-muted-bright);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.user-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
}

.user-info span {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* CTA BANNER SECTION */
.cta-banner {
  padding: 6rem 0;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.cta-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 32px;
  padding: 4.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-glow-hover);
  backdrop-filter: blur(20px);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 42, 95, 0.15) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.cta-banner-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 159, 0, 0.1) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.cta-banner-card h2 {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: var(--font-display);
  line-height: 1.25;
}

.cta-banner-card p {
  color: var(--text-muted-bright);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.6;
}

.cta-banner-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

/* SECTIONS PADDING */
.section {
  padding: 6rem 0;
  position: relative;
}

.section.border-y {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* FOOTER */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 5rem 0 3rem 0;
  color: var(--text-muted);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-logo span span {
  color: var(--primary-gold);
}

.footer-desc {
  font-size: 0.75rem;
  max-width: 480px;
  line-height: 1.6;
  color: #475569;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  font-size: 1.25rem;
}

.footer-socials a {
  color: var(--text-muted-bright);
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #475569;
}

.footer-bottom span a {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom span a:hover {
  text-decoration: underline;
}

.footer-bottom .dot-divider {
  display: inline-block;
}

.footer-admin-link {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s ease;
}

.footer-admin-link:hover {
  color: var(--primary-gold);
}

/* RESELLER MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 42, 95, 0.2);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-glow-hover);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-white-glow);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  color: var(--primary-gold);
  border-color: rgba(255, 42, 95, 0.3);
}

.modal-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.modal-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 10px 20px rgba(255, 42, 95, 0.2);
}

.modal-header h3 {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.modal-header .modal-subtitle {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted-bright);
  text-align: center;
  line-height: 1.6;
}

.modal-features-list {
  background: var(--bg-deep);
  border: 1px solid var(--border-white-glow);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.5;
}

.modal-feature-item i {
  color: var(--primary-gold);
  font-size: 0.9rem;
}

.modal-feature-item strong {
  color: var(--text-primary);
}

/* WHATSAPP WIDGET AND POPUP CHAT */
.whatsapp-widget-container {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

/* Chat window */
.chat-window {
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-white-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transform-origin: bottom right;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
}

.chat-window.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.chat-header {
  background: var(--bg-card-hover);
  border-bottom: 1px solid var(--border-white-glow);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.chat-avatar-wrapper {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-gold);
}

.chat-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  border: 2px solid var(--bg-card-hover);
}

.chat-user-info h4 {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.chat-user-info span {
  font-size: 0.65rem;
  color: var(--whatsapp-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chat-close-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.25rem;
  transition: color 0.3s ease;
}

.chat-close-btn:hover {
  color: var(--text-primary);
}

.chat-body {
  padding: 1.5rem;
  background: rgba(5, 7, 15, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-msg {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-white-glow);
  padding: 1rem;
  border-radius: 0 16px 16px 16px;
  font-size: 0.75rem;
  color: var(--text-muted-bright);
  line-height: 1.5;
}

.chat-msg strong {
  color: var(--text-primary);
}

.chat-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-action-btn {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Prompt Bubble */
.chat-prompt-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 0.7rem;
  font-weight: 600;
  max-width: 250px;
  color: var(--text-muted-bright);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  backdrop-filter: blur(10px);
  margin-right: 0.5rem;
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-prompt-bubble.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chat-prompt-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-prompt-close:hover {
  color: var(--text-primary);
}

/* Trigger Bubble Button */
.whatsapp-trigger-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.08) rotate(5deg);
  background-color: var(--whatsapp-green-hover);
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.6);
}

.whatsapp-trigger-btn:active {
  transform: scale(0.95);
}

.whatsapp-trigger-btn .widget-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--primary-gold);
  color: var(--bg-deep);
  font-size: 0.6rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-deep);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* IMAGE LIGHTBOX MODAL */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  max-height: 80vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

.lightbox-modal.open .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--primary-gold);
}

/* ================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
================================================================ */

@media (max-width: 1200px) {
  .hero-centered-content h1 {
    font-size: 3.75rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .pricing-card.popular {
    transform: scale(1);
  }
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  .nav-menu, .navbar-ctas {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-full {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .bento-visual {
    min-height: 160px;
  }
  .benefits-grid, .steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }
  .device-tabs {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
  }
  .timeline-line {
    display: none;
  }
  .timeline-steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 320px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .downloads-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .cta-banner-card {
    padding: 3rem 1.5rem;
  }
  .cta-banner-card h2 {
    font-size: 1.75rem;
  }
  .cta-banner-ctas {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner-ctas .btn {
    width: 100%;
  }
  .comparison-container {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-centered-content h1 {
    font-size: 2.85rem;
  }
  .device-tabs {
    grid-template-columns: 1fr;
  }
  .hero-centered-content .btn {
    width: 100%;
  }
  .chat-window {
    width: calc(100vw - 2.5rem);
    right: 1.25rem;
  }
}

/* Roku Guide Custom Layout */
.roku-guide-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-white-glow);
  padding: 3rem;
  border-radius: 28px;
  width: 100%;
}

.roku-guide-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.roku-guide-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-primary);
}

.roku-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.roku-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.roku-step .step-num {
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-orange));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 42, 95, 0.25);
}

.roku-step p {
  font-size: 0.85rem;
  color: var(--text-muted-bright);
  line-height: 1.6;
}

.roku-step-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 16px;
}

.roku-step-success i {
  color: var(--whatsapp-green);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.roku-step-success p {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.roku-guide-media {
  width: 100%;
}

@media (max-width: 992px) {
  .roku-guide-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

/* Apps Row Card Grid (Downloads Page) */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
}

.app-row-card {
  display: flex;
  background: #111424;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  height: 220px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-row-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.app-visual {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.app-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.app-row-card:hover .app-visual img {
  transform: scale(1.05);
}

.app-info {
  width: 50%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  background: #0d0f1c;
  text-align: left;
}

.app-info h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: 0.03em;
  font-family: var(--font-display);
}

.btn-app {
  background: #2590db;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 170px;
  border: none;
  box-shadow: 0 4px 10px rgba(37, 144, 219, 0.2);
}

.btn-app:hover {
  background: #1d7bbd;
  box-shadow: 0 6px 15px rgba(37, 144, 219, 0.4);
  transform: translateY(-1px);
}

/* Background highlights for visual block in case images fail or to style them */
.android-tv-bg { background: radial-gradient(circle, #0e1e38 0%, #060b18 100%); }
.android-phone-bg { background: radial-gradient(circle, #102a45 0%, #06101c 100%); }
.firetv-bg { background: linear-gradient(135deg, #ff7b00 0%, #ff3b00 100%); }
.roku-bg { background: linear-gradient(135deg, #6b14a6 0%, #3a0066 100%); }
.apple-bg { background: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%); }
.pc-bg { background: radial-gradient(circle, #1b264f 0%, #0d1127 100%); }

@media (max-width: 992px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .app-row-card {
    flex-direction: column;
    height: auto;
  }
  .app-visual, .app-info {
    width: 100%;
  }
  .app-visual {
    height: 180px;
  }
  .app-info {
    padding: 1.5rem;
    align-items: center;
    text-align: center;
  }
  .btn-app {
    max-width: 100%;
  }
}
