/* ============================================
   KEMO IPTV — Premium Cinema Dark Theme
   Design System & Full Stylesheet
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors — Deep Space Cinema Palette */
  --bg-primary: #060611;
  --bg-secondary: #0a0a1a;
  --bg-tertiary: #0f0f24;
  --bg-card: rgba(15, 15, 40, 0.6);
  --bg-card-hover: rgba(20, 20, 55, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  /* Accent Colors */
  --accent-blue: #00b4ff;
  --accent-blue-light: #33c9ff;
  --accent-blue-dark: #0090cc;
  --accent-purple: #7b2ff7;
  --accent-purple-light: #9b5fff;
  --accent-purple-dark: #5a10d4;
  --accent-gradient: linear-gradient(135deg, #00b4ff 0%, #7b2ff7 100%);
  --accent-gradient-hover: linear-gradient(135deg, #33c9ff 0%, #9b5fff 100%);
  --accent-gradient-vertical: linear-gradient(180deg, #00b4ff 0%, #7b2ff7 100%);
  --accent-glow-blue: 0 0 30px rgba(0, 180, 255, 0.3);
  --accent-glow-purple: 0 0 30px rgba(123, 47, 247, 0.3);
  --accent-glow-combined: 0 0 40px rgba(0, 180, 255, 0.2), 0 0 80px rgba(123, 47, 247, 0.15);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a0a0c0;
  --text-muted: #6a6a8a;
  --text-accent: #00b4ff;

  /* Semantic Colors */
  --success: #00ff88;
  --success-dark: #00cc6a;
  --warning: #ffaa00;
  --danger: #ff4466;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 180, 255, 0.2);
  --border-glow: rgba(0, 180, 255, 0.4);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes — Fluid Scale */
  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --fs-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-xl: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  --fs-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.25rem);
  --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --fs-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
  --fs-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);

  /* Spacing — Fluid Scale */
  --space-xs: clamp(0.2rem, 0.15rem + 0.25vw, 0.35rem);
  --space-sm: clamp(0.4rem, 0.3rem + 0.5vw, 0.65rem);
  --space-md: clamp(0.8rem, 0.7rem + 0.5vw, 1.15rem);
  --space-lg: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  --space-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --space-3xl: clamp(2.5rem, 2rem + 3vw, 5rem);
  --space-4xl: clamp(3.5rem, 2.5rem + 4vw, 7rem);
  --space-5xl: clamp(5rem, 3.5rem + 5vw, 10rem);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-floating: 500;

  /* Container */
  --container-max: 1600px;
  --container-padding: clamp(1rem, 3vw, 3rem);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
}

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

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-blue-light);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* --- Container --- */
.container {
  width: min(92%, var(--container-max));
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* --- Section Base --- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  text-align: center;
  width: 100%;
}

.section-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-inline: auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(0, 180, 255, 0.3), 0 0 60px rgba(0, 180, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 255, 0.4), 0 0 80px rgba(0, 180, 255, 0.15);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover::after {
  opacity: 1;
}

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

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
  color: #fff;
}

.btn-lg {
  padding: 18px 40px;
  font-size: var(--fs-md);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--fs-sm);
}

.btn-icon {
  font-size: 1.1em;
}

/* Shimmer effect on primary button */
.btn-primary .btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* --- Glass Card --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999 !important;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(6, 6, 17, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--text-primary);
}

.nav-logo-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

/* Hide mobile drawer assets on desktop resolutions */
.mobile-menu-logo,
.mobile-menu-support {
  display: none !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: var(--fs-sm);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

/* Animated Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden !important;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 180, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(123, 47, 247, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 180, 255, 0.04) 0%, transparent 50%),
    var(--bg-primary);
}

.hero-grid {
  position: absolute;
  inset: 0;
  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: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Floating Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-orb 15s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-blue);
  top: -100px;
  right: -100px;
  opacity: 0.12;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-purple);
  bottom: -50px;
  left: -50px;
  opacity: 0.1;
  animation-delay: -5s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-blue);
  top: 40%;
  left: 60%;
  opacity: 0.08;
  animation-delay: -10s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(10px, -10px) scale(1.02); }
}

/* Canvas for particles */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  max-width: 100% !important;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--success);
  margin-bottom: var(--space-xl);
  animation: fade-in-up 0.6s ease-out;
}

