/* ==========================================================================
   Premium VPN — KSA promo landing page
   Design system + components. RTL-first (logical properties everywhere).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* palette */
  --bg: #000000;
  --bg-soft: #141414;
  --surface: #161616;
  --surface-2: #1c1c1c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #f5f5f5;
  --text-soft: #b3b3b3;
  --text-dim: #8a8a8a;

  --brand: #ffdd2d;
  --brand-2: #e6c200;
  --brand-soft: rgba(255, 221, 45, 0.12);
  /* semantic accent: security and trust only */
  --trust: #12c96f;
  --trust-soft: rgba(18, 201, 111, 0.13);
  --gold: #e0b400;
  --gold-soft: rgba(224, 180, 0, 0.14);

  --danger: #ff6b6b;

  /* shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* space */
  --container: 1180px;
  --gutter: 20px;
  --section-y: clamp(56px, 8vw, 104px);

  /* effects */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 18px 60px -18px rgba(255, 221, 45, 0.55);
  --ring: 0 0 0 3px rgba(255, 221, 45, 0.28);

  --font: "IBM Plex Sans Arabic", "Noto Kufi Arabic", "Segoe UI", Tahoma,
    system-ui, -apple-system, sans-serif;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 45% at 78% -5%, rgba(255, 221, 45, 0.16), transparent 65%),
    radial-gradient(45% 40% at 8% 12%, rgba(224, 180, 0, 0.09), transparent 60%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 55% at 50% 0%, #000 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000 20%, transparent 90%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 8px;
}

::selection {
  background: var(--brand);
  color: #0a0a0a;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-block-end: clamp(32px, 5vw, 56px);
}

.section-head--start {
  margin-inline: 0;
  text-align: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(255, 221, 45, 0.28);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-block-end: 18px;
}

.eyebrow--gold {
  color: var(--gold);
  background: var(--gold-soft);
  border-color: rgba(224, 180, 0, 0.3);
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
}

.section-sub {
  color: var(--text-soft);
  margin-block-start: 14px;
  font-size: clamp(15px, 1.5vw, 18px);
}

.grad-text {
  background: linear-gradient(100deg, var(--brand) 10%, #ffeb99 55%, var(--gold) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #0a0a0a;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 66px -16px rgba(255, 221, 45, 0.7);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 221, 45, 0.45);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #c99f52 100%);
  color: #241905;
  box-shadow: 0 18px 50px -18px rgba(224, 180, 0, 0.6);
}

.btn--gold:hover {
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-row--center {
  justify-content: center;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.72);
  border-block-end: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-stuck {
  border-block-end-color: var(--line);
  background: rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.01em;
  flex: none;
}

.logo-img {
  height: 34px;
  width: auto;
  flex: none;
}

.logo-country {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.22em;
  /* letter-spacing adds a trailing gap; pull it back so the text reads centred */
  text-indent: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.nav-link {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}

.lang-switch a {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch a.is-active {
  background: var(--brand-soft);
  color: var(--brand);
}

.lang-switch a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  place-items: center;
  flex: none;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

/* ---------- 6. Hero ---------- */
.hero {
  padding-block: clamp(44px, 7vw, 88px) clamp(40px, 6vw, 76px);
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.hero-title {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: var(--text-soft);
  font-size: clamp(16px, 1.7vw, 19px);
  margin-block-start: 20px;
  max-width: 56ch;
}

.hero-cta {
  margin-block-start: 30px;
}

.hero-note {
  color: var(--text-dim);
  font-size: 14px;
  margin-block-start: 14px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-block-start: 28px;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--line);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-soft);
}

.trust-item strong {
  color: var(--text);
  font-weight: 600;
}

.trust-item svg {
  color: var(--trust);
  flex: none;
}

/* hero visual: connection card */
.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12% -6% -12% -6%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(255, 221, 45, 0.2), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

.conn-card {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.conn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block-end: 16px;
  border-block-end: 1px solid var(--line);
}

.conn-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--trust);
  box-shadow: 0 0 0 0 rgba(18, 201, 111, 0.65);
  animation: pulse 2.4s infinite;
  flex: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 201, 111, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(18, 201, 111, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(18, 201, 111, 0);
  }
}

.conn-meta {
  font-size: 13px;
  color: var(--text-dim);
}

.conn-speed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-block: 18px;
}

.conn-speed div {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 10px;
  text-align: center;
}

.conn-speed b {
  display: block;
  font-size: 19px;
  color: var(--brand);
  font-weight: 700;
  direction: ltr;
}

.conn-speed span {
  font-size: 12px;
  color: var(--text-dim);
}

