/* ============================================
   MXL TV — Sky Aurora Design System (Light Theme)
   mxltv.net | v1.0 | es-MX
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Palette — Sky / Corporate Blue
     We keep the --brand-orange-* token names because the 2k+ lines of component
     CSS below reference them; we just rebind the values to our blue palette. */
  --brand-orange: #0072BC;
  --brand-orange-hover: #0095D3;
  --brand-orange-glow: rgba(0, 114, 188, 0.35);
  --brand-orange-subtle: rgba(0, 149, 211, 0.12);
  --brand-orange-deep: rgba(0, 149, 211, 0.06);

  /* Extended MXL TV palette */
  --accent-primary-dark: #000052;
  --accent-deep: #003A8C;
  --accent-corporate: #0072BC;
  --accent-bright: #0095D3;
  --accent-cyan: #00B6DE;
  --surface-light-cyan: #5DD0EC;
  --surface-sky: #95DCF0;
  --surface-pale: #B8E5F4;
  --surface-ice: #D4EEF9;

  /* Glow & Ambient — light variants */
  --glow-orange-soft: 0 8px 30px rgba(0, 149, 211, 0.18);
  --glow-orange-medium: 0 10px 40px rgba(0, 114, 188, 0.18);
  --glow-orange-intense: 0 20px 80px rgba(0, 114, 188, 0.22), 0 0 120px rgba(0, 182, 222, 0.18);

  /* Backgrounds — pure light */
  --bg-deepest: #FFFFFF;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F4FAFD;
  --bg-tertiary: #D4EEF9;
  --bg-elevated: #FFFFFF;

  /* Text — dark on light */
  --text-primary: #1A1A1A;
  --text-secondary: #003A8C;
  --text-muted: #5E6A7E;
  --text-accent: var(--accent-corporate);

  /* Borders & Glass — light frost */
  --border-subtle: rgba(0, 82, 140, 0.10);
  --border-medium: rgba(0, 82, 140, 0.18);
  --border-accent: rgba(0, 114, 188, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-blur: blur(16px);

  /* Functional */
  --success: #16a34a;
  --danger: #dc2626;
  --info: #0072BC;
  --warning: #d97706;

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-body);

  /* 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;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-fast: 0.15s ease;
  --ease-base: 0.25s ease;
  --ease-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — light theme (subtle elevation) */
  --shadow-sm: 0 1px 3px rgba(0, 82, 140, 0.06), 0 1px 2px rgba(0, 82, 140, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 82, 140, 0.10);
  --shadow-lg: 0 12px 40px rgba(0, 82, 140, 0.14);
  --shadow-glow: 0 0 30px var(--brand-orange-glow);
  --shadow-card-hover: 0 20px 60px rgba(0, 82, 140, 0.16), 0 0 30px rgba(0, 149, 211, 0.10);

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

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

a {
  color: var(--brand-orange);
  text-decoration: none;
  transition: color var(--ease-fast);
}

a:hover {
  color: var(--brand-orange-hover);
}

/* Accessibility: underline links in body text so they're distinguishable without color alone */
p a,
.faq-answer a,
.section-subtitle a {
  text-decoration: underline;
  text-decoration-color: rgba(232, 113, 10, 0.4);
  text-underline-offset: 3px;
  transition: color var(--ease-fast), text-decoration-color var(--ease-fast);
}

p a:hover,
.faq-answer a:hover,
.section-subtitle a:hover {
  text-decoration-color: var(--brand-orange-hover);
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  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); }
h5 { font-size: var(--text-lg); font-weight: 600; }
h6 { font-size: var(--text-base); font-weight: 600; }

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-orange);
  margin-bottom: var(--space-md);
  padding: 6px 16px;
  background: var(--brand-orange-deep);
  border: 1px solid rgba(232, 113, 10, 0.2);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

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

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

