/* ============================================
   M3U IPTV — Premium Dark Theme
   Aesthetic: "Neon Stream" — Dark Luxury Streaming
   ============================================ */

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

/* === CSS Custom Properties === */
:root {
  /* Backgrounds */
  --bg-primary: #060a14;
  --bg-secondary: #0d1321;
  --bg-tertiary: #151d2e;
  --bg-card: #111827;

  /* Accent Colors */
  --accent-primary: #00d4ff;
  --accent-primary-dark: #0088cc;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0088ff 50%, #8b5cf6 100%);
  --accent-gradient-hover: linear-gradient(135deg, #33dfff 0%, #339bff 50%, #a37ef9 100%);
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #00d4ff;

  /* Borders & Glass */
  --border-subtle: rgba(255,255,255,0.08);
  --border-accent: rgba(0,212,255,0.25);
  --glass-bg: rgba(13,19,33,0.85);
  --glass-bg-light: rgba(21,29,46,0.7);
  --glass-blur: blur(16px);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

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

  /* Effects */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(0,212,255,0.15);
  --shadow-glow-strong: 0 0 40px rgba(0,212,255,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Layout */
  --header-height: 72px;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: var(--text-5xl); font-weight: 800; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { color: var(--text-secondary); line-height: 1.8; }
a { color: var(--text-accent); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: #33dfff; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Container === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* === Grid Utilities === */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,212,255,0.25);
}
.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,212,255,0.35);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}
.btn-secondary:hover {
  background: rgba(0,212,255,0.08);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-lg {
  padding: 16px 40px;
  font-size: var(--text-lg);
}

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

/* === Glass Card === */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}
.glass-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6,10,20,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  transition: background var(--transition-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo img {
  height: 40px;
  width: auto;
}
.header__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.header__nav a {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-base);
  white-space: nowrap;
}
.header__nav a:hover,
.header__nav a.active {
  color: var(--accent-primary);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu Overlay — SIBLING of header, NOT inside it */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding-top: var(--header-height);
}
.mobile-menu-overlay.open {
  display: flex;
}
.mobile-menu-overlay a {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--text-primary);
  font-weight: 600;
  transition: color var(--transition-base);
}
.mobile-menu-overlay a:hover {
  color: var(--accent-primary);
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,20,0.4) 0%, var(--bg-primary) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}
.hero h1 {
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}
.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 560px;
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}
.hero__stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--accent-primary);
}
.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 2px;
}

/* === Sections === */
.section {
  padding: var(--space-4xl) 0;
}
.section--alt {
  background: var(--bg-secondary);
}
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
}
.section__header h2 {
  margin-bottom: var(--space-md);
}
.section__header p {
  font-size: var(--text-lg);
}
.section__header .section__tag {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

/* === Feature Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.feature-card {
  padding: var(--space-xl);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,255,0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: 24px;
}
.feature-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}
.feature-card p {
  font-size: var(--text-sm);
}

/* === Pricing === */
.pricing__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-xs);
}
.pricing__tabs::-webkit-scrollbar { display: none; }
.pricing__tab {
  padding: 10px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.pricing__tab:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}
.pricing__tab.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.pricing-card {
  padding: var(--space-xl);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.popular {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-card__duration {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.pricing-card__note {
  font-size: var(--text-xs);
  color: var(--accent-danger);
  font-weight: 500;
  margin-bottom: var(--space-md);
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: var(--space-lg);
}
.pricing-card__price span {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card__features {
  flex: 1;
  margin-bottom: var(--space-lg);
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding: 6px 0;
}
.pricing-card__features li::before {
  content: '✓';
  color: var(--accent-success);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card .btn {
  width: 100%;
}

.pricing__loading,
.pricing__error {
  text-align: center;
  padding: var(--space-3xl);
  color: var(--text-muted);
}
.pricing__loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--space-md);
}

/* === Poster Slider === */
.poster-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.poster-slider__track {
  display: flex;
  gap: var(--space-md);
  animation: scrollPosters 30s linear infinite;
  width: max-content;
}
.poster-slider__track:hover {
  animation-play-state: paused;
}
.poster-card {
  width: clamp(130px, 14vw, 220px);
  flex-shrink: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  image-rendering: auto;
  transition: transform var(--transition-slow);
}
.poster-card:hover img {
  transform: scale(1.05);
}
.poster-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.poster-card:hover .poster-card__overlay {
  opacity: 1;
}
.poster-card__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
}

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

/* === Device Badges === */
.device-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}
.device-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}
.device-badge:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  background: rgba(0,212,255,0.06);
}

