/* ==========================================================================
   QHoster 2026 — design system
   Plain CSS, no framework. Dark-mode first with optional light sections.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink-0: #05060c;
  --ink-1: #0a0c16;
  --ink-2: #10131f;
  --ink-3: #161a28;
  --line:   rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --panel:  rgba(255,255,255,.035);
  --panel-2:rgba(255,255,255,.06);
  --text:   #e8ecf3;
  --text-2: #b5bcca;
  --text-3: #818a9c;
  --muted:  #5a6273;

  --cyan:   #22d3ee;
  --blue:   #4f7bff;
  --violet: #8b5cf6;
  --green:  #10b981;
  --amber:  #f59e0b;
  --pink:   #ec4899;

  --grad-1: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);
  --grad-2: linear-gradient(135deg, #4f7bff 0%, #22d3ee 100%);
  --grad-3: linear-gradient(135deg, #10b981 0%, #22d3ee 100%);
  --grad-4: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --grad-warm: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 40px -10px rgba(0,0,0,.6);
  --shadow-2: 0 0 0 1px rgba(255,255,255,.05), 0 20px 50px -20px rgba(0,0,0,.7);
  --glow-cyan: 0 0 40px -5px rgba(34,211,238,.45);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --container: 1240px;
  --container-narrow: 980px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--ink-0);
  color: var(--text);
  line-height: 1.55;
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Background atmosphere */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(60% 50% at 12% -10%, rgba(79,123,255,.20), transparent 70%),
    radial-gradient(50% 40% at 90% 5%, rgba(139,92,246,.18), transparent 70%),
    radial-gradient(40% 30% at 50% 110%, rgba(34,211,238,.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: -0.02em; margin: 0 0 .4em; line-height: 1.12; color: var(--text); }
.h-display { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
.h-section { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -0.025em; }
.h-card    { font-size: 1.18rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-2);
  padding: .4rem .7rem; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--text-2); max-width: 64ch; }
.text-dim { color: var(--text-2); }
.text-mute { color: var(--text-3); }
.gradient-text {
  background: var(--grad-1);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
code, kbd { font-family: var(--font-mono); }
kbd {
  font-size: .78em; padding: 2px 6px; border-radius: 6px;
  background: var(--ink-3); border: 1px solid var(--line-2);
  color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.05) inset;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2rem, var(--container)); margin: 0 auto; }
.container-narrow { width: min(100% - 2rem, var(--container-narrow)); margin: 0 auto; }
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.stack > * + * { margin-top: var(--gap, 1rem); }
.row { display: flex; flex-wrap: wrap; gap: 1rem; }
.row.center { align-items: center; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: 1.25rem; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head .lead { margin: .5rem auto 0; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .lead { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.25rem; border-radius: 12px;
  font-weight: 500; font-size: .95rem;
  border: 1px solid transparent; transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad-1); color: #04121a;
  box-shadow: 0 10px 30px -10px rgba(34,211,238,.6), 0 1px 0 rgba(255,255,255,.4) inset;
}
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(34,211,238,.8), 0 1px 0 rgba(255,255,255,.5) inset; }
.btn-secondary {
  background: var(--panel-2); color: var(--text);
  border-color: var(--line-2); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); }
.btn-ghost { color: var(--text-2); padding: .65rem .9rem; }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: .6rem .9rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.05rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Cards / Panels ---------- */
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: border-color .2s, transform .2s, background .2s;
}
.panel:hover { border-color: var(--line-2); }
.panel.glow { box-shadow: var(--shadow-2); }
.panel.tilt:hover { transform: translateY(-3px); }

.glass {
  background: rgba(20,24,38,.55);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  padding: .85rem 0;
  background: rgba(5,6,12,.65);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; letter-spacing: -0.01em; font-size: 1.05rem;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-1);
  display: grid; place-items: center; color: #04121a; font-weight: 700;
  box-shadow: var(--glow-cyan);
}
.nav-main { display: flex; align-items: center; gap: .2rem; }
.nav-main a, .nav-main .nav-item {
  position: relative;
  padding: .55rem .85rem; border-radius: 10px;
  color: var(--text-2); font-size: .92rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .35rem;
}
.nav-main a:hover, .nav-main .nav-item:hover { color: var(--text); background: var(--panel); }
.nav-main .nav-item .chev { width: 12px; height: 12px; opacity: .6; transition: transform .2s; }
.nav-main .has-mega:hover .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-actions .link { color: var(--text-2); padding: .55rem .8rem; border-radius: 10px; font-size: .92rem; }
.nav-actions .link:hover { color: var(--text); background: var(--panel); }