.section--alt {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Ambient glow accent on sections */
.section--alt::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 240px;
  background: radial-gradient(ellipse, rgba(232, 113, 10, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--ease-base), box-shadow var(--ease-base), border-color var(--ease-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 1px 0 var(--border-subtle), 0 4px 24px rgba(0, 82, 140, 0.10);
  border-bottom-color: var(--border-medium);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 52px;
  width: auto;
}

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

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

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width var(--ease-base);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--text-primary);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__cta {
  margin-left: var(--space-md);
}

/* Mobile toggle */
.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1010;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  transition: all var(--ease-base);
  border-radius: 2px;
}

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

.header__toggle.open span:nth-child(2) {
  opacity: 0;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ease-base);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-corporate) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--brand-orange-glow), inset 0 1px 0 rgba(255,255,255,0.20);
  text-shadow: 0 1px 2px rgba(0, 58, 140, 0.25);
  position: relative;
  overflow: hidden;
}

.header__cta .btn--primary {
  color: #ffffff !important;
}

.header__cta .btn--sm {
  color: #ffffff;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--ease-base);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--brand-orange-hover) 0%, var(--brand-orange) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--brand-orange-glow), 0 0 60px rgba(232, 113, 10, 0.15);
}

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

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

.btn--outline:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  background: var(--brand-orange-subtle);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}

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

.btn--lg {
  font-size: var(--text-base);
  padding: 16px 36px;
  border-radius: var(--radius-lg);
}

.btn--sm {
  font-size: var(--text-xs);
  padding: 8px 16px;
}

.btn--block {
  width: 100%;
}

.btn:disabled,
.btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ---------- Cards (light theme) ---------- */
.card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 114, 188, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--ease-base);
}

.card:hover {
  border-color: rgba(0, 114, 188, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

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

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--text-primary);
}

/* ---------- 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;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(255, 255, 255, 0.40) 100%),
    linear-gradient(to top, rgba(255, 255, 255, 0.92) 0%, transparent 40%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(232, 113, 10, 0.1) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: var(--space-4xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--brand-orange-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--brand-orange);
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: var(--space-lg);
}

.hero__title span {
  color: var(--brand-orange);
}

.hero__desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

/* Trust badges below CTA */
.hero__trust {
  display: flex;
  gap: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Gradient text for hero accent */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-orange) 0%, #ffb347 50%, var(--brand-orange) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  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(--brand-orange);
  text-shadow: 0 0 20px rgba(232, 113, 10, 0.3);
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

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

.feature-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(232, 113, 10, 0.15) 0%, rgba(232, 113, 10, 0.05) 100%);
  border: 1px solid rgba(232, 113, 10, 0.2);
  border-radius: 16px;
  margin: 0 auto var(--space-lg);
  font-size: 28px;
  box-shadow: 0 0 30px rgba(232, 113, 10, 0.08);
  transition: all var(--ease-base);
}

.feature-card:hover .feature-card__icon {
  box-shadow: 0 0 40px rgba(232, 113, 10, 0.2);
  transform: scale(1.1);
  border-color: rgba(232, 113, 10, 0.4);
}

.feature-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Pricing Section ---------- */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.pricing-tab {
  padding: 10px 20px;
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--ease-fast);
  font-family: var(--font-body);
}

.pricing-tab:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.pricing-tab.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

/* Pricing skeleton loaders */
.pricing-skeleton {
  min-height: 380px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--bg-secondary) 0%, var(--surface-ice) 100%);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.pricing-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  animation: skeleton-shimmer 1.8s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Content split — replaces inline grid styles */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.content-split--reverse > :first-child {
  order: 2;
}

.content-split--reverse > :last-child {
  order: 1;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  border-color: rgba(0, 114, 188, 0.30);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 82, 140, 0.18), 0 0 40px rgba(0, 149, 211, 0.10);
}

.pricing-card--popular {
  border-color: var(--brand-orange);
  box-shadow: 0 0 40px rgba(232, 113, 10, 0.15), 0 0 80px rgba(232, 113, 10, 0.08);
  background: linear-gradient(160deg, rgba(232, 113, 10, 0.08) 0%, var(--bg-secondary) 40%);
}

