:root {
  --bg: #050505;
  --panel: #0d0e11;
  --panel-2: #14151a;
  --text: #f6f7f8;
  --muted: #a8abb3;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #69f6ff;
  --accent-2: #d94cff;
  --max-width: 1760px;
  --content-width: 1180px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, rgba(73, 55, 255, 0.10), transparent 28rem),
    radial-gradient(circle at 55% 0%, rgba(225, 43, 255, 0.08), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-160%);
  background: white;
  color: black;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(calc(100% - 40px), var(--content-width));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.brand-tv {
  letter-spacing: -0.12em;
}

.nav-links {
  display: flex;
  gap: 1.7rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.88rem;
  color: #c9cbd1;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.68rem 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.035);
}

.hero {
  padding: 0 20px 70px;
}

.hero-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  position: relative;
}

.hero-visual-window {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 30px;
  background: #000;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.5);
}

.hero-stage {
  width: 100%;
  aspect-ratio: 2752 / 1536;
  position: relative;
  left: 0;
  top: 0;
}

.hero-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: 7.8%;
  top: 62.5%;
  width: min(34%, 520px);
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #a7f9ff;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 3.4vw, 4.9rem);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ffffff 20%, #70f7ff 65%, #e15cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 45ch;
  margin: 1rem 0 0;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: #b9bbc2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: white;
  color: black;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: #868992;
  font-size: 0.77rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63f6a5;
  box-shadow: 0 0 18px rgba(99, 246, 165, 0.8);
}

/* ---------- Perspective-mapped TV screen ---------- */

.screen-plane {
  position: absolute;
  left: 0;
  top: 0;
  width: 1600px;
  height: 900px;
  transform-origin: 0 0;
  overflow: hidden;
  background: #080b15;
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint;
}

.screen-ui {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 76% 4%, rgba(47, 225, 255, 0.24), transparent 33%),
    radial-gradient(circle at 12% 100%, rgba(207, 55, 255, 0.23), transparent 32%),
    linear-gradient(145deg, #080a14 0%, #101427 56%, #060711 100%);
  font-family: Inter, ui-sans-serif, sans-serif;
}

.screen-glow {
  position: absolute;
  inset: -20%;
  background: conic-gradient(
    from 220deg at 72% 42%,
    transparent,
    rgba(45, 242, 255, 0.08),
    rgba(205, 51, 255, 0.08),
    transparent 35%
  );
  filter: blur(20px);
  opacity: 0.9;
}

.tv-topbar {
  position: relative;
  z-index: 2;
  height: 112px;
  padding: 0 54px;
  display: flex;
  align-items: center;
  gap: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 8, 18, 0.45);
}

.tv-logo {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.09em;
}

.tv-logo span {
  font-weight: 650;
}

.tv-tabs {
  display: flex;
  gap: 42px;
  font-size: 25px;
  color: #7f8595;
}

.tv-tabs .active {
  color: white;
}

.tv-clock {
  margin-left: auto;
  color: #b9bdc8;
  font-size: 22px;
}

.tv-content {
  position: relative;
  z-index: 2;
  height: calc(100% - 112px);
  padding: 46px 54px 34px;
}

.now-playing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.kicker {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #62f1fa;
}

.now-playing h3 {
  margin: 0;
  font-size: 52px;
  letter-spacing: -0.045em;
}

.now-playing p:not(.kicker) {
  margin: 6px 0 0;
  color: #9ca2b0;
  font-size: 20px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
}

.live-badge span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff3c6c;
  box-shadow: 0 0 20px rgba(255, 60, 108, 0.8);
}

.guide-window {
  overflow: hidden;
  height: 468px;
  border-radius: 24px;
}

.guide-track {
  display: grid;
  gap: 12px;
}

