/* ============================================
   SSIPTV — Design System
   Light theme · Palette-driven · DM Sans
   ============================================ */

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

/* ── Tokens: palette with enforced-usage names ───── */
:root {
  /* Brand palette — names encode permitted usage */
  --heading-only:      #000052;
  --subheading:        #003A8C;
  --cta-primary:       #0072BC;
  --cta-primary-hover: #0095D3;
  --accent-highlight:  #00B6DE;
  --accent-soft:       #5DD0EC;
  --accent-sky:        #95DCF0;
  --accent-pale:       #B8E5F4;
  --bg-section-alt:    #D4EEF9;
  --bg-base:           #FFFFFF;

  /* Text */
  --text-body:          #000052;
  --text-body-neutral:  #1A1A1A;
  --text-muted:         #5A6B85;
  --text-light:         #FFFFFF;

  /* Card + border */
  --card-bg:           #FFFFFF;
  --card-border:       #B8E5F4;
  --card-shadow:       0 2px 16px rgba(0, 0, 82, 0.06);
  --card-hover-shadow: 0 10px 32px rgba(0, 114, 188, 0.18);

  /* Gradients */
  --gradient-cta:      linear-gradient(135deg, #0072BC 0%, #00B6DE 100%);
  --gradient-hero:     linear-gradient(180deg, #D4EEF9 0%, #FFFFFF 100%);
  --gradient-navy:     linear-gradient(135deg, #000052 0%, #003A8C 100%);

  /* Status */
  --success: #2E7D32;
  --error:   #D32F2F;
  --warning: #F57C00;

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

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

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

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

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition:      0.25s ease;
  --transition-slow: 0.4s ease;
}

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

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

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

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

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

ul, ol { list-style: none; }

/* Headings use ONLY --heading-only or --subheading */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--heading-only);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--subheading);
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.2rem); }

p { margin-bottom: 1rem; color: var(--text-body-neutral); }

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

/* ── Buttons ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary {
  background: var(--cta-primary);
  color: var(--text-light);
  border-color: var(--cta-primary);
}
.btn-primary:hover {
  background: var(--cta-primary-hover);
  border-color: var(--cta-primary-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 188, 0.35);
}
.btn-secondary {
  background: var(--heading-only);
  color: var(--text-light);
  border-color: var(--heading-only);
}
.btn-secondary:hover {
  background: var(--subheading);
  border-color: var(--subheading);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 82, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--cta-primary);
  border-color: var(--cta-primary);
}
.btn-outline:hover {
  background: var(--cta-primary);
  color: var(--text-light);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--bg-base);
  color: var(--cta-primary);
  border-color: var(--bg-base);
}
.btn-white:hover {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}
.btn-sm { padding: 10px 22px; font-size: 14px; min-height: 40px; }
.btn-lg { padding: 18px 40px; font-size: 17px; min-height: 56px; }

/* ── Header ───────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--accent-pale);
  z-index: 100;
  display: flex;
  align-items: center;
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0, 0, 82, 0.08); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  gap: var(--space-md);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo img { height: 40px; width: auto; }
.header__logo span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--heading-only);
  letter-spacing: -0.02em;
}
.header__nav { display: flex; align-items: center; gap: 26px; }
.header__nav a {
  color: var(--heading-only);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--cta-primary);
  transition: width var(--transition);
}
.header__nav a:hover,
.header__nav a.active {
  color: var(--cta-primary);
}
.header__nav a:hover::after,
.header__nav a.active::after { width: 100%; }

.header__cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--heading-only);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding-top: var(--header-height);
}
.mobile-menu-overlay.open { display: flex; }
.mobile-menu-overlay a {
  color: var(--heading-only);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.mobile-menu-overlay a:hover { color: var(--cta-primary); }

@media (max-width: 1024px) {
  .header__nav, .header__cta { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero ─────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(circle at center, var(--accent-pale) 0%, transparent 70%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 50%; height: 70%;
  background: radial-gradient(circle at center, var(--accent-sky) 0%, transparent 70%);
  z-index: 0;
}
.hero__inner,
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.hero__content { max-width: 600px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 182, 222, 0.12);
  color: var(--subheading);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--heading-only);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}
.hero__title .highlight {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-body-neutral);
  margin-bottom: var(--space-xl);
  max-width: 520px;
  line-height: 1.7;
}
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-xl);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  color: var(--heading-only);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 82, 0.04);
}
.hero__buttons,
.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero__image { display: flex; justify-content: center; align-items: center; }
.hero__image img {
  width: 100%;
  max-width: 520px;
  animation: hero-float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 114, 188, 0.25));
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@media (max-width: 768px) {
  .hero { min-height: auto; padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl); }
  .hero__inner, .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__buttons, .hero__cta, .hero__pills { justify-content: center; }
  .hero__image { order: -1; }
  .hero__image img { max-width: 300px; }
}

/* ── Section ──────────────────────────── */
.section { padding: var(--space-4xl) 0; }
.section--alt { background: var(--bg-section-alt); }
.section--navy { background: var(--gradient-navy); color: var(--text-light); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--text-light); }
.section--navy p { color: rgba(255, 255, 255, 0.85); }

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}
.section__header h2 { margin-bottom: var(--space-md); }
.section__header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section--navy .section__header p { color: rgba(255, 255, 255, 0.8); }