.pricing-card--popular:hover {
  border-color: var(--brand-orange-hover);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-orange);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card__duration {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.pricing-card__note {
  font-size: var(--text-xs);
  color: var(--danger);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.pricing-card__price .currency {
  font-size: var(--text-xl);
  vertical-align: super;
  margin-right: 2px;
}

.pricing-card__price .period {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-muted);
}

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

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

.pricing-card__features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: var(--text-xs);
  flex-shrink: 0;
}

/* ---------- Free Trial Form ---------- */
.trial-form {
  max-width: 560px;
  margin: 0 auto;
}

.trial-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px var(--brand-orange-subtle);
}

.form-input.error {
  border-color: var(--danger);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--danger);
  margin-top: var(--space-xs);
}

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

/* ---------- Phone Input (intl-tel-input) ---------- */
.iti {
  width: 100%;
}

.iti__tel-input {
  padding-left: 90px !important;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

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

.faq-question:hover {
  color: var(--brand-orange);
}

.faq-question__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--text-muted);
  transition: transform var(--ease-base);
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
  color: var(--brand-orange);
}

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

.faq-answer__inner {
  padding-bottom: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer__inner a {
  color: var(--brand-orange);
  text-decoration: underline;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  border-left: 3px solid var(--brand-orange);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: rgba(232, 113, 10, 0.12);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card__stars {
  color: var(--warning);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

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

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

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

/* ---------- Devices Section ---------- */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  text-align: center;
}

/* App page: 4 per row (4/4) */
.devices-grid--quartet {
  grid-template-columns: repeat(4, 1fr);
}

.device-item {
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-item:hover {
  border-color: rgba(0, 114, 188, 0.30);
  background: linear-gradient(145deg, rgba(0, 149, 211, 0.06), #FFFFFF);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 82, 140, 0.12), 0 0 20px rgba(0, 149, 211, 0.10);
}

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

.device-item__name {
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ---------- Comparison Table ---------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
}

.comparison-table th {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: var(--bg-secondary);
}

.check { color: var(--success); font-weight: 700; }
.cross { color: var(--text-muted); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(232, 113, 10, 0.08) 0%, var(--bg-secondary) 30%, var(--bg-tertiary) 100%);
  border: 1px solid rgba(232, 113, 10, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(232, 113, 10, 0.12) 0%, transparent 55%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 113, 10, 0.4), transparent);
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

/* ---------- Sliders / Carousels ---------- */
.slider-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-md);
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.poster-card {
  width: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform var(--ease-base);
}

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

.poster-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.league-logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.league-logo img {
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
}

/* ---------- Steps / How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  counter-reset: step-counter;
}

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

.step-card__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-orange) 0%, #d45e00 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 4px 20px rgba(232, 113, 10, 0.3), 0 0 40px rgba(232, 113, 10, 0.1);
}

.step-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 280px;
  margin-top: var(--space-md);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--ease-fast);
}

.footer__links a:hover {
  color: var(--brand-orange);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---------- Thank You / Confirmation Pages ---------- */
.confirmation {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
}

.confirmation__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 50%;
  margin: 0 auto var(--space-xl);
  font-size: 40px;
}

.confirmation__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.confirmation__text {
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

/* ---------- Legal Pages ---------- */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.legal-page h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-2xl);
}

.legal-page h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-page p,
.legal-page li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-page ul,
.legal-page ol {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page a {
  color: var(--brand-orange);
  text-decoration: underline;
}

/* ---------- Checkout Page ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  padding-top: calc(var(--header-height) + var(--space-3xl));
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  align-self: start;
}

.checkout-summary__plan {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.checkout-summary__price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--brand-orange);
}

/* ---------- Channel Categories ---------- */
.channel-category {
  margin-bottom: var(--space-2xl);
}

.channel-category__title {
  font-size: var(--text-xl);
  font-weight: 600;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-md);
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.channel-tag {
  font-size: var(--text-xs);
  padding: 7px 16px;
  background: var(--surface-ice);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--accent-deep);
  font-weight: 600;
  transition: all var(--ease-fast);
}