.conn-list {
  display: grid;
  gap: 8px;
}

.conn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  font-size: 14px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.conn-row.is-best {
  border-color: rgba(255, 221, 45, 0.45);
  background: linear-gradient(90deg, rgba(255, 221, 45, 0.13), rgba(255, 221, 45, 0.03));
}

/* country / city code tile (emoji flags render poorly on Windows) */
.cc-tile {
  width: 38px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(255, 221, 45, 0.2), rgba(255, 221, 45, 0.05));
  border: 1px solid rgba(255, 221, 45, 0.3);
  direction: ltr;
  flex: none;
  font-variant-numeric: tabular-nums;
}

.cc-tile--gold {
  color: var(--gold);
  background: linear-gradient(135deg, rgba(224, 180, 0, 0.2), rgba(224, 180, 0, 0.05));
  border-color: rgba(224, 180, 0, 0.32);
}

.conn-row .city {
  font-weight: 600;
}

.conn-row .ping {
  margin-inline-start: auto;
  color: var(--text-dim);
  font-size: 13px;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.conn-row.is-best .ping {
  color: var(--brand);
  font-weight: 600;
}

.badge-auto {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--r-pill);
  padding: 3px 9px;
}

/* ---------- 7. Cards / grids ---------- */
.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 221, 45, 0.34);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid rgba(255, 221, 45, 0.24);
  color: var(--brand);
  margin-block-end: 16px;
}

.card-icon--gold {
  background: var(--gold-soft);
  border-color: rgba(224, 180, 0, 0.28);
  color: var(--gold);
}

.card-icon--trust {
  background: var(--trust-soft);
  border-color: rgba(18, 201, 111, 0.28);
  color: var(--trust);
}

.card-title {
  font-size: 19px;
  margin-block-end: 9px;
}

.card-text {
  color: var(--text-soft);
  font-size: 15.5px;
}

.card-tag {
  display: inline-block;
  margin-block-start: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(224, 180, 0, 0.26);
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

/* feature list with checks */
.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}

.check {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--trust-soft);
  color: var(--trust);
  margin-block-start: 3px;
}

.feature-list li strong {
  display: block;
  font-weight: 600;
}

.feature-list li span {
  color: var(--text-soft);
  font-size: 14.5px;
}

/* ---------- 8. Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

.split--reverse .split-media {
  order: -1;
}

.panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

/* ---------- 9. Servers ---------- */
.server-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.server-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.server-card:hover {
  border-color: rgba(255, 221, 45, 0.4);
  transform: translateY(-3px);
}

.server-card .cc-tile {
  width: 54px;
  height: 38px;
  font-size: 15px;
  border-radius: 10px;
  margin-inline: auto;
  margin-block-end: 12px;
}

.server-name {
  font-weight: 600;
  font-size: 16px;
}

.server-ping {
  font-size: 13px;
  color: var(--brand);
  margin-block-start: 4px;
  direction: ltr;
}

.server-ping--soft {
  color: var(--text-dim);
}

/* ---------- 10. Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.plan:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.plan--featured {
  border-color: rgba(255, 221, 45, 0.5);
  background: linear-gradient(180deg, rgba(255, 221, 45, 0.12), rgba(255, 221, 45, 0.02));
  box-shadow: 0 20px 60px -26px rgba(255, 221, 45, 0.55);
}

.plan-flag {
  position: absolute;
  inset-block-start: -13px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

[dir="ltr"] .plan-flag {
  transform: translateX(-50%);
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
}

.plan-for {
  color: var(--text-dim);
  font-size: 13.5px;
  min-height: 40px;
  margin-block-start: 4px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block: 16px 4px;
  flex-wrap: wrap;
}

.plan-price .amount {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  direction: ltr;
}

.plan-price .cur {
  font-size: 16px;
  color: var(--text-soft);
  font-weight: 600;
}

.plan-price-sar {
  font-size: 13.5px;
  color: var(--gold);
  margin-block-end: 18px;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin-block: 6px 22px;
  font-size: 14.5px;
  color: var(--text-soft);
}

.plan-features li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.plan-features .check {
  width: 20px;
  height: 20px;
  margin-block-start: 3px;
}

.plan .btn {
  margin-block-start: auto;
}

.plan-footnote {
  text-align: center;
  color: var(--text-dim);
  font-size: 13.5px;
  margin-block-start: 22px;
}

.refund-band {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  margin-block-start: 26px;
  padding: 22px 26px;
  border: 1px dashed rgba(18, 201, 111, 0.42);
  border-radius: var(--r-lg);
  background: rgba(18, 201, 111, 0.06);
}

.refund-band strong {
  color: var(--trust);
}

.refund-band p {
  color: var(--text-soft);
  font-size: 14.5px;
}

/* ---------- 11. Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0a0a0a;
  margin-block-end: 16px;
}

.step-title {
  font-size: 18px;
  margin-block-end: 8px;
}

.step-text {
  color: var(--text-soft);
  font-size: 15px;
}

/* ---------- 12. Devices ---------- */
.devices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.device-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.device-chip:hover {
  border-color: rgba(255, 221, 45, 0.4);
  transform: translateY(-2px);
}