.hero-live-badge .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
  animation: fade-in-up 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-gradient);
  border-radius: 3px;
  opacity: 0.6;
}

.hero-description {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  animation: fade-in-up 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  animation: fade-in-up 0.6s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  animation: fade-in-up 0.6s ease-out 0.4s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-value .counter-suffix {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Hero Showcase */
.hero-showcase {
  position: relative;
  animation: fade-in-up 0.8s ease-out 0.3s both;
}

.hero-showcase-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow:
    0 25px 80px rgba(0, 180, 255, 0.12),
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-showcase-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--accent-gradient);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: 1;
  opacity: 0.5;
}

.hero-showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating badge on showcase */
.hero-showcase-badge {
  position: absolute;
  z-index: 2;
  background: rgba(6, 6, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
}

.hero-showcase-badge.badge-channels {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.hero-showcase-badge.badge-quality {
  bottom: 15%;
  left: -20px;
  animation-delay: -3s;
}

.hero-showcase-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hero-showcase-badge .badge-text {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.hero-showcase-badge .badge-sub {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 400;
}

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

/* --- Trust Bar (below hero) --- */
.trust-bar {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 26, 0.5);
  backdrop-filter: blur(10px);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2xl);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.trust-item-icon {
  font-size: 1.25rem;
  color: var(--accent-blue);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  background:
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(123, 47, 247, 0.05) 0%, transparent 60%),
    var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.feature-card {
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  position: relative;
  transition: transform var(--transition-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon.icon-blue {
  background: rgba(0, 180, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.1);
}

.feature-icon.icon-purple {
  background: rgba(123, 47, 247, 0.1);
  box-shadow: 0 0 30px rgba(123, 47, 247, 0.1);
}

.feature-icon.icon-green {
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

.feature-icon.icon-orange {
  background: rgba(255, 170, 0, 0.1);
  box-shadow: 0 0 30px rgba(255, 170, 0, 0.1);
}

.feature-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CHANNEL SHOWCASE SECTION
   ============================================ */
.channels {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 180, 255, 0.04) 0%, transparent 50%),
    var(--bg-secondary);
}

.channels-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.channels-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.channels-showcase img {
  width: 100%;
  height: auto;
}

.channels-info h2 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.channels-info p {
  font-size: var(--fs-md);
  margin-bottom: var(--space-2xl);
}

.channel-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.channel-cat {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.channel-cat:hover {
  border-color: var(--border-accent);
  background: var(--bg-glass-hover);
  transform: translateX(4px);
}

.channel-cat-icon {
  font-size: 1.25rem;
}

.channel-cat-text {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.channel-cat-count {
  margin-left: auto;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  background: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: calc(16.66% + 30px);
  right: calc(16.66% + 30px);
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(0, 180, 255, 0.3);
  transition: transform var(--transition-spring);
}

.step-card:hover .step-number {
  transform: scale(1.15) rotate(10deg);
}

.step-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

/* ============================================
   COMPARISON TABLE SECTION
   ============================================ */
.comparison {
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0, 180, 255, 0.03) 0%, transparent 60%),
    var(--bg-secondary);
}

.comparison-table-wrapper {
  margin-top: 50px !important; /* Creates space for the badge */
  overflow: visible !important;  /* Stops the badge from being cut off */
  border-top: none !important;  /* Removes the conflicting ceiling line */
  border-radius: 24px;
  background: #060611;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table thead th {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 25px 20px;
  padding-top: 25px !important;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table thead th.highlight-col::before {
  content: "⭐ BEST" !important;
  position: absolute !important;
  top: -25px !important; /* Lifts it into the empty margin space */
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(135deg, #00b4ff, #7b2ff7) !important;
  padding: 6px 15px !important;
  border-radius: 50px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: white !important;
  white-space: nowrap !important;
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.4) !important;
  z-index: 100 !important;
  animation: best-pulse 2s infinite ease-in-out;
  pointer-events: none;
}

.comparison-table th:first-child {
  width: 30%;
}

.comparison-table th.highlight-col {
  background: rgba(0, 180, 255, 0.08);
  color: var(--accent-blue);
  position: relative;
}

.comparison-table th.highlight-col::before {
  content: '⭐ BEST';
  position: absolute;
  top: -12px;
  left: 24px;
  font-size: 10px;
  padding: 2px 10px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.comparison-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td.highlight-col {
  background: rgba(0, 180, 255, 0.03);
  color: var(--text-primary);
  font-weight: 500;
}

.comparison-table tbody tr:hover td.highlight-col {
  background: rgba(0, 180, 255, 0.06);
}

.check-icon {
  color: var(--success);
  font-weight: 700;
  font-size: 1.1rem;
}

.cross-icon {
  color: var(--danger);
  font-weight: 700;
  font-size: 1.1rem;
}

.partial-icon {
  color: var(--warning);
  font-weight: 700;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(123, 47, 247, 0.06) 0%, transparent 50%),
    var(--bg-primary);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.pricing-toggle span {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.pricing-toggle span.active {
  color: var(--text-primary);
}

.pricing-toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: all var(--transition-base);
}

.pricing-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gradient);
  transition: transform var(--transition-base);
  box-shadow: 0 2px 8px rgba(0, 180, 255, 0.3);
}

.pricing-toggle-switch.annual::after {
  transform: translateX(24px);
}

.pricing-save-badge {
  padding: 4px 12px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--success);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
  justify-content: center;
  margin-inline: auto;
}

.pricing-card {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: var(--accent-blue);
  background: rgba(0, 180, 255, 0.04);
  transform: scale(1.03);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.pricing-popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 14px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card-header {
  margin-bottom: var(--space-xl);
}

.pricing-plan-name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.pricing-plan-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pricing-price {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-amount .currency {
  font-size: var(--fs-xl);
  vertical-align: top;
  margin-right: 2px;
}

.pricing-amount .period {
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-original {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 4px;
}

.pricing-features {
  flex: 1;
  margin-bottom: var(--space-xl);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.pricing-feature-icon {
  color: var(--success);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto !important;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--bg-secondary);
  overflow: hidden;
}

.testimonials-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.testimonial-stat {
  text-align: center;
}

.testimonial-stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--text-primary);
}

.testimonial-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.testimonial-card {
  padding: var(--space-xl);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--warning);
  font-size: 1rem;
}

.testimonial-text {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-author-role {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background:
    radial-gradient(ellipse 50% 30% at 50% 0%, rgba(0, 180, 255, 0.03) 0%, transparent 50%),
    var(--bg-primary);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  background: var(--bg-glass);
  transition: all var(--transition-base);
}

.faq-question:hover {
  background: var(--bg-glass-hover);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: transform var(--transition-base), background var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-gradient);
  border-color: transparent;
  color: var(--text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta {
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0, 180, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 30% 70%, rgba(123, 47, 247, 0.06) 0%, transparent 50%);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: var(--fs-4xl);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.final-cta p {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.final-cta .cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.final-cta .guarantee {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-md);
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-blue);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-badge-icon {
  color: var(--success);
}

/* ============================================
   WHATSAPP FLOAT WIDGET
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: var(--z-floating);
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
  position: absolute;
  right: 75px;
  left: auto;
  white-space: nowrap;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Fade In Up Animation (for hero) --- */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE BREAKPOINTS — MOBILE FIRST
   ============================================ */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
  .section {
    padding: var(--space-xl) 0;
  }

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

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-showcase {
    max-width: 600px;
    margin: 0 auto;
    order: 1;
    margin-bottom: var(--space-xl);
  }

  .hero-showcase-badge.badge-channels {
    right: 10px;
    top: 5%;
  }

  .hero-showcase-badge.badge-quality {
    left: 10px;
    bottom: 10%;
  }

  /* Intrinsic wrap replaces features-grid media query */

  .channels-content {
    grid-template-columns: 1fr;
  }

  .channels-showcase {
    max-width: 500px;
    margin: 0 auto;
    order: -1;
  }

  .channels-info {
    text-align: center;
  }

  /* Intrinsic wrap replaces pricing-grid media query */

  .pricing-card.popular {
    transform: scale(1);
  }

  /* Intrinsic wrap replaces testimonials-grid media query */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Intrinsic wrap replaces steps-grid media query */

  .steps-grid::before {
    display: none;
  }

  .testimonials-stats {
    gap: var(--space-xl);
  }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {
  .section {
    padding: var(--space-lg) 0;
  }

  .hero {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: var(--space-3xl);
  }

  .hero-title {
    font-size: var(--fs-3xl);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-showcase-badge {
    display: none;
  }

  /* Intrinsic wrap replaces features-grid media query */

  .channel-categories {
    grid-template-columns: 1fr;
  }

  .trust-bar .container {
    gap: var(--space-lg);
  }

  .trust-item {
    font-size: var(--fs-xs);
  }

  .comparison-table-wrapper {
    margin: 0 calc(-1 * var(--container-padding));
    border-radius: 0;
    max-width: 100%;
    overflow-x: auto !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .testimonials-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .final-cta h2 {
    font-size: var(--fs-2xl);
  }

  .hero-cta {
    flex-direction: column;
  }

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

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 180, 255, 0.3);
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
  background: rgba(0, 180, 255, 0.3);
  color: var(--text-primary);
}
/* --- Paste this at the absolute BOTTOM of your existing styles.css file --- */

/* ============================================
   EXPERT 3D ENGINE - KEMO IPTV HERO
   ============================================ */
.hero-showcase {
  /* This creates the 3D room. MUST be on the parent. */
  perspective: 2000px !important; 
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-showcase-frame {
  transform-style: preserve-3d;
  will-change: transform;
  
  /* INITIAL PREMIUM TILT: This is what users see on load */
  transform: rotateY(-18deg) rotateX(10deg);
  
  /* Slower transition for the "Return to Center" to make it feel expensive */
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  
  box-shadow: -30px 40px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 180, 255, 0.2);
  border-radius: 24px;
}

/* IMPORTANT: This stops the badges from blocking the mouse cursor */
.hero-showcase-badge {
  pointer-events: none !important;
  z-index: 10;
}

/* Ensure the image inside scales nicely */
.hero-showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
/* ============================================
   2. DEVICE COMPATIBILITY SECTION
   ============================================ */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.device-card {
  padding: var(--space-xl);
  text-align: center;
}

.device-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.4));
  transition: transform var(--transition-spring);
}

.device-card:hover .device-icon {
  transform: scale(1.1) rotate(5deg);
}

.device-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.device-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.apps-banner {
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid rgba(0, 180, 255, 0.2);
  background: rgba(0, 180, 255, 0.03);
}

.apps-banner h4 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-weight: 700;
}

.apps-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.app-tag {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.app-tag:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Intrinsic layout replaces mobile adjustments for Devices Grid */

/* ========================
   BLOG & ARTICLE STYLES
   ======================== */

.blog-search-container {
  max-width: 600px;
  margin: 0 auto;
}

.blog-search-input {
  width: 100%;
  padding: 16px 25px;
  line-height: 1.2;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  outline: none;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.blog-search-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.4);
}

#blog-header {
  padding-bottom: var(--space-xl, 2.5rem) !important;
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.featured-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.featured-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease;
}

