:root {
  --bg-deep: #020814;
  --bg: #06122b;
  --bg-elevated: #0a1c3d;
  --bg-card: rgba(10, 28, 61, 0.72);
  --blue: #007bff;
  --blue-bright: #1a8cff;
  --cyan: #00d2ff;
  --cyan-soft: #7ae8ff;
  --text: #f4f8ff;
  --text-muted: #9bb4d4;
  --line: rgba(0, 210, 255, 0.22);
  --wa: #1fbf5a;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 40, 120, 0.35);
  --font-display: "Orbitron", "Segoe UI", sans-serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(0, 123, 255, 0.28), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(0, 210, 255, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 40%, #04102a);
  min-height: 100vh;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(2, 8, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand img {
  width: auto;
  height: 52px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.35));
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--cyan); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #04101f !important;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700 !important;
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.35);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 45%, rgba(0, 123, 255, 0.22), transparent 70%),
    linear-gradient(120deg, transparent 40%, rgba(0, 210, 255, 0.05));
  z-index: -1;
  animation: atmosphere 10s ease-in-out infinite alternate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-brand {
  width: auto;
  height: clamp(88px, 16vw, 140px);
  margin-bottom: 1.25rem;
  animation: rise 0.9s ease both;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 22px rgba(0, 210, 255, 0.3));
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  animation: rise 0.9s ease 0.08s both;
}
.hero h1 span {
  background: linear-gradient(90deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  margin: 0 0 1.75rem;
  animation: rise 0.9s ease 0.16s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.9s ease 0.24s both;
}
.hero-visual {
  position: relative;
  animation: rise 1s ease 0.2s both;
}
.hero-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 210, 255, 0.2);
  mask-image: linear-gradient(180deg, #000 75%, transparent);
}
.hero-glow {
  position: absolute;
  inset: 10% 5% auto;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.35), transparent 70%);
  filter: blur(30px);
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #03101f;
  box-shadow: 0 10px 30px rgba(0, 150, 255, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 191, 90, 0.35);
}

/* Sections */
section { padding: 4.5rem 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.75rem;
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.55);
  box-shadow: 0 16px 40px rgba(0, 100, 255, 0.25);
}
.plan.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 210, 255, 0.25), 0 18px 40px rgba(0, 150, 255, 0.2);
}
.plan .speed {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 700;
}
.plan .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.85rem 0 0.35rem;
}
.plan .price small {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.plan p {
  color: var(--text-muted);
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
}
.plan .btn { width: 100%; }

/* TV teaser */
.tv-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  background:
    linear-gradient(145deg, rgba(8, 30, 70, 0.9), rgba(4, 14, 36, 0.95));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.tv-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}
.tv-block p { color: var(--text-muted); margin: 0 0 1rem; }
.tv-price {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 210, 255, 0.45);
  background: rgba(0, 40, 90, 0.45);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.15);
  margin-bottom: 1.25rem;
}
.tv-price strong {
  font-size: 2.4rem;
  font-family: var(--font-display);
  line-height: 1;
}
.tv-price span { color: var(--cyan-soft); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }
.tv-features {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.tv-features li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.tv-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  flex-shrink: 0;
}
.tv-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tv-panel {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #04122c;
}
.tv-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* Support */
.actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.action {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem 1.1rem;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.action:hover {
  border-color: var(--line);
  transform: translateY(-3px);
}
.action h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.action p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 2.7em;
}
.action .btn {
  width: 100%;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  background: rgba(0, 123, 255, 0.18);
  color: var(--cyan-soft);
  border: 1px solid var(--line);
}
.action .btn:hover {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #03101f;
  border-color: transparent;
}

/* Channels page */
.page-hero {
  padding: 3.5rem 0 1.5rem;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
}
.page-hero p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--text-muted);
}
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(2, 10, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}
.search {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  outline: none;
}
.search:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}
.filter-btn:hover,
.filter-btn.active {
  color: #03101f;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
}
.meta-count {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
  margin-bottom: 3rem;
}
.channel {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #0a1f42, #07162e);
  border: 1px solid rgba(0, 136, 255, 0.22);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.channel:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.channel[hidden] { display: none; }
.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  display: none;
}
.empty-state.show { display: block; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0 2rem;
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.25);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand img {
  width: auto;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.28));
}
.footer-copy { color: var(--text-muted); font-size: 0.92rem; }
.footer-copy a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
}
.footer-copy a:hover { text-decoration: underline; }

.float-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: rise 0.6s ease 0.8s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}
@keyframes atmosphere {
  from { transform: translateX(0); }
  to { transform: translateX(-2%); }
}

@media (max-width: 980px) {
  .hero-grid,
  .tv-block { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .actions { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { order: -1; }
  .hero { min-height: auto; padding-top: 2.5rem; }
}
@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(2, 8, 20, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
  .plans,
  .actions { grid-template-columns: 1fr; }
  .brand img { height: 42px; }
  .toolbar { top: 64px; }
}
