:root {
  --ink: #07111f;
  --ink-2: #102033;
  --soft: #f4f8fb;
  --line: #dce7ef;
  --muted: #5d6b7a;
  --cyan: #20d3ff;
  --blue: #1f7dff;
  --green: #26d07c;
  --amber: #ffb020;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(7, 17, 31, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.58;
  letter-spacing: 0;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ffd24a;
  outline-offset: 3px;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 17, 31, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  min-width: 168px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 10px 30px rgba(32, 211, 255, .28);
  color: #06101c;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active { color: #fff; }

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

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #06101c;
  box-shadow: 0 14px 32px rgba(32, 211, 255, .24);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
}

.page-hero {
  background-image:
    linear-gradient(135deg, rgba(7, 17, 31, .96), rgba(7, 17, 31, .84)),
    url("hero-tv-interface.png");
  background-image:
    linear-gradient(135deg, rgba(7, 17, 31, .96), rgba(7, 17, 31, .84)),
    image-set(
      url("hero-tv-interface.avif") type("image/avif"),
      url("hero-tv-interface.webp") type("image/webp"),
      url("hero-tv-interface.png") type("image/png")
    );
  background-position: center, center right;
  background-size: auto, cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 86px 0 70px;
}

.crumb {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  max-width: 820px;
  margin: 20px 0 16px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.section { padding: 82px 0; }

.section.soft { background: var(--soft); }

.section.dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.kicker {
  color: var(--blue);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 9px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 17, 31, .05);
  padding: 24px;
}

.card.featured {
  border-color: rgba(31, 125, 255, .5);
  box-shadow: 0 28px 72px rgba(31, 125, 255, .16);
}

.card h3 {
  margin: 0 0 9px;
  font-size: 21px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 125, 255, .1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.price {
  margin: 18px 0 14px;
  font-size: 36px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 14px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  gap: 9px;
  color: var(--ink-2);
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  background: rgba(38, 208, 124, .12);
  color: #118b52;
  font-size: 12px;
  font-weight: 900;
  margin-top: 3px;
}

.compare {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

tr:last-child td { border-bottom: 0; }

.highlight { color: #118b52; font-weight: 900; }

.muted { color: var(--muted); }

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.channel-table {
  margin-top: 22px;
}

.channel-table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.channel-search {
  min-width: min(100%, 320px);
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.channel-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.channel-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.channel-table-frame {
  max-height: 520px;
  overflow: auto;
}

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

.step-no {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}

.footer {
  padding: 38px 0;
  background: #050b14;
  color: rgba(255, 255, 255, .7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

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

.notice {
  border-left: 4px solid var(--amber);
  background: #fff8e8;
  color: #60430b;
  padding: 16px 18px;
  border-radius: var(--radius);
}

.contact-layout {
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
}

.contact-panel {
  background: #121820;
  color: #fff;
}

.contact-panel h2 { color: #fff; }

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.contact-channel {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 0;
  color: rgba(255, 255, 255, .74);
}

.channel-icon {
  width: 64px;
  height: 64px;
  display: block;
}

.channel-name {
  color: #fff;
  font-weight: 900;
  line-height: 1.25;
}

.channel-qr {
  width: min(100%, 148px);
  aspect-ratio: 1;
  display: block;
  padding: 7px;
  border-radius: 4px;
  background: #fff;
}

.channel-action {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.channel-id {
  max-width: 100%;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-5, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .section-head, .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 66px; }
  .brand span:last-child { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .page-hero { padding: 58px 0 48px; }
  .section { padding: 58px 0; }
  .grid-2, .grid-3, .grid-5, .steps { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .contact-channel {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
  }
  .channel-icon {
    grid-row: span 4;
  }
  .channel-qr {
    grid-column: 2;
    width: min(100%, 150px);
  }
  th, td { padding: 13px 12px; font-size: 13px; }
}