.featured-post:hover .featured-img-wrap img {
  transform: scale(1.05);
}

.featured-content {
  padding: 40px;
}

.blog-tag {
  display: inline-block;
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.featured-content h2, .featured-content h3 {
  font-size: var(--fs-2xl);
  margin-bottom: 15px;
  line-height: 1.2;
}

.featured-content h2 a, .featured-content h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.featured-content h2 a:hover, .featured-content h3 a:hover {
  color: var(--accent-blue);
}

.post-meta {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-top: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-card-img img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  transition: transform 0.5s ease;
}

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

.blog-card-img .blog-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  margin-bottom: 0;
}

.blog-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-content h3, .blog-card-content h2 {
  font-size: var(--fs-xl);
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-card-content h3 a, .blog-card-content h2 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-card-content h3 a:hover, .blog-card-content h2 a:hover {
  color: var(--accent-blue);
}

/* Article Layout */
.article-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

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

.article-content {
  padding: 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
}

.article-content h2, .article-content h3, .article-content h4 {
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 20px;
}

.article-content p, .article-content ul, .article-content ol {
  margin-bottom: 25px;
}

.article-content ul, .article-content ol {
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content a {
  color: var(--accent-blue);
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

.table-of-contents {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: var(--radius-md);
}

.table-of-contents h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.table-of-contents ul {
  margin-bottom: 0;
  list-style-type: none;
  padding-left: 0;
}

.table-of-contents li a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.table-of-contents li a:hover {
  color: var(--accent-blue);
  text-decoration: none;
}

.info-callout {
  background: rgba(0, 180, 255, 0.05);
  border-left: 4px solid var(--accent-blue);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.author-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.author-avatar {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 2px solid var(--accent-blue);
}

.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.text-left { text-align: left !important; }
.w-100 { width: 100% !important; }

/* ========================
   CHANNELS PAGE GALLERY
   ======================== */
.channel-search-container {
  display: flex;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
  align-items: center;
}

.channel-search-input {
  flex: 1;
  padding: 15px 25px;
  line-height: 1.2;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  outline: none;
  transition: border-color var(--transition-fast);
}

.channel-search-input:focus {
  border-color: var(--accent-blue);
}

.channel-search-btn {
  border-radius: var(--radius-full);
  padding: 15px 30px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-xl, 2.5rem);
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-filter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.gallery-filter:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.gallery-filter.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--text-primary);
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.gallery-item {
  padding: 30px;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 180, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.gallery-item h3, .gallery-item h2 {
  margin-bottom: 10px;
  font-size: var(--fs-lg);
}

.gallery-item p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: 15px;
}

.gallery-count {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0, 180, 255, 0.1);
  color: var(--accent-blue);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 700;
}

/* ========================
   DEVICES PAGE SETUP GUIDE
   ======================== */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.setup-card {
  padding: 40px 30px;
}

.setup-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.setup-card h3, .setup-card h2 {
  font-size: var(--fs-lg);
  margin-bottom: 25px;
  color: var(--text-primary);
}

.setup-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.setup-steps li {
  position: relative;
  padding-left: 45px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.setup-steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-blue);
  font-size: var(--fs-sm);
}

.setup-steps li:last-child {
  margin-bottom: 0;
}

.setup-steps code {
  background: rgba(0, 180, 255, 0.1);
  color: #00b4ff;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
}

.recommended-apps {
  padding: 50px;
  margin-top: 60px;
}

.apps-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.app-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 25px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition-fast);
}

