/* =====================================================================
   VashVPN — Design System
   Display: Benzin-Bold · Body: Inter (variable, self-hosted)
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Benzin";
  src: url("../fonts/benzin-bold.woff2") format("woff2"),
       url("../fonts/benzin-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "InterVar";
  src: url("../fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* base */
  --bg: #05060b;
  --bg-2: #080a13;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* text */
  --text: #f4f5fb;
  --muted: rgba(244, 245, 251, 0.62);
  --faint: rgba(244, 245, 251, 0.40);

  /* brand */
  --violet: #8b5cf6;
  --violet-deep: #6d28d9;
  --cyan: #22d3ee;
  --cyan-deep: #0891b2;
  --pink: #e879f9;
  --grad: linear-gradient(120deg, #a78bfa 0%, #818cf8 38%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(167,139,250,.16), rgba(34,211,238,.12));

  /* shape */
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* fx */
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow-violet: 0 0 60px -10px rgba(139, 92, 246, 0.55);
  --glow-cyan: 0 0 60px -10px rgba(34, 211, 238, 0.45);
  --ring: 0 0 0 1px var(--line);

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "InterVar", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 420;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(139, 92, 246, 0.35); color: #fff; }

html { -webkit-tap-highlight-color: transparent; }
/* no ring on pointer/click — only on keyboard navigation (a11y preserved) */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ---------- Ambient background ---------- */
/* dark wash sitting OVER the animated aurora — keeps text readable */
.bg-aura {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,6,11,.06) 0%, rgba(5,6,11,.34) 48%, rgba(5,6,11,.6) 100%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.display {
  font-family: "Benzin", "InterVar", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.02;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
section { position: relative; }
.section-pad { padding: clamp(64px, 11vw, 140px) 0; }

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-family: "Benzin", sans-serif;
  text-transform: uppercase;
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 16px 0 0;
}
.section-head p {
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  margin: 18px 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--pad-y) 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(139,92,246,.5);
  background: linear-gradient(120deg, rgba(139,92,246,.18), rgba(34,211,238,.12));
  box-shadow: 0 14px 36px -16px rgba(139,92,246,.6);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  position: relative;
  overflow: hidden; /* clip the diagonal sheen so it never sticks out the sides */
  border: none;
  color: #0a0118;
  background: var(--grad);
  box-shadow: var(--glow-violet), 0 10px 30px -10px rgba(34,211,238,.4);
  font-weight: 700;
}
.btn-primary:hover { box-shadow: 0 0 80px -8px rgba(139,92,246,.7), 0 14px 36px -10px rgba(34,211,238,.5); }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost { background: transparent; }
.btn-lg { --pad-y: 17px; padding-inline: 30px; font-size: 15.5px; }
.btn-block { width: 100%; }

.tg-icon { width: 17px; height: 17px; }

/* ---------- Cards / surfaces ---------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.card-glow::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(139,92,246,.22), transparent 62%);
  pointer-events: none;
}

/* hairline gradient top-border helper */
.hairline::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.8), rgba(34,211,238,.8), transparent);
}

/* =====================================================================
   NAVBAR (injected by components.js)
   ===================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand img {
  width: 34px; height: 34px;
  object-fit: contain;
}
.brand b {
  font-family: "Benzin", sans-serif;
  font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff;
}
.brand b span {
  color: var(--muted);
  font-weight: 700;
}
.brand:hover b span { color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: linear-gradient(120deg, rgba(139,92,246,.16), rgba(34,211,238,.10)); }
.nav-links a.active { color: var(--text); }

/* dropdown */
.nav-drop { position: relative; }
.nav-drop > a::after { content: "▾"; font-size: 10px; margin-left: 5px; opacity: .6; }
.nav-ic { width: 15px; height: 15px; vertical-align: -3px; margin-right: 7px; opacity: .85; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px); left: 0;
  min-width: 230px;
  padding: 8px;
  background: rgba(10, 12, 20, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px; border-radius: 12px;
  color: var(--muted); font-size: 14px;
}
.nav-drop-menu a:hover { background: linear-gradient(120deg, rgba(139,92,246,.16), rgba(34,211,238,.10)); color: var(--text); }
.nav-drop-menu a b { font-size: 14px; font-weight: 600; display: block; }
.nav-drop-menu a small { display: block; font-size: 11.5px; color: var(--faint); font-weight: 400; margin-top: 1px; }
.nav-drop-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding: 12px 12px 6px; }
.nav-drop-menu { min-width: 280px; }
.nav-drop-menu a .ic {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px; background: var(--grad-soft);
  border: 1px solid var(--line);
  font-size: 14px;
}

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