/* Crypto payment badges */
.nav-crypto { display: flex; align-items: center; gap: .3rem; padding: 0 .3rem; }
.coin { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .15s; }
.coin:hover { transform: scale(1.15); }
.coin-btc  { background: #F7931A; color: #fff; }
.coin-ltc  { background: #345D9D; color: #fff; }
.coin-doge { background: #C2A633; color: #fff; }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  width: min(720px, 92vw);
  padding-top: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s ease, transform .2s ease, visibility 0s linear .15s;
}
.mega-inner {
  background: rgba(12,15,24,.97);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .15s ease, transform .2s ease, visibility 0s linear 0s;
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mega-grid.cols-1 { grid-template-columns: 1fr; }
.mega-item {
  display: block; padding: .8rem .9rem; border-radius: 12px;
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.mega-item:hover { background: var(--panel-2); border-color: var(--line); }
.mega-item .mi-title { font-weight: 600; font-size: .95rem; color: var(--text); display: flex; align-items: center; gap: .5rem; }
.mega-item .mi-desc  { font-size: .82rem; color: var(--text-3); margin-top: 2px; }
.mega-item .mi-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--panel-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--cyan);
}
.mega-foot {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--text-3);
}

/* Mobile nav */
.nav-toggle { display: none; }
@media (max-width: 1024px) {
  .nav-main, .nav-actions .desktop-only { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--panel); border: 1px solid var(--line);
  }
}
.mobile-drawer {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(5,6,12,.92);
  backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s;
  overflow-y: auto;
}
.mobile-drawer.open { opacity: 1; visibility: visible; transition: opacity .25s; }
.mobile-drawer-inner { padding: 1.5rem; max-width: 600px; margin: 0 auto; }
.mobile-drawer .close {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.mobile-group { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.mobile-group h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: .8rem; }
.mobile-group a { display: flex; padding: .8rem .2rem; color: var(--text); font-weight: 500; align-items: center; justify-content: space-between; }
.mobile-group a:hover { color: var(--cyan); }
.mobile-cta { margin-top: 1.5rem; display: grid; gap: .75rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }
.hero h1 { margin-top: 1rem; }
.hero .lead { margin-top: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; margin-top: 1.8rem; color: var(--text-3); font-size: .88rem; }
.hero-trust > span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { color: var(--cyan); }

/* hero visual: animated infrastructure card */
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(34,211,238,.10), rgba(139,92,246,.10));
  border: 1px solid var(--line-2);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(34,211,238,.18), transparent 70%),
    radial-gradient(50% 40% at 20% 80%, rgba(139,92,246,.20), transparent 70%);
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 75%);
}

/* spinning globe */
.globe {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.globe-svg {
  width: 78%; height: 78%; max-width: 460px;
  filter: drop-shadow(0 0 40px rgba(34,211,238,.35));
}
.globe-ring {
  fill: none; stroke: rgba(255,255,255,.20); stroke-width: 1;
}
.globe-ring.major { stroke: rgba(34,211,238,.5); stroke-width: 1.2; }
.globe-dot {
  fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan));
}
.globe-rotate {
  transform-origin: 50% 50%;
  animation: globe-spin 50s linear infinite;
}
@keyframes globe-spin {
  to { transform: rotate(360deg); }
}
.globe-pulse {
  animation: pulse 2.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes pulse {
  0%, 100% { opacity: .4; transform: scale(.8); }
  50%      { opacity: 1;  transform: scale(1.4); }
}

/* location chip cloud */
.location-chips {
  position: absolute; inset: auto 1rem 1rem; display: flex; flex-wrap: wrap; gap: .35rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
  padding: 1rem; border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.loc-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .65rem; border-radius: 999px; font-size: .78rem;
  background: rgba(10,12,22,.7); border: 1px solid var(--line-2);
  color: var(--text-2); backdrop-filter: blur(6px);
}
.loc-chip .flag { font-size: .9rem; line-height: 1; }
.loc-chip .ping {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}

/* ---------- Product Finder (quiz) ---------- */
.finder {
  margin-top: 2.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}
.finder-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.finder-head h3 { margin: 0; font-size: 1.1rem; }
.finder-head .step { font-size: .78rem; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; }
.finder-progress {
  height: 4px; background: var(--ink-3); border-radius: 999px; overflow: hidden; margin: .5rem 0 1.25rem;
}
.finder-progress > span { display: block; height: 100%; background: var(--grad-1); width: 0%; transition: width .35s ease; }
.finder-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; }
@media (max-width: 720px) { .finder-options { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 460px) { .finder-options { grid-template-columns: 1fr; } }
.finder-option {
  padding: 1rem; border-radius: 14px; text-align: left;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .15s, background .15s, transform .15s;
  display: flex; flex-direction: column; gap: .35rem;
}
.finder-option:hover { border-color: var(--cyan); transform: translateY(-2px); background: var(--panel-2); }
.finder-option strong { color: var(--text); font-weight: 600; font-size: .95rem; }
.finder-option span { color: var(--text-3); font-size: .82rem; }
.finder-step { display: none; }
.finder-step.active { display: block; animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.finder-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.finder-result .rec {
  padding: 1.1rem; border-radius: 14px;
  background: linear-gradient(160deg, rgba(34,211,238,.10), rgba(139,92,246,.08));
  border: 1px solid var(--line-2);
}
.finder-result .rec h4 { margin: 0 0 .25rem; font-size: 1rem; }
.finder-result .rec p { margin: 0 0 .75rem; color: var(--text-2); font-size: .87rem; }
.finder-back {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--text-3); font-size: .85rem; margin-top: .9rem;
}
.finder-back:hover { color: var(--text); }

/* ---------- Product bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 1rem;
}
.bento .card {
  grid-column: span 2;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform .2s, border-color .2s, background .2s;
}
.bento .card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.bento .card.span-3 { grid-column: span 3; }
.bento .card.span-4 { grid-column: span 4; }
.bento .card.span-6 { grid-column: span 6; }
.bento .card .best  { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.bento .card h3     { font-size: 1.18rem; margin: .15rem 0 .3rem; }
.bento .card p      { color: var(--text-2); font-size: .9rem; margin: 0 0 .25rem; }
.bento .card .price { font-size: .85rem; color: var(--text-3); margin-top: auto; }
.bento .card .price b { color: var(--text); font-weight: 600; }
.bento .card .cta {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--cyan); font-weight: 500; font-size: .9rem;
  margin-top: .9rem;
}
.bento .card .cta .arrow { transition: transform .2s; }
.bento .card:hover .cta .arrow { transform: translateX(3px); }
.bento .card .icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; color: var(--cyan);
  background: rgba(34,211,238,.10); border: 1px solid rgba(34,211,238,.25);
}
.bento .card .feature-list { list-style: none; padding: 0; margin: .25rem 0 .5rem; display: grid; gap: .25rem; font-size: .85rem; color: var(--text-2); }
.bento .card .feature-list li::before { content: "✓ "; color: var(--green); font-weight: 700; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .card { grid-column: span 2; }
  .bento .card.span-3, .bento .card.span-4, .bento .card.span-6 { grid-column: span 4; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card, .bento .card.span-3, .bento .card.span-4, .bento .card.span-6 { grid-column: span 2; }
}

/* feature card variants */
.bento .card.accent::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(34,211,238,.35), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
  opacity: 0; transition: opacity .2s;
}
.bento .card.accent:hover::after { opacity: 1; }