.device-chip svg {
  color: var(--brand);
  flex: none;
}

/* ---------- 13. Trial band ---------- */
.band {
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 221, 45, 0.32);
  background: radial-gradient(85% 130% at 12% 0%, rgba(255, 221, 45, 0.2), transparent 62%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.band-title {
  font-size: clamp(23px, 2.8vw, 33px);
}

.band-sub {
  color: var(--text-soft);
  margin-block-start: 12px;
}

.trial-specs {
  display: grid;
  gap: 10px;
}

.trial-spec {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 16px;
  font-size: 15px;
}

.trial-spec svg {
  color: var(--brand);
  flex: none;
}

.trial-spec b {
  font-weight: 600;
}

/* ---------- 14. FAQ ---------- */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.032);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(255, 221, 45, 0.38);
  background: rgba(255, 221, 45, 0.05);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "";
  margin-inline-start: auto;
  width: 11px;
  height: 11px;
  border-inline-end: 2px solid var(--brand);
  border-block-end: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex: none;
}

.faq-item[open] .faq-q::after {
  transform: rotate(225deg);
}

.faq-a {
  padding: 0 20px 20px;
  color: var(--text-soft);
  font-size: 15.5px;
}

/* ---------- 15. Support / contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
  border-color: rgba(255, 221, 45, 0.4);
  transform: translateY(-3px);
}

.contact-card h3 {
  font-size: 17px;
  margin-block-end: 5px;
}

.contact-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  word-break: break-word;
}

.contact-card .card-icon {
  margin-block-end: 0;
}

/* ---------- 16. Footer ---------- */
.site-footer {
  border-block-start: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.6);
  padding-block: 52px 30px;
  margin-block-start: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 15px;
  margin-block-end: 14px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a,