/* ── Trust-strip ──────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}
.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--heading-only);
  font-size: 14px;
}

/* ── Feature grid ─────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}
.feature-card {
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--accent-highlight);
}
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--accent-pale);
  color: var(--accent-highlight);
  border-radius: var(--radius-md);
  font-size: 24px;
  margin-bottom: var(--space-md);
}
.feature-card h3 { margin-bottom: var(--space-sm); }
.feature-card p { color: var(--text-muted); margin: 0; font-size: 15px; }

/* ── Device grid ──────────────────────── */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}
.device-card {
  background: var(--bg-base);
  border: 2px solid var(--accent-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition);
}
.device-card:hover {
  border-color: var(--cta-primary);
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.device-card__emoji { font-size: 48px; margin-bottom: var(--space-sm); }
.device-card h4 { color: var(--heading-only); margin-bottom: 4px; font-size: 16px; }
.device-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── Hero title small variant ────────── */
.hero__title--sm {
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
}

/* ── How-it-works medals ──────────────── */
.steps-medals {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.step-medal {
  text-align: center;
  position: relative;
  flex: 1;
  max-width: 280px;
  min-width: 240px;
  padding: 0 var(--space-md);
}
.step-medal__ribbon {
  display: inline-block;
  padding: 4px 18px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}
.step-medal__circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 0%, var(--accent-pale) 100%);
  border: 4px solid var(--cta-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 8px 32px rgba(0, 114, 188, 0.15), inset 0 2px 8px rgba(255, 255, 255, 0.8);
}
.step-medal__icon { font-size: 2.5rem; }
.step-medal__title { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--space-sm); color: var(--heading-only); }
.step-medal__desc { font-size: 14px; color: var(--text-muted); max-width: 220px; margin: 0 auto; }

