:root {
  --bg: #050608;
  --bg-elevated: #081115;
  --surface: #0b1215;
  --surface-strong: #0f1b1f;
  --text: #f4fbfc;
  --muted: #9caeb3;
  --muted-2: #6f8288;
  --line: rgba(141, 248, 238, 0.18);
  --cyan: #22dcf3;
  --blue: #0299e0;
  --green: #17ea35;
  --ice: #8df8ee;
  --danger: #ff5c7a;
  --shadow-cyan: 0 0 26px rgba(34, 220, 243, 0.32);
  --shadow-green: 0 0 28px rgba(23, 234, 53, 0.28);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(115deg, rgba(34, 220, 243, 0.11), transparent 34%),
    linear-gradient(245deg, rgba(23, 234, 53, 0.10), transparent 38%),
    repeating-linear-gradient(0deg, rgba(141, 248, 238, 0.05) 0, rgba(141, 248, 238, 0.05) 1px, transparent 1px, transparent 8px),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(34, 220, 243, 0.05), transparent 26%, transparent 74%, rgba(23, 234, 53, 0.05)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
  mix-blend-mode: screen;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border: 1px solid var(--cyan);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  padding: 10px 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  border-bottom: 1px solid rgba(141, 248, 238, 0.12);
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-cyan), var(--shadow-green);
}

.brand-name {
  display: grid;
  gap: 1px;
}

.brand-name strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.74rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  padding: 10px 12px;
  transition: color 180ms ease, background 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  background: rgba(34, 220, 243, 0.10);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 17, 21, 0.82);
  color: var(--text);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor;
}

.nav-toggle::before,
.nav-toggle::after {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(34, 220, 243, 0.56);
  border-radius: 6px;
  background: rgba(34, 220, 243, 0.09);
  color: var(--text);
  font-weight: 750;
  padding: 12px 18px;
  text-align: center;
  box-shadow: 0 0 0 rgba(34, 220, 243, 0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(34, 220, 243, 0.16);
  box-shadow: var(--shadow-cyan);
}

.btn-primary {
  border-color: rgba(23, 234, 53, 0.72);
  background: linear-gradient(135deg, rgba(34, 220, 243, 0.96), rgba(23, 234, 53, 0.92));
  color: #021112;
  box-shadow: var(--shadow-green);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: var(--ice);
  background: linear-gradient(135deg, var(--ice), var(--green));
  box-shadow: 0 0 34px rgba(23, 234, 53, 0.42);
}

.main {
  position: relative;
  z-index: 1;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 54px 0;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(141, 248, 238, 0.12);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.98));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  align-items: center;
  gap: 34px;
  padding: 70px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ice);
  font-size: 0.8rem;
  font-weight: 760;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: var(--shadow-cyan);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 4rem;
  line-height: 1.02;
  font-weight: 850;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-copy .lead {
  color: #c2d4d8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 650px;
}

.metric {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 1.34rem;
  font-weight: 850;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  min-width: 0;
}

.tv-mockup {
  position: relative;
  margin-left: auto;
  width: min(100%, 760px);
  filter: drop-shadow(0 0 42px rgba(34, 220, 243, 0.22)) drop-shadow(0 0 54px rgba(23, 234, 53, 0.16));
}

.tv-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 10px solid #030607;
  border-radius: 24px;
  background: #010304;
  box-shadow:
    inset 0 0 0 1px rgba(141, 248, 238, 0.16),
    0 0 0 1px rgba(34, 220, 243, 0.30),
    0 34px 80px rgba(0, 0, 0, 0.62);
}

.tv-screen {
  position: absolute;
  inset: 8px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-elevated);
}

.tv-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: broadcastPulse 5s ease-in-out infinite;
}

.tv-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(141, 248, 238, 0.20) 43%, transparent 48% 100%),
    linear-gradient(90deg, rgba(34, 220, 243, 0.12), transparent 48%, rgba(23, 234, 53, 0.10));
  mix-blend-mode: screen;
  animation: screenSweep 4.8s ease-in-out infinite;
}

.tv-label {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.tv-label span {
  border: 1px solid rgba(141, 248, 238, 0.36);
  border-radius: 6px;
  background: rgba(5, 6, 8, 0.72);
  padding: 7px 9px;
}

.tv-base {
  width: 45%;
  height: 18px;
  margin: 16px auto 0;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, rgba(2, 153, 224, 0.24), rgba(141, 248, 238, 0.78), rgba(23, 234, 53, 0.24));
  box-shadow: var(--shadow-cyan);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 510px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-grid,
.catalog-grid,
.pricing-grid,
.support-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.catalog-card,
.price-card,
.support-link {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 27, 31, 0.82), rgba(8, 17, 21, 0.64));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.feature-card,
.catalog-card,
.price-card {
  padding: 24px;
}