/* ---------- App icon (img with letter fallback) ---------- */
.app-ic {
  position: relative;
  width: var(--s, 30px); height: var(--s, 30px);
  flex: none;
  border-radius: calc(var(--s, 30px) * 0.26);
  overflow: hidden;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
}
.app-ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-ic i {
  font-style: normal;
  font-family: "Benzin", sans-serif;
  font-size: calc(var(--s, 30px) * 0.38);
  line-height: 1;
  color: var(--text);
}

/* burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  position: relative;
}
.burger span, .burger::before, .burger::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger::before { transform: translate(-50%, -7px); }
.burger::after { transform: translate(-50%, 5px); }
.burger span { transform: translate(-50%,-50%); }

/* mobile menu sheet */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: 90px 22px 30px;
  background: rgba(5,6,11,.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  padding: 16px 14px;
  border-radius: 14px;
  font-size: 18px; font-weight: 500;
  border: 1px solid transparent;
}
.mobile-menu a:hover { background: linear-gradient(120deg, rgba(139,92,246,.16), rgba(34,211,238,.10)); border-color: rgba(139,92,246,.4); }
.mobile-menu .mm-label {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint); padding: 18px 14px 6px;
}

@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero h1 {
  font-family: "Benzin", sans-serif;
  text-transform: uppercase;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 22px 0 0;
}
.hero h1 .gradient-text { display: inline-block; }
.hero-sub {
  margin: 26px 0 0;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--muted);
  max-width: 30em;
}
.hero-actions {
  margin-top: 34px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.hero-stats {
  margin-top: 44px;
  display: flex; gap: 34px; flex-wrap: wrap;
}
.hero-stat .n {
  font-family: "Benzin", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stat .l { font-size: 13px; color: var(--faint); margin-top: 7px; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 360px;
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { order: -1; min-height: 320px; max-width: 460px; margin: 0 auto; }
}

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 0 26px;
  font-family: "Benzin", sans-serif;
  text-transform: uppercase;
  font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.16);
  white-space: nowrap;
}
.marquee-track span .star { color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.marquee-track .hot { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   FEATURES (bento)
   ===================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.bento .tile {
  grid-column: span 2;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.bento .tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.bento .tile.wide { grid-column: span 3; }
.bento .tile.tall { grid-row: span 2; }
.tile .ico {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  margin-bottom: 20px;
  color: var(--cyan);
}
.tile h3 {
  font-size: 19px; font-weight: 650; letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.tile p { color: var(--muted); font-size: 14.5px; margin: 0; }
.tile .spark {
  position: absolute; right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(34,211,238,.18), transparent 60%);
  pointer-events: none;
  opacity: 0; transition: opacity .5s var(--ease);
}
.bento .tile:hover .spark { opacity: 1; }

@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .tile, .bento .tile.wide { grid-column: span 1; }
  .bento .tile.tall { grid-row: auto; }
}

/* =====================================================================
   SERVER MAP / GLOBE
   ===================================================================== */
.servers { position: relative; }
.servers-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.globe-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(34,211,238,.08), transparent 70%),
    radial-gradient(80% 80% at 50% 110%, rgba(139,92,246,.16), transparent 70%),
    #04050a;
}
.globe-wrap canvas { width: 100% !important; height: 100% !important; cursor: grab; }
.globe-wrap canvas:active { cursor: grabbing; }
.globe-hint {
  position: absolute; left: 16px; bottom: 16px;
  font-size: 12px; color: var(--faint);
  display: flex; align-items: center; gap: 7px;
  pointer-events: none;
}
.globe-hint .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.globe-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  padding: 30px; color: var(--muted); font-size: 14px;
}

.city-list { display: flex; flex-direction: column; gap: 12px; }
.city {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
  text-align: left; width: 100%;
}
.city:hover { transform: translateX(4px); border-color: var(--line-strong); background: var(--surface-2); }
.city.active {
  border-color: rgba(139,92,246,.6);
  background: linear-gradient(120deg, rgba(139,92,246,.14), rgba(34,211,238,.07));
  box-shadow: var(--glow-violet);
}
.city .flag {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.city .meta { flex: 1; min-width: 0; }
.city .meta b { display: block; font-size: 16px; font-weight: 650; }
.city .meta span { font-size: 13px; color: var(--faint); }
.city .ping {
  font-family: "Benzin", sans-serif;
  font-size: 13px; color: var(--cyan);
  display: flex; align-items: center; gap: 7px;
}
.city .ping i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 8px #22c55e; font-style: normal;
}

@media (max-width: 920px) {
  .servers-grid { grid-template-columns: 1fr; gap: 28px; }
  .globe-wrap { max-width: 440px; margin: 0 auto; width: 100%; }
}