.channel-tag:hover {
  border-color: rgba(232, 113, 10, 0.3);
  color: var(--brand-orange);
  background: var(--brand-orange-deep);
}

/* ---------- Setup / App Tutorials ---------- */
.tutorial-section {
  margin-bottom: var(--space-3xl);
}

.tutorial-steps {
  counter-reset: tutorial;
}

.tutorial-step {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-subtle);
  counter-increment: tutorial;
}

.tutorial-step::before {
  content: counter(tutorial);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-orange-subtle);
  color: var(--brand-orange);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: 50%;
}

.tutorial-step__content h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.tutorial-step__content p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Toast / Alerts ---------- */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 9999;
  animation: fadeInUp 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.toast--success {
  background: var(--success);
  color: #fff;
}

.toast--error {
  background: var(--danger);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

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

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

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

  .content-split {
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.25rem;
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
    --space-4xl: 4rem;
  }

  /* Mobile Nav */
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    gap: var(--space-xs);
    transition: right var(--ease-slow);
    border-left: 1px solid var(--border-subtle);
    z-index: 1005;
    overflow-y: auto;
  }

  .header__nav.open {
    right: 0;
  }

  /* Disable backdrop-filter when nav is open — backdrop-filter creates
     a containing block for position:fixed children, trapping click targets
     within the header's 72px height. */
  .header.nav-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1006;
  }

  .header__nav a {
    font-size: var(--text-base);
    padding: var(--space-md) 0;
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
  }

  .header__nav a::after {
    display: none;
  }

  .header__cta {
    margin-left: 0;
    margin-top: var(--space-md);
    width: 100%;
  }

  .header__cta .btn {
    width: 100%;
  }

  .header__toggle {
    display: block;
  }

  /* Mobile Nav Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1004;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease-base);
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  /* Hero */
  .hero__stats {
    gap: var(--space-lg);
    flex-wrap: wrap;
  }

  .hero__bg::after {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.70) 100%
    );
  }

  /* Hero — tighter vertical spacing on mobile */
  .hero__content {
    padding: var(--space-2xl) 0;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  /* Content split stacks on mobile */
  .content-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .content-split--reverse > :first-child {
    order: 0;
  }

  .content-split--reverse > :last-child {
    order: 0;
  }

  /* Better mobile section spacing */
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .pricing-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-bottom: 0;
  }

  /* Trial Form */
  .trial-form .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Checkout */
  .checkout-layout {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + var(--space-xl));
  }
}

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

  /* Mobile hero — tighter, punchier */
  .hero__title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.2;
  }

  .hero__subtitle {
    font-size: var(--text-sm);
    line-height: 1.6;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 52px;
    font-size: var(--text-base);
  }

  .hero__trust {
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
  }

  /* Mobile pricing — cards take full width */
  .pricing-grid {
    max-width: 100%;
  }

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

  .pricing-card__price {
    font-size: var(--text-4xl);
  }

  .pricing-tab {
    min-height: 44px;
    padding: 10px 6px;
    font-size: 0.7rem;
    text-align: center;
    white-space: nowrap;
  }

  .pricing-skeleton {
    min-height: 320px;
  }

  /* Mobile buttons — 44px min touch targets */
  .btn {
    min-height: 44px;
    padding: 12px 24px;
  }

  .btn--lg {
    min-height: 52px;
    padding: 14px 28px;
    font-size: var(--text-base);
  }

  /* Mobile testimonials — single column */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  /* Mobile FAQ — bigger tap targets */
  .faq-question {
    padding: var(--space-md) 0;
    min-height: 48px;
    font-size: var(--text-sm);
  }

  /* Mobile devices grid */
  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

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

  .device-item {
    padding: var(--space-md) var(--space-sm);
  }

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

  /* Mobile steps */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile CTA banner */
  .cta-banner {
    padding: var(--space-2xl) var(--space-lg);
  }

  /* Mobile section labels */
  .section-label {
    font-size: 0.65rem;
  }

  .section-subtitle {
    font-size: var(--text-sm);
  }

  /* Mobile footer */
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }
}