.channel-row {
  height: 104px;
  display: grid;
  grid-template-columns: 70px 185px minmax(350px, 1fr) minmax(350px, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  opacity: 0.76;
}

.channel-row.is-selected {
  opacity: 1;
  border-color: rgba(113, 243, 255, 0.5);
  background: linear-gradient(
    90deg,
    rgba(45, 226, 255, 0.12),
    rgba(151, 65, 255, 0.08)
  );
}

.channel-icon {
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 23px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
}

.channel-name {
  display: flex;
  align-items: center;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.program-card {
  position: relative;
  padding: 15px 20px;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
}

.program-card strong,
.program-card small {
  display: block;
}

.program-card strong {
  font-size: 20px;
}

.program-card small {
  margin-top: 5px;
  color: #9da3b2;
  font-size: 16px;
}

.active-card {
  background:
    linear-gradient(100deg, rgba(52, 218, 255, 0.24), rgba(167, 63, 255, 0.18)),
    rgba(255, 255, 255, 0.055);
  outline: 2px solid rgba(102, 240, 255, 0.78);
}

.program-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 5px;
  background: #67f2fb;
  box-shadow: 0 0 15px rgba(103, 242, 251, 0.8);
}

.screen-footer {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  font-size: 16px;
  color: #7f8593;
}

.screen-footer .connection {
  margin-left: auto;
}

.connection b {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #5ef4a1;
}

/* ---------- Main content ---------- */

.section {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 105px 0;
}

.section-heading {
  max-width: 760px;
}

.section h2 {
  font-size: clamp(2.5rem, 5vw, 5.4rem);
}

.section-heading > p:last-child {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.intro-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: end;
}

.stat-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

.stat-strip > div {
  min-height: 95px;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}

.stat-strip > div:last-child {
  border-bottom: 0;
}

.stat-strip strong {
  color: #66f5ff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.stat-strip span {
  font-weight: 720;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.feature-card {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), transparent 55%),
    var(--panel);
}

.feature-number {
  color: #6cf5ff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  margin: 6.3rem 0 1rem;
  font-size: 1.8rem;
  letter-spacing: -0.035em;
}

.feature-card p,
.step p {
  color: var(--muted);
  line-height: 1.7;
}

.how-section {
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 25px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}

.step > span {
  color: #6cf5ff;
  font-size: 0.8rem;
  font-weight: 800;
}

.step h3 {
  margin: 0;
  font-size: 2rem;
}

.step p {
  margin-bottom: 0;
  max-width: 54ch;
}

.cta-section {
  margin-bottom: 90px;
  min-height: 320px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 20%, rgba(67, 230, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 68% 100%, rgba(214, 59, 255, 0.18), transparent 20rem),
    #0b0c11;
}

.site-footer {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 35px 0 50px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #727680;
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero-copy {
    left: 6.5%;
    top: 63%;
    width: 39%;
  }

  .hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.7rem);
  }

  .hero-lede {
    font-size: 0.86rem;
  }

  .intro-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 70px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero {
    padding: 20px 14px 50px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    order: 1;
    padding: 22px 8px 34px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.1rem, 15vw, 5.4rem);
  }

  .hero-lede {
    max-width: 38ch;
    font-size: 1rem;
  }

  .hero-visual-window {
    order: 2;
    height: min(88vw, 520px);
    border-radius: 24px;
  }

  /*
    On mobile we DO NOT shrink the entire 16:9 desktop artwork until it is tiny.
    Instead, the original scene becomes a crop: the right half (the TV) fills
    the viewport while the same screen-plane mapping stays locked to it.
  */
  .hero-stage {
    width: 190%;
    left: -88%;
    top: -5%;
  }

  .section {
    width: min(calc(100% - 28px), var(--content-width));
    padding: 76px 0;
  }

  .section h2 {
    font-size: clamp(2.7rem, 13vw, 4.8rem);
  }

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

  .feature-card {
    min-height: 260px;
  }

  .feature-card h3 {
    margin-top: 4.5rem;
  }

  .step {
    grid-template-columns: 52px 1fr;
  }

  .cta-section {
    margin-bottom: 60px;
    padding: 28px;
    min-height: 360px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
