/*
Theme Name: IPTV Nova France
Theme URI: https://iptvnova.fr
Author: IPTV Nova
Author URI: https://iptvnova.fr
Description: Thème WordPress premium pour IPTV Nova France - Service IPTV #1 en France avec 44 000+ chaînes et 183 000+ films et séries.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptv-nova
Tags: iptv, france, streaming, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   CSS VARIABLES & DESIGN SYSTEM
======================================== */
:root {
  --color-white: #FFFFFF;
  --color-bg-light: #F8F9FA;
  --color-navy: #1A365D;
  --color-navy-dark: #0F2240;
  --color-navy-light: #2A4A7F;
  --color-text: #333333;
  --color-text-muted: #6B7280;
  --color-red: #D1111B;
  --color-red-dark: #A50D15;
  --color-yellow: #FFCC00;
  --color-green: #25D366;
  --color-green-dark: #1BA853;
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;

  --font-heading: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-navy: 0 8px 30px rgba(26,54,93,0.20);
  --shadow-red: 0 6px 24px rgba(209,17,27,0.30);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 860px;

  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: var(--font-body);
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
em { font-style: italic; }

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 80px 0;
}

.section-pad-lg {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--color-white) !important; }
.text-navy { color: var(--color-navy) !important; }
.text-red { color: var(--color-red) !important; }
.text-muted { color: var(--color-text-muted) !important; }

.bg-white { background: var(--color-white); }
.bg-light { background: var(--color-bg-light); }
.bg-navy { background: var(--color-navy); }
.bg-navy-dark { background: var(--color-navy-dark); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(209,17,27,0.38);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-navy);
}

.btn-whatsapp {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(37,211,102,0.32);
}

.btn-whatsapp:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.40);
  color: var(--color-white);
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-navy);
}

.btn-navy:hover {
  background: var(--color-navy-dark);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
}

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

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ========================================
   SECTION HEADINGS
======================================== */
.section-label {
  display: inline-block;
  background: rgba(26,54,93,0.08);
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-label.label-red {
  background: rgba(209,17,27,0.10);
  color: var(--color-red);
}

.section-label.label-white {
  background: rgba(255,255,255,0.18);
  color: var(--color-white);
}

.section-heading {
  margin-bottom: 16px;
}

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

.section-subheading.centered {
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--color-red);
  border-radius: var(--radius-full);
  margin: 20px 0 32px;
}

.section-divider.centered {
  margin: 20px auto 32px;
}

/* ========================================
   HEADER
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 30px rgba(0,0,0,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.current-menu-item {
  background: rgba(26,54,93,0.08);
  color: var(--color-red);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* ========================================
   MOBILE MENU
======================================== */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  border-top: 1px solid var(--color-border);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-menu nav a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--color-border-light);
  display: block;
}

.mobile-menu nav a:hover {
  color: var(--color-red);
  background: var(--color-bg-light);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,34,64,0.92) 0%,
    rgba(26,54,93,0.85) 40%,
    rgba(26,54,93,0.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,204,0,0.15);
  border: 1px solid rgba(255,204,0,0.40);
  color: var(--color-yellow);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-yellow);
  border-radius: 50%;
  animation: pulse-yellow 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title span.highlight {
  color: var(--color-yellow);
}

.hero-title span.red {
  color: #FF4444;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-yellow);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
}

/* ========================================
   PRICING TABLE
======================================== */
.pricing-section {
  padding: 80px 0;
  background: var(--color-white);
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--color-bg-light);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-border);
  transition: background var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-navy-light);
}

.pricing-card:hover::before {
  background: var(--color-navy);
}

