/* ============================================
   SHOWTIME VENTURES — styles.css
   ============================================ */

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

:root {
  --navy:       #0F2744;
  --blue:       #0D73BD;
  --blue-mid:   #2A9DF4;
  --blue-light: #89BDF1;
  --blue-ice:   #C8E2F7;
  --white:      #FFFFFF;
  --dark-text:  #1A1A2E;
  --gold:       #F4C542;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm:  0 2px 8px rgba(15, 39, 68, 0.10);
  --shadow-md:  0 4px 20px rgba(15, 39, 68, 0.12);
  --shadow-lg:  0 12px 40px rgba(15, 39, 68, 0.20);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;

  --max-width:  1200px;
  --section-pad: 96px 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow: hidden;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--dark-text);
  background: #000;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

/* ============================================
   TV HERO
   ============================================ */

.tv-hero {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  /* Warm dark fallback matches living room ambience */
  background-color: #100c06;
  /* tvbackground-crop.png (5000×2660) — JS sets background-size & background-position */
  background-image: url('assets/tvbackground-crop.png');
  background-repeat: no-repeat;
}


.tv-hero__text {
  text-align: center;
  position: relative;
  z-index: 1;
}

.tv-hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(137,189,241,0.22);
  border-radius: 100px;
  padding: 7px 20px;
}

.tv-hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tv-hero__accent {
  color: var(--gold);
}

.tv-hero__scroll {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: #1a1200;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.tv-hero__scroll:hover {
  background: #f9d060;
  transform: translateY(-2px);
}

/* ---- Hero Stats Bar ---- */

.hero-stats-bar {
  display: none;
}

.hero-stats-bar__inner {
  display: flex;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  text-align: center;
  border-right: 1px solid rgba(137,189,241,0.10);
}

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

.hero-stat-item__num {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-item__num.accent {
  color: var(--gold);
}

.hero-stat-item__label {
  font-size: 0.70rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.35;
}

/* ---- Hero Logos Strip ---- */

.hero-logos-strip {
  display: none;
}

.hero-logos-strip .seen-on {
  max-width: 100%;
  text-align: center;
}

/* Screen overlay — JS sets left/top/width/height in pixels each resize */
.tv-screen {
  position: absolute;
  overflow: hidden;
  border-radius: 12%;
  background: #08111e;
  /* Phosphor glow leaking from screen edges */
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.9),
    0 0 28px rgba(80,200,255,0.10),
    0 0 60px rgba(40,160,255,0.06),
    inset 0 0 50px rgba(0,0,0,0.45);
  /* Static grain texture */
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* CRT scanlines */
.tv-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.13) 3px,
    rgba(0,0,0,0.13) 4px
  );
  pointer-events: none;
  z-index: 50;
}

/* CRT vignette + glare */
.tv-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 28% 18%, rgba(255,255,255,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.50) 100%);
  pointer-events: none;
  z-index: 51;
}

.tv-channel-badge {
  font-family: monospace;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(137,189,241,0.38);
  text-shadow: 0 0 8px rgba(137,189,241,0.3);
  white-space: nowrap;
  pointer-events: none;
  margin-left: auto;
}

/* ---- TV States (shared) ---- */

.tv-state {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(137,189,241,0.30) transparent;
}

.tv-state::-webkit-scrollbar {
  width: 4px;
}
.tv-state::-webkit-scrollbar-track {
  background: transparent;
}
.tv-state::-webkit-scrollbar-thumb {
  background: rgba(137,189,241,0.30);
  border-radius: 2px;
}

.tv-state[hidden] { display: none !important; }

.tv-state:not([hidden]) {
  animation: tvFadeIn 0.28s ease both;
}