/* ── Pricing ──────────────────────────── */
.connection-switcher {
  display: inline-flex;
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-full);
  padding: 4px;
  margin: 0 auto var(--space-2xl);
  box-shadow: var(--card-shadow);
  flex-wrap: wrap;
  justify-content: center;
}
.connection-switcher button {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 40px;
}
.connection-switcher button.active {
  background: var(--cta-primary);
  color: var(--text-light);
}
.connection-switcher-wrap { text-align: center; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--bg-base);
  border: 2px solid var(--accent-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
}
.pricing-card.popular {
  border-color: var(--cta-primary);
  box-shadow: 0 8px 32px rgba(0, 114, 188, 0.18);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: #fff;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-card__name { color: var(--heading-only); font-size: 1.3rem; margin-bottom: var(--space-sm); }
.pricing-card__price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cta-primary);
  margin-bottom: 4px;
}
.pricing-card__price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.pricing-card__desc { color: var(--text-muted); font-size: 14px; margin-bottom: var(--space-md); }
.pricing-card__note {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-section-alt);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--subheading);
  margin-bottom: var(--space-md);
}
.pricing-card__features { margin-bottom: var(--space-lg); }
.pricing-card__features li {
  padding: 6px 0;
  padding-left: 26px;
  position: relative;
  font-size: 14px;
  color: var(--text-body-neutral);
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--accent-pale);
  color: var(--cta-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ── Forms ────────────────────────────── */
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--heading-only);
  margin-bottom: 6px;
  font-size: 14px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-base);
  border: 1.5px solid var(--accent-pale);
  border-radius: var(--radius-md);
  color: var(--text-body-neutral);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all var(--transition-fast);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cta-primary);
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-card {
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--card-shadow);
  max-width: 560px;
  margin: 0 auto;
}
.form-success {
  background: rgba(46, 125, 50, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  display: none;
}
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* intl-tel-input fixes */
.iti { width: 100%; }
.iti__country-list { z-index: 10; }

/* ── FAQ ──────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}
.faq-item.open { box-shadow: 0 4px 16px rgba(0, 0, 82, 0.08); }
.faq-item__question {
  width: 100%;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-only);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.faq-item__question::after {
  content: '+';
  font-size: 24px;
  color: var(--cta-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-item__question::after { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  padding: 0 var(--space-lg);
}
.faq-item__answer > div { padding-bottom: var(--space-md); color: var(--text-body-neutral); }
.faq-item__answer a { text-decoration: underline; }

/* ── Testimonials ─────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}
.testimonial-card {
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--card-shadow);
}
.testimonial-card__stars { color: var(--accent-highlight); font-size: 16px; margin-bottom: var(--space-sm); }
.testimonial-card__text { color: var(--text-body-neutral); font-size: 14px; margin-bottom: var(--space-md); font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 10px; }
.testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.testimonial-card__name { font-weight: 700; color: var(--heading-only); font-size: 14px; line-height: 1.2; }
.testimonial-card__meta { color: var(--text-muted); font-size: 12px; }

/* ── Comparison table ─────────────────── */
.compare-table {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--bg-base);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.compare-table th,
.compare-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--accent-pale);
  font-size: 14px;
}
.compare-table th {
  background: var(--bg-section-alt);
  color: var(--heading-only);
  font-weight: 700;
}
.compare-table th.us { color: var(--cta-primary); }
.compare-table td.us { color: var(--cta-primary); font-weight: 700; }
.compare-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13px; }
}

/* ── Trending posters ─────────────────── */
.trending { padding: var(--space-3xl) 0; overflow: hidden; }
.trending__wrapper { overflow: hidden; }
.trending__track {
  display: flex;
  gap: var(--space-md);
  animation: scroll-posters 40s linear infinite;
  width: max-content;
}
.trending__wrapper:hover .trending__track { animation-play-state: paused; }
@keyframes scroll-posters {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trending__card {
  flex-shrink: 0;
  width: clamp(130px, 14vw, 220px);
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.trending__card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  image-rendering: auto;
  transition: transform var(--transition-slow);
}
.trending__card:hover img { transform: scale(1.08); }
.trending__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 82, 0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition);
}
.trending__card:hover .trending__overlay { opacity: 1; }
.trending__overlay span { color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; }

/* ── Events ticker + schedule ─────────── */
.events-marquee {
  background: var(--gradient-navy);
  padding: var(--space-md) 0;
  overflow: hidden;
  border-top: 1px solid var(--subheading);
  border-bottom: 1px solid var(--subheading);
}
.events-marquee__track {
  display: flex;
  gap: var(--space-2xl);
  white-space: nowrap;
  animation: scroll-marquee 35s linear infinite;
}
.events-marquee__track:hover { animation-play-state: paused; }
@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.events-marquee__item {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.events-marquee__item span { color: var(--accent-highlight); font-weight: 700; }

.events-skeleton { padding: var(--space-md) 0; }
.events-skeleton__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--accent-pale);
  gap: var(--space-md);
}
.events-skeleton__bar {
  height: 14px;
  background: linear-gradient(90deg, var(--accent-pale), var(--bg-section-alt), var(--accent-pale));
  background-size: 200% 100%;
  border-radius: 4px;
  animation: skeleton-loading 1.4s ease-in-out infinite;
  flex: 1;
}
.events-skeleton__bar--sm { max-width: 80px; flex: 0 0 80px; }
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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

