/* ==========================================================================
   VPNVerdict — Design System (LIGHT · "Ocean Blue")
   Bright, trust-forward palette for selling VPNs:
   white & soft-blue surfaces + trust-blue brand + sky accent + gold ratings.
   Built for speed and CLS stability (explicit sizing, font-display swap).
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #eef3fb;          /* soft mint page background */
  --bg-2: #ffffff;        /* white alternating sections */
  --surface: #ffffff;     /* cards */
  --surface-2: #f1f5fd;   /* subtle inset */
  --surface-3: #e6eefb;
  --border: rgba(20, 45, 80, 0.12);
  --border-strong: rgba(20, 45, 80, 0.22);

  /* Text */
  --text: #0f1c33;        /* deep slate */
  --muted: #51607a;
  --muted-2: #6b7a93;

  /* Brand */
  --primary: #2563eb;     /* teal (buttons, brand) */
  --primary-2: #3b82f6;   /* green (gradient partner) */
  --primary-ink: #1d4ed8; /* deeper teal for text on white */
  --accent: #2563eb;      /* blue accent */
  --accent-2: #0891b2;    /* cyan */

  /* Status */
  --gold: #f5a623;
  --green: #0f9d63;
  --red: #dc2e4d;
  --amber: #b9760a;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --grad-violet: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  --grad-cta: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --grad-text: linear-gradient(135deg, #2563eb 0%, #0891b2 55%, #2563eb 100%);

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(16, 40, 34, 0.06);
  --shadow: 0 18px 50px -22px rgba(16, 40, 34, 0.22);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.30), 0 24px 55px -28px rgba(37, 99, 235, 0.45);
  --ring: 0 0 0 3px rgba(37, 99, 235, 0.35);

  /* Layout */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --maxw: 1200px;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Sora", var(--font-sans);
}

/* ----------------------------------------------------------------- Reset */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient background mesh — soft mint/teal tints, GPU-cheap */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(800px 500px at 88% 4%, rgba(37, 99, 235, 0.07), transparent 55%),
    radial-gradient(700px 700px at 50% 120%, rgba(59, 130, 246, 0.08), transparent 60%);
  pointer-events: none;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; margin: 0 0 .5em; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1rem; color: var(--text); }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-ink); }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul { margin: 0 0 1rem; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ----------------------------------------------------------------- Layout */
.container-x { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section-sm { padding: clamp(36px, 5vw, 64px) 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.text-muted-2 { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 720px; margin: 0 auto clamp(30px, 4vw, 54px); text-align: center; }
.center { text-align: center; }

/* Soft white band utility (alternating section background) */
.band-white { background: var(--bg-2); }

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--primary); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(37, 99, 235, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(37, 99, 235, 0.8); color: #fff; }
.btn-ghost { background: rgba(20,45,80,0.05); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(20,45,80,0.09); color: var(--text); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary-ink); }
.btn-outline:hover { background: rgba(37,99,235,.08); color: var(--primary-ink); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ----------------------------------------------------------------- Navbar */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--text); letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; flex: 0 0 38px;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.7);
}
.brand-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: .95rem; padding: 9px 14px; border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(20,45,80,0.05); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: rgba(20,45,80,.05); border: 1px solid var(--border);
  color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
}
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; padding: 14px 20px 20px;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 12px 14px; font-size: 1rem; }
}

/* ----------------------------------------------------------------- Hero */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.badge-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px;
  background: rgba(37,99,235,.07); border: 1px solid var(--border-strong);
  border-radius: 999px; font-size: .82rem; color: var(--muted); margin-bottom: 22px;
}
.badge-pill b { color: var(--text); }
.badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(15,157,99,.18); }
.hero h1 { margin-bottom: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; color: var(--muted); font-size: .9rem; }
.hero-trust .stars { color: var(--gold); }