@keyframes tvFadeIn {
  0%   { opacity: 0; transform: scaleY(0.97); }
  60%  { opacity: 1; transform: scaleY(1.002); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* ══ STATE 1: Products ══ */

.tv-state--products {
  display: flex;
  flex-direction: column;
  background: #0b1a2e;
}

.tv-products-header {
  display: flex;
  align-items: center;
  padding: 7px 10%;
  font-family: monospace;
  font-size: 0.64em;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(137,189,241,0.40);
  text-shadow: 0 0 6px rgba(137,189,241,0.25);
  background: rgba(0,0,0,0.40);
  border-bottom: 1px solid rgba(137,189,241,0.10);
}

.tv-products-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tv-product-row {
  flex: 1;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  padding: 0;
  width: 100%;
  overflow: hidden;
  transition: background 0.18s ease;
}

.tv-product-row:last-child { border-bottom: none; }

/* Brand-colored left accent bar + full-row bg */
.tv-product-row--shq { border-left: 3px solid #E91E8C; background: rgba(233,30,140,0.08); }
.tv-product-row--cf  { border-left: 3px solid #334fb4; background: rgba(51,79,180,0.10); }
.tv-product-row--ib  { border-left: 3px solid #3071cd; background: rgba(48,113,205,0.10); }
.tv-product-row--lw  { border-left: 3px solid #25ae4d; background: rgba(10,61,62,0.55); }

.tv-product-row--shq:hover { background: rgba(233,30,140,0.18); }
.tv-product-row--shq:hover .tv-product-row__arrow { color: #E91E8C; }
.tv-product-row--cf:hover  { background: rgba(51,79,180,0.22); }
.tv-product-row--ib:hover  { background: rgba(48,113,205,0.22); }
.tv-product-row--lw:hover  { background: rgba(10,61,62,0.80); }

.tv-product-row__logo-area {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
}

.tv-product-row__logo-area--shq {
  background-image: url('assets/showtimehq-logo.png');
  background-repeat: no-repeat;
  background-size: 350px auto;
  background-position: center 66%;
}

.tv-product-row__logo-area img {
  max-height: 44px;
  max-width: 170px;
  object-fit: contain;
  display: block;
  filter: brightness(1.15);
}

.tv-product-row__logo-area--shq img {
  display: none;
}

.tv-product-row__arrow {
  width: 38px;
  flex-shrink: 0;
  margin-right: 6%;
  color: rgba(255,255,255,0.25);
  transition: color 0.18s, transform 0.18s;
}

.tv-product-row:hover .tv-product-row__arrow { transform: translateX(4px); }
.tv-product-row--cf:hover .tv-product-row__arrow { color: #6b8ef5; }
.tv-product-row--ib:hover .tv-product-row__arrow { color: #5da0f5; }
.tv-product-row--lw:hover .tv-product-row__arrow { color: #3dd670; }

/* ══ STATE 2: Networks ══ */

.tv-state--networks {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  /* Subtle TV static fuzz */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  /* No padding here — header and content div handle their own padding */
}

.tv-networks-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8% 6px 8%;
  border-bottom: 1px solid rgba(137,189,241,0.10);
  background: rgba(0,0,0,0.20);
  flex-shrink: 0;
}

/* Scrollable area below the header */
.tv-networks-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 8% 14% 8%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(137,189,241,0.30) transparent;
}

.tv-networks-content::-webkit-scrollbar {
  width: 4px;
}
.tv-networks-content::-webkit-scrollbar-track {
  background: transparent;
}
.tv-networks-content::-webkit-scrollbar-thumb {
  background: rgba(137,189,241,0.30);
  border-radius: 2px;
}

.tv-back-btn {
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(137,189,241,0.22);
  color: rgba(137,189,241,0.70);
  font-family: monospace;
  font-size: 0.70em;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.tv-back-btn:hover {
  color: rgba(137,189,241,1);
  border-color: rgba(137,189,241,0.55);
  background: rgba(137,189,241,0.08);
}

.tv-networks-title {
  font-family: var(--font-serif);
  font-size: clamp(1.0rem, 2.4vw, 1.35rem);
  font-weight: bold;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* Section labels — ruled divider style */
.tv-section-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: monospace;
  font-size: 0.58em;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(137,189,241,0.55);
  text-shadow: 0 0 8px rgba(137,189,241,0.25);
  margin-bottom: 5px;
  white-space: nowrap;
}

.tv-section-label::before,
.tv-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(137,189,241,0.20);
}

/* Product image + bullets row */
.tv-product-info {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(137,189,241,0.10);
  flex-shrink: 0;
}

.tv-product-img {
  width: 80px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(137,189,241,0.10);
  padding: 4px;
}

.tv-product-img--hq {
  width: 163px;
  height: 125px;
  align-self: flex-start;
  margin-top: -8px;
  background: transparent;
  padding: 0;
  object-fit: contain;
}

.tv-bullets-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tv-bullets-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tv-bullets-list li {
  font-size: 0.72em;
  color: rgba(255,255,255,0.78);
  line-height: 1.3;
  padding-left: 10px;
  position: relative;
}

.tv-bullets-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.30em;
  top: 3px;
  color: rgba(137,189,241,0.55);
}

/* Website section — standalone below product info */
.tv-website-section { display: flex; flex-direction: column; flex-shrink: 0; }
.tv-website-section[hidden] { display: none !important; }

.tv-website-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.tv-website-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(137,189,241,0.20);
  border-radius: 5px;
  color: rgba(137,189,241,0.85);
  font-family: monospace;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tv-website-btn:hover {
  background: rgba(137,189,241,0.10);
  border-color: rgba(137,189,241,0.50);
  color: rgba(137,189,241,1);
}

.tv-website-btn svg {
  flex-shrink: 0;
  color: rgba(137,189,241,0.70);
}

/* Watch On Air section */
.tv-watch-section { display: flex; flex-direction: column; }
.tv-watch-section[hidden] { display: none !important; }

.tv-networks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  align-items: stretch;
}

.tv-network-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 6px 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(137,189,241,0.12);
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  min-height: 48px;
}

.tv-network-btn:not(.tv-network-btn--soon):hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(137,189,241,0.42);
  transform: translateY(-1px);
}

.tv-network-btn--soon {
  opacity: 0.35;
  cursor: not-allowed;
}

.tv-network-logo-wrap {
  background: var(--white);
  border-radius: 5px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
}

.tv-network-logo-img {
  max-height: 20px;
  max-width: 84px;
  object-fit: contain;
}

.tv-network-label {
  font-size: 0.70em;
  font-weight: 700;
  color: rgba(255,255,255,0.70);
  text-align: center;
  line-height: 1.2;
}

.tv-soon-badge {
  font-size: 0.64em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(244,197,66,0.12);
  border: 1px solid rgba(244,197,66,0.28);
  color: var(--gold);
  padding: 1px 5px;
  border-radius: 100px;
}

/* ══ HQ Sections: Stats + Logos ══ */

.tv-stats-section,
.tv-seen-section,
.tv-partners-section {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.tv-stats-section[hidden],
.tv-seen-section[hidden],
.tv-partners-section[hidden] { display: none !important; }

.tv-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.tv-stat-card {
  position: relative;
  background: linear-gradient(135deg, rgba(233,30,140,0.08) 0%, rgba(15,39,68,0.55) 100%);
  border: 1px solid rgba(233,30,140,0.28);
  border-radius: 6px;
  padding: 8px 6px 6px;
  text-align: center;
  overflow: hidden;
}

.tv-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(233,30,140,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.tv-stat-card__num {
  font-family: var(--font-serif);
  font-size: 1.35em;
  font-weight: bold;
  background: linear-gradient(135deg, #ff6ec7 0%, #E91E8C 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

.tv-stat-card__label {
  font-family: monospace;
  font-size: 0.52em;
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
}

/* Carousel container — overflow hidden, track scrolls inside */
.tv-logos-row {
  overflow: hidden;
  width: 100%;
}

.tv-carousel__track {
  display: flex;
  min-width: 200%;
  justify-content: space-evenly;
  align-items: center;
  animation: tv-carousel-scroll 14s linear infinite;
}

@keyframes tv-carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tv-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  height: 24px;
}

.tv-logo-item img {
  max-height: 18px;
  max-width: 70px;
  object-fit: contain;
  display: block;
  filter: brightness(0.75) contrast(0.9);
}

/* ══ STATE 3: Player ══ */

.tv-state--player {
  background: #000;
  display: flex;
  flex-direction: column;
}

.tv-player-back {
  position: absolute;
  top: 7%;
  left: 8%;
  z-index: 10;
  background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.80);
  font-size: 0.76em;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.15s, color 0.15s;
}

.tv-player-back:hover {
  background: rgba(0,0,0,0.88);
  color: white;
}

#tv-iframe,
#tv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

#tv-iframe[hidden],
#tv-video[hidden] { display: none !important; }

#tv-video {
  object-fit: contain;
  background: #000;
}

/* ---- TV font scaling — JS sets --tv-font-scale on .tv-screen ---- */
/* All rem-based sizes are multiplied by this to stay readable on any screen */
.tv-screen { font-size: calc(1em * var(--tv-font-scale, 1)); }

/* ---- Mobile — small portrait phones ---- */
@media (max-width: 520px) {
  /* Tighter corner radius on small screens */
  .tv-screen { border-radius: 10%; }

  /* Touch-friendly minimum hit areas */
  .tv-back-btn,
  .tv-player-back { min-height: 36px; display: flex; align-items: center; }

  .tv-network-btn  { min-height: 44px; }
  .tv-website-btn  { min-height: 40px; }

  /* Tighter horizontal insets to reclaim space on narrow screens */
  .tv-networks-header { padding: 8px 6% 6px 6%; }
  .tv-networks-content { padding: 6px 6% 14% 6%; }
  .tv-products-header  { padding: 6px 9%; }
  .tv-channel-badge    { top: 7%; right: 8%; }

  /* Slightly smaller section divider text */
  .tv-section-label { font-size: 0.52em; letter-spacing: 0.18em; }
}

/* ---- Landscape mobile / tablets ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .tv-networks-content { gap: 4px; padding-bottom: 10%; }
  .tv-product-info { gap: 6px; padding-bottom: 4px; }
  .tv-stats-grid { gap: 4px; }
  .tv-stat-card { padding: 6px 5px 4px; }
  .tv-stat-card__num { font-size: 1.1em; }
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(137, 189, 241, 0.15);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: rgba(15, 39, 68, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(137, 189, 241, 0.22);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.22);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav__logo span {
  color: var(--blue-light);
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

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

/* CSS-only hamburger */
.nav__toggle {
  display: none;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 24px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav__links a {
    padding: 12px 0;
    display: block;
    border-top: 1px solid rgba(137, 189, 241, 0.1);
  }

  .nav__toggle:checked ~ .nav__links {
    display: flex;
  }

  .nav__toggle:checked ~ .nav__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13, 115, 189, 0.25) 0%, transparent 65%),
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 60px,
      rgba(137, 189, 241, 0.03) 60px,
      rgba(137, 189, 241, 0.03) 61px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 60px,
      rgba(137, 189, 241, 0.03) 60px,
      rgba(137, 189, 241, 0.03) 61px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--blue-ice));
  pointer-events: none;
}

.hero__content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
  background: rgba(137, 189, 241, 0.12);
  border: 1px solid rgba(137, 189, 241, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: bold;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.70);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Hero mini product teasers */
.hero__teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero__teaser {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(137, 189, 241, 0.20);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  display: block;
}

.hero__teaser:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}

