/* ==========================================================================
   AIRMAX — ISP marketing site
   Tokens: bg #060B16, surface #131F36, blue #2E7CF6, cyan #56E1E9
   Display: Sora | Body: IBM Plex Sans Arabic | Data: JetBrains Mono
   ========================================================================== */

:root {
  --bg: #060b16;
  --bg-soft: #0a1220;
  --surface: #101b30;
  --surface-2: #131f36;
  --border: #21304d;
  --text: #eaf0fb;
  --text-dim: #93a3c2;
  --text-faint: #5c6c8c;
  --blue: #2e7cf6;
  --blue-bright: #5fa8ff;
  --cyan: #56e1e9;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --shadow-glow: 0 0 0 1px rgba(95,168,255,0.12), 0 20px 60px -20px rgba(46,124,246,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Sora", "IBM Plex Sans Arabic", sans-serif; margin: 0; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.mono { font-family: "JetBrains Mono", monospace; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.accent-text { color: var(--blue-bright); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1c5fd6);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(46,124,246,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(46,124,246,0.7); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,11,22,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand-mark { color: var(--blue-bright); display: flex; }
.brand-word {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
}
.bw-air { color: var(--blue-bright); }
.bw-max { color: #4A8CFF; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 15px;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--text); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
  /* No solid base color here on purpose — the dynamic scroll background
     (set on <body> by script.js) shows through, this just adds a glow. */
  background: radial-gradient(ellipse 800px 500px at 85% 10%, rgba(46,124,246,0.18), transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95,168,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,168,255,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-sub {
  margin-top: 20px;
  max-width: 520px;
  color: var(--text-dim);
  font-size: 17px;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-bright);
}
.stat-label { font-size: 13px; color: var(--text-faint); }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.signal-field {
  position: relative;
  width: 240px;
  height: 267px;
}

/* The logo artwork's own concentric rings are centered at roughly
   (48.8% width, 26.7% height) of the image, with an outer drawn ring
   radius of ~28.4% of the image width (measured directly from
   images/airmax-logo-trimmed.png). The pulses below start at exactly
   that point and size, so they read as a continuation of the logo's
   own rings rather than a separate, misaligned effect. */
.ring {
  position: absolute;
  top: 26.7%;
  left: 48.8%;
  transform: translate(-50%, -50%);
  border: 1.5px solid var(--blue-bright);
  border-radius: 50%;
  opacity: 0;
  animation: pulse-ring 4s ease-out infinite;
}
.ring.r1 { animation-delay: 0s; }
.ring.r2 { animation-delay: 1s; }
.ring.r3 { animation-delay: 2s; }
.ring.r4 { animation-delay: 3s; }
@keyframes pulse-ring {
  0%   { width: 136px; height: 136px; opacity: 0.5; border-color: var(--cyan); }
  70%  { opacity: 0.12; }
  100% { width: 320px; height: 320px; opacity: 0; border-color: var(--blue-bright); }
}
@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; display: none; }
}

/* -------------------- Sections (shared) -------------------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.section-sub { margin-top: 14px; color: var(--text-dim); font-size: 16px; }
.packages-free-apps { margin-top: 10px; font-size: 14.5px; }
.packages-free-apps strong { color: var(--cyan); }

.about { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* -------------------- How it works -------------------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.how-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(46,124,246,0.12);
  color: var(--blue-bright);
  margin-bottom: 18px;
}
.how-card h3 { font-size: 18px; margin-bottom: 10px; }
.how-card p { color: var(--text-dim); font-size: 14.5px; }

.about-strip {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  max-width: 820px;
  font-size: 16px;
}

/* -------------------- Coverage (Kurdistan network map) -------------------- */
.coverage-map { max-width: 480px; margin: 0 auto; }
.kurdistan-svg { width: 100%; display: block; margin: 0 auto; overflow: visible; }