.pricing-card.featured {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured::before {
  background: var(--color-yellow);
  height: 5px;
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--color-yellow);
  color: var(--color-navy-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-duration {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.pricing-card.featured .pricing-duration {
  color: rgba(255,255,255,0.65);
}

.pricing-price {
  margin-bottom: 24px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.pricing-card.featured .pricing-amount {
  color: var(--color-yellow);
}

.pricing-currency {
  font-size: 1.4rem;
  font-weight: 700;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.pricing-card.featured .pricing-period {
  color: rgba(255,255,255,0.60);
}

.pricing-per-month {
  font-size: 0.8rem;
  color: var(--color-green);
  font-weight: 700;
  margin-top: 4px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-card.featured .pricing-features li {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.10);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-check {
  width: 18px;
  height: 18px;
  background: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 0.65rem;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* ========================================
   FEATURES / ICON GRID
======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-navy));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(26,54,93,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ========================================
   CHANNELS SHOWCASE / LOGO MARQUEE
======================================== */
.marquee-section {
  padding: 48px 0;
  overflow: hidden;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  height: 60px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.marquee-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   HOW IT WORKS
======================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border), var(--color-navy-light), var(--color-border));
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-navy);
  transition: all var(--transition);
}

.step-card:hover .step-number {
  background: var(--color-red);
  transform: scale(1.08);
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ========================================
   IMAGE + TEXT SPLIT SECTION
======================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-section.reversed {
  direction: rtl;
}

.split-section.reversed > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.split-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.split-image:hover img {
  transform: scale(1.04);
}

.split-content h2 {
  margin-bottom: 20px;
}

.split-content p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.split-list {
  margin: 24px 0;
}

.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--color-border-light);
}

.split-list li:last-child {
  border-bottom: none;
}

.split-list-icon {
  color: var(--color-green);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(26,54,93,0.06);
  font-family: Georgia, serif;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star {
  color: var(--color-yellow);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ========================================
   DEVICES / COMPATIBILITY
======================================== */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.device-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
}

.device-card:hover {
  border-color: var(--color-navy-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.device-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.device-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* ========================================
   STATS COUNTER
======================================== */
.stats-section {
  background: var(--color-navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40%;
  height: 200%;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ========================================
   CTA BANNER
======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ========================================
   FAQ ACCORDION
======================================== */
.faq-list {
  margin-top: 40px;
}

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

.faq-item.active {
  border-color: var(--color-navy-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--color-white);
  transition: background var(--transition);
  gap: 16px;
}

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

.faq-question h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-navy);
  transition: all var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: var(--color-navy);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--color-border-light);
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

/* ========================================
   BLOG / POSTS
======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-light);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card-image img {
  transform: scale(1.06);
}

.post-card-body {
  padding: 24px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.post-card-category {
  background: rgba(26,54,93,0.08);
  color: var(--color-navy);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
}

.post-card-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--color-navy);
  line-height: 1.35;
  transition: color var(--transition);
}

.post-card:hover .post-card-title {
  color: var(--color-red);
}

.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-card-link:hover {
  gap: 10px;
}

/* ========================================
   SINGLE POST
======================================== */
.single-post-hero {
  background: var(--color-navy);
  padding: 80px 0 60px;
  text-align: center;
}

.single-post-hero h1 {
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto 16px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.post-featured-image {
  max-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
  max-width: 900px;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.post-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 16px;
}

.post-content h3 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
}

.post-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--color-text);
}

.post-content ul, .post-content ol {
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 20px;
}

.post-content ul li, .post-content ol li {
  padding: 6px 0;
  font-size: 0.97rem;
  line-height: 1.7;
}

.post-content ol {
  list-style: decimal;
}

.post-content a {
  color: var(--color-red);
  text-decoration: underline;
}

.post-content blockquote {
  border-left: 4px solid var(--color-red);
  padding: 16px 24px;
  background: var(--color-bg-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--color-navy);
}

.post-content img {
  border-radius: var(--radius-md);
  margin: 28px 0;
  box-shadow: var(--shadow-md);
}

/* ========================================
   CHANNELS PAGE
======================================== */
.channels-hero {
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.channels-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.channel-category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.channel-category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-navy-light);
}

.channel-cat-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.channel-cat-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.channel-cat-count {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  color: white;
  position: sticky;
  top: 96px;
}

.contact-info-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 8px;
}

.contact-info-subtitle {
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  font-size: 0.92rem;
  line-height: 1.65;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-item-value {
  color: white;
  font-size: 0.93rem;
  font-weight: 500;
}

.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.contact-form-wrap h2 {
  margin-bottom: 8px;
}

.contact-form-wrap p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  background: var(--color-white);
}

.form-control:focus {
  border-color: var(--color-navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,54,93,0.10);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-hero {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  padding: 100px 0 80px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.value-card:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-brand-description {
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 20px 0 24px;
  color: rgba(255,255,255,0.65);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.70);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--color-red);
  color: white;
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-nav a::before {
  content: '›';
  font-size: 1rem;
  color: var(--color-red);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-yellow);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.80);
}

/* ========================================
   BREADCRUMBS
======================================== */
.breadcrumbs {
  padding: 14px 0;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-navy);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--color-red);
}

.breadcrumbs span {
  margin: 0 8px;
  color: var(--color-border);
}

/* ========================================
   PAGE HERO (INNER PAGES)
======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
  padding: 80px 0 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--color-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   LEGAL PAGES
======================================== */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 12px;
}

.legal-content ul, .legal-content ol {
  list-style: disc;
  padding-left: 28px;
  margin: 16px 0;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content a {
  color: var(--color-red);
}

.legal-last-updated {
  display: inline-block;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ========================================
   MEDIA GALLERY - MOVIE WALL
======================================== */
.movie-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 32px;
}

.movie-poster {
  aspect-ratio: 2/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.movie-poster:hover img {
  transform: scale(1.08);
}

/* ========================================
   TRUST BADGES
======================================== */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-badge-icon {
  font-size: 1.4rem;
  color: var(--color-green);
}

/* ========================================
   FLOATING WHATSAPP
======================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  color: white;
  font-size: 1.6rem;
  transition: all var(--transition);
  animation: float-wa 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.10);
  box-shadow: 0 10px 40px rgba(37,211,102,0.55);
}

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

/* ========================================
   PAGINATION
======================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background: var(--color-bg-light);
}

.pagination .current {
  background: var(--color-navy);
  color: white;
  border-color: var(--color-navy);
}

/* ========================================
   COMPARISON TABLE
======================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th {
  background: var(--color-navy);
  color: white;
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
}

.comparison-table th:first-child {
  background: var(--color-navy-dark);
}

.comparison-table td {
  padding: 16px 24px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

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

.comparison-table tr:nth-child(even) td {
  background: var(--color-bg-light);
}

.comparison-table .check-yes {
  color: var(--color-green);
  font-weight: 700;
}

.comparison-table .check-no {
  color: var(--color-red);
  font-weight: 700;
}

/* ========================================
   MEDIA QUERIES
======================================== */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

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

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .stat-item:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,0.12);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

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

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

  .devices-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .movie-wall {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section-pad { padding: 56px 0; }
  .section-pad-lg { padding: 72px 0; }

  .hamburger {
    display: flex;
  }

  .site-nav,
  .header-cta .btn:not(.btn-whatsapp) {
    display: none;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-section.reversed {
    direction: ltr;
  }

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

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

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .contact-info-card {
    position: static;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

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

  .devices-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero-stats {
    gap: 24px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

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

  .cta-banner-actions {
    flex-direction: column;
    align-items: center;
  }
}

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .movie-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}