/* ---------- Ultra-Small Devices (≤375px) ---------- */
@media (max-width: 375px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__title {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Trending / Poster Slider ---------- */
.trending {
  padding: var(--space-3xl) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-deepest) 0%, var(--bg-primary) 50%, var(--bg-deepest) 100%);
}

.trending::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(232, 113, 10, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.trending__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.trending__title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700;
  letter-spacing: -0.02em;
}

.trending__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--ease-base);
}

.trending__link:hover {
  gap: 10px;
  color: var(--brand-orange-hover);
}

.trending__track-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 calc(var(--space-xl) * -1);
  padding: 0 var(--space-xl);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.trending__track {
  display: flex;
  gap: var(--space-lg);
  animation: poster-scroll 25s linear infinite;
  width: max-content;
}

.trending__track:hover {
  animation-play-state: paused;
}

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

.poster-card {
  flex-shrink: 0;
  width: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
}

.poster-card:hover {
  transform: scale(1.08) translateY(-8px);
  border-color: var(--brand-orange);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(232, 113, 10, 0.15);
  z-index: 10;
}

.poster-card img {
  width: 100%;
  height: 266px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.poster-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--ease-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--space-md);
  gap: 4px;
}

.poster-card:hover .poster-card__overlay {
  opacity: 1;
}

.poster-card__badge {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.poster-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Responsive for Trending */
@media (max-width: 768px) {
  .trending {
    padding: var(--space-2xl) 0 var(--space-3xl);
  }

  .poster-card {
    width: 140px;
  }

  .poster-card img {
    height: 207px;
  }

  .trending__header {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* ============================================
   SCHEDULE & EVENTS
   ============================================ */

/* Schedule Preview (homepage) */
.schedule-preview { }
.schedule-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.schedule-pill { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--bg-tertiary); border: 1px solid var(--border-subtle); border-radius: var(--radius-full); text-decoration: none; color: var(--text-primary); transition: all 0.2s; }
.schedule-pill:hover { border-color: var(--pill-color); box-shadow: 0 0 12px color-mix(in srgb, var(--pill-color) 30%, transparent); }
.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); color: #fff; padding: 2px 8px; border-radius: var(--radius-full); font-weight: 700; }
.schedule-preview__cta { text-align: center; margin-top: 24px; }

/* Events Table */
.events-table { background: var(--bg-secondary); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); }
.events-table__header { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; padding: 12px 20px; background: var(--bg-tertiary); 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 var(--border-subtle); align-items: center; transition: background 0.15s; }
.events-table__row:hover { background: var(--bg-tertiary); }
.events-table__col--event { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.events-table__col--time { color: var(--brand-orange); 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 Hero */
.schedule-hero { padding: calc(var(--header-height) + 60px) 0 40px; background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-deepest) 100%); }
.schedule-hero__title { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 16px; }
.schedule-hero__sub { color: var(--text-secondary); font-size: 1.1rem; max-width: 700px; line-height: 1.7; margin-bottom: 20px; }
.schedule-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(76, 175, 80, 0.1); border: 1px solid rgba(76, 175, 80, 0.3); border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; color: #4CAF50; }

/* Live Dot */
.live-dot { width: 8px; height: 8px; background: #4CAF50; border-radius: 50%; animation: pulse-dot 1.5s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

/* Schedule Cards (overview page) */
.schedule-categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 40px; }
.schedule-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); text-decoration: none; color: var(--text-primary); transition: all 0.25s; }
.schedule-card:hover { border-color: var(--card-color); transform: translateY(-4px); box-shadow: 0 8px 24px color-mix(in srgb, var(--card-color) 20%, transparent); }
.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); }