/* Single silhouette of the region, softly glowing like the reference image */
.kd-outline {
  fill: rgba(46,124,246,0.08);
  stroke: var(--blue-bright);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* Curved links between hub nodes, with a flowing dash to suggest live signal */
.kd-link {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  opacity: 0.55;
  stroke-dasharray: 6 6;
  animation: kd-flow 1.2s linear infinite;
}
@keyframes kd-flow {
  to { stroke-dashoffset: -24; }
}

.gov-label {
  fill: var(--text);
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-anchor: middle;
  paint-order: stroke;
  stroke: var(--bg);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.gov-label-sm { font-size: 12px; }

/* Hub nodes: static concentric halo rings + one animated ripple + solid core */
.kd-ring { fill: none; stroke: var(--blue-bright); stroke-width: 1; opacity: 0.3; }
.kd-pulse {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: kd-ripple 2.2s ease-out infinite;
}
.kd-core {
  fill: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(86,225,233,0.9));
}
@keyframes kd-ripple {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}
.kd-node-2 .kd-pulse { animation-delay: 0.7s; }
.kd-node-3 .kd-pulse { animation-delay: 1.4s; }
.kd-link:nth-of-type(2) { animation-delay: 0.3s; }
.kd-link:nth-of-type(3) { animation-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) {
  .kd-pulse { animation: none; opacity: 0; }
  .kd-link { animation: none; }
}

.coverage-note { margin-top: 36px; color: var(--text-dim); font-size: 14.5px; text-align: center; }
.coverage-note a { color: var(--blue-bright); text-decoration: underline; }

/* -------------------- Packages -------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(46,124,246,0.08), var(--surface) 40%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}
.price-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 19px; }
.price-desc { color: var(--text-faint); font-size: 13.5px; margin-top: 6px; min-height: 34px; }
.price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price .mono { font-size: 40px; font-weight: 700; color: var(--blue-bright); }
.price .unit { font-size: 15px; color: var(--text-dim); }
.price-cost { margin-top: 6px; color: var(--text-dim); font-size: 14.5px; }
.price-features { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.price-features li {
  font-size: 14px;
  color: var(--text-dim);
  padding-right: 20px;
  position: relative;
}
.price-features li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.price-card .btn { margin-top: auto; }

/* -------------------- Contact -------------------- */
.contact { border-top: 1px solid var(--border); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { font-size: 20px; }
.contact-list strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.contact-list span { color: var(--text-dim); font-size: 14.5px; }
.map-link { color: var(--blue-bright); text-decoration: underline; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 13.5px; color: var(--text-dim); }
.form-row input, .form-row textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-faint); }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(95,168,255,0.15);
}
.form-status { margin-top: 14px; font-size: 14px; min-height: 20px; color: var(--cyan); }

/* -------------------- Footer -------------------- */
.site-footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand-row { display: flex; align-items: center; gap: 8px; }
.footer-brand p { color: var(--text-faint); font-size: 13.5px; margin-top: 8px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--text-dim); font-size: 14px; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { color: var(--text-faint); font-size: 13px; }

/* -------------------- WhatsApp floating button -------------------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.btn-whatsapp:hover { filter: brightness(1.08); }

/* -------------------- Trust strip -------------------- */
.trust-strip {
  position: relative;
  border-top: 1px solid var(--border);
  background: rgba(19,31,54,0.5);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  padding: 18px 24px;
  font-size: 13.5px;
  color: var(--text-dim);
}

/* -------------------- Audience section -------------------- */
.audience { padding: 72px 0; }
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.audience-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(46,124,246,0.08), var(--surface) 45%);
  box-shadow: var(--shadow-glow);
}
.audience-icon { font-size: 30px; display: block; margin-bottom: 14px; }
.audience-card h3 { font-size: 20px; margin-bottom: 10px; }
.audience-card p { color: var(--text-dim); font-size: 15px; margin-bottom: 22px; }

/* -------------------- Section head center variant -------------------- */
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