.app-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

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

.app-item span:last-child {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

/* Utilities */
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }
.pt-0 { padding-top: 0 !important; }

/* Sidebar Widget & WhatsApp Button Optimization */
.sidebar-widget {
  padding: 40px 30px !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
  transition: transform var(--transition-fast) !important;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) !important;
}

/* Premium Reddit Review Design */
.reddit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.reddit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 3.5vw, 40px) !important;
}

.reddit-cta-banner {
  padding: clamp(40px, 5vw, 70px) clamp(24px, 4vw, 50px) !important;
}


.reddit-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  position: relative;
  width: 100%;
}

.reddit-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
}

.reddit-upvote {
  margin-left: auto;
  background: rgba(255, 69, 0, 0.1) !important;
  color: #ff4500 !important;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.reddit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: auto;
  padding-top: var(--space-md);
}

.reddit-tag {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Mobile Responsive tuning */
@media (max-width: 1024px) {
  .section {
    padding-top: var(--space-xl) !important;
    padding-bottom: var(--space-xl) !important;
  }
  .hero .container {
    display: flex;
    flex-direction: column;
  }
  .hero-showcase {
    order: 1 !important;
    margin-bottom: var(--space-xl) !important;
  }
  .hero-content {
    order: 2 !important;
  }
}

/* Target ONLY the pricing page header for above-the-fold compression */
#pricing-header, 
#pricing-hero {
  padding-top: 110px !important; /* Pulls the header text up closer to the navbar */
  padding-bottom: 0px !important; /* Removes the bottom void */
}