.hero__teaser-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}


.hero__teaser-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__teaser-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.hero__teaser--clickfree .hero__teaser-logo {
  width: 112px;
  height: 112px;
}


.hero__teaser--icebox .hero__teaser-logo {
  object-position: center top;
  margin-top: -6px;
}

.hero__teaser-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.hero__teaser-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* Hero teaser brand colors */
.hero__teaser--clickfree .hero__teaser-icon {
  background: transparent;
}
.hero__teaser--clickfree .hero__teaser-icon svg {
  stroke: #7b9ef4;
}
.hero__teaser--clickfree:hover {
  border-color: #334fb4;
  background: rgba(51, 79, 180, 0.12);
}

.hero__teaser--icebox .hero__teaser-icon {
  background: rgba(48, 113, 205, 0.30);
}
.hero__teaser--icebox .hero__teaser-icon svg {
  stroke: #2cb2cd;
}
.hero__teaser--icebox:hover {
  border-color: #2cb2cd;
  background: rgba(44, 178, 205, 0.12);
}

.hero__teaser--legacywill .hero__teaser-icon {
  background: #0a3d3e;
}
.hero__teaser--legacywill .hero__teaser-icon svg {
  stroke: #4fd47c;
}
.hero__teaser--legacywill:hover {
  border-color: #25ae4d;
  background: rgba(37, 174, 77, 0.12);
}