/* -------------------- Speed test -------------------- */
.speed-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}
.speed-gauge { position: relative; width: 200px; margin: 0 auto; }
.gauge-svg { width: 100%; display: block; }
#gaugeArc { transition: stroke-dashoffset 0.4s ease; }
.gauge-value {
  position: absolute;
  bottom: 6px;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gauge-value .mono { font-size: 34px; font-weight: 700; color: var(--blue-bright); line-height: 1; }
.gauge-unit { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }
.speed-status { margin-top: 18px; color: var(--text-dim); font-size: 14.5px; min-height: 20px; }
.speed-classification { margin-top: 6px; color: var(--blue-bright); font-size: 15px; font-weight: 600; min-height: 20px; }
.speed-card .btn { margin-top: 18px; }
.speed-note { margin-top: 20px; font-size: 12.5px; color: var(--text-faint); }
.speed-note-highlight {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 13.5px;
  background: rgba(86,225,233,0.08);
  border: 1px solid rgba(86,225,233,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.speed-note-highlight strong { color: var(--cyan); }

/* -------------------- Router shop -------------------- */
.router-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.router-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.router-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-glow);
}
.router-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.router-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(46,124,246,0.12);
  color: var(--blue-bright);
  margin-bottom: 16px;
}
.router-card h3 { font-size: 17px; }
.router-desc { color: var(--text-faint); font-size: 13.5px; margin-top: 6px; min-height: 34px; }
.router-specs { margin: 18px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.router-specs li {
  font-size: 13.5px;
  color: var(--text-dim);
  padding-right: 18px;
  position: relative;
}
.router-specs li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.router-card .btn { margin-top: auto; }

/* -------------------- Wizard -------------------- */
.wizard-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.wizard-q { font-size: 18px; font-weight: 600; margin-bottom: 22px; text-align: center; }
.wizard-options { display: flex; flex-direction: column; gap: 12px; }
.wizard-opt {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  text-align: right;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.wizard-opt:hover { border-color: var(--blue-bright); background: rgba(46,124,246,0.08); }
.wizard-progress { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.wizard-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background 0.2s ease; }
.wizard-dot.active { background: var(--blue-bright); }
.wizard-result { text-align: center; }
.wizard-result-label { color: var(--text-dim); font-size: 14px; margin-bottom: 8px; }
.wizard-result h3 { font-size: 24px; color: var(--blue-bright); }
.wizard-router-name { margin-top: 6px; font-size: 15px; color: var(--text-dim); }
.wizard-reason { margin-top: 14px; font-size: 14px; color: var(--text-dim); line-height: 1.7; }
.wizard-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -------------------- FAQ -------------------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
}
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(46,124,246,0.14);
  color: var(--blue-bright);
  font-size: 16px;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { padding: 0 20px 20px; color: var(--text-dim); font-size: 14.5px; line-height: 1.75; }
.faq-item.open .faq-a { max-height: 240px; }

/* -------------------- Teaser cards (router/FAQ links to subpages) -------------------- */
.routers-teaser, .faq-teaser { padding: 56px 0; }
.teaser-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.teaser-card:hover { border-color: var(--blue-bright); transform: translateY(-2px); }
.teaser-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(46,124,246,0.14);
  color: var(--blue-bright);
}
.teaser-text { flex: 1; min-width: 0; }
.teaser-text h2 { font-size: 20px; margin: 4px 0 6px; }
.teaser-text .eyebrow { margin-bottom: 0; }
.teaser-text .section-sub { margin-top: 0; font-size: 14.5px; }
.teaser-arrow {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--text-faint);
}

/* -------------------- Subpage header (routers.html / faq.html) -------------------- */
.page-hero { padding: 56px 0 0; }
.page-hero .section-head { margin-bottom: 0; }

/* -------------------- Hero logo image -------------------- */
.hero-logo {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 22px rgba(95,168,255,0.3));
  max-width: 100%;
  height: auto;
}

/* -------------------- Scroll reveal -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* -------------------- Back to top -------------------- */
.back-to-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.15s ease;
}
.back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover { border-color: var(--blue-bright); }
@media (max-width: 720px) {
  .back-to-top { width: 42px; height: 42px; bottom: 16px; right: 16px; }
}

/* -------------------- TV Player -------------------- */
.tv-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}
.tv-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tv-channel-grid {
  max-width: 900px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tv-channel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tv-channel:hover { border-color: var(--blue-bright); }
.tv-channel.active {
  border-color: var(--blue-bright);
  background: rgba(46,124,246,0.12);
  color: var(--blue-bright);
}
.tv-note { max-width: 900px; margin: 20px auto 0; text-align: center; color: var(--text-faint); font-size: 13px; }

/* -------------------- Responsive -------------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .how-grid { grid-template-columns: 1fr; }
  .coverage-map { max-width: 320px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .router-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    inset-inline: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
  }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .signal-field { width: 200px; height: 222px; }
  .speed-card { padding: 28px 20px; }
  .wizard-card { padding: 28px 20px; }
  .trust-strip-inner { gap: 16px; font-size: 12.5px; }
  .section { padding: 48px 0; }
  .hero { padding: 56px 0 40px; }
  .tv-channel-grid { grid-template-columns: repeat(2, 1fr); }
}