/* ---------- Pricing cards ---------- */
.pricing-tabs {
  display: inline-flex; padding: 4px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; margin-bottom: 2rem; flex-wrap: wrap;
}
.pricing-tab {
  padding: .55rem 1rem; border-radius: 999px; font-size: .88rem; color: var(--text-2);
  transition: background .15s, color .15s;
}
.pricing-tab.active { background: var(--grad-1); color: #04121a; font-weight: 600; }
.pricing-tab:not(.active):hover { color: var(--text); background: var(--panel-2); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; align-items: stretch; }
.plan {
  padding: 1.6rem; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: relative; transition: transform .2s, border-color .2s;
}
.plan:hover { transform: translateY(-3px); border-color: var(--line-2); }
.plan .name { font-size: 1.05rem; font-weight: 600; margin: 0; }
.plan .best { font-size: .8rem; color: var(--text-3); margin-top: .25rem; min-height: 2.5em; }
.plan .price { margin: 1rem 0 .15rem; display: flex; align-items: baseline; gap: .25rem; }
.plan .price .amount { font-size: 2.1rem; font-weight: 600; letter-spacing: -0.025em; }
.plan .price .period { color: var(--text-3); font-size: .9rem; }
.plan .setup { font-size: .78rem; color: var(--text-3); margin-bottom: 1rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; font-size: .88rem; }
.plan ul li { display: flex; gap: .55rem; align-items: flex-start; color: var(--text-2); }
.plan ul li svg { flex: 0 0 16px; margin-top: 3px; color: var(--green); }
.plan .specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-bottom: 1rem; font-size: .8rem; }
.plan .specs div { background: var(--panel); border: 1px solid var(--line); padding: .5rem .65rem; border-radius: 10px; }
.plan .specs div b { color: var(--text); display: block; font-weight: 600; font-size: .9rem; }
.plan .specs div span { color: var(--text-3); }
.plan .btn { margin-top: auto; }
.plan.popular {
  background:
    linear-gradient(180deg, rgba(34,211,238,.08), rgba(139,92,246,.06)),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border-color: rgba(34,211,238,.4);
  box-shadow: 0 30px 80px -30px rgba(34,211,238,.35);
}
.plan.popular::before {
  content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: .35rem .75rem; border-radius: 999px;
  background: var(--grad-1); color: #04121a;
}