.footer-col p {
  color: var(--text-soft);
  font-size: 14.5px;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-about p {
  margin-block-start: 14px;
  max-width: 40ch;
}

.footer-bottom {
  margin-block-start: 36px;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 13.5px;
}

.trademarks {
  color: var(--text-dim);
  font-size: 12.5px;
  margin-block-start: 18px;
  line-height: 1.7;
}

/* legal / compliance notice */
.compliance {
  margin-block-start: 26px;
  padding: 20px 22px;
  border: 1px solid rgba(224, 180, 0, 0.3);
  border-radius: var(--r-md);
  background: rgba(224, 180, 0, 0.05);
  font-size: 14px;
  color: var(--text-soft);
}

.compliance h4 {
  color: var(--gold);
  font-size: 15px;
  margin-block-end: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* ---------- 17. Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  border-block-start: 1px solid var(--line);
}

/* ---------- 18. Reveal animation ----------
   The hidden state applies ONLY when JS is available (html.js), so the page
   remains fully readable if JavaScript is disabled or blocked. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.7, 0.3, 1);
  /* safety net: even if main.js never runs, content becomes visible by itself */
  animation: reveal-fallback 0.5s ease 2.5s forwards;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes reveal-fallback {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 19. Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px
  ;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.center {
  text-align: center;
}

.mt-lg {
  margin-block-start: 34px;
}

.mt-md {
  margin-block-start: 22px;
}

.ltr-num {
  direction: ltr;
  unicode-bidi: embed;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-block-start: -60px;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--brand);
  color: #0a0a0a;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: inset-block-start 0.2s ease;
}

.skip-link:focus {
  inset-block-start: 0;
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner,
  .split,
  .band {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-media {
    order: 0;
  }

  /* keep the headline first on small screens: copy, then the app mock-up */
  .hero-visual {
    order: 1;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .nav {
    position: fixed;
    inset-block-start: 72px;
    inset-inline: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    padding: 14px;
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    margin-inline-start: 0;
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-link {
    padding: 13px 16px;
    border-radius: var(--r-md);
    font-size: 16px;
  }

  .nav-toggle {
    display: grid;
    margin-inline-start: auto;
  }

  .header-actions .btn {
    display: none;
  }

  .grid--3,
  .grid--2,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-cta .btn,
  .band .btn {
    width: 100%;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-block-end: 76px;
  }

  .site-footer {
    padding-block-end: 90px;
  }
}

@media (max-width: 560px) {
  .logo-img {
    height: 26px;
    width: auto;
  }

  .pricing-grid,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .plan-flag {
    font-size: 11px;
  }

  .trust-row {
    gap: 10px 16px;
  }

  .conn-speed {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 21. Motion preferences / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media print {
  body::before,
  body::after,
  .site-header,
  .mobile-cta {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ==========================================================================
   22. Additional components (stats, security strip, tables, legal block)
   ========================================================================== */

/* stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.stat {
  text-align: center;
  padding: 6px 8px;
}

.stat-num {
  display: block;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-block-start: 6px;
}

/* security strip inside the hero mock */
.sec-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-block: 16px;
}

.sec-strip div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 8px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.45;
}

.sec-strip b {
  display: block;
  color: var(--trust);
  font-size: 13px;
  margin-block-end: 2px;
}

/* signal bars instead of invented ping numbers */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-inline-start: auto;
  flex: none;
}

.bars i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.bars i:nth-child(1) {
  height: 6px;
}
.bars i:nth-child(2) {
  height: 10px;
}
.bars i:nth-child(3) {
  height: 14px;
}
.bars i:nth-child(4) {
  height: 18px;
}

.bars--3 i:nth-child(1) {
  height: 8px;
}
.bars--3 i:nth-child(2) {
  height: 13px;
}
.bars--3 i:nth-child(3) {
  height: 18px;
}

.conn-row.is-best .bars i {
  background: var(--brand);
}

/* mock activation email */
.mail-mock {
  display: grid;
  gap: 12px;
}

.mail-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-block-end: 14px;
  border-block-end: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-soft);
}

.mail-head b {
  color: var(--text);
  font-weight: 600;
}

.key-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  direction: ltr;
  text-align: center;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--brand);
  background: rgba(255, 221, 45, 0.07);
  border: 1px dashed rgba(255, 221, 45, 0.4);
  border-radius: var(--r-md);
  padding: 14px 12px;
  font-size: 15px;
  word-break: break-all;
}

.mail-meta {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

/* comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.025);
  -webkit-overflow-scrolling: touch;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 15px;
}

table.compare caption {
  caption-side: top;
  text-align: start;
  padding: 18px 20px 4px;
  color: var(--text-soft);
  font-size: 14px;
}

table.compare th,
table.compare td {
  padding: 14px 18px;
  text-align: start;
  border-block-end: 1px solid var(--line);
  vertical-align: top;
}

table.compare thead th {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

table.compare thead th:last-child {
  color: var(--brand);
}

table.compare tbody tr:last-child td {
  border-block-end: 0;
}

table.compare tbody th {
  font-weight: 500;
  color: var(--text);
}

table.compare td.no {
  color: var(--text-dim);
}

table.compare td.yes {
  color: var(--brand);
  font-weight: 600;
}

/* payment badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  font-weight: 600;
  direction: ltr;
}

.pay-badge svg {
  color: var(--trust);
  flex: none;
}

.stripe-note {
  margin-block-start: 14px;
  color: var(--text-soft);
  font-size: 14px;
}

.stripe-note strong {
  color: var(--trust);
  direction: ltr;
  display: inline-block;
}

/* "this is the official service" signposting near every exit point */
.official-note {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  margin-block-end: 18px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(18, 201, 111, 0.32);
  background: var(--trust-soft);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.official-note strong {
  color: var(--trust);
}

/* rating badge */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14.5px;
}

.rating-badge .stars {
  color: var(--gold);
  letter-spacing: 2px;
  direction: ltr;
}

.rating-badge strong {
  color: var(--text);
}

/* legal / compliance block, richer variant */
.legal-block {
  border: 1px solid rgba(224, 180, 0, 0.34);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(224, 180, 0, 0.08), rgba(224, 180, 0, 0.02));
  padding: 26px 24px;
}

.legal-block h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  color: var(--gold);
  margin-block-end: 12px;
}

.legal-block p {
  color: var(--text-soft);
  font-size: 15px;
}

.legal-block p + p {
  margin-block-start: 12px;
}

.legal-block ul {
  display: grid;
  gap: 9px;
  margin-block-start: 14px;
}

.legal-block li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 15px;
}

.legal-block li svg {
  color: var(--gold);
  flex: none;
  margin-block-start: 5px;
}

/* generic callout */
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  color: var(--text-soft);
}