.feature-card::before,
.catalog-card::before,
.price-card::before,
.support-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  opacity: 0.78;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(34, 220, 243, 0.42);
  border-radius: 8px;
  color: var(--ice);
  box-shadow: var(--shadow-cyan);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card p,
.catalog-card p,
.price-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.signal-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 21, 0.48);
}

.signal-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.signal-item {
  display: grid;
  gap: 8px;
  padding: 20px 0;
}

.signal-item strong {
  color: var(--ice);
  font-size: 0.96rem;
}

.signal-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  border-bottom: 1px solid rgba(141, 248, 238, 0.12);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(34, 220, 243, 0.14), transparent 42%),
    linear-gradient(246deg, rgba(23, 234, 53, 0.13), transparent 44%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.catalog-section + .catalog-section {
  padding-top: 20px;
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-card {
  min-height: 198px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
}

.catalog-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 80px;
  height: 2px;
  background: var(--green);
  box-shadow: var(--shadow-green);
}

.catalog-wordmark {
  min-height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(141, 248, 238, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 220, 243, 0.08), transparent),
    rgba(5, 6, 8, 0.76);
  color: var(--text);
  font-size: 1.42rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.catalog-wordmark.stream {
  text-transform: none;
}

.wordmark-red {
  color: #ff4056;
}

.wordmark-white {
  color: #f4fbfc;
}

.wordmark-blue {
  color: var(--cyan);
}

.wordmark-gold {
  color: #f4d35e;
}

.catalog-card h3 {
  margin: 20px 0 8px;
}

.showroom-cta,
.activation-note {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(34, 220, 243, 0.09), transparent 42%, rgba(23, 234, 53, 0.09)),
    rgba(8, 17, 21, 0.48);
}

.split-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.split-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.price-card.featured {
  border-color: rgba(23, 234, 53, 0.58);
  box-shadow: 0 0 42px rgba(23, 234, 53, 0.14), 0 24px 60px rgba(0, 0, 0, 0.22);
}

.plan-badge {
  align-self: flex-start;
  border: 1px solid rgba(23, 234, 53, 0.62);
  border-radius: 999px;
  background: rgba(23, 234, 53, 0.10);
  color: var(--ice);
  font-size: 0.78rem;
  font-weight: 780;
  padding: 7px 10px;
}

.plan-title {
  margin: 18px 0 6px;
  font-size: 1.6rem;
}

.plan-price {
  margin: 8px 0 20px;
  color: var(--text);
  font-size: 2rem;
  font-weight: 860;
}

.plan-price span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.plan-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 24px;
  color: #c7d8dc;
  line-height: 1.42;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 2px;
  background: var(--green);
  box-shadow: var(--shadow-green);
}

.price-card .btn {
  margin-top: auto;
}

.activation-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 28px;
}

.activation-copy strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.18;
}

.activation-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

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

.support-link {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.support-link strong {
  color: var(--text);
  font-size: 1.05rem;
}

.support-link span {
  color: var(--muted);
  line-height: 1.45;
}

.support-link:hover,
.support-link:focus-visible {
  border-color: rgba(34, 220, 243, 0.72);
  box-shadow: var(--shadow-cyan);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(141, 248, 238, 0.12);
  background: rgba(3, 6, 7, 0.92);
  padding: 34px 0;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-layout p {
  margin-bottom: 0;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ice);
}

@keyframes screenSweep {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(-18%);
  }
  50% {
    opacity: 0.95;
    transform: translateX(18%);
  }
}

@keyframes broadcastPulse {
  0%,
  100% {
    transform: scale(1);
    filter: saturate(1.12) contrast(1.08);
  }
  50% {
    transform: scale(1.025);
    filter: saturate(1.34) contrast(1.18);
  }
}

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

@media (max-width: 1040px) {
  .nav-actions {
    display: none;
  }

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

  .tv-mockup {
    margin: 0;
  }

  .feature-grid,
  .pricing-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-wrap,
  .container,
  .hero-layout {
    width: min(100% - 28px, var(--max));
  }

  .nav-toggle {
    display: grid;
  }

  .primary-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 6, 8, 0.98);
    padding: 10px;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 13px;
  }

  .brand-name span {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-layout {
    padding: 54px 0 72px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1rem;
  }

  .metric-row,
  .signal-items,
  .feature-grid,
  .pricing-grid,
  .catalog-grid,
  .support-grid,
  .activation-copy {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .split-cta,
  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-card {
    min-height: 0;
  }
}

@media (max-width: 460px) {
  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name strong {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .cta-row,
  .split-cta .cta-row {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .tv-frame {
    border-width: 6px;
    border-radius: 16px;
  }

  .tv-screen {
    inset: 5px;
    border-radius: 9px;
  }

  .tv-label {
    right: 10px;
    bottom: 10px;
    font-size: 0.68rem;
  }
}