/* ---------- Stats / trust ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 1.25rem; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px solid var(--line);
}
.stat .num {
  font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em;
  background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat .lbl { color: var(--text-3); font-size: .85rem; margin-top: .35rem; }

/* ---------- Globe section ---------- */
.world {
  position: relative;
  background: linear-gradient(180deg, rgba(34,211,238,.06), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  overflow: hidden;
}
.world-map {
  position: relative;
  aspect-ratio: 2 / 1;
  margin: 0 auto;
  background:
    radial-gradient(circle at 50% 50%, rgba(34,211,238,.06), transparent 60%);
}
.world-map svg { width: 100%; height: 100%; }
.world-map .land {
  fill: rgba(34,211,238,.07);
  stroke: rgba(34,211,238,.18);
  stroke-width: .8;
  stroke-linejoin: round;
}
.world-map .dot {
  fill: var(--cyan);
  filter: drop-shadow(0 0 6px var(--cyan));
  cursor: pointer;
  transition: transform .15s;
}
.world-map .dot:hover { transform: scale(1.4); }
.world-map .ping {
  fill: none; stroke: var(--cyan); stroke-width: 1.2;
  transform-origin: center; transform-box: fill-box;
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(3.5); opacity: 0;  }
}
.world-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .6rem; margin-top: 1.5rem;
}
.world-list .pin {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .75rem; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line);
  font-size: .88rem;
}
.world-list .pin .flag { font-size: 1.05rem; }
.world-list .pin .reg { color: var(--text-3); font-size: .75rem; }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.cmp {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: .9rem;
}
.cmp th, .cmp td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.cmp th { background: var(--panel); color: var(--text-3); font-weight: 500; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.cmp td b { color: var(--text); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .check { color: var(--green); }
.cmp .x { color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 880px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel);
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--line-2); background: var(--panel-2); }
.faq summary {
  list-style: none; padding: 1.1rem 1.25rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 500; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--text-3); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; transform: rotate(0deg); color: var(--cyan); }
.faq .a { padding: 0 1.25rem 1.2rem; color: var(--text-2); font-size: .92rem; }

/* ---------- Use cases ---------- */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 980px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .usecases { grid-template-columns: 1fr; } }
.usecase {
  padding: 1.4rem; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .15s, border-color .15s, background .15s;
}
.usecase:hover { transform: translateY(-2px); border-color: var(--line-2); background: var(--panel-2); }
.usecase .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(139,92,246,.12); color: var(--violet); border: 1px solid rgba(139,92,246,.3); }
.usecase h4 { margin: 0; font-size: 1rem; }
.usecase p { margin: 0; color: var(--text-2); font-size: .88rem; }
.usecase .lnk { font-size: .85rem; color: var(--cyan); font-weight: 500; margin-top: .5rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center; padding: clamp(3rem,6vw,5rem);
  background:
    radial-gradient(40% 80% at 50% 0%, rgba(34,211,238,.20), transparent),
    radial-gradient(40% 80% at 50% 100%, rgba(139,92,246,.20), transparent),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
}
.final-cta .h-section { margin-bottom: .5rem; }
.final-cta .actions { display: inline-flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Migration / help band ---------- */
.help-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 980px) { .help-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .help-band { grid-template-columns: 1fr; } }
.help-card {
  padding: 1.4rem; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .35rem;
  transition: border-color .2s, transform .2s;
}
.help-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.help-card .ic { color: var(--cyan); }
.help-card h4 { margin: .25rem 0; font-size: 1rem; }
.help-card p  { margin: 0; color: var(--text-2); font-size: .85rem; flex: 1; }
.help-card .lnk { font-size: .85rem; color: var(--cyan); margin-top: .6rem; }

/* ---------- Floating CTA + sticky mobile bar ---------- */
.fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 55;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1rem; border-radius: 999px;
  background: var(--grad-1); color: #04121a; font-weight: 600;
  box-shadow: 0 14px 40px -10px rgba(34,211,238,.6);
}
.fab:hover { transform: translateY(-2px); }
@media (max-width: 720px) { .fab { display: none; } }