/* =====================================================================
   SPECS
   ===================================================================== */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.spec {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.spec .k {
  font-family: "Benzin", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spec .v { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .specs { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   STEPS
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.step .num {
  font-family: "Benzin", sans-serif;
  font-size: 56px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }
.step .arrow {
  position: absolute; top: 30px; right: 24px;
  color: var(--faint);
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.plan:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.plan.featured {
  border-color: rgba(139,92,246,.45);
  background: linear-gradient(180deg, rgba(139,92,246,.10), rgba(34,211,238,.035));
}
.plan .tag {
  position: absolute; top: 22px; right: 22px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  background: var(--grad); color: #0a0118;
}
.plan .name { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan .price { display: flex; align-items: baseline; gap: 5px; margin: 14px 0 4px; }
.plan .price b { font-family: "Benzin", sans-serif; font-size: 40px; line-height: 1; }
.plan .price span { font-size: 18px; color: var(--muted); }
.plan .per { color: var(--faint); font-size: 12.5px; min-height: 18px; }
.plan .save { color: var(--cyan); font-weight: 600; }
.plan ul { margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.plan li svg { flex: none; color: var(--cyan); margin-top: 3px; }
.plan .btn { margin-top: auto; }
@media (max-width: 1024px) { .pricing { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; } }
@media (max-width: 540px) { .pricing { grid-template-columns: 1fr; max-width: 420px; } }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.review .stars { color: #fbbf24; letter-spacing: 2px; font-size: 14px; }
.review p { margin: 14px 0 20px; font-size: 15px; color: var(--text); line-height: 1.65; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: "Benzin", sans-serif; font-size: 16px;
  background: var(--grad-soft); border: 1px solid var(--line-strong);
}
.review .who b { font-size: 14px; display: block; }
.review .who span { font-size: 12.5px; color: var(--faint); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s;
}
.faq[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16.5px; font-weight: 560;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: none; width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 8px;
  position: relative; transition: transform .3s var(--ease);
}
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; background: var(--cyan);
  border-radius: 2px;
}
.faq summary .pm::before { width: 12px; height: 2px; }
.faq summary .pm::after { width: 2px; height: 12px; transition: transform .3s var(--ease); }
.faq[open] summary .pm::after { transform: scaleY(0); }
.faq .faq-body { padding: 0 24px 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* =====================================================================
   CTA BANNER
   ===================================================================== */
.cta-banner {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(139,92,246,.28), transparent 70%),
    radial-gradient(60% 120% at 50% 100%, rgba(34,211,238,.18), transparent 70%),
    rgba(255,255,255,.02);
}
.cta-banner h2 {
  font-family: "Benzin", sans-serif; text-transform: uppercase;
  font-size: clamp(28px, 5vw, 56px); line-height: 1.02;
}
.cta-banner p { color: var(--muted); max-width: 46ch; margin: 18px auto 0; font-size: 17px; }
.cta-banner .hero-actions { justify-content: center; }

/* =====================================================================
   FOOTER (injected)
   ===================================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(139,92,246,.04));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 34px;
}
.footer .brand { margin-bottom: 18px; }
.footer-about { color: var(--muted); font-size: 14px; max-width: 32ch; }
.foot-col h4 {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 16px;
}
.foot-col a {
  display: block; color: var(--muted); font-size: 14.5px;
  padding: 6px 0; transition: color .2s;
}
.foot-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  color: var(--faint); font-size: 13px;
}
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { max-width: none; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   REVEAL ANIMATIONS
   ===================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(10px);
  transition: opacity 1s var(--ease), transform 1.05s var(--ease), filter 1s var(--ease);
  will-change: opacity, transform, filter;
}
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal-delay="4"] { transition-delay: .36s; }
[data-reveal-delay="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  /* keep the ticker alive — it is an intentional, continuous element */
  .marquee-track { animation: marquee 38s linear infinite !important; }
}

/* =====================================================================
   PAGE HEADER (sub-pages)
   ===================================================================== */
.page-hero {
  padding: 150px 0 50px;
  text-align: center;
}
.page-hero h1 {
  font-family: "Benzin", sans-serif; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 68px); line-height: 1.02; margin: 18px 0 0;
}
.page-hero p { color: var(--muted); max-width: 52ch; margin: 20px auto 0; font-size: 17px; }

/* breadcrumbs */
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--faint); justify-content: center; }
.crumbs a:hover { color: var(--text); }

/* =====================================================================
   DOC / MANUAL TEMPLATE
   ===================================================================== */
.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.doc-side {
  position: sticky; top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 18px;
}
.doc-side h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; }
.doc-side a {
  display: block; padding: 9px 12px; border-radius: 10px;
  font-size: 14px; color: var(--muted); transition: background .2s, color .2s;
}
.doc-side a:hover, .doc-side a.active { background: var(--surface-2); color: var(--text); }
.doc-side .app-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; margin-bottom: 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--grad-soft);
}
.doc-side .app-badge .ic {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-size: 20px;
  background: #05060b; border: 1px solid var(--line-strong);
}
.doc-side .app-badge b { font-size: 15px; }
.doc-side .app-badge span { font-size: 12px; color: var(--faint); display: block; }