/* Hero CTA */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 16px 36px;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(244, 197, 66, 0.35);
}

.hero__cta:hover {
  background: #f7d060;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244, 197, 66, 0.45);
}

@media (max-width: 768px) {
  .hero {
    padding: 52px 20px 56px;
  }

  .hero__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.09em;
    padding: 5px 12px;
  }

  .hero__teasers {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 12px;
    margin-bottom: 36px;
  }

  .hero__teaser {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    row-gap: 2px;
    text-align: left;
    align-items: start;
    padding: 14px 16px;
  }

  .hero__teaser-icon {
    width: 52px;
    height: 52px;
    grid-row: 1 / 3;
    align-self: center;
    margin: 0;
  }

  .hero__teaser-logo {
    width: 44px;
    height: 44px;
  }

  /* ClickFree: cap at icon container size on mobile */
  .hero__teaser--clickfree .hero__teaser-logo {
    width: 52px;
    height: 52px;
  }

  .hero__teaser-name {
    align-self: end;
    margin-bottom: 0;
  }

  .hero__teaser-tag {
    align-self: start;
  }
}

/* ---- Hero Entry Animations ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes accentLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero__eyebrow  { animation: heroFadeUp 0.70s cubic-bezier(0.22, 1, 0.36, 1) both 0.15s; }
.hero__headline { animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both 0.30s; }
.hero__sub      { animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both 0.50s; }
.hero__teasers  { animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both 0.70s; }
.hero__cta      { animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both 0.90s; }

/* Gold underline accent on headline */
.hero__headline-accent {
  position: relative;
  display: inline;
}