/* Restore healthy bottom padding for all other page headers (Blog, Channels, Support, etc.) */
.page-header {
  padding-top: 140px !important;   /* Elegant clearance for our fixed navbar */
  padding-bottom: 30px !important;  /* Balanced breathing room below the search/badge elements */
}

#pricing.section {
  padding-top: var(--space-xs, 0.5rem) !important; /* Pulls the pricing cards right up under the subtitle */
}

/* ============================================
   CONTENT CATALOG SECTION
   ============================================ */
.content-catalog {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.content-catalog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.catalog-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.catalog-category {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.catalog-category:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  transform: translateX(8px);
}

.catalog-category-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.catalog-category h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.catalog-category p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Channel Showcase Card */
.catalog-showcase {
  position: sticky;
  top: 120px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-accent);
}

.catalog-showcase-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: rgba(0, 180, 255, 0.08);
  border-bottom: 1px solid var(--border-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
}

.catalog-channel-list {
  max-height: 420px;
  overflow-y: auto;
  padding: var(--space-sm) 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue-dark) transparent;
}

.catalog-channel-list::-webkit-scrollbar {
  width: 4px;
}

.catalog-channel-list::-webkit-scrollbar-track {
  background: transparent;
}

.catalog-channel-list::-webkit-scrollbar-thumb {
  background: var(--accent-blue-dark);
  border-radius: 4px;
}