.doc-main { min-width: 0; }
.doc-os-tabs { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); margin-bottom: 30px; }
.doc-os-tabs button {
  padding: 9px 18px; border-radius: 999px; border: none; background: transparent;
  color: var(--muted); font-size: 13.5px; font-weight: 600; transition: all .25s var(--ease);
}
.doc-os-tabs button.active { background: var(--grad); color: #0a0118; }

.doc-step {
  position: relative;
  padding: 0 0 36px 60px;
  border-left: 1px solid var(--line);
  margin-left: 18px;
}
.doc-step:last-child { border-color: transparent; padding-bottom: 0; }
.doc-step .badge {
  position: absolute; left: -18px; top: -4px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Benzin", sans-serif; font-size: 15px;
  background: var(--bg); border: 1px solid var(--line-strong);
  color: var(--cyan);
}
.doc-step h3 { font-size: 20px; margin: 0 0 10px; }
.doc-step p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.doc-step p a { color: var(--cyan); border-bottom: 1px solid transparent; }
.doc-step p a:hover { border-color: var(--cyan); }

/* code / key block */
.codeblock {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: #04060d;
  overflow: hidden;
  margin: 4px 0 16px;
}
.codeblock .cb-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.codeblock .cb-head span { font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.codeblock .cb-head .dots { display: flex; gap: 6px; }
.codeblock .cb-head .dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.codeblock .cb-head .dots i:nth-child(1){background:#ff5f57}
.codeblock .cb-head .dots i:nth-child(2){background:#febc2e}
.codeblock .cb-head .dots i:nth-child(3){background:#28c840}
.codeblock pre {
  margin: 0; padding: 16px;
  font-family: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 13px; line-height: 1.7; color: #c7d2fe;
  overflow-x: auto; white-space: pre; word-break: break-all;
}
.codeblock pre .tok-key { color: #f0abfc; }
.codeblock pre .tok-str { color: #7dd3fc; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 9px;
  border: 1px solid var(--line-strong); background: var(--surface-2);
  color: var(--muted); font-size: 12px; font-weight: 600;
  transition: all .2s;
}
.copy-btn:hover { color: var(--text); border-color: var(--cyan); }
.copy-btn.done { color: #22c55e; border-color: rgba(34,197,94,.5); }

/* screenshot: loads a real photo if present, else shows a labeled placeholder */
.shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0 14px, transparent 14px 28px),
    var(--surface);
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  color: var(--faint); font-size: 13px; text-align: center;
  margin: 6px 0 16px;
}
.shot.phone { aspect-ratio: 9 / 16; max-width: 250px; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 16px; line-height: 1.5;
}
.shot.has-img { border-color: var(--line); }
.shot.has-img figcaption { display: none; }
.shot .ph-ic { font-size: 26px; opacity: .5; }
.shot code {
  font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 12px; color: var(--cyan);
  background: rgba(34,211,238,.08); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 7px;
}

/* callout */
.callout {
  display: flex; gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--grad-soft);
  font-size: 14.5px; color: var(--text);
  margin: 4px 0 16px;
}
.callout .ic { flex: none; font-size: 18px; }
.callout.warn { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.3); }

@media (max-width: 880px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .doc-side { position: static; }
  .doc-side nav { display: none; }
}

/* =====================================================================
   BUSINESS PAGE
   ===================================================================== */
.b2b-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.b2b-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.b2b-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.b2b-card .ico {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--cyan);
}
.b2b-card h3 { font-size: 21px; margin-bottom: 10px; }
.b2b-card p { color: var(--muted); font-size: 15px; margin: 0; }
.b2b-card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.b2b-card li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.b2b-card li svg { flex: none; color: var(--cyan); margin-top: 3px; }
@media (max-width: 760px) { .b2b-grid { grid-template-columns: 1fr; } }

.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 820px) { .process-row { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   LEGAL PAGES
   ===================================================================== */
.legal {
  max-width: 860px; margin: 0 auto;
  padding: 140px 22px 90px;
}
.legal-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 40px; }
.legal-head h1 {
  font-family: "Benzin", sans-serif; text-transform: uppercase;
  font-size: clamp(26px, 4vw, 42px); line-height: 1.05; margin: 0 0 12px;
}
.legal-head .date { color: var(--faint); font-size: 14px; }
.legal section { margin-bottom: 38px; }
.legal h2 {
  font-size: 20px; font-weight: 650; margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px;
}
.legal h2 .nch {
  font-family: "Benzin", sans-serif; font-size: 14px;
  color: var(--cyan); min-width: 30px;
}
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0 0 12px; }
.legal ul { padding-left: 4px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.legal li { display: flex; gap: 10px; }
.legal li::before { content: "—"; color: var(--cyan); flex: none; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--cyan); border-bottom: 1px solid transparent; }
.legal a:hover { border-color: var(--cyan); }
.legal-foot {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  text-align: center; color: var(--faint); font-size: 14px;
}

/* =====================================================================
   STATUS PAGES (happ / subscribe)
   ===================================================================== */
.status-wrap {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 24px;
}
.status-card {
  max-width: 460px; width: 100%;
  text-align: center;
  padding: 48px 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(18px);
  position: relative; overflow: hidden;
}
.status-card .ic-wrap {
  width: 80px; height: 80px; margin: 0 auto 24px;
  display: grid; place-items: center; border-radius: 50%;
}
.status-card .ic-wrap.success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); box-shadow: 0 0 40px rgba(34,197,94,.2); }
.status-card .ic-wrap.info { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.3); box-shadow: 0 0 40px rgba(59,130,246,.2); }
.status-card .ic-wrap.error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); box-shadow: 0 0 40px rgba(239,68,68,.2); }
.status-card .ic-wrap.warn { background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.3); box-shadow: 0 0 40px rgba(251,191,36,.2); }
.status-card .sub-actions { margin-top: 18px; font-size: 13px; color: var(--faint); }
.status-card .sub-actions a { color: var(--cyan); }
.status-card h1 { font-family: "Benzin", sans-serif; text-transform: uppercase; font-size: 22px; margin: 0 0 14px; }
.status-card p { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.status-card p b { color: var(--text); }
.status-actions { display: flex; flex-direction: column; gap: 12px; }

/* =====================================================================
   HERO 3D CANVAS
   ===================================================================== */
#hero-canvas { position: relative; touch-action: pan-y; }
#hero-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
#hero-canvas.hero-3d-fallback {
  background: url("../img/clean-logo.png") center/52% no-repeat;
  animation: floaty 6s var(--ease) infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(-6px);} 50%{ transform: translateY(6px);} }

