:root {
  color-scheme: dark;
  --bg: #050b18;
  --bg-2: #081223;
  --panel: rgba(14, 25, 52, .78);
  --panel-2: rgba(17, 31, 64, .92);
  --text: #eef6ff;
  --muted: #a9b8d9;
  --soft: #d7e4ff;
  --line: rgba(151, 180, 255, .18);
  --brand: #7cf7ff;
  --brand-2: #7c8cff;
  --brand-3: #a855f7;
  --ok: #54f3b5;
  --warn: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, .42);
  --radius: 26px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 247, 255, .18), transparent 28rem),
    radial-gradient(circle at 85% 10%, rgba(168, 85, 247, .22), transparent 25rem),
    radial-gradient(circle at 50% 105%, rgba(107, 124, 255, .17), transparent 30rem),
    linear-gradient(180deg, var(--bg), #070d1c 52%, #040813);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 999px; z-index: 99; }
.skip-link:focus { left: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 24, .75);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand img { width: 42px; height: 42px; }
.brand span { font-size: 1.04rem; }
.navlinks { display: flex; gap: 18px; align-items: center; color: var(--muted); font-weight: 650; font-size: .94rem; }
.navlinks a { padding: 10px 8px; border-radius: 999px; }
.navlinks a:hover, .navlinks a:focus-visible { color: var(--text); background: rgba(255,255,255,.06); outline: none; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 999px; color: #06111f !important; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 30px rgba(124, 140, 255, .22); }

.hero { padding: 82px 0 58px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.05); color: var(--soft); font-weight: 700; font-size: .91rem; }
.dot { width: 9px; height: 9px; border-radius: 999px; background: var(--ok); box-shadow: 0 0 26px var(--ok); }
h1 { margin: 20px 0 18px; font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: .96; letter-spacing: -.075em; }
.gradient-text { background: linear-gradient(135deg, #fff, #d9ffff 35%, #9ea8ff 65%, #f0c7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0; color: var(--soft); font-size: clamp(1.05rem, 2vw, 1.32rem); max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border-radius: 16px; font-weight: 800; border: 1px solid var(--line); transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; }
.btn-primary { color: #06111f; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; box-shadow: 0 18px 52px rgba(124, 140, 255, .28); }
.btn-secondary { background: rgba(255,255,255,.06); color: var(--text); }
.btn-disabled { opacity: .82; cursor: not-allowed; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .96rem; }

.device-wrap { position: relative; }
.glow { position: absolute; inset: -42px; background: radial-gradient(circle, rgba(124,247,255,.18), transparent 64%); filter: blur(8px); }
.tv-card { position: relative; border: 1px solid var(--line); border-radius: 34px; padding: 16px; background: linear-gradient(180deg, rgba(21, 35, 72, .8), rgba(9, 16, 36, .92)); box-shadow: var(--shadow); }
.tv-screen { min-height: 430px; border-radius: 24px; overflow: hidden; background: linear-gradient(145deg, #06111f, #0d1f46 55%, #29135a); border: 1px solid rgba(255,255,255,.08); position: relative; padding: 28px; }
.tv-screen::before { content: ""; position: absolute; inset: -20% -10%; background: radial-gradient(circle at 70% 16%, rgba(124,247,255,.25), transparent 32%), radial-gradient(circle at 12% 88%, rgba(168,85,247,.25), transparent 34%); }
.mock-content { position: relative; z-index: 1; }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.pill { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 10px; background: rgba(255,255,255,.08); color: #e9f7ff; font-size: .78rem; font-weight: 800; }
.status-card { padding: 22px; border-radius: 22px; background: rgba(4, 10, 24, .62); border: 1px solid rgba(255,255,255,.1); }
.status-row { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .92rem; }
.big-status { margin: 10px 0 0; font-size: 2.7rem; line-height: 1; letter-spacing: -.05em; font-weight: 900; }
.dns-input { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(124,247,255,.34); border-radius: 15px; background: rgba(255,255,255,.06); font-weight: 800; color: #e9ffff; }
.mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.mock-tile { min-height: 74px; padding: 15px; border-radius: 18px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.10); }
.mock-tile strong { display: block; }
.mock-tile span { color: var(--muted); font-size: .87rem; }
.locked { opacity: .78; }

.section { padding: 82px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; }
h2 { margin: 9px 0 12px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.04; letter-spacing: -.055em; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 18px 58px rgba(0,0,0,.18); }
.icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 15px; background: linear-gradient(135deg, rgba(124,247,255,.18), rgba(168,85,247,.18)); border: 1px solid rgba(255,255,255,.1); margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 1.24rem; letter-spacing: -.025em; }
.card p { color: var(--muted); margin: 0; }

.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { position: relative; padding: 28px; border-radius: 30px; border: 1px solid var(--line); background: rgba(13, 26, 56, .82); }
.plan.pro { background: linear-gradient(180deg, rgba(26, 35, 86, .92), rgba(35, 18, 72, .92)); border-color: rgba(124, 247, 255, .34); box-shadow: 0 24px 70px rgba(124, 140, 255, .18); }
.badge { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--soft); font-weight: 850; font-size: .8rem; }
.plan h3 { font-size: 1.75rem; margin: 16px 0 6px; }
.price { color: var(--muted); margin: 0 0 18px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.feature-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; color: var(--soft); }
.check, .cross { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: .78rem; font-weight: 900; }
.check { background: rgba(84, 243, 181, .12); color: var(--ok); }
.cross { background: rgba(255, 209, 102, .11); color: var(--warn); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { counter-increment: step; padding: 22px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.045); }
.step::before { content: counter(step); width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06111f; font-weight: 950; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }

.security-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.code-card { border-radius: 26px; border: 1px solid var(--line); background: #040817; padding: 22px; overflow: hidden; }
.code-card pre { margin: 0; overflow: auto; color: #d8e7ff; font-size: .88rem; line-height: 1.6; }

.faq { display: grid; gap: 12px; max-width: 920px; }
details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.045); padding: 0 18px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 850; }
summary::-webkit-details-marker { display: none; }
details p { color: var(--muted); margin: 0 0 18px; }

.cta-panel { position: relative; overflow: hidden; padding: 42px; border-radius: 34px; border: 1px solid rgba(124,247,255,.26); background: linear-gradient(135deg, rgba(14, 33, 72, .9), rgba(42, 18, 82, .92)); box-shadow: var(--shadow); }
.cta-panel::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 999px; background: rgba(124,247,255,.14); right: -120px; top: -160px; }
.cta-content { position: relative; z-index: 1; max-width: 760px; }
.cta-content p { color: var(--soft); }

.footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer a { color: var(--soft); }

.page { padding: 70px 0; }
.page-card { max-width: 920px; border: 1px solid var(--line); background: rgba(13, 26, 56, .72); border-radius: 30px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }
.page-card h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-top: 0; }
.page-card h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin-top: 36px; }
.page-card p, .page-card li { color: var(--soft); }
.page-card a { color: var(--brand); font-weight: 800; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #fff; background: rgba(255,255,255,.06); }
tr:last-child td { border-bottom: 0; }

@media (max-width: 980px) {
  .hero-grid, .comparison, .security-panel { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .navlinks { display: none; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--max)); }
  .hero { padding-top: 48px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .tv-screen { min-height: 360px; padding: 18px; }
  .mock-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 28px; }
}