.sticky-mobile {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: rgba(5,6,12,.92);
  border-top: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  display: none; gap: .5rem; justify-content: space-between; align-items: center;
}
@media (max-width: 720px) { .sticky-mobile { display: flex; } }
.sticky-mobile .text { font-size: .82rem; color: var(--text-2); }
.sticky-mobile .text b { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 4rem 0 2rem; border-top: 1px solid var(--line);
  margin-top: 5rem;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(34,211,238,.05), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-brand p { color: var(--text-2); font-size: .9rem; margin: 1rem 0; max-width: 32ch; }
.footer-col h5 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 1rem; }
.footer-col a { display: block; padding: .35rem 0; color: var(--text-2); font-size: .9rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  color: var(--text-3); font-size: .82rem;
}
.payments { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.payments .pm {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .55rem; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--line);
  font-size: .75rem; color: var(--text-2);
}
.payments .pm svg { color: var(--cyan); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: clamp(3rem,5vw,4.5rem) 0 clamp(2rem,4vw,3.5rem);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(79,123,255,.20), transparent),
    radial-gradient(40% 30% at 80% 10%, rgba(139,92,246,.15), transparent);
}
.page-hero .crumb { font-size: .82rem; color: var(--text-3); margin-bottom: 1rem; }
.page-hero .crumb a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: .25rem 0 .75rem; letter-spacing: -0.03em; }
.page-hero .lead { font-size: 1.05rem; }
.page-hero .actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
@media (max-width: 880px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* meta-strip near pricing */
.assurance-strip {
  display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center;
  font-size: .85rem; color: var(--text-3); margin-top: 1.5rem;
}
.assurance-strip span { display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- Selector blocks (OS / location / RAM etc) ---------- */
.selector { display: flex; flex-wrap: wrap; gap: .5rem; }
.selector-pill {
  padding: .55rem .85rem; border-radius: 10px; font-size: .85rem;
  background: var(--panel); border: 1px solid var(--line); color: var(--text-2);
  transition: background .15s, color .15s, border-color .15s;
}
.selector-pill.active, .selector-pill:hover { color: var(--text); border-color: var(--cyan); background: rgba(34,211,238,.08); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); margin: 2rem 0; }
.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.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;
}

/* ---------- Animations on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .globe-rotate, .globe-pulse, .ping { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Focus ring ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 8px;
}

/* ========================================================================
   KVM Configurator — 2-step plan builder
   ======================================================================== */

/* Step 1 header */
.cfg-s1-head { margin-bottom: 1.4rem; }

/* Location tabs */
.cfg-loc-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.8rem;
}
.cfg-loc-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .85rem .75rem;
  cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .15s;
  text-align: center;
}
.cfg-loc-tab:hover { border-color: var(--line-2); transform: translateY(-1px); }
.cfg-loc-tab.active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 20px -8px rgba(34,211,238,.3);
  background: rgba(34,211,238,.04);
}
.cfg-loc-flag { font-size: 1.6rem; line-height: 1; }
.cfg-loc-name { font-size: .9rem; font-weight: 700; color: var(--text); }
.cfg-loc-note { font-size: .72rem; color: var(--text-3); }
.cfg-loc-ip-badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  color: var(--cyan); background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.25);
  border-radius: 20px; padding: .15rem .55rem; margin-top: .1rem;
}

@media (max-width: 640px) {
  .cfg-loc-tabs { grid-template-columns: repeat(2, 1fr); }
}

/* Static plans location tabs */
.plans-loc-tabs {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.plans-loc-tab {
  display: flex; align-items: center; gap: .45rem;
  background: none; border: none;
  border-bottom: 2px solid transparent;
  padding: .6rem 1rem;
  margin-bottom: -1px;
  cursor: pointer; font-size: .9rem; font-weight: 500;
  color: var(--text-2);
  transition: color .15s, border-color .15s;
}
.plans-loc-tab:hover { color: var(--text); border-bottom-color: var(--line-2); }
.plans-loc-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.plans-loc-note {
  font-size: .75rem; font-weight: 400; color: var(--text-3);
}
@media (max-width: 640px) {
  .plans-loc-tab { padding: .5rem .7rem; font-size: .82rem; }
  .plans-loc-note { display: none; }
}

/* Plan cards grid */
.cfg-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cfg-plan-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  user-select: none;
}
.cfg-plan-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cfg-plan-card.cfg-plan-popular { border-color: rgba(139,92,246,.35); }
.cfg-plan-card.active {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 1px var(--cyan), 0 0 30px -10px rgba(34,211,238,.25);
  transform: translateY(-2px);
}

.cfg-popular-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--violet); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .22rem .75rem; border-radius: 20px; white-space: nowrap;
}

/* Checkmark circle */
.cfg-plan-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .8rem;
  color: transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.cfg-plan-card.active .cfg-plan-check {
  background: var(--cyan); border-color: var(--cyan); color: #000;
}

.cfg-plan-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: .25rem;
}
.cfg-plan-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.cfg-plan-price { font-size: 1.65rem; font-weight: 800; color: var(--text); margin-bottom: .7rem; line-height: 1; }
.cfg-plan-period { font-size: .9rem; font-weight: 400; color: var(--text-3); }

.cfg-plan-specs {
  list-style: none; padding: 0; margin: 0 0 .5rem;
  display: grid; gap: .3rem;
}
.cfg-plan-specs li { font-size: .82rem; color: var(--text-2); }