.catalog-channel-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.catalog-channel-item:hover {
  background: rgba(0, 180, 255, 0.05);
  color: var(--text-primary);
  padding-left: calc(var(--space-lg) + 4px);
}

.catalog-channel-item:last-child {
  border-bottom: none;
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.channel-badge.us {
  background: rgba(0, 100, 200, 0.2);
  color: #4da3ff;
  border: 1px solid rgba(0, 100, 200, 0.3);
}

.channel-badge.uk {
  background: rgba(200, 50, 50, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(200, 50, 50, 0.3);
}

.channel-badge.intl {
  background: rgba(123, 47, 247, 0.2);
  color: var(--accent-purple-light);
  border: 1px solid rgba(123, 47, 247, 0.3);
}

.catalog-showcase-footer {
  padding: var(--space-md) var(--space-lg);
  background: rgba(0, 180, 255, 0.05);
  border-top: 1px solid var(--border-accent);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-accent);
}

/* ============================================
   FAQ ACCORDION SECTION
   ============================================ */
.kemo-faq {
  background: var(--bg-secondary);
  position: relative;
}

.kemo-faq::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123, 47, 247, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.faq-accordion {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-item.active {
  border-color: var(--accent-blue);
  box-shadow: var(--accent-glow-blue);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
  gap: var(--space-md);
}

.faq-question:hover {
  color: var(--text-accent);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-accent);
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 var(--space-xl);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--space-xl) var(--space-xl);
}

.faq-answer p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   WHY KEMO IPTV SECTION
   ============================================ */
.why-kemo {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.why-kemo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.04) 0%, rgba(123, 47, 247, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.why-kemo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: var(--space-xl);
  max-width: 1600px;
  margin: 0 auto;
}

.why-kemo-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.why-kemo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.why-kemo-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--accent-glow-combined);
}

.why-kemo-card:hover::before {
  opacity: 1;
}

.why-kemo-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  line-height: 1;
}

.why-kemo-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.why-kemo-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE: NEW SEO SECTIONS
   ============================================ */
@media (max-width: 992px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .catalog-showcase {
    position: static;
  }

  /* Intrinsic wrap replaces media query columns */
}

@media (max-width: 640px) {
  .catalog-category {
    padding: var(--space-md);
  }

  .catalog-category-icon {
    font-size: 1.5rem;
  }

  .faq-question {
    padding: var(--space-md);
    font-size: var(--fs-base);
  }

  .faq-answer {
    padding: 0 var(--space-md);
  }

  .faq-item.active .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
  }

  /* Intrinsic wrap replaces media query columns */

  .why-kemo-card {
    padding: var(--space-xl);
  }
}

/* --- FORCE HEADER CONTAINER CENTER OVERRIDE --- */
.page-header .container, 
.section-header, 
#pricing-hero .container, 
#blog-header .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

.page-header .container h1,
.page-header .container h2,
.section-header h1,
.section-header h2,
#pricing-hero .container h1,
#pricing-hero .container h2,
#blog-header .container h1,
#blog-header .container h2,
.page-header .container .section-subtitle,
.section-header .section-subtitle,
#pricing-hero .container .section-subtitle,
#blog-header .container .section-subtitle {
  text-align: center !important;
  margin-inline: auto !important;
}