/* =====================================================================
   HERO ORBITAL VISUAL (CSS) — legacy/unused fallback
   ===================================================================== */
.orbit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
/* concentric static guide rings + spinning carriers share the same sizing */
.orbit .ring,
.orbit .spin {
  position: absolute;
  border-radius: 50%;
  inset: 0; margin: auto;
}
.orbit .ring { border: 1px solid var(--line); }
.orbit .ring.r2 { border-style: dashed; border-color: rgba(255,255,255,.07); }
.orbit .ring.dim { border-color: rgba(34,211,238,.10); box-shadow: 0 0 40px -10px rgba(34,211,238,.3) inset; }

.size1 { width: 54%; height: 54%; }
.size2 { width: 76%; height: 76%; }
.size3 { width: 98%; height: 98%; }

.orbit .spin { animation: spin var(--dur, 24s) linear infinite; }
.orbit .spin.rev { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* satellite sits on the top edge of its carrier ring */
.orbit .sat {
  position: absolute; top: -19px; left: 50%;
  width: 38px; height: 38px; margin-left: -19px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(10,12,22,.92);
  border: 1px solid var(--line-strong);
  font-size: 16px;
  box-shadow: 0 10px 28px -10px rgba(0,0,0,.8);
  animation: spin-rev var(--dur, 24s) linear infinite;
}
.orbit .spin.rev .sat { animation-direction: reverse; }
.orbit .sat.glow { border-color: rgba(139,92,246,.55); box-shadow: var(--glow-violet); color: var(--cyan); }
.orbit .sat.b { top: auto; bottom: -19px; }
.orbit .sat.l { top: 50%; left: -19px; margin-top: -19px; margin-left: 0; }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

.orbit .core {
  position: relative;
  width: 40%; height: 40%;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(139,92,246,.30), rgba(34,211,238,.10) 60%, transparent 72%);
}
.orbit .core::before {
  content: ""; position: absolute; inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.40), transparent 62%);
  filter: blur(22px);
  animation: pulse 4s var(--ease) infinite;
}
.orbit .core img {
  position: relative; width: 62%; height: auto;
  filter: drop-shadow(0 12px 34px rgba(34,211,238,.5));
}

/* =====================================================================
   SECURITY CHECK TOOL (check.html)
   ===================================================================== */
.checktool { max-width: 1000px; margin: 0 auto; }