.hero__headline-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: accentLine 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.10s;
}

/* CTA periodic shimmer */
.hero__cta {
  position: relative;
  overflow: hidden;
}

.hero__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: ctaShimmer 4s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes ctaShimmer {
  0%       { left: -60%; }
  35%, 100% { left: 120%; }
}

/* ============================================
   SECTION SHARED
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: bold;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title--light {
  color: var(--white);
}

.section-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: #4a5568;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

#products {
  padding: var(--section-pad);
  background: var(--blue-ice);
}

#products .container {
  padding-left: 0;
  padding-right: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Product card — the whole card is an <a> */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 36px 28px 28px;
  overflow: hidden;
  color: var(--dark-text);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue-mid));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

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

/* Logo band at top of each card */
.product-card__logo-band {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -36px -28px 24px;
  padding: 20px 28px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  min-height: 88px;
}

.product-card__logo-band--light {
  background: #f7f9fc;
  border-bottom: 1px solid rgba(137, 189, 241, 0.25);
}

.product-card__logo-band--dark {
  background: #0a3d3e;
  border-bottom: none;
}

.product-card__logo {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

/* ---- ClickFree brand ---- */
.product-card--clickfree {
  border-color: #334fb4;
}
.product-card--clickfree::before {
  background: #334fb4;
  opacity: 1;
}
.product-card--clickfree .product-card__tagline {
  color: #334fb4;
}
.product-card--clickfree .product-card__bullets li::before {
  background: rgba(51, 79, 180, 0.25);
  border-color: #334fb4;
}
.product-card--clickfree .product-card__price {
  background: rgba(51, 79, 180, 0.08);
  color: #334fb4;
}
.product-card--clickfree .product-card__btn {
  background: #334fb4;
}
.product-card--clickfree:hover .product-card__btn {
  background: #4460d4;
}
.product-card--clickfree:hover {
  border-color: #334fb4;
  box-shadow: 0 16px 48px rgba(51, 79, 180, 0.22);
}

/* ---- ICE Box brand ---- */
.product-card--icebox {
  border-color: #3071cd;
}
.product-card--icebox::before {
  background: linear-gradient(90deg, #3071cd, #2cb2cd);
  opacity: 1;
}
.product-card--icebox .product-card__tagline {
  color: #3071cd;
}
.product-card--icebox .product-card__bullets li::before {
  background: rgba(44, 178, 205, 0.25);
  border-color: #2cb2cd;
}
.product-card--icebox .product-card__price {
  background: rgba(48, 113, 205, 0.08);
  color: #3071cd;
}
.product-card--icebox .product-card__btn {
  background: #3071cd;
}
.product-card--icebox:hover .product-card__btn {
  background: #2cb2cd;
}
.product-card--icebox:hover {
  border-color: #2cb2cd;
  box-shadow: 0 16px 48px rgba(44, 178, 205, 0.22);
}

/* ---- Legacy Will brand ---- */
.product-card--legacywill {
  border-color: #0a3d3e;
}
.product-card--legacywill::before {
  background: #0a3d3e;
  opacity: 1;
}
.product-card--legacywill .product-card__tagline {
  color: #0a3d3e;
}
.product-card--legacywill .product-card__bullets li::before {
  background: rgba(37, 174, 77, 0.20);
  border-color: #25ae4d;
}
.product-card--legacywill .product-card__price {
  background: rgba(10, 61, 62, 0.07);
  color: #0a3d3e;
}
.product-card--legacywill .product-card__btn {
  background: #25ae4d;
}
.product-card--legacywill:hover .product-card__btn {
  background: #1e9040;
}
.product-card--legacywill:hover {
  border-color: #25ae4d;
  box-shadow: 0 16px 48px rgba(37, 174, 77, 0.20);
}

.product-card__tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.product-card__bullets {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-card__bullets li {
  font-size: 0.9rem;
  color: #4a5568;
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(201, 226, 247, 0.5);
}

.product-card__bullets li:last-child {
  border-bottom: none;
}

.product-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 2px solid var(--blue);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--blue-ice);
  gap: 12px;
}

.product-card__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--blue-ice);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.product-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.product-card:hover .product-card__btn {
  background: var(--blue-mid);
}

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

