/* ============================================================
   Marinios IPTV — Design System
   Domain: mariniosiptvs.online
   Theme: Midnight Royal Blue + Electric Violet + Cyan
   Font: Inter (Google Fonts)
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --color-bg: #080b18;
  --color-bg-alt: #0d1224;
  --color-bg-card: #121830;
  --color-bg-card-hover: #1a2242;
  --color-bg-secondary: #0f1629;
  --color-surface: #1c2640;
  --color-surface-hover: #243054;
  --color-border: rgba(124, 58, 237, 0.15);
  --color-border-subtle: rgba(255, 255, 255, 0.06);

  /* Brand */
  --color-primary: #7C3AED;
  --color-primary-light: #8B5CF6;
  --color-primary-dark: #6D28D9;
  --color-primary-glow: rgba(124, 58, 237, 0.25);
  --color-accent: #06B6D4;
  --color-accent-light: #22D3EE;
  --color-accent-dark: #0891B2;
  --color-accent-glow: rgba(6, 182, 212, 0.2);

  /* Gradient */
  --gradient-brand: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  --gradient-brand-hover: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  --gradient-accent: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  --gradient-dark: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  --gradient-card: linear-gradient(145deg, var(--color-bg-card), var(--color-surface));
  --gradient-hero: linear-gradient(180deg, rgba(8, 11, 24, 0.3) 0%, rgba(8, 11, 24, 0.85) 60%, var(--color-bg) 100%);

  /* Text */
  --color-text: #e8ecf4;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-text-heading: #f1f5f9;

  /* Status */
  --color-success: #10B981;
  --color-error: #EF4444;
  --color-warning: #F59E0B;

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

  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --fs-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --fs-3xl: clamp(1.8rem, 1.4rem + 2vw, 2.5rem);
  --fs-4xl: clamp(2.2rem, 1.6rem + 3vw, 3.5rem);
  --fs-hero: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.2;
  --lh-base: 1.6;
  --lh-relaxed: 1.8;

  /* 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;
  --space-5xl: 128px;

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 900px;
  --max-width-wide: 1440px;

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

  /* Shadows */
  --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 30px var(--color-primary-glow);
  --shadow-glow-accent: 0 0 30px var(--color-accent-glow);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

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

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

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

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

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

input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--fs-base);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--space-lg);
}
.container--narrow {
  max-width: var(--max-width-narrow);
}
.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--space-4xl) 0;
}
.section--sm {
  padding: var(--space-3xl) 0;
}
.section--alt {
  background: var(--color-bg-alt);
}

.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__label {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary-light);
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-md);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  min-height: 48px;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--color-primary-glow);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary-light);
  border: 2px solid var(--color-primary);
}
.btn--secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: var(--fw-bold);
}
.btn--accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-accent);
  color: var(--color-bg);
}

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

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

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

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
  background: transparent;
}
.header--scrolled {
  background: rgba(8, 11, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}
.nav__logo img {
  height: 60px;
  width: auto;
}

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

.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}
.nav__link:hover,
.nav__link--active,
.nav__link.active {
  color: var(--color-primary-light);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}
.nav__link:hover::after,
.nav__link--active::after,
.nav__link.active::after {
  width: 100%;
}

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

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: var(--z-overlay);
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
  border-radius: var(--radius-full);
}
.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: var(--space-3xl);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-hero);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.hero__media {
  position: relative;
  z-index: 1;
}
.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid var(--color-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  color: var(--color-primary-light);
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

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

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-subtle);
}
.hero__stat {
  text-align: center;
}
.hero__stat strong {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__stat span {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}
.hero__stat-value,
.hero__stat-number {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__stat-label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.hero__actions,
.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.hero__note {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin: 0;
}

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

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

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 28px;
}

.feature-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

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

.feature-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

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

.pricing__tab {
  padding: 10px 24px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
}
.pricing__tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}
.pricing__tab.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.pricing-card--popular {
  border-color: var(--color-accent);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}
.pricing-card--popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 4px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card__note {
  font-size: var(--fs-xs);
  color: var(--color-error);
  background: rgba(239, 68, 68, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: var(--space-md);
  font-weight: var(--fw-medium);
}

.pricing-card__duration {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-md);
}
.pricing-card__price .currency {
  font-size: var(--fs-xl);
  vertical-align: super;
  color: var(--color-text-secondary);
}
.pricing-card__price .period {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}

.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(--fs-sm);
  color: var(--color-text-secondary);
  padding: var(--space-sm) 0;
}
.pricing-card__features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

/* --- Poster/Trending Slider --- */
.trending-section {
  overflow: hidden;
}

.trending__track {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: var(--space-md) 0;
}
.poster-slider {
  overflow-x: auto;
  position: relative;
  width: 100%;
  padding: var(--space-md) 0;
  scrollbar-width: none;
}
.poster-slider::-webkit-scrollbar {
  display: none;
}

.trending__slider,
.poster-slider__track {
  display: flex;
  gap: var(--space-md);
  animation: scroll-posters 30s linear infinite;
  width: max-content;
}
.trending__slider:hover,
.poster-slider__track:hover {
  animation-play-state: paused;
}