/* Category Nav */
.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: var(--bg-secondary); border: 1px solid var(--border-subtle); transition: all 0.2s; }
.category-nav__link:hover { color: var(--text-primary); border-color: var(--nav-color, var(--brand-orange)); }
.category-nav__link--active { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }

/* Skeleton */
.events-skeleton__row { display: flex; gap: 12px; padding: 16px 0; }
.events-skeleton__bar { height: 14px; background: var(--bg-tertiary); 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; } }

/* Empty State */
.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; }

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

/* Schedule Mobile responsive */
@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; }
}


/* ---------- intl-tel-input dropdown visibility fix (light-theme safe) ---------- */
.iti { width: 100%; }
.iti__tel-input { padding-left: 90px !important; }
.iti__country-list {
  background: #ffffff !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium) !important;
  max-height: 260px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 82, 140, 0.18);
}
.iti__country { color: var(--text-primary) !important; padding: 8px 10px; }
.iti__country:hover,
.iti__country.iti__highlight {
  background: var(--surface-ice) !important;
}
.iti__country-name { color: var(--text-primary) !important; }
.iti__dial-code { color: var(--text-muted) !important; }
.iti__divider { border-bottom-color: var(--border-subtle) !important; }
.iti__selected-flag { background: transparent !important; }
.iti__selected-flag:hover,
.iti__selected-flag:focus { background: var(--surface-ice) !important; }
.iti--separate-dial-code .iti__selected-dial-code { color: var(--text-primary) !important; }
.iti__search-input {
  background: #ffffff !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium) !important;
}

/* ============================================
   MXL TV — Layout primitives + page sections
   Added 2026-04-27 — fills classes referenced
   in HTML that lemotv's CSS didn't already define.
   ============================================ */

/* ---------- Grid utility ---------- */
.grid { display: grid; gap: var(--space-xl); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--space-2xl); }
.section-head h1, .section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--text-strong, var(--accent-primary-dark));
  margin: var(--space-sm) 0 var(--space-md);
}
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-corporate);
  background: var(--surface-ice);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(60px, 10vw, 100px);
  background: linear-gradient(180deg, var(--surface-ice) 0%, var(--bg-primary) 90%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 80% 30%, rgba(0,182,222,0.18), transparent 70%),
              radial-gradient(40% 40% at 20% 70%, rgba(0,114,188,0.10), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 880px; margin: 0 auto; text-align: center; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-corporate);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border-medium);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  margin-bottom: var(--space-lg);
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.05;
  color: var(--accent-primary-dark);
  margin: 0 0 var(--space-md);
  font-weight: 800;
}
.hero__title-accent {
  background: linear-gradient(90deg, var(--accent-corporate), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto var(--space-xl);
  line-height: 1.55;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Trending posters carousel ---------- */
.trending-section { padding: var(--space-3xl) 0; }
.trending-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.trending-row {
  display: flex;
  gap: var(--space-md);
  animation: trending-scroll 60s linear infinite;
  width: max-content;
}
.trending-row:hover { animation-play-state: paused; }
@keyframes trending-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.poster-card {
  flex: 0 0 auto;
  width: clamp(130px, 14vw, 220px);
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.poster-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-card-hover); }
.poster-card img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; display: block; }

/* ---------- Feature card (light) ---------- */
.features-section { padding: var(--space-3xl) 0; background: var(--bg-secondary); }
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-card__icon {
  font-size: 2.4rem;
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-ice);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--accent-primary-dark);
  margin: 0 0 var(--space-sm);
}
.feature-card p { color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ---------- Step card ---------- */
.step-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.step-card__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-corporate), var(--accent-deep));
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}
.step-card h3 { font-family: var(--font-heading); color: var(--accent-primary-dark); margin: 0 0 var(--space-sm); }
.step-card p { color: var(--text-muted); margin: 0; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -12px; left: 18px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-bright);
  opacity: 0.5;
}
.testimonial p { color: var(--text-primary); line-height: 1.55; margin: 0 0 var(--space-md); font-style: italic; }
.testimonial cite { color: var(--accent-corporate); font-weight: 600; font-style: normal; }