@media (max-width: 768px) {
  #products {
    padding: 56px 20px;
  }
}

/* ============================================
   STATS BAR
   ============================================ */

#stats {
  padding: var(--section-pad);
  background: var(--navy);
  position: relative;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(13, 115, 189, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: var(--max-width);
  margin: 0 auto 64px;
  border: 1px solid rgba(137, 189, 241, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-block {
  padding: 36px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(137, 189, 241, 0.12);
  position: relative;
}

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

.stat-block__number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: bold;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-block__number.accent {
  color: var(--gold);
}

.stat-block__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* As Seen On / Partners */
.seen-on {
  max-width: 100%;
  text-align: center;
}

.seen-on__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 24px;
}

/* ---- Logo Carousel ---- */
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes logoScrollReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.logo-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.logo-carousel__track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: logoScroll 26s linear infinite;
  padding: 6px 0;
  will-change: transform;
}

.logo-carousel__track:hover {
  animation-play-state: paused;
}

.logo-carousel--reverse .logo-carousel__track {
  animation-name: logoScrollReverse;
  animation-duration: 16s;
}

.logo-carousel__img {
  max-height: 38px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.80;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo-carousel__img:hover {
  opacity: 1;
  transform: scale(1.06);
}

.logo-carousel__img--lg {
  max-height: 48px;
  max-width: 220px;
}

.logo-carousel__img--sm {
  max-height: 32px;
  max-width: 44px;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-block {
    border-right: none;
    border-bottom: 1px solid rgba(137, 189, 241, 0.12);
  }

  .stat-block:nth-child(odd) {
    border-right: 1px solid rgba(137, 189, 241, 0.12);
  }

  .stat-block:last-child, .stat-block:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  #stats {
    padding: 56px 20px;
  }
}