/* ── Step 2 ──────────────────────────────────────────────────────────── */
.cfg-s2 {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.cfg-back {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.6rem; padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.cfg-field { margin-bottom: 1.6rem; }

.cfg-label {
  display: block;
  font-size: .75rem; font-weight: 700;
  color: var(--text-3); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .6rem;
}

/* Extra-cost badge on pills */
.cfg-pill-extra {
  display: inline-block;
  font-size: .7rem; font-weight: 700; color: var(--amber);
  background: rgba(245,158,11,.12);
  border-radius: 4px; padding: .1rem .35rem; margin-left: .2rem; vertical-align: middle;
}

/* ── Add-on rows ─────────────────────────────────────────────────────── */
.cfg-addons { display: grid; gap: .55rem; }

.cfg-addon {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .65rem 1rem;
  transition: border-color .15s;
}
.cfg-addon:has(.cfg-qty-active) { border-color: var(--line-2); }

.cfg-addon-info { display: flex; align-items: baseline; gap: .65rem; flex: 1; }
.cfg-addon-label { font-size: .88rem; color: var(--text-2); }
.cfg-addon-price { font-size: .78rem; }

.cfg-addon-qty { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }

.cfg-qty-btn {
  width: 28px; height: 28px; border-radius: 7px;
  border: 1px solid var(--line-2); background: var(--ink-3);
  color: var(--text-2); font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.cfg-qty-btn:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(34,211,238,.06); }

.cfg-qty-val {
  min-width: 30px; text-align: center;
  font-size: .9rem; font-weight: 700; color: var(--text-3);
  transition: color .15s;
}
.cfg-qty-val.cfg-qty-active { color: var(--cyan); }

/* ── Sidebar summary ─────────────────────────────────────────────────── */
.cfg-sidebar { position: sticky; top: 96px; height: fit-content; }
.cfg-summary { padding: 1.3rem; }

.cfg-summary-rows { display: grid; gap: .45rem; margin-bottom: .7rem; }

.cfg-sum-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .87rem; color: var(--text-2);
}
.cfg-sum-row-add { color: var(--cyan); font-size: .82rem; }

.cfg-summary-divider { height: 1px; background: var(--line-2); margin: .8rem 0; }

.cfg-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 700; font-size: .92rem; color: var(--text);
}
.cfg-total-price { font-size: 1.5rem; font-weight: 800; color: var(--cyan); }

.cfg-order-disabled { pointer-events: none; opacity: .45; }