/* === Comparison Table === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
}
.comparison-table th {
  background: var(--bg-tertiary);
  font-weight: 600;
  color: var(--text-primary);
}
.comparison-table td { color: var(--text-secondary); }
.comparison-table .highlight {
  background: rgba(0,212,255,0.06);
  color: var(--text-primary);
  font-weight: 600;
}
.comparison-table .check { color: var(--accent-success); font-size: 18px; }
.comparison-table .cross { color: var(--text-muted); font-size: 18px; }

/* === Testimonials === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.testimonial-card {
  padding: var(--space-xl);
}
.testimonial-card__stars {
  color: var(--accent-warning);
  margin-bottom: var(--space-md);
  font-size: 18px;
}
.testimonial-card__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-style: italic;
}
.testimonial-card__author {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}
.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* === CTA Banner === */
.cta-banner {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--accent-gradient);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1), transparent 60%);
}
.cta-banner h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}
.cta-banner .btn {
  background: #fff;
  color: #0088cc;
  font-weight: 700;
  position: relative;
}
.cta-banner .btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-base);
  gap: var(--space-md);
}
.faq-item__question:hover { color: var(--accent-primary); }
.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-primary);
  transition: transform var(--transition-base);
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}
.faq-item.open .faq-item__answer {
  max-height: 600px;
  padding-bottom: var(--space-lg);
}
.faq-item__answer p {
  font-size: var(--text-sm);
  line-height: 1.8;
}
.faq-item__answer a {
  color: var(--accent-primary);
  text-decoration: underline;
}

/* === Forms === */
.form-group {
  margin-bottom: var(--space-lg);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.15);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-error {
  font-size: var(--text-xs);
  color: var(--accent-danger);
  margin-top: var(--space-xs);
}
.form-success {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--accent-success);
}
.form-success h3 {
  color: var(--accent-success);
  margin-bottom: var(--space-sm);
}

/* === Steps / How It Works === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  counter-reset: step;
}
.step-card {
  padding: var(--space-xl);
  text-align: center;
  counter-increment: step;
  position: relative;
}
.step-card::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  margin: 0 auto var(--space-md);
}
.step-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}
.step-card p {
  font-size: var(--text-sm);
}

/* === Sports Logos === */
.leagues-slider {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
}
.league-logo {
  font-size: var(--text-3xl);
  opacity: 0.6;
  transition: opacity var(--transition-base);
  cursor: default;
}
.league-logo:hover { opacity: 1; }

/* === 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(--text-sm);
  margin-top: var(--space-md);
  max-width: 320px;
}
.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.footer__links ul li {
  margin-bottom: var(--space-sm);
}
.footer__links ul li a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--transition-base);
}
.footer__links ul li a:hover {
  color: var(--accent-primary);
}
.footer__bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* === Legal Pages === */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + var(--space-3xl));
}
.legal-content h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-xl);
}
.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}
.legal-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}
.legal-content p {
  margin-bottom: var(--space-md);
}
.legal-content ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
  list-style: disc;
}
.legal-content ul li {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}
.legal-content a { text-decoration: underline; }

/* === Channels Page === */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.channel-category {
  padding: var(--space-xl);
}
.channel-category__icon {
  font-size: 28px;
  margin-bottom: var(--space-md);
}
.channel-category h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}
.channel-category p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}
.channel-category__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.channel-tag {
  font-size: var(--text-xs);
  padding: 4px 10px;
  background: rgba(0,212,255,0.08);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* === Setup / App Page === */
.setup-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}
.setup-tab {
  padding: 10px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
}
.setup-tab.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
}
.setup-content {
  display: none;
  max-width: 800px;
  margin: 0 auto;
}
.setup-content.active { display: block; }
.setup-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.setup-step__number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.setup-step__text h4 { margin-bottom: var(--space-xs); }
.setup-step__text p { font-size: var(--text-sm); }

/* === Checkout === */
.checkout-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  min-height: 100vh;
}
.checkout-summary {
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  text-align: center;
}
.checkout-summary h2 { margin-bottom: var(--space-sm); }
.checkout-summary .price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent-primary);
}