/* --- MOBILE LAYOUT OVERRIDES (max-width: 1024px) --- */
@media (max-width: 1024px) {
  /* 1. NAVBAR SLIMMING */
  .navbar {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
  .nav-logo {
    transform: scale(0.9) !important;
    transform-origin: left center !important;
  }

  /* 2. HERO SECTION SAFE-AREA & GAP FIXES */
  .hero {
    padding-top: 80px !important;
  }
  .hero .container {
    gap: 20px !important;
  }
  .hero-showcase {
    perspective: 1200px !important;
    transform-style: preserve-3d !important;
    margin-bottom: -10px !important;
  }

  /* 3. AUTOMATED 3D TILT ENGINE & DYNAMIC SHADOW */
  @keyframes auto3DTilt {
    0% { transform: rotateY(-15deg) rotateX(5deg) translateZ(0); }
    25% { transform: rotateY(-5deg) rotateX(10deg) translateZ(20px); }
    50% { transform: rotateY(10deg) rotateX(5deg) translateZ(0); }
    75% { transform: rotateY(-5deg) rotateX(-2deg) translateZ(20px); }
    100% { transform: rotateY(-15deg) rotateX(5deg) translateZ(0); }
  }
  .hero-showcase-frame {
    margin-top: 10px !important;
    border-radius: var(--radius-lg) !important;
    animation: auto3DTilt 8s ease-in-out infinite !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(0, 180, 255, 0.15) !important;
  }

  /* 4. HEADLINE RE-SPACING & BADGE ANIMATIONS */
  @keyframes badgeBreath {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 180, 255, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 180, 255, 0.5); }
  }
  @keyframes badgeFloat {
    0% { transform: translateY(0) translateZ(15px); }
    100% { transform: translateY(-8px) translateZ(35px); }
  }
  .hero-live-badge {
    margin-top: 40px !important;
    animation: badgeBreath 3s ease-in-out infinite !important;
  }
  .hero-showcase-badge {
    animation: badgeFloat 4s ease-in-out infinite alternate !important;
  }

  /* 5. SMOOTH SCROLL REVEALS (Global Cards) */
  .feature-card, .pricing-card, .device-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .feature-card.revealed, .pricing-card.revealed, .device-card.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* 6. WHATSAPP WIDGET OVERLAP */
  .whatsapp-float {
    bottom: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
  }
  .whatsapp-float svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* 7. MOBILE CENTERING OVERRIDES */
  .article-content h2,
  .article-content h3,
  .article-content p {
    text-align: center !important;
    margin-inline: auto !important;
  }

  .table-of-contents {
    text-align: center !important;
  }

  .table-of-contents ul {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding-left: 0 !important;
  }

  .info-callout {
    border-left: none !important;
    border-top: 4px solid var(--accent-blue) !important;
    border-radius: var(--radius-md) !important;
    text-align: center !important;
    padding: 20px !important;
  }

  /* 8. MOBILE BUTTON TEXT WRAP (prevents overflow) */
  .btn,
  .btn-whatsapp,
  .sidebar-widget .btn {
    white-space: normal !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: var(--fs-sm, 0.9rem) !important;
    line-height: 1.4 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ============================================
   NEW BRAND LOGO ALIGNMENT CALIBRATION
   ============================================ */
.nav-logo {
  display: flex !important;
  align-items: center !important;
}

.nav-logo-img {
  height: 52px !important; /* Upscaled from 38px for a bold, premium desktop presence */
  width: auto !important;   /* Preserves the perfect 3:1 aspect ratio */
  object-fit: contain !important;
  filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.45)) !important; /* Brand glow */
  transition: transform var(--transition-fast) !important;
  will-change: transform;
}

.nav-logo-img:hover {
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .nav-logo-img {
    height: 40px !important; /* Upscaled from 32px for crisp mobile legibility */
  }
}

/* ============================================
   REBUILT MOBILE NAVIGATION DRAWER (V3.0)
   ============================================ */
@media (max-width: 1024px) {
  .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
    background: rgba(6, 6, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 32px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #060611 !important;
    background-image: radial-gradient(circle at 50% 50%, rgba(0, 180, 255, 0.06) 0%, transparent 70%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 999998 !important;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    will-change: transform, opacity;
  }

  .nav-links.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nav-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--text-secondary) !important;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, transform 0.3s var(--transition-spring) !important;
    display: block;
    text-align: center;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent-blue) !important;
    transform: scale(1.08) !important;
  }

  .nav-toggle {
    display: flex !important;
    z-index: 1000000 !important;
  }

  .nav-cta {
    display: none !important;
  }
}