.poster-card {
  flex-shrink: 0;
  width: clamp(130px, 14vw, 220px);
  aspect-ratio: 2/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  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__overlay span {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: #fff;
}

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

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

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.testimonial-card__stars {
  color: var(--color-warning);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
}

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

.testimonial-card__author {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-heading);
}

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

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

.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}

.step-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-sm);
}

.step-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, var(--color-primary-glow), transparent 50%),
              radial-gradient(circle at 70% 50%, var(--color-accent-glow), transparent 50%);
  animation: cta-glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cta-glow {
  0% { opacity: 0.3; transform: rotate(0deg); }
  100% { opacity: 0.6; transform: rotate(10deg); }
}

/* --- FAQ Accordion --- */
.faq__list {
  max-width: 900px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: var(--color-bg-card);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--color-text-heading);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  gap: var(--space-md);
}
.faq__question:hover {
  color: var(--color-primary-light);
}
.faq__icon {
  font-size: var(--fs-xl);
  color: var(--color-primary-light);
  flex-shrink: 0;
  transition: transform var(--transition-base);
  line-height: 1;
}
.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}
.faq__item.active .faq__answer {
  max-height: 500px;
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq__answer p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

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

.form-group label,
.form__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-heading);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea,
.form__input,
.form__textarea {
  width: 100%;
  padding: 14px var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast);
  min-height: 48px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder,
.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-muted);
}

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

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

.footer__brand p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  max-width: 300px;
}

.footer__heading {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}
.footer__links a {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer__links a:hover {
  color: var(--color-primary-light);
}

.footer__bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Page Header (non-homepage) --- */
.page-header {
  background: var(--color-bg-alt);
  padding: var(--space-5xl) 0 var(--space-3xl);
  text-align: center;
}

.page-header__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-md);
}

.page-header__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Content Prose --- */
.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  font-size: var(--fs-2xl);
  margin: var(--space-2xl) 0 var(--space-md);
}

.prose h3 {
  font-size: var(--fs-xl);
  margin: var(--space-xl) 0 var(--space-md);
}

.prose p {
  margin-bottom: var(--space-md);
  line-height: var(--lh-relaxed);
}

.prose ul,
.prose ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-sm);
}

.prose a {
  color: var(--color-accent);
  text-decoration: underline;
}

.prose strong {
  color: var(--color-text-heading);
  font-weight: var(--fw-semibold);
}

/* --- Channels Grid --- */
.channels__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.channel-category {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.channel-category__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.channel-category__list {
  list-style: none;
}
.channel-category__list li {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}
.channel-category__list li:last-child {
  border-bottom: none;
}

/* --- Schedule/Events --- */
.event-grid,
.schedule-preview .event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.event-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}
.event-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.event-card__sport {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.event-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--color-text-heading);
  margin-bottom: var(--space-sm);
}

.event-card__time {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.event-card__live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-error);
  text-transform: uppercase;
}
.event-card__live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-error);
  border-radius: var(--radius-full);
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* --- Spinner --- */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: var(--space-sm);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Alert / Toast --- */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-lg);
}
.alert--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}
.alert--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--color-error);
}

/* --- Thank You Page --- */
.thankyou {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thankyou__icon {
  font-size: 64px;
  margin-bottom: var(--space-lg);
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-2xl) 0;
}
.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  border: 1px solid var(--color-border-subtle);
  text-align: left;
  font-size: var(--fs-sm);
}
.comparison-table th {
  background: var(--color-surface);
  color: var(--color-text-heading);
  font-weight: var(--fw-semibold);
}
.comparison-table td {
  color: var(--color-text-secondary);
}
.comparison-table tr:hover td {
  background: var(--color-bg-card-hover);
}

/* ============================================================
   RESPONSIVE — Mobile First
   ============================================================ */

/* Tablet & below */
@media (max-width: 1024px) {
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 11, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: var(--z-overlay);
  }
  .nav__menu.active {
    transform: translateX(0);
  }

  .nav__menu .nav__link {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
  }

  .nav__toggle {
    display: flex;
  }

  .nav__cta .btn {
    display: none;
  }

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

  .hero__stats {
    gap: var(--space-lg);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content {
    text-align: center;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__media {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero__note {
    text-align: center;
  }

  .hero__stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
  .hero__stat {
    flex: 0 0 40%;
  }

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

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

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__brand p {
    max-width: 100%;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding-inline: var(--space-lg);
  }

  .hero__title {
    font-size: clamp(1.8rem, 1.4rem + 2vw, 2.5rem);
  }

  .hero__subtitle {
    font-size: var(--fs-base);
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: var(--fs-base);
  }

  .page-header {
    padding: var(--space-4xl) 0 var(--space-2xl);
  }

  .page-header__title {
    font-size: var(--fs-3xl);
  }

  .schedule-preview .event-grid {
    grid-template-columns: 1fr;
  }
}

/* Grid override for inline styles */
@media (max-width: 768px) {
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

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