/* ---------- Blog card ---------- */
.blog-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.blog-card__icon { font-size: 2rem; margin-bottom: var(--space-sm); }
.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--accent-primary-dark);
  margin: 0 0 var(--space-sm);
}
.blog-card p { color: var(--text-muted); line-height: 1.5; margin: 0 0 var(--space-md); }
.blog-card span { color: var(--accent-corporate); font-weight: 700; }

/* ---------- Pricing ---------- */
.pricing-section { padding: var(--space-3xl) 0; }
.pricing-tabs {
  display: flex; flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.pricing-tab {
  padding: 10px 22px;
  border: 1px solid var(--border-medium);
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease-base);
}
.pricing-tab:hover { border-color: var(--accent-corporate); color: var(--accent-corporate); }
.pricing-tab.active {
  background: linear-gradient(135deg, var(--accent-corporate), var(--accent-deep));
  color: #fff;
  border-color: transparent;
}
/* (.pricing-grid columns are defined at line ~741 — repeat(4, 1fr) so all 4 plans
   line up: 1 / 3 / 6 / 12 months. Do NOT redeclare with auto-fit — that breaks the
   "all 4 plans on one line" requirement on desktop. Mobile breakpoints at lines ~1593
   and ~1706 collapse to 2 cols and 1 col respectively.) */
.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex; flex-direction: column;
}
.pricing-card--popular {
  border-color: var(--accent-corporate);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}
.pricing-badge {
  position: absolute;
  top: -12px; right: 16px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-corporate));
  color: #fff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
}
.pricing-card__duration { font-family: var(--font-heading); color: var(--accent-primary-dark); margin: 0 0 4px; }
.pricing-card__note { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 var(--space-md); }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 800;
  color: var(--accent-corporate);
  margin: var(--space-sm) 0 var(--space-md);
}
.pricing-card__price .currency { font-size: 1.25rem; vertical-align: top; }
.pricing-card__price .period { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 var(--space-lg); flex: 1; }
.pricing-card__features li { padding: 6px 0 6px 24px; position: relative; font-size: 0.95rem; color: var(--text-primary); }
.pricing-card__features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--success);
  font-weight: 800;
}
.pricing-loading { padding: var(--space-3xl) 0; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header brand ---------- */
.header__brand { display: inline-flex; align-items: center; }
.header__brand img { height: 44px; width: auto; }

/* ---------- Footer columns ---------- */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); padding: var(--space-3xl) 0 var(--space-lg); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__col img { margin-bottom: var(--space-md); }
.footer__col--brand { max-width: 360px; }
.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 var(--space-md);
}
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: var(--text-muted); text-decoration: none; transition: color var(--ease-base); }
.footer__links a:hover { color: var(--accent-corporate); }
.footer__tagline { color: var(--text-muted); line-height: 1.55; margin: 0 0 var(--space-md); }
.footer__contact a { color: var(--accent-corporate); text-decoration: none; font-weight: 600; }
.footer__bottom { border-top: 1px solid var(--border-subtle); padding-top: var(--space-md); }
.footer__bottom p { color: var(--text-muted); font-size: 0.85rem; margin: 0; text-align: center; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--space-lg); }
.breadcrumbs a { color: var(--accent-corporate); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Generic CTA block ---------- */
.cta-block {
  background: linear-gradient(135deg, var(--surface-ice), var(--surface-pale));
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
}
.cta-block h2 { font-family: var(--font-heading); color: var(--accent-primary-dark); margin: 0 0 var(--space-sm); }
.cta-block p { color: var(--text-muted); max-width: 580px; margin: 0 auto var(--space-lg); }

/* ---------- Final CTA section ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--surface-ice), var(--surface-pale));
  padding: var(--space-3xl) 0;
}
.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--accent-primary-dark);
}

/* ---------- Schedule preview / events ---------- */
.schedule-preview { padding: var(--space-3xl) 0; background: var(--bg-secondary); }
.events-skeleton { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-md); }
.events-skeleton__row { display: flex; gap: var(--space-md); align-items: center; padding: 10px 12px; background: var(--bg-elevated); border-radius: var(--radius-md); }
.events-skeleton__bar { height: 12px; background: var(--surface-ice); border-radius: var(--radius-sm); animation: skel-pulse 1.4s ease-in-out infinite; }
.events-skeleton__bar--sm { width: 60px; }
@keyframes skel-pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