/* ============================================
   ECOSYSTEM SECTION
   ============================================ */

#ecosystem {
  padding: var(--section-pad);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#ecosystem::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(200, 226, 247, 0.50) 0%, transparent 70%);
  pointer-events: none;
}

.ecosystem-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ecosystem-inner .section-title {
  margin-bottom: 20px;
}

.ecosystem__body {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 56px;
}

.ecosystem__body a {
  color: var(--blue);
  font-weight: 600;
  border-bottom: 1px solid rgba(13, 115, 189, 0.25);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ecosystem__body a:hover {
  color: var(--blue-mid);
  border-color: var(--blue-mid);
}

.ecosystem-products {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ecosystem-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-md);
  color: var(--navy);
  min-width: 160px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ecosystem-product:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ecosystem-product__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecosystem-product__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.ecosystem-product--clickfree .ecosystem-product__logo {
  width: 104px;
  height: 104px;
}

.ecosystem-product--icebox .ecosystem-product__logo {
  object-position: center top;
  margin-top: -6px;
}

.ecosystem-product__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ecosystem-product__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: bold;
  color: var(--navy);
}

.ecosystem-product__sub {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ecosystem-connector {
  color: var(--blue-light);
  font-size: 1.2rem;
  font-weight: 300;
}

/* Ecosystem product brand colors */
.ecosystem-product--clickfree {
  border-color: #334fb4;
}
.ecosystem-product--clickfree .ecosystem-product__icon {
  background: transparent;
}
.ecosystem-product--clickfree .ecosystem-product__icon svg {
  stroke: #334fb4;
}
.ecosystem-product--clickfree .ecosystem-product__sub {
  color: #334fb4;
}
.ecosystem-product--clickfree:hover {
  border-color: #334fb4;
  box-shadow: 0 4px 20px rgba(51, 79, 180, 0.15);
}

.ecosystem-product--icebox {
  border-color: #3071cd;
}
.ecosystem-product--icebox .ecosystem-product__icon {
  background: rgba(48, 113, 205, 0.10);
}
.ecosystem-product--icebox .ecosystem-product__icon svg {
  stroke: #2cb2cd;
}
.ecosystem-product--icebox .ecosystem-product__sub {
  color: #3071cd;
}
.ecosystem-product--icebox:hover {
  border-color: #2cb2cd;
  box-shadow: 0 4px 20px rgba(44, 178, 205, 0.15);
}

.ecosystem-product--legacywill {
  border-color: #0a3d3e;
}
.ecosystem-product--legacywill .ecosystem-product__icon {
  background: #0a3d3e;
}
.ecosystem-product--legacywill .ecosystem-product__icon svg {
  stroke: #25ae4d;
}
.ecosystem-product--legacywill .ecosystem-product__sub {
  color: #0a3d3e;
}
.ecosystem-product--legacywill:hover {
  border-color: #25ae4d;
  box-shadow: 0 4px 20px rgba(10, 61, 62, 0.15);
}

@media (max-width: 600px) {
  .ecosystem-products {
    flex-direction: column;
    align-items: center;
  }

  .ecosystem-connector {
    transform: rotate(90deg);
    display: inline-block;
  }
}

@media (max-width: 768px) {
  #ecosystem {
    padding: 64px 20px;
  }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--navy);
  padding: 56px 32px 40px;
  border-top: 1px solid rgba(137, 189, 241, 0.12);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand__location {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 14px;
}

.footer-links__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links__list a {
  font-size: 0.88rem;
  color: var(--blue-light);
  transition: color 0.2s ease;
}

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

.footer-contact {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact a {
  color: var(--blue-light);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(137, 189, 241, 0.10);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  footer {
    padding: 48px 20px 32px;
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

#contact {
  padding: var(--section-pad);
  background: var(--blue-ice);
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact-topics {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-topics__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.contact-topics__list li {
  background: var(--blue-ice);
  border: 1px solid var(--blue-light);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(13, 115, 189, 0.30);
}

.contact-email-btn:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 115, 189, 0.40);
}

@media (max-width: 768px) {
  #contact {
    padding: 56px 20px;
  }
}

@media (max-width: 600px) {
  .contact-topics {
    padding: 28px 20px;
  }

  .contact-email-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
  }
}