.events-table {
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.events-table__header,
.events-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-sm);
  padding: 12px var(--space-md);
  align-items: center;
}
.events-table__header {
  background: var(--bg-section-alt);
  font-weight: 700;
  color: var(--heading-only);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.events-table__row { border-bottom: 1px solid var(--accent-pale); font-size: 14px; color: var(--text-body-neutral); }
.events-table__row:last-child { border-bottom: none; }
.events-table__cat-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
@media (max-width: 640px) {
  .events-table__header { display: none; }
  .events-table__row { grid-template-columns: 1fr; gap: 4px; padding: var(--space-sm) var(--space-md); }
}

.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 12px;
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-full);
  color: var(--heading-only);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.schedule-pill:hover { border-color: var(--pill-color, var(--cta-primary)); transform: translateY(-2px); }
.schedule-pill__count {
  background: var(--pill-color, var(--cta-primary));
  color: #fff;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
}

.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;
  padding: var(--space-lg);
  background: var(--bg-base);
  border: 2px solid var(--accent-pale);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition);
}
.schedule-card:hover { border-color: var(--card-color, var(--cta-primary)); transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.schedule-card__emoji { font-size: 2.5rem; margin-bottom: var(--space-sm); }
.schedule-card__title { color: var(--heading-only); font-size: 1.1rem; margin-bottom: 4px; }
.schedule-card__count { color: var(--text-muted); font-size: 13px; }

.category-nav { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; margin-bottom: var(--space-lg); }
.category-nav__link {
  padding: 8px 14px;
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-full);
  color: var(--heading-only);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.category-nav__link--active { background: var(--cta-primary); color: #fff; border-color: var(--cta-primary); }

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

/* ── Footer ───────────────────────────── */
.footer {
  background: var(--heading-only);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-lg);
}
.footer h3 { color: var(--text-light); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.footer__brand p { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-top: var(--space-md); }
.footer__heading { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-md); }
.footer__links ul li { margin-bottom: 8px; }
.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer__links a:hover { color: var(--accent-highlight); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── Sticky mobile CTA ────────────────── */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 10px var(--space-md);
  background: var(--bg-base);
  border-top: 1px solid var(--accent-pale);
  z-index: 98;
  box-shadow: 0 -4px 20px rgba(0, 0, 82, 0.08);
}
.sticky-mobile-cta .btn { width: 100%; }
@media (max-width: 768px) {
  .sticky-mobile-cta { display: block; }
  body { padding-bottom: 72px; }
}

/* ── Thank-you ────────────────────────── */
.thank-you {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
}
.thank-you__content {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-base);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  box-shadow: var(--card-shadow);
}
.thank-you__icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-weight: 700;
}

/* ── Page hero (inner pages) ──────────── */
.page-hero {
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-xl);
  background: var(--gradient-hero);
  text-align: center;
}
.page-hero h1 { margin-bottom: var(--space-sm); }
.page-hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }

/* ── Legal + long-form content ─────────── */
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { margin: var(--space-xl) 0 var(--space-sm); }
.legal-body h3 { margin: var(--space-lg) 0 var(--space-sm); font-size: 1.2rem; }
.legal-body p, .legal-body li { margin-bottom: 10px; color: var(--text-body-neutral); }
.legal-body ul, .legal-body ol { margin: 0 0 var(--space-md) var(--space-lg); list-style: disc; }
.legal-body a { text-decoration: underline; }

/* ── Channels grid ────────────────────── */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
}
.channel-chip {
  padding: var(--space-md);
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  color: var(--heading-only);
  font-size: 14px;
  transition: all var(--transition-fast);
}
.channel-chip:hover { border-color: var(--cta-primary); color: var(--cta-primary); transform: translateY(-2px); }

/* ── Setup steps ──────────────────────── */
.setup-steps { display: grid; gap: var(--space-lg); max-width: 860px; margin: 0 auto; }
.setup-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-base);
  border: 1px solid var(--accent-pale);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}
.setup-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}
.setup-step h3 { color: var(--heading-only); margin-bottom: 4px; }
.setup-step p { color: var(--text-body-neutral); margin: 0; font-size: 15px; }

/* ── Utility ──────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── 404 ──────────────────────────────── */
.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-height) var(--space-lg) var(--space-3xl);
}
.notfound__big { font-size: clamp(6rem, 15vw, 10rem); font-weight: 900; color: var(--cta-primary); line-height: 1; margin-bottom: var(--space-md); }