.scanner {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px);
  transition: border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.scanner.danger { border-color: rgba(239,68,68,.42); box-shadow: 0 0 80px -28px rgba(239,68,68,.5); }
.scanner.safe   { border-color: rgba(34,197,94,.42);  box-shadow: 0 0 80px -28px rgba(34,197,94,.45); }

/* scanning sweep line */
.scanner::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 140px;
  background: linear-gradient(180deg, rgba(34,211,238,.18), transparent);
  transform: translateY(-140px);
  pointer-events: none;
}
.scanner.scanning::before { animation: sweep 1.6s var(--ease) infinite; }
@keyframes sweep { 0%{ transform: translateY(-140px);} 100%{ transform: translateY(640px);} }

.scan-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.scan-verdict { display: flex; align-items: center; gap: 14px; }
.scan-verdict .ring {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--line-strong);
  position: relative;
}
.scanner.scanning .scan-verdict .ring { border-top-color: var(--cyan); animation: spin 0.9s linear infinite; }
.scanner.danger .scan-verdict .ring { border-color: rgba(239,68,68,.6); background: rgba(239,68,68,.1); }
.scanner.safe .scan-verdict .ring { border-color: rgba(34,197,94,.6); background: rgba(34,197,94,.1); }
.scan-verdict .ring svg { width: 26px; height: 26px; }
.scan-verdict .vtext b {
  display: block; font-family: "Benzin", sans-serif; text-transform: uppercase;
  font-size: clamp(15px, 2vw, 19px); letter-spacing: .03em;
}
.scanner.danger .scan-verdict .vtext b { color: #fca5a5; }
.scanner.safe .scan-verdict .vtext b { color: #86efac; }
.scan-verdict .vtext span { font-size: 13px; color: var(--muted); }

.scan-ipbig {
  text-align: right;
}
.scan-ipbig .lab { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.scan-ipbig .ip {
  font-family: "Benzin", sans-serif; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.scan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scan-row {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface);
}
.scan-row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--faint); }
.scan-row .dot.danger { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.scan-row .dot.warn { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.scan-row .dot.ok { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.scan-row .lab { font-size: 13px; color: var(--muted); flex: none; min-width: 42%; }
.scan-row .val {
  margin-left: auto; text-align: right;
  font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 13.5px; color: var(--text); word-break: break-word;
}
.scan-row.loading .val { color: transparent; }
.scan-row.loading .val::after {
  content: ""; display: inline-block; width: 90px; height: 12px; border-radius: 6px; vertical-align: middle;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.16), rgba(255,255,255,.06));
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.scan-note { margin-top: 18px; font-size: 12.5px; color: var(--faint); display: flex; gap: 8px; align-items: center; }

/* before / after */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-card { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.vs-card.bad  { border-color: rgba(239,68,68,.28); background: linear-gradient(180deg, rgba(239,68,68,.07), transparent); }
.vs-card.good { border-color: rgba(34,197,94,.30); background: linear-gradient(180deg, rgba(34,197,94,.08), transparent); }
.vs-card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 16px; }
.vs-card.bad h3 { color: #fca5a5; }
.vs-card.good h3 { color: #86efac; }
.vs-card ul { display: flex; flex-direction: column; gap: 12px; }
.vs-card li { display: flex; gap: 11px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.vs-card li svg { flex: none; margin-top: 2px; }
.vs-card.bad li svg { color: #ef4444; }
.vs-card.good li svg { color: #22c55e; }

@media (max-width: 760px) {
  .scan-grid, .vs-grid { grid-template-columns: 1fr; }
  .scan-head { flex-direction: column; align-items: flex-start; }
  .scan-ipbig { text-align: left; }
  .scan-row .lab { min-width: 38%; }
}

/* =====================================================================
   CINEMATIC PRELOADER
   ===================================================================== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background:
    radial-gradient(60vw 50vh at 50% 40%, rgba(139,92,246,.16), transparent 60%),
    #05060b;
  display: grid; place-items: center;
  transition: transform 1.05s var(--ease), opacity .8s var(--ease);
  /* failsafe: reveal the site even if JS never runs */
  animation: plFailsafe 0s linear 6s forwards;
}
#preloader.done { transform: translateY(-101%); }
@keyframes plFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.pl-core { position: relative; display: grid; place-items: center; }
.pl-logo { width: 96px; height: 96px; position: relative; z-index: 2; }
.pl-logo img { width: 100%; height: 100%; object-fit: contain; animation: plFloat 2.4s var(--ease) infinite; }
@keyframes plFloat { 0%,100%{ transform: translateY(-5px) } 50%{ transform: translateY(5px) } }
.pl-ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.pl-ring.a { inset: -26px; }
.pl-ring.b { inset: -46px; border-style: dashed; border-color: rgba(255,255,255,.06); }
.pl-ring.a::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--cyan); border-right-color: var(--violet);
  animation: spin 1.1s linear infinite;
}
.pl-meta { position: absolute; bottom: 13%; left: 0; right: 0; text-align: center; }
.pl-bar { width: min(240px, 56vw); height: 2px; margin: 0 auto 14px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 16px rgba(34,211,238,.6); transition: width .25s var(--ease); }
.pl-pct { font-family: "Benzin", sans-serif; font-size: 12px; letter-spacing: .3em; color: var(--faint); text-transform: uppercase; }

/* =====================================================================
   SCROLL PROGRESS BEAM
   ===================================================================== */
#scrollbeam {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 200; pointer-events: none;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(34,211,238,.55);
  transition: width .1s linear;
}

/* =====================================================================
   CURSOR SPOTLIGHT (added to cards via JS)
   ===================================================================== */
.glow-cursor { position: relative; }
.glow-cursor::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,.20), rgba(34,211,238,.08) 40%, transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; z-index: 1;
}
.glow-cursor:hover::after { opacity: 1; }
.glow-cursor > * { position: relative; z-index: 2; }

/* animated sheen on gradient headlines */
.gradient-text { background-size: 220% auto; }
.hero h1 .gradient-text, .page-hero .gradient-text {
  animation: gradShift 7s ease-in-out infinite;
}
@keyframes gradShift { 0%,100%{ background-position: 0% center } 50%{ background-position: 100% center } }

/* =====================================================================
   LIVING AURORA BACKGROUND (injected by main.js)
   ===================================================================== */
.aurora {
  position: fixed; inset: -18%;
  z-index: -3; pointer-events: none;
  filter: blur(58px) saturate(175%);
  opacity: 1;
}
.aurora i {
  position: absolute; display: block; border-radius: 50%;
  mix-blend-mode: screen; will-change: transform;
}
.aurora .b1 { width: 60vw; height: 60vw; left: -6%;  top: -16%;   background: radial-gradient(circle, #8b5cf6 0%, rgba(139,92,246,.5) 32%, transparent 64%); animation: au1 38s var(--ease) infinite; }
.aurora .b2 { width: 52vw; height: 52vw; right: -8%; top: -18%;   background: radial-gradient(circle, #22d3ee 0%, rgba(34,211,238,.45) 32%, transparent 64%); animation: au2 46s var(--ease) infinite; }
.aurora .b3 { width: 56vw; height: 56vw; left: 8%;   bottom: -26%; background: radial-gradient(circle, #e23e98 0%, rgba(226,62,152,.45) 30%, transparent 64%); animation: au3 42s var(--ease) infinite; opacity: .85; }
.aurora .b4 { width: 50vw; height: 50vw; right: 2%;  bottom: -20%; background: radial-gradient(circle, #5b54f0 0%, rgba(91,84,240,.45) 32%, transparent 64%); animation: au4 52s var(--ease) infinite; }
@keyframes au1 { 0%,100%{ transform: translate(0,0) scale(1);} 33%{ transform: translate(24vw,15vh) scale(1.28);} 66%{ transform: translate(10vw,30vh) scale(.92);} }
@keyframes au2 { 0%,100%{ transform: translate(0,0) scale(1);} 33%{ transform: translate(-20vw,18vh) scale(1.15);} 66%{ transform: translate(-6vw,6vh) scale(1.32);} }
@keyframes au3 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-18vw,-22vh) scale(1.22);} }
@keyframes au4 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(16vw,-18vh) scale(1.12);} }

/* =====================================================================
   ANIMATED GRADIENT BORDER (premium rotating ring)
   ===================================================================== */
@property --gb { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cta-banner, .plan.featured { position: relative; }
.cta-banner::before, .plan.featured::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--gb),
     rgba(139,92,246,0) 0deg, #8b5cf6 70deg, #22d3ee 150deg, #e23e98 230deg, rgba(139,92,246,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: gbspin 6s linear infinite;
  pointer-events: none;
  z-index: 0;
}
/* keep the absolute "ХИТ" tag absolute; lift only flow content above the ring */
.plan.featured > *:not(.tag) { position: relative; z-index: 1; }
.plan.featured .tag { z-index: 2; }
@keyframes gbspin { to { --gb: 360deg; } }

/* =====================================================================
   STARFIELD (injected by main.js) — tiny drifting, twinkling points
   ===================================================================== */
.stars {
  position: fixed; top: 0; left: 0; width: 2px; height: 2px;
  z-index: -3; pointer-events: none; border-radius: 50%;
  background: transparent;
  animation: twinkle 5.5s ease-in-out infinite alternate;
}
.stars.s2 { animation-duration: 8s; animation-delay: -2s; opacity: .7; }
@keyframes twinkle { from { opacity: .35; } to { opacity: .95; } }

/* =====================================================================
   CUSTOM GLOWING CURSOR (injected by main.js; desktop only)
   ===================================================================== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9000;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity .3s var(--ease);
}
.cursor-dot { width: 7px; height: 7px; background: var(--cyan); box-shadow: 0 0 14px 2px var(--cyan); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(167,139,250,.8);
  box-shadow: 0 0 30px -4px rgba(139,92,246,.7), inset 0 0 16px -6px rgba(139,92,246,.6);
  transition: width .28s var(--ease), height .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
}
.cursor-ring.hot {
  width: 60px; height: 60px;
  border-color: rgba(34,211,238,.9);
  background: radial-gradient(circle, rgba(34,211,238,.10), transparent 70%);
}
.cursor-ring.click { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) {
  .pl-logo img { animation: none; }
  /* keep the signature ambient motion alive — slow, low-contrast, comfortable */
  .aurora .b1 { animation: au1 40s var(--ease) infinite !important; }
  .aurora .b2 { animation: au2 48s var(--ease) infinite !important; }
  .aurora .b3 { animation: au3 44s var(--ease) infinite !important; }
  .aurora .b4 { animation: au4 54s var(--ease) infinite !important; }
  .stars { animation: twinkle 6s ease-in-out infinite alternate !important; }
  .stars.s2 { animation-duration: 8s !important; }
  .cta-banner::before, .plan.featured::before { animation: gbspin 7s linear infinite !important; }
  .hero h1 .gradient-text, .page-hero .gradient-text { animation: gradShift 9s ease-in-out infinite !important; }
}

/* =====================================================================
   DOWNLOAD / APPS PAGE
   ===================================================================== */
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.app-dl {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.app-dl:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.app-dl .meta { flex: 1; min-width: 0; }
.app-dl h3 { font-size: 19px; margin: 0 0 4px; }
.app-dl .plat { font-size: 13px; color: var(--faint); margin-bottom: 12px; }
.app-dl p { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface-2);
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  transition: all .2s var(--ease);
}
.dl-pill:hover { color: var(--text); border-color: rgba(139,92,246,.5); background: linear-gradient(120deg, rgba(139,92,246,.16), rgba(34,211,238,.10)); }
.dl-pill svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .apps-grid { grid-template-columns: 1fr; } }

/* platform chips row */
.platform-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.platform-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; color: var(--muted);
}
.platform-chip svg { width: 18px; height: 18px; color: var(--text); }

/* =====================================================================
   COMPARISON TABLE
   ===================================================================== */
.cmp {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.cmp-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  align-items: center;
}
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-row.head { background: rgba(139,92,246,.06); }
.cmp-row.head > div { padding: 18px 20px; font-weight: 650; font-size: 14px; }
.cmp-row.head .col-vpn { color: var(--cyan); display: flex; align-items: center; gap: 8px; }
.cmp-row > div { padding: 16px 20px; font-size: 14.5px; }
.cmp-row .feat { color: var(--text); }
.cmp-row .col-vpn, .cmp-row .col-other { text-align: center; color: var(--muted); }
.cmp-row .col-vpn { background: rgba(34,211,238,.04); }
.cmp .yes { color: #22c55e; } .cmp .no { color: #ef4444; }
.cmp .yes svg, .cmp .no svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .cmp-row { grid-template-columns: 1.4fr .8fr .8fr; }
  .cmp-row > div { padding: 13px 12px; font-size: 13px; }
  .cmp-row.head > div { padding: 14px 12px; font-size: 12.5px; }
}

/* =====================================================================
   TRUST / LOGO STRIP
   ===================================================================== */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; align-items: center;
  opacity: .8;
}
.trust-row .trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted); font-weight: 600;
}
.trust-row .trust-item svg { width: 22px; height: 22px; color: var(--cyan); }

/* =====================================================================
   ABOUT — value cards reuse .b2b-card; mission band
   ===================================================================== */
.mission {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: clamp(34px, 6vw, 70px);
  text-align: center;
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(139,92,246,.16), transparent 70%),
    rgba(255,255,255,.02);
}
.mission h2 { font-family: "Benzin", sans-serif; text-transform: uppercase; font-size: clamp(24px,3.5vw,40px); line-height: 1.1; }
.mission p { color: var(--muted); max-width: 60ch; margin: 18px auto 0; font-size: 17px; line-height: 1.7; }

/* anchor offset so sticky-nav doesn't cover section tops */
:target { scroll-margin-top: 100px; }

/* utilities */
.mt-0{margin-top:0}.center{text-align:center}.muted{color:var(--muted)}
.stack-lg > * + * { margin-top: clamp(64px,11vw,140px); }