/* ============================================
   ANIMATIONS — FADE IN ON SCROLL
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }
.fade-in--delay-5 { transition-delay: 0.5s; }

/* ============================================
   PRODUCT CARD WRAPPER (Watch On Air button)
   ============================================ */

.product-card-wrap {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.product-card-wrap:hover {
  transform: translateY(-6px);
}

/* Remove card's bottom radius/border so button attaches seamlessly */
.product-card-wrap .product-card {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
  flex: 1;
}

/* Suppress the card's own hover lift (wrapper handles it now) */
.product-card-wrap .product-card:hover {
  transform: none;
}

.product-card__watch {
  width: 100%;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--navy);
  color: rgba(137, 189, 241, 0.75);
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  border-top: 1px solid rgba(137, 189, 241, 0.14);
  border-left: 2px solid;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-card__watch svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.product-card__watch:hover svg {
  transform: scale(1.25);
}

.product-card-wrap--clickfree .product-card__watch {
  border-color: #334fb4;
}
.product-card-wrap--clickfree .product-card__watch:hover {
  background: rgba(51, 79, 180, 0.10);
  color: #6b8ef5;
}

.product-card-wrap--icebox .product-card__watch {
  border-color: #3071cd;
}
.product-card-wrap--icebox .product-card__watch:hover {
  background: rgba(48, 113, 205, 0.10);
  color: #2cb2cd;
}

.product-card-wrap--legacywill .product-card__watch {
  border-color: #0a3d3e;
}
.product-card-wrap--legacywill .product-card__watch:hover {
  background: rgba(10, 61, 62, 0.10);
  color: #25ae4d;
}

/* ============================================
   WATCH ON AIR MODAL
   ============================================ */

.wmodal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wmodal[hidden] {
  display: none;
}

.wmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 36, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.wmodal__box {
  position: relative;
  z-index: 1;
  background: var(--navy);
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(13, 115, 189, 0.20) 0%, transparent 65%);
  border: 1px solid rgba(137, 189, 241, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(137, 189, 241, 0.05);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 40px 36px;
  animation: wmodalIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes wmodalIn {
  from { opacity: 0; transform: scale(0.93) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.wmodal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.60);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.wmodal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

/* Network selection screen */
.wmodal__header {
  text-align: center;
  margin-bottom: 28px;
}

.wmodal__eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}

.wmodal__title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.wmodal__sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.40);
}

.wmodal__networks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.wmodal__network-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(137, 189, 241, 0.16);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wmodal__network-btn:not(.wmodal__network-btn--soon):hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(137, 189, 241, 0.45);
  transform: translateY(-2px);
}

.wmodal__network-btn--soon {
  opacity: 0.38;
  cursor: not-allowed;
}

.wmodal__network-logo-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
}

.wmodal__network-logo-img {
  max-height: 32px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.wmodal__network-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  line-height: 1.3;
}

.wmodal__soon-badge {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: rgba(244, 197, 66, 0.12);
  border: 1px solid rgba(244, 197, 66, 0.30);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 100px;
}

/* Player screen */
.wmodal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.wmodal__back:hover {
  color: var(--white);
}

.wmodal__player-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(137, 189, 241, 0.12);
}

.wmodal__player-logo-wrap {
  background: var(--white);
  border-radius: 6px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wmodal__player-logo {
  max-height: 24px;
  max-width: 80px;
  object-fit: contain;
}

.wmodal__player-network-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.60);
}

.wmodal__video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.wmodal__video iframe,
.wmodal__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.wmodal__video video {
  object-fit: contain;
  background: #000;
}

@media (max-width: 480px) {
  .wmodal__box {
    padding: 32px 18px;
  }
  .wmodal__networks {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
  border-radius: 4px;
}