.events-empty { padding: var(--space-2xl); text-align: center; color: var(--text-muted); }
.events-empty__icon { font-size: 2rem; display: block; margin-bottom: var(--space-sm); }

.events-table { background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; }
.events-table__header, .events-table__row { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--space-md); padding: 14px var(--space-lg); }
.events-table__header { background: var(--surface-ice); color: var(--accent-primary-dark); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.events-table__row { border-top: 1px solid var(--border-subtle); }
.events-table__col { font-size: 0.95rem; color: var(--text-primary); }
.events-table__cat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
@media (max-width: 720px) {
  .events-table__header { display: none; }
  .events-table__row { grid-template-columns: 1fr; gap: 4px; padding: var(--space-md); }
  .events-table__col--time::before { content: 'Hora: '; color: var(--text-muted); font-size: 0.85rem; }
  .events-table__col--date::before { content: 'Fecha: '; color: var(--text-muted); font-size: 0.85rem; }
  .events-table__col--channel::before { content: 'Canal: '; color: var(--text-muted); font-size: 0.85rem; }
}

.schedule-pills { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.schedule-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--ease-base);
}
.schedule-pill:hover { border-color: var(--pill-color, var(--accent-corporate)); }
.schedule-pill__count { background: var(--surface-ice); padding: 2px 8px; border-radius: var(--radius-full); font-weight: 700; font-size: 0.8rem; color: var(--accent-corporate); }

.schedule-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-md); margin-bottom: var(--space-2xl); }
.schedule-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--card-color, var(--accent-corporate));
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.schedule-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.schedule-card__emoji { font-size: 1.6rem; }
.schedule-card__title { font-family: var(--font-heading); font-size: 1rem; color: var(--accent-primary-dark); margin: 4px 0; }
.schedule-card__count { font-size: 0.85rem; color: var(--text-muted); }

.category-nav { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.category-nav__link {
  padding: 6px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--ease-base);
}
.category-nav__link:hover { border-color: var(--accent-corporate); }
.category-nav__link--active {
  background: linear-gradient(135deg, var(--accent-corporate), var(--accent-deep));
  color: #fff;
  border-color: transparent;
}

.schedule-preview__cta { text-align: center; margin-top: var(--space-xl); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ---------- Channels page ---------- */
.channel-category {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-corporate);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.channel-category h3 { font-family: var(--font-heading); color: var(--accent-primary-dark); margin: 0 0 var(--space-sm); }
.channel-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-md); }
.channel-tag {
  padding: 4px 10px;
  background: var(--surface-ice);
  color: var(--accent-deep);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Mobile padding (Rule 14) ---------- */
@media (max-width: 480px) {
  .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
}

/* ---------- Secondary button (light theme) ---------- */
.btn--secondary {
  background: var(--bg-elevated);
  color: var(--accent-corporate);
  border: 2px solid var(--accent-corporate);
}
.btn--secondary:hover {
  background: var(--accent-corporate);
  color: #fff;
}
.btn--block { display: inline-flex; width: 100%; justify-content: center; }