.callout svg {
  color: var(--brand);
  flex: none;
  margin-block-start: 3px;
}

.callout strong {
  color: var(--text);
}

/* small footnote list */
.fineprint {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.8;
}

.fineprint p + p {
  margin-block-start: 8px;
}

@media (max-width: 860px) {
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
  }

  .sec-strip {
    grid-template-columns: 1fr;
  }

  .sec-strip div {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: start;
    padding: 10px 12px;
  }

  .sec-strip b {
    margin-block-end: 0;
  }
}

@media (max-width: 560px) {
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  table.compare th,
  table.compare td {
    padding: 12px 14px;
  }
}


/* ==========================================================================
   23. Mobile refinements (phones)

   Desktop rhythm on a 414px screen produced a ~20-screen page: four stacked
   plans alone cost ~2100px. Everything here trims vertical space and turns the
   plan list into a swipeable rail.
   ========================================================================== */
.swipe-hint {
  display: none;
}

@media (max-width: 640px) {
  /* --- vertical rhythm -------------------------------------------------- */
  .section {
    padding-block: 40px;
  }

  .section--tight {
    padding-block: 26px;
  }

  .section-head {
    margin-block-end: 24px;
  }

  .hero {
    padding-block: 22px 26px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-sub {
    margin-block-start: 14px;
    font-size: 15.5px;
  }

  .hero-cta {
    margin-block-start: 20px;
    gap: 10px;
  }

  .hero-note {
    font-size: 13px;
  }

  .band {
    padding: 22px 18px;
  }

  /* --- trust row: an even grid instead of a ragged wrap ----------------- */
  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    margin-block-start: 18px;
    padding-block-start: 18px;
  }

  .trust-item {
    font-size: 12.5px;
    align-items: flex-start;
    line-height: 1.5;
  }

  /* --- tighter boxes ---------------------------------------------------- */
  .card {
    padding: 20px 18px;
  }

  .card-title {
    font-size: 17.5px;
  }

  .card-text {
    font-size: 14.5px;
  }

  .panel,
  .conn-card {
    padding: 16px;
  }

  .step {
    padding: 20px 18px;
  }

  .legal-block {
    padding: 20px 18px;
  }

  .legal-block h3 {
    font-size: 17px;
  }

  .refund-band {
    padding: 18px;
  }

  .contact-card {
    padding: 18px;
  }

  .sec-strip div {
    font-size: 12px;
    padding: 8px 10px;
  }

  .conn-row {
    padding: 9px 11px;
    font-size: 13.5px;
  }

  /* --- servers: compact tiles, nearby locations only --------------------- */
  .server-grid {
    gap: 10px;
  }

  .server-card {
    padding: 12px 10px;
  }

  .server-card .cc-tile {
    width: 44px;
    height: 30px;
    font-size: 12.5px;
    border-radius: 8px;
    margin-block-end: 8px;
  }

  .server-name {
    font-size: 14.5px;
  }

  .server-ping {
    font-size: 11.5px;
  }

  /* the five far-away locations add a screen of scrolling for little value
     on a phone; the callout below the grid still states the full coverage */
  .server-grid .server-card:nth-child(n + 6) {
    display: none;
  }

  .server-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* --- pricing: a swipeable rail instead of four stacked cards ---------- */
  .swipe-hint {
    display: block;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-dim);
    margin-block-end: 4px;
  }

  .pricing-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* full-bleed rail so the next card peeks past the edge */
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-block: 18px 24px;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .plan {
    flex: 0 0 82%;
    scroll-snap-align: center;
    padding: 20px 18px;
  }

  .plan-price {
    margin-block: 12px 4px;
  }

  .plan-price .amount {
    font-size: 34px;
  }

  .plan-for {
    min-height: 0;
  }

  .plan-features {
    margin-block: 4px 18px;
  }

  /* --- the official-site note is multi-line: square off the pill -------- */
  .official-note {
    border-radius: var(--r-lg);
    text-align: start;
    font-size: 13px;
    padding: 14px 16px;
  }

  /* --- trial specs in two columns --------------------------------------- */
  .trial-specs {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .trial-spec {
    font-size: 13px;
    padding: 11px 12px;
    gap: 9px;
  }

  /* --- FAQ and footer density ------------------------------------------ */
  .faq-q {
    font-size: 15.5px;
    padding: 15px 16px;
    gap: 10px;
  }

  .faq-a {
    padding: 0 16px 16px;
    font-size: 14.5px;
  }

  .pay-badge {
    padding: 8px 11px;
    font-size: 12.5px;
    gap: 6px;
  }

  .footer-grid {
    gap: 22px;
  }
}