/* === Thank You === */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}
.thankyou-card {
  max-width: 560px;
  padding: var(--space-3xl);
}
.thankyou-card .icon {
  font-size: 64px;
  margin-bottom: var(--space-lg);
}
.thankyou-card h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}
.thankyou-card p {
  margin-bottom: var(--space-md);
}
.thankyou-card .highlight-box {
  background: rgba(0,212,255,0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* === Keyframes === */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .poster-slider__track { animation: none; }
}

/* === Responsive === */

/* Tablet */
@media (max-width: 1024px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  h1 { font-size: var(--text-4xl); }
}

/* Mobile */
@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__cta .btn { display: none; }
  .hamburger { display: flex; }

  .container { padding: 0 var(--space-lg); }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .grid-2-col { grid-template-columns: 1fr; }

  .hero {
    min-height: 75vh;
    padding-top: calc(var(--header-height) + var(--space-2xl));
  }
  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing__tabs { justify-content: flex-start; }

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

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }

  .form-row { grid-template-columns: 1fr; }

  .cta-banner { padding: var(--space-2xl) var(--space-lg); }
  .cta-banner h2 { font-size: var(--text-2xl); }

  .steps-grid { grid-template-columns: 1fr; }
  .setup-step { flex-direction: column; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container { padding: 0 var(--space-lg); }
  h1 { font-size: var(--text-2xl); }
  .hero__stat-value { font-size: var(--text-2xl); }
  .pricing-card__price { font-size: var(--text-3xl); }
}

@media (max-width: 375px) {
  .container { padding: 0 var(--space-md); }
}

/* ── Schedule / Events ──────────────────────────────────── */
.schedule-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--space-xl); }
.schedule-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full); text-decoration: none; color: var(--text-primary); transition: all 0.2s; }
.schedule-pill:hover { border-color: var(--pill-color, var(--accent-primary)); transform: translateY(-2px); color: var(--text-primary); }
.schedule-pill__emoji { font-size: 1.1rem; }
.schedule-pill__label { font-size: 0.85rem; font-weight: 600; }
.schedule-pill__count { font-size: 0.75rem; background: var(--pill-color, var(--accent-primary)); color: #fff; padding: 2px 8px; border-radius: var(--radius-full); font-weight: 700; }
.schedule-preview__cta { text-align: center; margin-top: 24px; }

.events-table { background: rgba(255,255,255,0.03); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.events-table__header { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; padding: 12px 20px; background: rgba(255,255,255,0.05); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.events-table__row { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.06); align-items: center; transition: background 0.15s; }
.events-table__row:hover { background: rgba(255,255,255,0.04); }
.events-table__col--event { font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--text-primary); }
.events-table__col--time { color: var(--accent-primary); font-weight: 600; font-size: 0.9rem; }
.events-table__col--date { color: var(--text-secondary); font-size: 0.85rem; }
.events-table__col--channel { color: var(--text-muted); font-size: 0.85rem; }
.events-table__cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.schedule-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; text-decoration: none; color: var(--text-primary); transition: all 0.3s; }
.schedule-card:hover { border-color: var(--card-color, var(--accent-primary)); transform: translateY(-4px); color: var(--text-primary); }
.schedule-card__emoji { font-size: 2.5rem; margin-bottom: 12px; }
.schedule-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.schedule-card__count { font-size: 0.8rem; color: var(--text-muted); }
.schedule-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-md); }

.category-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.category-nav__link { padding: 8px 16px; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--text-secondary); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s; }
.category-nav__link:hover { color: var(--text-primary); border-color: var(--nav-color, var(--accent-primary)); }
.category-nav__link--active { background: var(--accent-primary); color: var(--bg-primary); border-color: var(--accent-primary); }

.events-skeleton__row { display: flex; gap: 12px; padding: 16px 0; }
.events-skeleton__bar { height: 14px; background: rgba(255,255,255,0.06); border-radius: 6px; animation: skeleton-pulse 1.5s ease-in-out infinite; }
.events-skeleton__bar--sm { width: 80px; }
@keyframes skeleton-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } }

.events-empty { text-align: center; padding: 48px 20px; }
.events-empty__icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.events-empty__text { color: var(--text-muted); font-size: 0.95rem; }

.schedule-full-table { margin-top: 40px; }
.schedule-full-table__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }

@media (max-width: 768px) {
  .events-table__header, .events-table__row { grid-template-columns: 1fr 1fr; gap: 4px; }
  .events-table__col--date, .events-table__col--channel { display: none; }
  .events-table__header { padding: 10px 14px; }
  .events-table__row { padding: 12px 14px; }
  .schedule-categories { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .schedule-categories { grid-template-columns: 1fr; }
  .schedule-pills { gap: 6px; }
  .schedule-pill { padding: 6px 10px; font-size: 0.8rem; }
}