/* Configurator animations */
@keyframes cfg-total-pop {
  0%   { transform: scale(1.18); color: #fff; }
  60%  { transform: scale(1.06); }
  100% { transform: scale(1); color: var(--cyan); }
}
.cfg-total-pop { animation: cfg-total-pop .3s cubic-bezier(.22,.68,0,1.4) both; }

@keyframes cfg-row-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.cfg-sum-row-add { animation: cfg-row-in .2s ease-out both; }

@keyframes cfg-qty-bump {
  0%   { transform: scale(1.45); color: var(--cyan); }
  100% { transform: scale(1); }
}
.cfg-qty-bump { animation: cfg-qty-bump .22s cubic-bezier(.22,.68,0,1.5) both; }

@keyframes cfg-btn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,238,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
.cfg-btn-pulse { animation: cfg-btn-pulse .5s ease-out both; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .cfg-plans { grid-template-columns: repeat(2, 1fr); }
  .cfg-s2    { grid-template-columns: 1fr; }
  .cfg-sidebar { position: static; }
}
@media (max-width: 560px) {
  .cfg-plans { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   Dedicated Servers — interactive browser
   ══════════════════════════════════════════════════════════════════ */

/* Mobile filter toggle */
.ds-mobile-toggle {
  display: none; width: 100%; margin-bottom: 1rem;
  align-items: center; justify-content: center; gap: .5rem;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .6rem 1rem;
  font-size: .88rem; font-weight: 600; cursor: pointer;
  color: var(--text);
}
.ds-badge {
  background: var(--cyan); color: #000;
  font-size: .68rem; font-weight: 800; border-radius: 99px;
  padding: .15rem .45rem; min-width: 1.1rem; text-align: center;
}

/* Layout */
.ds-wrap { display: flex; gap: 1.75rem; align-items: flex-start; }

/* Sidebar */
.ds-sidebar { width: 240px; flex-shrink: 0; }
.ds-scrim   { display: none; }
.ds-sidebar-panel {
  position: sticky; top: 90px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 1.2rem 1.1rem;
  max-height: calc(100vh - 110px); overflow-y: auto;
  scrollbar-width: none;
}
.ds-sidebar-panel::-webkit-scrollbar { display: none; }
.ds-sidebar-head {
  display: flex; align-items: center; gap: .4rem;
  font-size: .9rem; font-weight: 700; margin-bottom: 1.2rem;
}
.ds-clear-btn { margin-left: auto; font-size: .75rem !important; padding: .2rem .55rem !important; }
.ds-sidebar-close { display: none; background: none; border: none; cursor: pointer; color: var(--text-2); padding: 0 .1rem; }

/* Filter groups */
.ds-filter-group { margin-bottom: 1.15rem; }
.ds-filter-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: .45rem;
}
.ds-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.ds-chip {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 20px; padding: .22rem .65rem;
  font-size: .75rem; font-weight: 500; cursor: pointer;
  color: var(--text-2); white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.ds-chip:hover  { border-color: var(--line-2); color: var(--text); }
.ds-chip.active { background: rgba(34,211,238,.1); border-color: var(--cyan); color: var(--cyan); }

/* Price inputs */
.ds-price-inputs { display: flex; align-items: center; gap: .4rem; }
.ds-price-field {
  display: flex; align-items: center; flex: 1;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .3rem .6rem;
  font-size: .8rem; color: var(--text-3); gap: .25rem;
  transition: border-color .15s;
}
.ds-price-field:focus-within { border-color: var(--cyan); }
.ds-price-field input {
  background: none; border: none; outline: none;
  width: 100%; color: var(--text); font-size: .8rem; min-width: 0;
}
.ds-price-sep { color: var(--text-3); font-size: .85rem; flex-shrink: 0; }

/* Main area */
.ds-main { flex: 1; min-width: 0; }
.ds-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.ds-result-count { font-size: .88rem; color: var(--text-2); }
.ds-sort-row   { display: flex; align-items: center; gap: .5rem; }
.ds-sort-label { font-size: .8rem; color: var(--text-3); }
.ds-sort-select {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .35rem .75rem;
  font-size: .82rem; color: var(--text); cursor: pointer; outline: none;
  transition: border-color .15s;
}
.ds-sort-select:focus { border-color: var(--cyan); }

/* Server card grid */
.ds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Card */
.ds-card {
  display: flex; flex-direction: column; gap: .75rem;
  transition: border-color .2s, box-shadow .2s;
}
.ds-card:hover {
  border-color: rgba(34,211,238,.3);
  box-shadow: 0 0 0 1px rgba(34,211,238,.08), 0 12px 40px -10px rgba(0,0,0,.45);
}

/* Card head */
.ds-card-head {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
}
.ds-brand {
  font-size: .62rem; font-weight: 900; letter-spacing: .07em;
  border-radius: 4px; padding: .18rem .5rem; flex-shrink: 0;
}
.ds-brand-amd    { background: rgba(237,28,36,.14);  color: #f04040; }
.ds-brand-intel  { background: rgba(0,113,197,.16);  color: #4da6ff; }
.ds-brand-nvidia { background: rgba(118,185,0,.15);  color: #76b900; }

.ds-special-badge {
  font-size: .62rem; font-weight: 800; letter-spacing: .06em;
  border-radius: 4px; padding: .18rem .5rem;
}
.ds-badge-gpu     { background: rgba(168,85,247,.15); color: #c084fc; }
.ds-badge-storage { background: rgba(251,146,60,.12); color: #fb923c; }

.ds-cat-pill {
  margin-left: auto; font-size: .68rem; color: var(--text-3);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 20px; padding: .15rem .5rem;
}

/* Card name */
.ds-card-name { font-size: .98rem; font-weight: 700; line-height: 1.3; }

/* Spec grid */
.ds-card-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .85rem;
}
.ds-spec           { display: flex; flex-direction: column; gap: .04rem; }
.ds-spec b         { font-size: .8rem; color: var(--text); font-weight: 600; }
.ds-spec span      { font-size: .68rem; color: var(--text-3); display: flex; align-items: center; gap: .3rem; }

/* Storage type badges inside spec */
.ds-stype {
  font-size: .62rem; font-weight: 700; border-radius: 3px; padding: .1rem .35rem;
  display: inline-block;
}
.ds-stype-nvme  { background: rgba(34,211,238,.12); color: var(--cyan); }
.ds-stype-ssd   { background: rgba(79,123,255,.14); color: #7fa8ff; }
.ds-stype-hdd   { background: rgba(148,163,184,.1); color: var(--text-3); }
.ds-stype-mixed { background: rgba(168,85,247,.13); color: #c084fc; }

/* Location chips */
.ds-locs { display: flex; flex-wrap: wrap; gap: .3rem; }
.ds-loc-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .7rem; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 20px;
  padding: .16rem .55rem; color: var(--text-2);
}
.ds-loc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  box-shadow: 0 0 4px var(--green);
}
.ds-loc-dot-hi { background: var(--cyan); box-shadow: 0 0 5px var(--cyan); }
.ds-avail { color: var(--text-3); font-size: .66rem; }

/* Card footer */
.ds-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-top: auto;
  padding-top: .65rem; border-top: 1px solid var(--line);
}
.ds-price {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
}
.ds-price span { font-size: .82rem; font-weight: 400; color: var(--text-3); }

/* Empty state */
.ds-empty { text-align: center; padding: 3.5rem 1rem; color: var(--text-2); }
.ds-empty p { margin: .7rem 0 1rem; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ds-grid { grid-template-columns: 1fr; }
  .ds-sidebar { width: 210px; }
}
@media (max-width: 860px) {
  .ds-mobile-toggle { display: flex; }
  .ds-sidebar {
    position: fixed; inset: 0; z-index: 300;
    width: 100%; pointer-events: none;
  }
  .ds-sidebar.open { pointer-events: all; }
  .ds-scrim {
    display: block; position: absolute; inset: 0;
    background: rgba(0,0,0,.65); opacity: 0; transition: opacity .25s;
  }
  .ds-sidebar.open .ds-scrim { opacity: 1; }
  .ds-sidebar-panel {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: min(300px, 85vw); border-radius: 0;
    transform: translateX(-100%); transition: transform .25s cubic-bezier(.4,0,.2,1);
    max-height: 100vh; overflow-y: auto;
  }
  .ds-sidebar.open .ds-sidebar-panel { transform: translateX(0); }
  .ds-sidebar-close { display: flex; }
  .ds-wrap { display: block; }
}

/* ════════════════════════════════════════════════════════════════════════
   cPanel Hosting — Billing toggle & plan cards
   ════════════════════════════════════════════════════════════════════════ */

/* Billing toggle */
.billing-toggle-wrap {
  display: flex; justify-content: center;
  margin: 0 0 2.5rem;
}
.billing-toggle {
  display: inline-flex; align-items: center; gap: .25rem;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: .25rem;
}
.billing-tab {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1.1rem; border-radius: 9px; font-size: .88rem; font-weight: 500;
  color: var(--text-2); border: none; background: transparent;
  cursor: pointer; transition: color .15s, background .15s;
  white-space: nowrap;
}
.billing-tab:hover { color: var(--text-1); }
.billing-tab.active {
  background: var(--bg-3); color: var(--text-1);
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.billing-save-pill {
  font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(34,197,94,.15); color: #4ade80;
  border-radius: 20px; padding: .15rem .5rem;
}
.billing-best-pill {
  font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(34,211,238,.15); color: var(--cyan);
  border-radius: 20px; padding: .15rem .5rem;
}

/* Plan cards grid */
.cp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* Individual plan card */
.cp-card {
  position: relative;
  display: flex; flex-direction: column;
  gap: 0;
  padding: 1.75rem;
}
.cp-card-popular {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 28px rgba(34,211,238,.12);
}

/* Popular / cheapest badges */
.cp-popular-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--cyan); color: #000;
  padding: .22rem .9rem; border-radius: 0 0 8px 8px;
}
.cp-cheapest-badge {
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(34,197,94,.14); color: #4ade80;
  border-radius: 20px; padding: .2rem .65rem;
  white-space: nowrap;
}

.cp-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: .35rem;
  padding-top: .5rem; /* room for popular badge */
}
.cp-card-popular .cp-card-top { padding-top: 1rem; }

.cp-plan-name {
  font-size: 1.15rem; font-weight: 700; color: var(--text-1);
}

.cp-best-for {
  font-size: .82rem; color: var(--text-3);
  margin: 0 0 1.15rem;
}

/* Price block */
.cp-price-block { margin-bottom: 1.25rem; }

.cp-price-row {
  display: flex; align-items: baseline; gap: .25rem;
  margin-bottom: .2rem;
}
.cp-price-amount {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--text-1); line-height: 1;
}
.cp-price-mo {
  font-size: .9rem; color: var(--text-3); font-weight: 400;
}
.cp-price-note {
  font-size: .78rem; color: var(--text-3);
  margin-bottom: .45rem;
}

/* Setup fee tag (amber — shows when setup > $0) */
.cp-setup-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .75rem; font-weight: 600;
  color: #fbbf24; background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.25);
  border-radius: 6px; padding: .25rem .6rem;
  margin-bottom: .35rem;
}
.cp-setup-tag::before { content: '⚠'; font-size: .8rem; }

/* No-setup confirmation (green) */
.cp-no-setup {
  font-size: .75rem; font-weight: 600;
  color: #4ade80;
  margin-bottom: .35rem;
}

/* Save tag (green savings badge) */
.cp-save-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  color: #4ade80; background: rgba(34,197,94,.12);
  border-radius: 20px; padding: .18rem .6rem;
}

/* Feature list */
.cp-features {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  flex: 1;
}
.cp-features li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .84rem; color: var(--text-2);
}
.cp-features li svg {
  flex-shrink: 0; color: var(--cyan);
}

/* btn-block utility */
.btn-block { width: 100%; justify-content: center; margin-top: auto; }

/* Comparison table price chip */
.cmp-price {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  color: var(--text-3);
  margin-left: .4rem;
  opacity: .8;
}

/* ── cPanel responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cp-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .billing-toggle { flex-direction: column; }
}
@media (max-width: 560px) {
  .billing-tab { padding: .45rem .75rem; font-size: .82rem; }
  .billing-best-pill, .billing-save-pill { display: none; }
  .cp-price-amount { font-size: 2rem; }
}