/* Threat → Shield visual (CLS-safe fixed aspect) */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; margin: 0 auto;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 40%, rgba(37,99,235,.15), transparent 60%),
    linear-gradient(160deg, #ffffff 0%, #e6eefb 100%);
  border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-shield { width: 56%; filter: drop-shadow(0 18px 34px rgba(37,99,235,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }
.orbit { position: absolute; inset: 0; }
.orbit span {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px;
  border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem;
  background: #ffffff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}

/* ----------------------------------------------------------------- Cards */
.card-x {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  position: relative; transition: transform .25s ease, border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.card-x:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.glass {
  background: var(--surface); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* Feature icon tiles */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px){ .feature-grid { grid-template-columns: 1fr; } }
.feature-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(37,99,235,.12); color: var(--primary-ink); margin-bottom: 16px; font-size: 1.4rem;
}
.feature-ico.violet { background: rgba(37,99,235,.10); color: #1e4fd1; }
.feature-ico.gold { background: rgba(245,166,35,.16); color: #b9760a; }

/* ----------------------------------------------------------------- Stats */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px){ .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 24px 14px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ----------------------------------------------------------------- Ratings */
.stars { display: inline-flex; gap: 2px; color: var(--gold); line-height: 1; }
.rating-bar { height: 8px; border-radius: 999px; background: rgba(20,45,80,.10); overflow: hidden; }
.rating-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--grad-brand); width: 0; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.score-badge {
  display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  background: conic-gradient(var(--primary) var(--p,90%), rgba(20,45,80,.10) 0);
  position: relative; color: var(--text);
}
.score-badge::before { content: ""; position: absolute; inset: 4px; border-radius: 12px; background: var(--surface); }
.score-badge span { position: relative; z-index: 1; }

/* ----------------------------------------------------------------- VPN Ranking cards */
.rank-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: .85rem; font-weight: 600; padding: 8px 15px; border-radius: 999px; cursor: pointer;
  background: rgba(20,45,80,.04); border: 1px solid var(--border); color: var(--muted);
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { background: var(--grad-brand); color: #fff; border-color: transparent; }
.select-x {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 14px; font-family: var(--font-sans); font-size: .9rem; cursor: pointer;
}

.vpn-list { display: grid; gap: 18px; }
.vpn-card {
  display: grid; grid-template-columns: 56px 1.6fr 1.4fr auto; gap: 22px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px;
  position: relative; transition: transform .25s, border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.vpn-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.vpn-card.top { border-color: rgba(37,99,235,.45); box-shadow: var(--shadow-glow); }
.vpn-rank {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--muted);
  background: rgba(20,45,80,.05); border: 1px solid var(--border);
}
.vpn-card.top .vpn-rank { background: var(--grad-brand); color: #fff; border-color: transparent; }
.vpn-logo {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 46px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: #fff;
}
.vpn-id { display: flex; align-items: center; gap: 14px; }
.vpn-id h3 { margin: 0; font-size: 1.15rem; }
.vpn-id .meta { color: var(--muted); font-size: .82rem; }
.ribbon {
  position: absolute; top: -11px; left: 22px; font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; color: #fff;
  background: var(--grad-cta); box-shadow: 0 8px 16px -8px rgba(37,99,235,.8);
}
.vpn-features { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 8px;
  background: rgba(20,45,80,.05); border: 1px solid var(--border); color: var(--muted);
}
.tag.ok { color: #0a7a4d; border-color: rgba(15,157,99,.35); background: rgba(15,157,99,.10); }
.vpn-cta { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 170px; }
.vpn-price { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }
.vpn-price small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.vpn-score-line { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) {
  .vpn-card { grid-template-columns: 48px 1fr; grid-template-areas: "rank id" "feat feat" "cta cta"; row-gap: 16px; }
  .vpn-rank { grid-area: rank; width: 48px; height: 48px; }
  .vpn-id { grid-area: id; }
  .vpn-features { grid-area: feat; }
  .vpn-cta { grid-area: cta; min-width: 0; }
}

/* ----------------------------------------------------------------- Detailed review block (per-service deep dive) */
.detail-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px); margin: 0 0 26px; box-shadow: var(--shadow-sm);
  position: relative; scroll-margin-top: 96px;
}
.detail-card.top { border-color: rgba(37,99,235,.45); box-shadow: var(--shadow-glow); }
.detail-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.detail-head .vpn-logo { width: 54px; height: 54px; flex-basis: 54px; font-size: 1.2rem; border-radius: 14px; }
.detail-head .rank-no { font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--primary-ink); text-transform: uppercase; letter-spacing: .05em; }
.detail-head h3 { margin: 2px 0 0; font-size: 1.4rem; }
.detail-head .score-badge { margin-left: auto; }
.detail-best { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--primary-ink); background: rgba(37,99,235,.10); border: 1px solid rgba(37,99,235,.25); padding: 3px 10px; border-radius: 999px; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
@media (max-width: 720px){ .spec-grid { grid-template-columns: 1fr 1fr; } }
.spec { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.spec .k { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.spec .v { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-top: 3px; color: var(--text); }
.detail-card .pros-cons { margin: 18px 0 4px; }

/* ----------------------------------------------------------------- Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .92rem; background: var(--surface); }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.cmp thead th { background: var(--surface-2); font-family: var(--font-head); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); position: sticky; top: 0; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody tr:hover { background: rgba(20,45,80,.025); }
table.cmp .yes { color: var(--green); font-weight: 700; }
table.cmp .no { color: var(--red); }

/* ----------------------------------------------------------------- EEAT / author */
.author-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.avatar {
  width: 72px; height: 72px; border-radius: 18px; flex: 0 0 72px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: #fff;
  background: var(--grad-brand);
}
.cred-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cred-list li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.cred-list svg { color: var(--primary); flex: 0 0 auto; }

.trust-bar { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center; }
.trust-bar .t-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.trust-bar svg { color: var(--primary); }

.method-step { display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.method-num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 44px;
  font-family: var(--font-head); font-weight: 800; background: rgba(37,99,235,.12); color: var(--primary-ink);
}

.disclosure {
  background: rgba(245,166,35,.10); border: 1px solid rgba(245,166,35,.35); border-radius: var(--radius-sm);
  padding: 16px 20px; font-size: .9rem; color: #574b30; display: flex; gap: 12px; align-items: flex-start;
}
.disclosure a { color: var(--primary-ink); font-weight: 600; }
.disclosure svg { color: var(--amber); flex: 0 0 auto; margin-top: 2px; }

/* ----------------------------------------------------------------- FAQ / accordion (Bootstrap override) */
.accordion-item { background: var(--surface) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.accordion-button { background: transparent !important; color: var(--text) !important; font-family: var(--font-head); font-weight: 600; box-shadow: none !important; padding: 20px 22px; }
.accordion-button:not(.collapsed) { color: var(--primary-ink) !important; background: rgba(37,99,235,.04) !important; }
.accordion-button:not(.collapsed)::after { filter: invert(45%) sepia(65%) saturate(640%) hue-rotate(125deg) brightness(92%); }
.accordion-body { color: var(--muted); padding: 0 22px 22px; }

/* Tabs (Bootstrap nav-pills override) */
.nav-pills .nav-link { color: var(--muted); border-radius: 999px; font-weight: 600; padding: 10px 20px; }
.nav-pills .nav-link.active { background: var(--grad-brand) !important; color: #fff !important; }

/* ----------------------------------------------------------------- Article / blog body */
.article-body { font-size: 1.06rem; }
.article-body h2 { margin-top: 2.2em; }
.article-body h3 { margin-top: 1.6em; }
.article-body p { color: #313c52; }
.article-body ul li { color: #313c52; margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--primary); margin: 1.6em 0; padding: 14px 22px;
  font-size: 1.12rem; font-style: italic; color: var(--text);
  background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.toc {
  position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.toc h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--border); color: var(--muted); font-size: .9rem; }
.toc a:hover, .toc a.active { color: var(--primary-ink); border-left-color: var(--primary); }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 680px){ .pros-cons { grid-template-columns: 1fr; } }
.pc-box { border-radius: var(--radius); padding: 22px; border: 1px solid var(--border); }
.pc-box.pros { background: rgba(15,157,99,.08); border-color: rgba(15,157,99,.30); }
.pc-box.cons { background: rgba(220,46,77,.06); border-color: rgba(220,46,77,.24); }
.pc-box h4 { display: flex; align-items: center; gap: 9px; }
.pc-box ul { list-style: none; padding: 0; margin: 0; }
.pc-box li { display: flex; gap: 10px; padding: 7px 0; color: #313c52; font-size: .95rem; }
.pc-box.pros li::before { content: "✓"; color: var(--green); font-weight: 800; }
.pc-box.cons li::before { content: "✕"; color: var(--red); font-weight: 800; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted-2); list-style: none; padding: 0; margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--muted-2); }

/* Interactive: speed meter bars */
.speed-row { display: grid; grid-template-columns: 130px 1fr 64px; gap: 14px; align-items: center; margin-bottom: 14px; }
.speed-row .name { color: var(--muted); font-size: .9rem; }
.speed-row .val { text-align: right; font-family: var(--font-head); font-weight: 700; }

/* Interactive: price toggle */
.toggle-wrap { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-sm); }
.toggle-wrap button { border: none; background: transparent; color: var(--muted); font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-family: var(--font-head); }
.toggle-wrap button.active { background: var(--grad-brand); color: #fff; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(37,99,235,.09));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 64px); text-align: center; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 240px at 50% -40%, rgba(37,99,235,.18), transparent 70%); pointer-events: none; }

/* ----------------------------------------------------------------- Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-3); padding: 64px 0 32px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 820px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px){ .foot-grid { grid-template-columns: 1fr; } }
.foot-col h5 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: var(--muted); font-size: .92rem; }
.foot-col a:hover { color: var(--primary-ink); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px; color: var(--muted-2); font-size: .85rem; }

/* ----------------------------------------------------------------- Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--grad-brand); color: #fff; border: none;
  cursor: pointer; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .3s; box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* Reading progress bar */
.progress-top { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1100; background: var(--grad-brand); }

/* Utility */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px){ .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.mb-0{margin-bottom:0}.mt-2{margin-top:14px}.mt-3{margin-top:22px}.mt-4{margin-top:34px}
.flex { display: flex; } .items-center{align-items:center} .gap-2{gap:10px} .gap-3{gap:18px}
.divider { height: 1px; background: var(--border); margin: clamp(40px,6vw,80px) 0; }
.pill-note { display:inline-block; font-size:.78rem; color:var(--muted); background:rgba(20,45,80,.04); border:1px solid var(--border); padding:4px 11px; border-radius:999px; }
.updated { color: var(--muted); font-size: .85rem; display: inline-flex; align-items: center; gap: 7px; }

/* ==========================================================================
   Visual rhythm: DARK accent sections + dark footer (used sparingly for contrast)
   ========================================================================== */
.section-dark { background: linear-gradient(165deg, #0b1f3a 0%, #0a1830 100%); color: #c8d6e6; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #f4f9ff; }
.section-dark p { color: #c6d6ea; }
.section-dark .lead, .section-dark .text-muted-2, .section-dark .updated, .section-dark .cred-list li, .section-dark .stat .lbl, .section-dark .vpn-id .meta { color: #a6bdda; }
.section-dark .eyebrow { color: #5fa8ff; }
.section-dark .gradient-text, .section-dark .stat .num { background: linear-gradient(135deg, #5fa8ff 0%, #8bd0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-dark .card-x, .section-dark .glass { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section-dark .card-x:hover { border-color: rgba(255,255,255,.24); box-shadow: 0 22px 50px -28px rgba(0,0,0,.7); }
.section-dark .method-num, .section-dark .feature-ico { background: rgba(96,165,250,.16); color: #93c5fd; }
.section-dark table.cmp { background: transparent; }
.section-dark table.cmp th { background: rgba(255,255,255,.05); color: #a6bdda; }
.section-dark table.cmp td, .section-dark table.cmp th { border-color: rgba(255,255,255,.10); color: #dbe6f2; }
.section-dark .tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #c6d6ea; }
.section-dark .tag.ok { color: #5fe0a3; border-color: rgba(15,157,99,.4); background: rgba(15,157,99,.16); }
.section-dark .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #f4f9ff; }
.section-dark .btn-outline { border-color: #5fa8ff; color: #93c5fd; }
.section-dark .btn-outline:hover { background: rgba(96,165,250,.12); color: #93c5fd; }
.section-dark .pill-note { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #c6d6ea; }
.section-dark .divider { background: rgba(255,255,255,.12); }

/* Dark footer (all pages) */
.site-footer { background: linear-gradient(180deg, #0b1f3a 0%, #081427 100%); border-top-color: rgba(255,255,255,.08); color: #b6c8e0; }
.site-footer .brand { color: #f4f9ff; }
.site-footer .text-muted-2 { color: #9fb4d2; }
.foot-col h5 { color: #8fa6c8; }
.foot-col a { color: #b6c8e0; }
.foot-col a:hover { color: #7dbbff; }
.foot-bottom { border-top-color: rgba(255,255,255,.10); color: #8fa6c8; }

/* Dark CTA band variant */
.cta-band.dark { background: linear-gradient(135deg, #0b1f3a 0%, #0a2342 100%); border-color: rgba(255,255,255,.14); }
.cta-band.dark h2 { color: #f4f9ff; }
.cta-band.dark .lead { color: #a6bdda; }
.cta-band.dark::after { background: radial-gradient(600px 240px at 50% -40%, rgba(96,165,250,.22), transparent 70%); }

/* ==========================================================================
   Interactive hero: "Protection Switch" demo
   ========================================================================== */
.protect-demo {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 24px 22px; box-shadow: var(--shadow); max-width: 430px; width: 100%; margin: 0 auto;
  position: relative; overflow: hidden;
}
.protect-demo::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--red); transition: background .45s ease; }
.protect-demo.on::before { background: var(--grad-cta); }
.pd-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pd-status { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; color: var(--red); transition: color .3s; }
.pd-status::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(220,46,77,.15); transition: all .3s; }
.protect-demo.on .pd-status { color: #0a7a4d; }
.protect-demo.on .pd-status::before { background: var(--green); box-shadow: 0 0 0 4px rgba(15,157,99,.2); }

.pd-switch { position: relative; display: inline-block; width: 60px; height: 33px; flex: 0 0 60px; cursor: pointer; }
.pd-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pd-slider { position: absolute; inset: 0; background: #ccd6e4; border-radius: 999px; transition: background .3s; }
.pd-slider::before { content: ""; position: absolute; top: 4px; left: 4px; width: 25px; height: 25px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .3s; }
.pd-switch input:checked + .pd-slider { background: var(--primary); }
.pd-switch input:checked + .pd-slider::before { transform: translateX(27px); }
.pd-switch input:focus-visible + .pd-slider { box-shadow: var(--ring); }

.pd-shield { display: grid; place-items: center; padding: 14px 0 6px; }
.pd-shield svg { width: 80px; height: 80px; color: var(--red); filter: drop-shadow(0 12px 22px rgba(220,46,77,.28)); transition: color .45s, filter .45s; }
.protect-demo.on .pd-shield svg { color: var(--primary); filter: drop-shadow(0 12px 24px rgba(37,99,235,.38)); }

.pd-rows { list-style: none; padding: 0; margin: 8px 0 0; }
.pd-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--border); font-size: .92rem; }
.pd-k { color: var(--muted); }
.pd-v { font-family: var(--font-head); font-weight: 700; color: var(--red); text-align: right; transition: color .3s; }
.protect-demo.on .pd-v { color: #0a7a4d; }
.pd-hint { margin-top: 16px; text-align: center; font-size: .85rem; color: var(--muted); font-weight: 600; }
.pd-foot { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border); text-align: center; font-size: .82rem; color: var(--muted); }
.pd-foot b { color: var(--text); font-family: var(--font-head); }

/* ==========================================================================
   Colored hero band (vibrant teal→blue) — gives the hero its own identity
   ========================================================================== */
.hero-grad {
  background: linear-gradient(140deg, #17345f 0%, #1f4276 55%, #245282 100%);
  position: relative; overflow: hidden;
}
.hero-grad::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 86% 6%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(620px 520px at 4% 96%, rgba(3,20,40,.22), transparent 60%);
}
.hero-grad > .container-x { position: relative; z-index: 1; }
.hero-grad h1 { color: #fff; }
.hero-grad .lead { color: rgba(255,255,255,.86); }
.hero-grad .eyebrow { color: #cfe4ff; }
.hero-grad .eyebrow::before { background: rgba(255,255,255,.65); }
.hero-grad .gradient-text { background: linear-gradient(135deg, #b9e2ff 0%, #84c2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-grad .badge-pill { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.30); color: rgba(255,255,255,.92); }
.hero-grad .badge-pill b { color: #fff; }
.hero-grad .hero-trust { color: rgba(255,255,255,.86); }
.hero-grad .hero-trust b { color: #fff; }
.hero-grad .btn-ghost { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.40); color: #fff; }
.hero-grad .btn-ghost:hover { background: rgba(255,255,255,.26); color: #fff; }

/* Per-VPN explanation line in the homepage ranking list */
.vpn-why { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 9px 0 0; }
.vpn-why strong { color: var(--text); font-weight: 700; }


/* ==========================================================================
   Android phone mockup + Android UI elements (hero) + APK / Play badges
   ========================================================================== */
.android-stage { position: relative; display: flex; justify-content: center; padding-top: 8px; }
.bugdroid { position: absolute; top: -10px; left: 4%; width: 56px; height: 56px; z-index: 3;
  filter: drop-shadow(0 12px 20px rgba(61,220,132,.45)); animation: float 6s ease-in-out infinite; }
@media (max-width: 920px){ .bugdroid { left: auto; right: 6%; } }

.phone { width: 304px; max-width: 82vw; border-radius: 44px; padding: 11px; position: relative;
  background: linear-gradient(160deg, #0b1f3a 0%, #0a1830 100%);
  box-shadow: 0 36px 70px -28px rgba(8,20,40,.65), inset 0 0 0 2px rgba(255,255,255,.05); }
.phone::before { content: ""; position: absolute; right: -3px; top: 122px; width: 3px; height: 50px; border-radius: 2px; background: #0a1830; }
.phone-screen { background: #eef3fb; border-radius: 33px; overflow: hidden; position: relative; }
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 9px; height: 9px; border-radius: 50%; background: #0b1f3a; z-index: 4; }
.phone-statusbar { display: flex; align-items: center; justify-content: space-between; padding: 9px 18px 4px; font-size: .72rem; font-weight: 700; color: #0f1c33; }
.phone-statusbar .sb-r { display: inline-flex; align-items: center; gap: 6px; }
.phone-statusbar svg { width: 14px; height: 14px; color: #0f1c33; }
.sb-vpnkey { color: var(--primary) !important; display: none; }
.phone-appbar { display: flex; align-items: center; gap: 10px; padding: 6px 16px 12px; }
.ab-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; flex: 0 0 30px; }
.ab-logo svg { width: 17px; height: 17px; }
.ab-name { font-family: var(--font-head); font-weight: 800; font-size: .98rem; color: #0f1c33; }
.ab-menu { margin-left: auto; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.phone-body { padding: 0 14px 8px; }
.phone .protect-demo { max-width: none; box-shadow: var(--shadow-sm); border-radius: 16px; padding: 18px 16px 16px; }
.apk-btn { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 12px;
  background: linear-gradient(135deg, #3ddc84 0%, #23c275 100%); color: #06310f; font-family: var(--font-head);
  font-weight: 800; font-size: .92rem; padding: 12px; border-radius: 13px; box-shadow: 0 12px 22px -12px rgba(35,194,117,.85); }
.apk-btn:hover { color: #06310f; transform: translateY(-1px); }
.apk-btn svg { width: 18px; height: 18px; }
.phone-nav { display: flex; align-items: center; justify-content: space-around; padding: 10px 0 12px; margin-top: 6px; border-top: 1px solid var(--border); color: #90a0b8; }
.phone-nav svg { width: 17px; height: 17px; }

/* Hero Android badge icon */
.badge-pill .and-ico { width: 18px; height: 18px; color: #3ddc84; flex: 0 0 18px; }

/* Google Play style badge */
.play-badge { display: inline-flex; align-items: center; gap: 11px; background: #0b1f3a; color: #fff;
  border: 1px solid rgba(255,255,255,.16); border-radius: 13px; padding: 9px 18px; line-height: 1;
  transition: transform .18s ease, background .2s ease; }
.play-badge:hover { color: #fff; transform: translateY(-2px); background: #0c2444; }
.play-badge .pb-tri { width: 22px; height: 22px; flex: 0 0 22px; }
.play-badge small { display: block; font-size: .6rem; letter-spacing: .09em; text-transform: uppercase; opacity: .82; }
.play-badge b { display: block; font-family: var(--font-head); font-size: 1.02rem; margin-top: 2px; }


/* Hero image (replaces the phone mockup on the homepage) */
.hero-img { width: 100%; max-width: 480px; height: auto; margin: 0 auto; display: block;
  border-radius: var(--radius-lg); filter: drop-shadow(0 20px 42px rgba(8,20,40,.30)); }
@media (max-width: 920px){ .hero-img { max-width: 360px; } }

/* ===== Brand logo image (header + footer) ===== */
.brand-logo { height: 38px; width: auto; display: block; }
.site-footer .brand-logo { height: 34px; }
@media (max-width: 480px){ .brand-logo { height: 25px; } }

/* ===== Nav dropdown submenus ===== */
.nav-links .has-sub { position: relative; }
.nav-links .sub-toggle { display: inline-flex; align-items: center; }
.nav-links .caret { width: 13px; height: 13px; margin-left: 5px; opacity: .85; transition: transform .2s ease; }
.nav-links .has-sub:hover .caret, .nav-links .has-sub:focus-within .caret { transform: rotate(180deg); }
.has-sub::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.submenu {
  list-style: none; margin: 0; padding: 8px; min-width: 212px;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 1001;
}
.nav-links .has-sub:hover .submenu, .nav-links .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu li { margin: 0; }
.submenu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--muted); font-size: .92rem; font-weight: 500; white-space: nowrap; }
.submenu a:hover { background: rgba(20,45,80,.05); color: var(--text); }

@media (max-width: 940px) {
  .has-sub::after { display: none; }
  .nav-links .sub-toggle { width: 100%; }
  .nav-links .caret { margin-left: auto; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 2px 0 6px 16px; min-width: 0;
  }
}
