/* ==========================================================================
   Geeky Digital — Dedicated Servers
   Brand: BR Sonoma · Blue #0372C5 · Ink #2E2E2E
   ========================================================================== */

@font-face { font-family: "BR Sonoma"; src: url("../fonts/BRSonoma-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BR Sonoma"; src: url("../fonts/BRSonoma-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "BR Sonoma"; src: url("../fonts/BRSonoma-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "BR Sonoma"; src: url("../fonts/BRSonoma-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0e1013;
  --bg-2: #13161a;
  --surface: #181b20;
  --surface-2: #1f232a;
  --border: #2a2f37;
  --border-2: #363c46;
  --text: #edeef1;
  --muted: #9aa2ae;
  --faint: #6b7380;
  --brand: #0372c5;
  --brand-hover: #0a82dc;
  --accent: #64b5ff;
  --accent-soft: rgba(3, 114, 197, .14);
  --ok: #3ecf8e;
  --warn: #f5b546;
  --info: #8ea4ff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
  --font: "BR Sonoma", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.mono { font-family: var(--mono); font-size: .92em; }
.fi { border-radius: 3px; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { border-color: var(--border-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--faint); background: rgba(255,255,255,.05); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }
.arrow { font-size: 1.05em; line-height: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px;
  font-size: 12px; font-weight: 600; border: 1px solid var(--border); background: var(--surface-2); white-space: nowrap;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { color: var(--ok); border-color: rgba(62,207,142,.3); background: rgba(62,207,142,.08); }
.badge-warn { color: var(--warn); border-color: rgba(245,181,70,.3); background: rgba(245,181,70,.08); }
.badge-info { color: var(--info); border-color: rgba(142,164,255,.3); background: rgba(142,164,255,.08); }
.badge-series { color: var(--accent); border-color: rgba(100,181,255,.28); background: var(--accent-soft); }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--border); background: #0b0d10; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; color: var(--muted); }
.topbar a { color: var(--accent); font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(100,181,255,.15); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,16,19,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .mark { width: 38px; height: auto; color: var(--brand); }
.brand .wordmark { font-weight: 500; font-size: 19px; letter-spacing: -.01em; }
.brand .product {
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: var(--muted);
  padding: 3px 8px; border: 1px solid var(--border-2); border-radius: 6px; text-transform: uppercase;
}
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--muted); font-weight: 500; white-space: nowrap; transition: color .15s, background .15s; }
.header-actions .btn { white-space: nowrap; }
/* Room for the cart button next to the account buttons. */
@media (max-width: 1280px) and (min-width: 1081px) {
  .site-header .container { gap: 16px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 14.5px; }
  .header-actions { gap: 8px; }
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.04); }
.nav a.nav-ext { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.currency-switch { display: inline-flex; padding: 3px; border: 1px solid var(--border-2); border-radius: 9px; background: var(--bg-2); }
.currency-switch button {
  border: 0; background: transparent; padding: 5px 10px; border-radius: 6px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em;
}
.currency-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-2); }

.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border-2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- Shared motion ---------- */
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Stat strip ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-right: 1px solid var(--border); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 16px; }
.section-head p { color: var(--muted); max-width: 520px; margin-top: 14px; }

/* ---------- Location picker ---------- */
.region-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tab {
  padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border-2); background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--muted); transition: all .15s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.loc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.loc-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 500; transition: all .15s;
}
.loc-chip:hover { border-color: var(--border-2); }
.loc-chip[aria-pressed="true"] { border-color: var(--brand); background: var(--accent-soft); }
.loc-chip small { color: var(--faint); font-weight: 400; }
.tab small { color: var(--faint); font-weight: 500; margin-left: 4px; }
.tab[aria-selected="true"] small { color: inherit; opacity: .55; }

/* ---------- World map ---------- */
.world {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  background: radial-gradient(700px 360px at 45% 40%, rgba(3,114,197,.12), transparent 70%), var(--bg-2);
}
.world-map { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 100%; }
.world-stage { --k: 1; position: relative; width: 100%; aspect-ratio: 1000 / 394.4; transform-origin: 0 0; transition: transform .9s cubic-bezier(.2, .75, .2, 1); will-change: transform; }
.world-stage img { width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.pin {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; transform: scale(calc(1 / var(--k))); transition: transform .9s cubic-bezier(.2, .75, .2, 1), opacity .3s;
}
.pin .dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(100,181,255,.18), 0 0 14px rgba(100,181,255,.8); transition: all .2s; }
.pin .dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--accent); animation: ping 2.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.pin .label {
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font-size: 12.5px; font-weight: 600; line-height: 1; padding: 6px 9px; border-radius: 7px;
  background: rgba(14,16,19,.9); border: 1px solid var(--border-2); color: var(--text); opacity: 0; transition: opacity .2s;
}
.pin .label small { color: var(--faint); font-weight: 500; margin-left: 4px; }
.pin.left .label { left: auto; right: 24px; }
.pin:hover .label, .pin:focus-visible .label, .pin[aria-pressed="true"] .label, .world-map.zoomed .pin.in .label { opacity: 1; }
.pin:hover .dot { transform: scale(1.3); }
.pin[aria-pressed="true"] { z-index: 2; }
.pin[aria-pressed="true"] .dot { background: #fff; box-shadow: 0 0 0 4px var(--brand), 0 0 22px var(--accent); }
.pin[aria-pressed="true"] .label { border-color: var(--brand); }
.world-map.zoomed .pin:not(.in) { opacity: .3; }
.map-hint { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: var(--faint); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pin .dot::after { animation: none; } .world-stage, .pin { transition: none; } }

.map-panel { border-left: 1px solid var(--border); background: rgba(14,16,19,.55); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.mp-head { display: flex; align-items: center; gap: 12px; }
.mp-head .fi { font-size: 26px; border-radius: 4px; }
.mp-head h3 { font-size: 22px; }
.mp-head small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.mp-price { padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(3,114,197,.35); }
.mp-price small { font-size: 12px; color: var(--muted); }
.mp-price b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.mp-price b span { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.mp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.mp-facts small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.mp-facts b { font-size: 14px; font-weight: 600; }
.mp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 13.5px; }
.mp-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.mp-list li:last-child { border-bottom: 0; }
.mp-list li span:first-child { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-actions { display: grid; gap: 8px; margin-top: auto; }

/* ---------- Server table ---------- */
.server-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.server-table th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 14px 18px; background: var(--bg-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.server-table td { padding: 18px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 14.5px; }
.server-table tr:last-child td { border-bottom: 0; }
.server-table tbody tr { transition: background .15s; }
.server-table tbody tr:hover { background: rgba(255,255,255,.02); }
.cpu-cell { min-width: 210px; }
.cpu-cell b { display: block; font-size: 15.5px; font-weight: 600; }
.cpu-cell span { color: var(--muted); font-size: 13px; }
.cpu-cell .badge { margin-top: 6px; }
.spec-cell b { display: block; font-weight: 600; }
.spec-cell span { color: var(--muted); font-size: 13px; }
.spec-cell[data-label="Availability"] { white-space: nowrap; }
.spec-cell[data-label="Storage"] b { white-space: nowrap; }
.price-cell { text-align: right; white-space: nowrap; }
.price-cell b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.price-cell span { display: block; color: var(--faint); font-size: 12px; }
.action-cell { text-align: right; width: 1%; }
.table-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--muted); }
.table-foot a { color: var(--accent); font-weight: 600; }
.empty { padding: 56px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--border-2); border-radius: var(--radius); }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--surface); padding: 32px 28px; }
.feature .ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Region / network cards ---------- */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.region-card { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 24px; }
.region-card h3 { font-size: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.region-card h3 small { font-size: 13px; color: var(--faint); font-weight: 500; letter-spacing: 0; }
.region-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; }
.region-card li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; font-size: 14.5px; transition: background .15s; }
.region-card li a:hover { background: rgba(255,255,255,.04); }
.region-card li a .count { margin-left: auto; color: var(--faint); font-size: 13px; }

/* ---------- Cross-sell VPS ---------- */
.crosssell {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 48px;
  border-radius: 20px; border: 1px solid var(--border-2); position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(3,114,197,.25), transparent 70%), var(--surface);
}
.crosssell h2 { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 12px; }
.crosssell p { color: var(--muted); }
.crosssell-card { border: 1px solid var(--border-2); border-radius: var(--radius); padding: 22px; background: rgba(14,16,19,.6); }
.crosssell-card .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.crosssell-card .row:last-of-type { border-bottom: 0; }
.crosssell-card .row span:first-child { color: var(--muted); }
.crosssell-card .btn { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 112px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(3,114,197,.22), transparent); pointer-events: none; }
.cta .container { position: relative; }
.cta .mark-bg { width: 72px; margin: 0 auto 28px; color: var(--brand); }
.cta h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 0 auto 18px; max-width: 760px; }
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 32px; }
.cta .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #0b0d10; padding: 64px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--muted); margin: 18px 0 20px; max-width: 300px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13px; }
.footer-bottom .pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-bottom .pay span { padding: 3px 9px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: -60% -10% auto 50%; height: 600px; background: radial-gradient(closest-side, rgba(3,114,197,.2), transparent); pointer-events: none; }
.page-head .container { position: relative; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); margin: 14px 0 14px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-head h1 .fi { font-size: .7em; }
.page-head p { color: var(--muted); max-width: 640px; font-size: 17px; }

/* ---------- Catalog ---------- */
.catalog { padding: 40px 0 104px; }
.catalog .server-table td { padding: 16px 12px; }
.catalog .server-table th { padding: 14px 12px; }
.catalog .server-table td:first-child, .catalog .server-table th:first-child { padding-left: 18px; }
.catalog .server-table td:last-child, .catalog .server-table th:last-child { padding-right: 18px; }
.catalog .cpu-cell { min-width: 190px; }
.catalog .spec-cell[data-label="Availability"] { white-space: normal; }
.catalog .spec-cell[data-label="Availability"] span { font-size: 12px; }
.filters { position: sticky; top: 94px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 6px 20px 20px; }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group > label, .filter-group > .fg-title { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; padding: 4px 0; cursor: pointer; }
.check input { accent-color: var(--brand); width: 16px; height: 16px; }
.check .count { margin-left: auto; color: var(--faint); font-size: 12.5px; }
.select, .input {
  width: 100%; height: 42px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border-2); background: var(--bg-2);
  font-size: 14.5px; outline: none;
}
.select:focus, .input:focus { border-color: var(--brand); }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; min-height: 88px; font-family: var(--mono); font-size: 13px; }
input[type="range"] { width: 100%; accent-color: var(--brand); }
.range-val { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.catalog-bar .count { color: var(--muted); font-size: 14.5px; }
.catalog-bar .count b { color: var(--text); }
.catalog-bar .select { width: auto; min-width: 200px; }
.filters-toggle { display: none; }
.loc-cell { display: flex; align-items: center; gap: 10px; font-size: 14px; white-space: nowrap; }
.loc-cell small { display: block; color: var(--faint); font-size: 12px; }

/* ---------- Location page ---------- */
.loc-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.loc-facts div { background: var(--surface); padding: 20px 22px; }
.loc-facts small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.loc-facts b { font-weight: 600; font-size: 16px; }
.lg-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lg-item { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 24px; }
.lg-item h3 { font-size: 17px; margin-bottom: 8px; }
.lg-item p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.copy-row { display: flex; gap: 8px; }
.copy-row code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 12px; height: 40px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border); font-family: var(--mono); font-size: 13px; color: var(--accent); overflow: hidden; white-space: nowrap; }
.other-locs { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Configurator ---------- */
.configure { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 40px 0 104px; align-items: start; }
.cfg-block { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 26px; margin-bottom: 16px; }
.cfg-block h2 { font-size: 19px; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; }
.cfg-block h2 .n { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-family: var(--mono); }
.cfg-block > p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; margin-left: 38px; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box { display: block; height: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--bg-2); transition: all .15s; }
.opt:hover .box { border-color: var(--faint); }
.opt input:checked + .box { border-color: var(--brand); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--brand); }
.opt input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt .box b { display: block; font-size: 14.5px; font-weight: 600; }
.opt .box span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.opt .box .add { color: var(--accent); }
.opt .save { position: absolute; top: -9px; right: 10px; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: var(--ok); color: #06281a; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 500; }
.field .hint { font-size: 12.5px; color: var(--faint); }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.summary { position: sticky; top: 94px; border: 1px solid var(--border-2); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.summary-head { padding: 22px 24px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.summary-head .loc-cell { margin-bottom: 10px; }
.summary-head h3 { font-size: 19px; }
.summary-head p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.summary-lines { padding: 16px 24px; display: grid; gap: 10px; font-size: 14px; }
.summary-lines .l { display: flex; justify-content: space-between; gap: 12px; }
.summary-lines .l span:first-child { color: var(--muted); }
.summary-lines .l.discount span:last-child { color: var(--ok); }
.summary-total { padding: 18px 24px 24px; border-top: 1px solid var(--border); }
.summary-total .t { display: flex; justify-content: space-between; align-items: baseline; }
.summary-total .t b { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.summary-total small { display: block; color: var(--faint); font-size: 12.5px; margin: 4px 0 18px; }
.summary-total .alt { color: var(--muted); font-size: 13px; }
.assure { display: grid; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.assure span { display: flex; gap: 8px; align-items: center; }
.assure svg { width: 15px; height: 15px; color: var(--ok); flex: none; }
.spec-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.spec-list div { background: var(--bg-2); padding: 14px 16px; }
.spec-list small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.spec-list b { font-size: 14.5px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-actions .btn-ghost { display: none; }
  .site-header.open .nav {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    padding: 12px 24px 20px; background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .regions { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: 1fr; }
  .world { grid-template-columns: 1fr; }
  .map-panel { border-left: 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .map-panel .mp-head, .map-panel .mp-actions { grid-column: 1 / -1; }
  .map-panel .mp-actions { grid-template-columns: 1fr 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .configure { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .topbar .container > span:not(.pulse) { display: none; }
  .site-header .container { gap: 12px; }
  .brand .product { display: none; }
  .header-actions .btn-primary { display: none; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 16px !important; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .section { padding: 72px 0; }
  .features, .regions, .lg-box, .faq-wrap, .crosssell, .fields-2 { grid-template-columns: 1fr; }
  .crosssell { padding: 28px 22px; }
  .map-panel { grid-template-columns: 1fr; padding: 20px 16px; }
  .map-panel .mp-actions { grid-template-columns: 1fr; }
  .pin { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .pin .label { font-size: 11px; padding: 4px 6px; }
  .faq-wrap { gap: 24px; }
  .loc-facts, .spec-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Server table → cards when its container gets narrow (catalog sidebar, tablets, phones) */
.table-wrap { container-type: inline-size; }
@container (max-width: 900px) {
  .server-table, .server-table tbody, .server-table tr, .server-table td { display: block; width: 100%; }
  .server-table { border: 0; background: transparent; }
  .server-table thead { display: none; }
  .server-table tbody { display: grid; gap: 12px; }
  .server-table tr { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 6px 0; display: grid; grid-template-columns: repeat(4, 1fr); }
  .server-table td, .catalog .server-table td { border: 0; padding: 10px 16px; }
  .spec-cell[data-label="Storage"] b { white-space: normal; }
  .server-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
  .server-table td.cpu-cell, .server-table td.loc-td { grid-column: 1 / -1; }
  .price-cell { text-align: left; }
  .action-cell { text-align: right; width: auto; align-self: end; }
  .action-cell .btn { width: 100%; }
}
@container (max-width: 560px) {
  .server-table tr { grid-template-columns: 1fr 1fr; }
}

/* ---------- Cart & checkout ---------- */
.flash { border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px; font-size: 14.5px; background: var(--surface); }
.flash-ok { border-color: rgba(62,207,142,.35); color: var(--ok); }
.flash-warn { border-color: rgba(245,181,70,.35); color: var(--warn); }
.field-error { font-size: 12.5px; color: var(--warn); }
.input.is-invalid, .select.is-invalid { border-color: var(--warn); }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.cart-item h3 { font-size: 17px; margin-bottom: 4px; }
.cart-item ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; color: var(--muted); font-size: 13.5px; }
.cart-item .price { text-align: right; }
.cart-item .price b { display: block; font-size: 20px; }
.cart-item .price small { color: var(--faint); font-size: 12.5px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--text); }
.inline-form { display: flex; gap: 8px; }
.seg { display: inline-flex; border: 1px solid var(--border-2); border-radius: 9px; overflow: hidden; }
.seg button { background: none; border: 0; padding: 8px 14px; color: var(--muted); cursor: pointer; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.radio-row { display: flex; gap: 18px; margin-bottom: 14px; }
@media (max-width: 900px) { .cart-item { grid-template-columns: 1fr; } .cart-item .price { text-align: left; } }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-bottom: 96px; }
.legal-nav { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.legal-nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.04); }
.prose { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.prose h2 { margin: 40px 0 12px; font-size: 21px; color: var(--text); }
.prose h3 { margin: 28px 0 8px; font-size: 17px; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: 14px; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Cookie notice ---------- */
.cookie-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--border-2);
  background: var(--surface-2); box-shadow: var(--shadow); font-size: 14px; color: var(--muted); }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; flex: 1; }
.cookie-notice a { color: var(--accent); text-decoration: underline; }

/* ==========================================================================
   Visual refresh — motion, depth and new home sections
   ========================================================================== */

/* ---------- Scroll reveal (JS adds .in; without JS everything is visible) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero bits ---------- */
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-60px, 40px) scale(1.12); } }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 99px; font-size: 13.5px; font-weight: 500; color: var(--muted);
  border: 1px solid var(--border-2); background: rgba(24,27,32,.85); transition: border-color .2s, color .2s;
}
.hero-pill:hover { border-color: var(--brand); color: var(--text); }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62,207,142,.15); animation: blink 2.4s infinite; }
.hero-pill .arrow { color: var(--accent); }
.gradient-text { background: linear-gradient(92deg, #64b5ff 0%, #8ea4ff 45%, #3ecfe0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-glow { box-shadow: 0 10px 30px -10px rgba(3,114,197,.9), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-glow:hover { box-shadow: 0 14px 36px -10px rgba(10,130,220,1), inset 0 1px 0 rgba(255,255,255,.22); transform: translateY(-1px); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stat b { background: linear-gradient(180deg, #fff, #9fb4c9); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 34px; }
.plan-loc { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }

/* ---------- Regions list under the map ---------- */
.regions { margin-top: 28px; }
.region-card h3 a:hover { color: var(--accent); }
.region-card li a .fi { font-size: 15px; }

/* ---------- Use cases ---------- */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usecase {
  position: relative; overflow: hidden; padding: 28px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface);
  transition: border-color .25s, transform .25s;
}
.usecase::before { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; top: -120px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(3,114,197,.22), transparent); transition: transform .4s; }
.usecase:hover { border-color: var(--border-2); transform: translateY(-3px); }
.usecase:hover::before { transform: scale(1.4); }
.usecase .ico { position: relative; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; border: 1px solid rgba(100,181,255,.2); }
.usecase .ico svg { width: 24px; height: 24px; }
.usecase h3 { position: relative; font-size: 19px; margin-bottom: 8px; }
.usecase p { position: relative; color: var(--muted); font-size: 14.5px; }
.usecase .more { position: relative; display: inline-flex; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---------- Features & steps polish ---------- */
.feature { transition: background .25s; }
.feature:hover { background: var(--surface-2); }
.feature:hover .ico { background: var(--brand); color: #fff; }
.feature .ico { transition: background .25s, color .25s; }

/* ---------- Dedicated vs VPS ---------- */
.compare { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--border); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); background: var(--bg-2); }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare td:first-child { color: var(--muted); width: 22%; }
.compare td:nth-child(2) { background: linear-gradient(90deg, rgba(3,114,197,.08), rgba(3,114,197,.02)); }
.compare td:nth-child(3) { color: var(--muted); }

/* ---------- CTA ---------- */
.cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 65%); }
.cta .container { z-index: 1; }

/* ---------- Location page ---------- */
.page-head-loc h1 .fi { font-size: .75em; border-radius: 6px; }
.loc-why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.loc-why h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 16px 0 14px; }
.check-list { list-style: none; margin: 0; padding: 24px; display: grid; gap: 12px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check-list li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(62,207,142,.12); color: var(--ok); }

/* ---------- About & contact ---------- */
.company-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.company-facts { margin: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.company-facts div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 22px; background: var(--surface); }
.company-facts dt { color: var(--faint); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.company-facts dd { margin: 0; font-weight: 500; }
.contact-layout { grid-template-columns: 1fr 360px; }
.contact-cards { display: grid; gap: 12px; position: sticky; top: 94px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s; }
a.contact-card:hover { border-color: var(--brand); }
.contact-card .ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card b { display: block; }
.contact-card small { color: var(--muted); font-size: 13.5px; }

@media (max-width: 1080px) {
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .loc-why, .company-card { grid-template-columns: 1fr; gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-cards { position: static; }
}
@media (max-width: 640px) {
  .usecases { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px 14px; font-size: 13.5px; }
  .company-facts div { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   Home page
   ========================================================================== */

/* Decorative animations pause while their section is off screen (assets/js/app.js toggles .is-off). */
.is-off, .is-off * { animation-play-state: paused !important; }

/* Pointer-following highlight on cards (JS sets --mx / --my). */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(100,181,255,.11), transparent 45%);
}
.spot:hover::after { opacity: 1; }

/* Primary button with a light running around its edge. */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.btn-beam { position: relative; isolation: isolate; }
.btn-beam::before, .btn-beam::after { content: ""; position: absolute; border-radius: inherit; z-index: -1; }
.btn-beam::before { inset: -1.5px; background: conic-gradient(from var(--beam), transparent 0 72%, rgba(159,210,255,.9) 82%, #fff 86%, rgba(159,210,255,.9) 90%, transparent 100%); animation: beam 3.6s linear infinite; }
.btn-beam::after { inset: 0; background: var(--brand); transition: background .15s; }
.btn-beam:hover::after { background: var(--brand-hover); }
@keyframes beam { to { --beam: 360deg; } }

.shimmer { background-image: linear-gradient(90deg, #64b5ff, #8ea4ff, #3ecfe0, #64b5ff); background-size: 200% auto; animation: shimmer 7s linear infinite; }
@keyframes shimmer { to { background-position: -200% center; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ---------- Hero ---------- */
.hx { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 104px; }
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hx-glow { position: absolute; border-radius: 50%; will-change: transform; animation: drift 18s ease-in-out infinite alternate; }
.hx-glow-1 { width: 960px; height: 960px; left: 38%; top: -470px; background: radial-gradient(closest-side, rgba(3,114,197,.5), transparent); }
.hx-glow-2 { width: 640px; height: 640px; left: 70%; top: 140px; background: radial-gradient(closest-side, rgba(88,70,230,.32), transparent); animation-duration: 23s; }
.hx-glow-3 { width: 560px; height: 560px; left: -220px; top: 300px; background: radial-gradient(closest-side, rgba(10,130,220,.2), transparent); animation-duration: 27s; }
.hx-beam {
  position: absolute; left: 62%; top: -120px; width: 900px; height: 900px; transform: translateX(-50%); opacity: .8;
  background: conic-gradient(from 180deg at 50% 0%, transparent 162deg, rgba(100,181,255,.07) 172deg, rgba(160,210,255,.14) 180deg, rgba(100,181,255,.07) 188deg, transparent 198deg);
}
.hx-floor {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 380px; perspective: 380px; perspective-origin: 50% 0;
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 85%); mask-image: linear-gradient(to top, #000 15%, transparent 85%);
}
.hx-floor i {
  position: absolute; inset: 0 0 -64px; transform: rotateX(64deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(100,181,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(100,181,255,.15) 1px, transparent 1px);
  background-size: 64px 64px; animation: floor 3.4s linear infinite;
}
@keyframes floor { to { transform: rotateX(64deg) translateY(64px); } }

.hx-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; align-items: center; }
.hx h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.03; letter-spacing: -.038em; margin: 26px 0 24px; }
.hx-lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hx-meta { display: flex; align-items: center; gap: 22px 40px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.07); }
.hx-price small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.hx-price b { font-size: 36px; font-weight: 600; letter-spacing: -.03em; }
.hx-price span { color: var(--muted); font-size: 14px; margin-left: 6px; }
.hx-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.hx-points li { display: flex; align-items: center; gap: 10px; }
.hx-points li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: rgba(62,207,142,.14) no-repeat center / 10px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ecf8e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Parallax layers: JS sets --px / --py on .hx from the pointer position. */
.hx-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hx-visual [style*="--depth"] { translate: calc(var(--px, 0) * var(--depth) * -14px) calc(var(--py, 0) * var(--depth) * -14px); transition: translate .5s cubic-bezier(.2,.7,.2,1); }
.hx-rack { width: 100%; max-width: 540px; }

.iso { display: block; width: 100%; height: auto; overflow: visible; animation: float 8s ease-in-out infinite; }
.iso-grid { fill: none; stroke: rgba(100,181,255,.24); stroke-width: 1; }
.iso-lid { fill: url(#iso-lid); stroke: rgba(150,190,240,.16); stroke-width: 1; }
.iso-seam { fill: none; stroke: rgba(255,255,255,.04); }
.iso-side { fill: url(#iso-side); stroke: rgba(150,190,240,.1); stroke-width: 1; }
.iso-front { fill: url(#iso-front); stroke: rgba(150,190,240,.14); stroke-width: 1; }
.iso-rim { fill: none; stroke: rgba(180,215,255,.34); stroke-width: 1; }
.iso-bay { fill: #0b0f13; stroke: #273241; stroke-width: .8; }
.iso-label { font: 600 7px var(--mono); letter-spacing: .06em; fill: #5d6b7d; }
.led-on { fill: var(--ok); }
.led-act { fill: var(--accent); animation: blink 1.1s steps(2, jump-none) infinite; }
.led-disk { fill: #3ecf8e; opacity: .8; animation: blink .8s steps(2, jump-none) infinite; }
.iso-you { animation: iso-slide 1.3s cubic-bezier(.2,.8,.2,1) .6s both; }
.iso-you .iso-front { fill: url(#iso-you); stroke: #2b9bff; stroke-width: 1.2; }
.iso-you .iso-lid { stroke: rgba(100,181,255,.55); }
.iso-you .iso-side { stroke: rgba(100,181,255,.35); }
.iso-you .iso-label { fill: #9fd2ff; }
.iso-you .led-act, .iso-you .led-disk { fill: #9fd2ff; }
.iso-halo { fill: none; stroke: rgba(10,130,220,.45); stroke-width: 6; animation: halo 2.6s ease-in-out infinite; }
.iso-scan { opacity: 0; animation: iso-scan 3.4s ease-in-out 2.2s infinite; }
.iso-bit { fill: #7cc2ff; opacity: 0; animation: iso-bit 3.8s ease-out infinite; }
@keyframes iso-slide { to { transform: translate(-40px, 23px); } }
@keyframes iso-scan { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(214px); opacity: 0; } }
@keyframes iso-bit { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: .9; } 100% { transform: translateY(-90px); opacity: 0; } }
@keyframes halo { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.hx-card {
  position: absolute; z-index: 2; border-radius: 14px; border: 1px solid rgba(255,255,255,.09); background: rgba(19,23,29,.94);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.05);
}
.hx-toast { top: 5%; right: -2%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; font-size: 13px; animation: pop .7s cubic-bezier(.2,.8,.2,1) 1.8s both; }
.hx-toast .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(62,207,142,.14); color: var(--ok); }
.hx-toast .ico svg { width: 17px; height: 17px; }
.hx-toast b { display: block; font-size: 14px; }
.hx-toast small { color: var(--muted); font-size: 12.5px; }
.hx-term { left: -8%; bottom: 1%; width: 270px; overflow: hidden; animation: pop .7s cubic-bezier(.2,.8,.2,1) 1.2s both; }
.hx-term-bar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
.hx-term-bar i { width: 8px; height: 8px; border-radius: 50%; background: #343b46; }
.hx-term pre { margin: 0; padding: 11px 14px 13px; min-height: calc(4 * 1.7em + 24px); font: 12.5px/1.7 var(--mono); color: var(--text); white-space: pre-wrap; }
.hx-term .cmd { color: #dbe7f5; }
.hx-term .ok { color: var(--ok); }
.hx-term .out { color: var(--accent); font-weight: 600; }
[data-typing]::after { content: ""; display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2, jump-none) infinite; }
.hx-spec { right: 0; bottom: 3%; padding: 14px 16px; max-width: 250px; animation: pop .7s cubic-bezier(.2,.8,.2,1) 2.3s both; }
.hx-spec small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.hx-spec b { display: block; font-size: 14.5px; margin: 3px 0 8px; }
.hx-spec span { display: inline-block; margin-right: 10px; font-size: 12.5px; color: var(--muted); }
.hx-spec em { font-style: normal; font-weight: 600; color: var(--accent); }

/* ---------- Perks ticker ---------- */
.ticker {
  overflow: hidden; border-block: 1px solid var(--border); background: rgba(11,13,16,.75);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 14px; padding: 17px 30px 17px 0; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ticker li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Metrics ---------- */
.metrics { border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { position: relative; padding: 38px 28px 34px; border-right: 1px solid var(--border); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric::before { content: ""; position: absolute; left: 28px; top: -1px; width: 36px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.metric:first-child::before { left: 0; }
.metric b { display: block; font-size: clamp(36px, 3.8vw, 50px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; background: linear-gradient(180deg, #fff 35%, #7fa6cc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric > span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Server picker ---------- */
.finder { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px; align-items: start; }
.finder-list { display: grid; gap: 6px; }
.finder-item {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 13px 18px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface); text-align: left; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.finder-item:hover { border-color: var(--border-2); background: var(--surface-2); }
.finder-item[aria-selected="true"] { border-color: rgba(43,155,255,.75); background: linear-gradient(90deg, rgba(3,114,197,.2), rgba(3,114,197,.04)); box-shadow: inset 3px 0 0 var(--accent), 0 10px 30px -18px rgba(3,114,197,.8); }
.fi-name { min-width: 0; }
.fi-name b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-name small { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; font-size: 13px; color: var(--muted); }
.fi-name em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); padding: 1px 7px; border-radius: 99px; border: 1px solid rgba(100,181,255,.3); background: var(--accent-soft); }
.fi-price { font-size: 16px; font-weight: 600; white-space: nowrap; }
.finder-item[aria-selected="true"] .fi-price { color: #fff; }

.finder-panel {
  position: sticky; top: 94px; padding: 28px; border-radius: 22px; border: 1px solid rgba(100,181,255,.24); overflow: hidden;
  background: radial-gradient(640px 280px at 100% 0%, rgba(3,114,197,.24), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 90px -50px rgba(3,114,197,.7);
}
.finder-panel.swap h3, .finder-panel.swap .fp-price b { animation: swap .45s cubic-bezier(.2,.8,.2,1); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
.fp-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fp-top .plan-loc { margin-left: auto; }
.finder-panel h3 { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.025em; margin: 18px 0 6px; }
.fp-sub { color: var(--muted); font-size: 14.5px; }
.threads { display: grid; grid-template-columns: repeat(var(--cols, 24), minmax(0, 26px)); gap: 5px; margin: 24px 0 12px; }
.threads i { aspect-ratio: 1; border-radius: 3px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.035); transition: background .3s, border-color .3s, box-shadow .3s; transition-delay: calc(var(--i) * 7ms); }
.threads i.c { background: var(--accent); border-color: #9fd2ff; box-shadow: 0 0 10px rgba(100,181,255,.55); }
.threads i.t { background: rgba(142,164,255,.45); border-color: rgba(142,164,255,.7); }
.threads-legend { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.threads-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 2px; vertical-align: -1px; }
.threads-legend i.c { background: var(--accent); }
.threads-legend i.t { background: rgba(142,164,255,.6); }
.threads-legend .muted { margin-left: auto; color: var(--faint); }
.fp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 22px 0 24px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--border); }
.fp-specs > div { padding: 12px 16px; background: rgba(13,16,20,.72); }
.fp-specs .fp-ram { grid-column: 1 / -1; }
.fp-specs dt { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.fp-specs dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 600; }
.fp-ram dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ram-steps { display: flex; gap: 4px; flex-wrap: wrap; }
.ram-steps i { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; border: 1px dashed var(--border); color: var(--faint); opacity: .45; transition: all .25s; }
.ram-steps i.up { opacity: 1; border-style: solid; border-color: var(--border-2); color: var(--muted); }
.ram-steps i.on { opacity: 1; border-style: solid; border-color: var(--brand); background: var(--brand); color: #fff; }
.fp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 20px; flex-wrap: wrap; }
.fp-price b { font-size: 38px; font-weight: 600; letter-spacing: -.035em; }
.fp-price > span { margin-left: 4px; color: var(--muted); }
.fp-price small { display: block; font-size: 12.5px; color: var(--faint); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 300px; padding: 28px;
  border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: border-color .25s;
}
.tile:hover { border-color: var(--border-2); }
.tile h3 { font-size: 20px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 14.5px; max-width: 460px; }
.tile-kicker { display: inline-block; margin-bottom: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.tile-ddos { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: 24px;
  background: radial-gradient(500px 260px at 75% 50%, rgba(3,114,197,.16), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.tile-kvm { grid-row: span 2; }
.tile-kvm .kvm { flex: 1; display: flex; flex-direction: column; }
.tile-kvm .kvm-screen { flex: 1; }

.ddos { width: 100%; height: auto; overflow: visible; }
.ddos-lane { fill: none; stroke: rgba(255,255,255,.07); stroke-dasharray: 3 6; }
.ddos-lane-clean { stroke: rgba(100,181,255,.18); stroke-dasharray: none; }
.ddos-shield circle { fill: #0c2239; stroke: var(--accent); stroke-width: 1.5; }
.ddos-shield path { fill: none; stroke: #d6ebff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ddos-rack { fill: #141920; stroke: rgba(100,181,255,.35); }
.ddos-unit { fill: #0c1014; stroke: #273241; }
.pkt { transform-box: fill-box; transform-origin: center; opacity: 0; }
.pkt-bad { fill: #ff6b6b; animation: pkt-bad 3.4s linear infinite; }
.pkt-ok { fill: var(--accent); animation: pkt-ok 3.4s linear infinite; }
@keyframes pkt-bad { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 80% { transform: translateX(300px); opacity: 1; } 90%, 100% { transform: translateX(306px) scale(2.4); opacity: 0; } }
@keyframes pkt-ok { 0% { transform: translateX(0); opacity: 0; } 8%, 92% { opacity: 1; } 100% { transform: translateX(448px); opacity: 0; } }

.kvm { border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden; background: #06080b; box-shadow: 0 24px 60px -30px rgba(0,0,0,.9); }
.kvm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: #10141a; font: 11.5px var(--mono); color: var(--faint); }
.kvm-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3039; }
.kvm-bar span { margin-left: 8px; }
.kvm-screen {
  margin: 0; padding: 16px; min-height: calc(8 * 1.75em + 32px); font: 12.5px/1.75 var(--mono); color: #aef3c9; white-space: pre-wrap; text-shadow: 0 0 8px rgba(62,207,142,.35);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 50% 0%, rgba(62,207,142,.07), transparent 70%);
}
.kvm-screen .cmd { color: #e6fff1; }
.kvm-keys { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--border); background: #0c0f13; }
.kvm-keys span { padding: 4px 10px; border: 1px solid var(--border-2); border-radius: 7px; font-size: 11.5px; color: var(--muted); }

.chip { position: relative; width: 156px; height: 156px; margin: 4px auto 0; }
.chip::before, .chip::after { content: ""; position: absolute; }
.chip::before { inset: 0 22px; background: repeating-linear-gradient(90deg, #3a4554 0 3px, transparent 3px 11px); }
.chip::after { inset: 22px 0; background: repeating-linear-gradient(0deg, #3a4554 0 3px, transparent 3px 11px); }
.chip-die {
  position: absolute; inset: 13px; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 14px;
  border: 1px solid rgba(100,181,255,.32); border-radius: 12px; background: linear-gradient(145deg, #232c38, #121820); box-shadow: 0 0 44px -12px rgba(3,114,197,.8);
}
.chip-die i { border-radius: 4px; border: 1px solid rgba(100,181,255,.22); background: rgba(100,181,255,.1); animation: core 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .13s); }
@keyframes core { 0%, 100% { background: rgba(100,181,255,.1); box-shadow: none; } 45% { background: var(--accent); box-shadow: 0 0 12px rgba(100,181,255,.7); } }

.deliver { display: grid; gap: 22px; }
.deliver-time { font-size: 68px; font-weight: 600; line-height: 1; letter-spacing: -.045em; background: linear-gradient(180deg, #fff 30%, #7fa6cc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deliver-time small { margin-left: 4px; font-size: 30px; }
.deliver-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.deliver-steps li { position: relative; padding-top: 14px; font-size: 12px; color: var(--muted); }
.deliver-steps li::before, .deliver-steps li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; }
.deliver-steps li::before { background: rgba(255,255,255,.08); }
.deliver-steps li::after { background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: left; transform: scaleX(0); animation: fill-1 5s ease-in-out infinite; }
.deliver-steps li:nth-child(2)::after { animation-name: fill-2; }
.deliver-steps li:nth-child(3)::after { animation-name: fill-3; }
@keyframes fill-1 { 0% { transform: scaleX(0); opacity: 1; } 18%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes fill-2 { 0%, 18% { transform: scaleX(0); opacity: 1; } 36%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes fill-3 { 0%, 36% { transform: scaleX(0); opacity: 1; } 54%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

.scale { display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.scale span {
  flex: 1; height: var(--h); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; border: 1px solid rgba(100,181,255,.24); border-radius: 9px 9px 5px 5px;
  background: linear-gradient(180deg, rgba(100,181,255,.3), rgba(3,114,197,.06)); animation: level 4s ease-in-out infinite; animation-delay: calc(var(--i) * .22s);
}
.scale b { font-size: 11px; font-weight: 600; white-space: nowrap; }
@keyframes level { 0%, 70%, 100% { border-color: rgba(100,181,255,.24); box-shadow: none; } 35% { border-color: #9fd2ff; box-shadow: 0 0 22px -4px rgba(100,181,255,.7), inset 0 0 18px rgba(100,181,255,.25); } }

.gauge { position: relative; display: grid; place-items: center; width: 156px; height: 156px; margin: 0 auto; }
.gauge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 9; }
.gauge-fill { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.8,.2,1) .3s; }
.tile-sla.in .gauge-fill, html:not(.js) .gauge-fill { stroke-dashoffset: .1; }
.gauge b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.gauge b small { font-size: 16px; color: var(--muted); }

.os-marquee { display: grid; gap: 10px; margin: 6px -28px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.os-row { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.os-row-rev { animation-direction: reverse; }
.os-row span { margin-right: 10px; padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 10px; background: rgba(255,255,255,.03); font-size: 13.5px; font-weight: 500; white-space: nowrap; }

/* ---------- Locations ---------- */
.home .world { border-radius: 22px; background: radial-gradient(760px 380px at 50% 45%, rgba(3,114,197,.16), transparent 70%), #0c0f13; box-shadow: 0 50px 110px -60px rgba(3,114,197,.55); }
.home .map-panel { background: rgba(16,19,24,.75); }
.region-tabs[hidden] { display: none; }
.home .regions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.home .region-card { flex: 1 1 360px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 14px 20px; border-radius: 16px; }
.home .region-card h3 { gap: 12px; font-size: 16px; }
.home .region-card ul { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.home .region-card li a { margin: 0; padding: 6px 12px; border: 1px solid var(--border); border-radius: 99px; font-size: 14px; }
.home .region-card li a:hover { border-color: var(--brand); }
.home .region-card li a .count { margin-left: 4px; }
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; transition: opacity .6s; }
.arcs.hide { opacity: 0; }
.arc { fill: none; stroke: rgba(100,181,255,.4); stroke-width: calc(1.1px / var(--k)); }
.arc-pulse { fill: none; stroke: #cfe8ff; stroke-width: calc(1.8px / var(--k)); stroke-linecap: round; stroke-dasharray: 5 95; animation: arc 3s linear infinite; }
@keyframes arc { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.city { position: absolute; display: flex; align-items: center; gap: 6px; transform: translate(-4px, -50%) scale(calc(1 / var(--k))); transform-origin: 4px 50%; transition: transform .9s cubic-bezier(.2,.75,.2,1), opacity .6s; pointer-events: none; }
.city i { width: 7px; height: 7px; border-radius: 50%; background: #cfe8ff; box-shadow: 0 0 8px rgba(100,181,255,.9); }
.city em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--muted); text-shadow: 0 1px 2px #000; white-space: nowrap; }
.arcs.hide ~ .city { opacity: 0; }

/* ---------- How it works ---------- */
.journey { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.journey::before, .journey::after { content: ""; position: absolute; left: 28px; right: calc((100% - 84px) / 4 - 28px); top: 27px; height: 2px; }
.journey::before { background: var(--border-2); }
.journey::after { background: linear-gradient(90deg, var(--brand), var(--accent), #8ea4ff); transform-origin: left; transform: scaleX(0); transition: transform 1.8s cubic-bezier(.2,.8,.2,1) .2s; }
.journey.in::after, html:not(.js) .journey::after { transform: none; }
.journey li { position: relative; }
.js .journey li { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; transition-delay: calc(var(--i) * .3s + .2s); }
.js .journey.in li { opacity: 1; transform: none; }
.journey-node {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border: 1px solid rgba(100,181,255,.3); border-radius: 16px;
  background: linear-gradient(145deg, #1d2a3a, var(--surface)); color: var(--accent); box-shadow: 0 0 0 8px var(--bg), 0 12px 30px -12px rgba(3,114,197,.7);
}
.journey-node svg { width: 24px; height: 24px; }
.journey-node::after { content: attr(data-n); position: absolute; top: -9px; right: -12px; padding: 2px 6px; border-radius: 99px; background: var(--brand); color: #fff; font: 700 10.5px var(--mono); }
.journey h3 { font-size: 18px; margin-bottom: 8px; }
.journey p { color: var(--muted); font-size: 14.5px; }

/* ---------- Use cases, compare, FAQ ---------- */
.usecase .ico { box-shadow: 0 10px 26px -12px rgba(3,114,197,.9); }
.usecase:hover .ico { background: var(--brand); color: #fff; }
.usecase .more .arrow { transition: transform .2s; }
.usecase:hover .more .arrow { transform: translateX(4px); }
.compare th:nth-child(2), .compare td:nth-child(2) { box-shadow: inset 1px 0 0 rgba(100,181,255,.22), inset -1px 0 0 rgba(100,181,255,.22); }
.compare td:nth-child(2) b::before { content: "✓"; margin-right: 10px; color: var(--ok); }
.faq-cards details { margin-bottom: 10px; padding: 0 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color .2s, background .2s; }
.faq-cards details:hover { border-color: var(--border-2); }
.faq-cards details[open] { border-color: rgba(100,181,255,.32); background: var(--surface-2); }
.faq-cards summary { padding: 20px 0; }
.faq-cards details p { padding-right: 24px; }

/* ---------- Closing call to action ---------- */
.cta-x { padding: 24px 0 112px; }
.cta-card {
  position: relative; isolation: isolate; overflow: hidden; padding: 92px 32px 72px; border: 1px solid rgba(100,181,255,.2); border-radius: 30px; text-align: center;
  background: radial-gradient(720px 380px at 50% 0%, rgba(3,114,197,.38), transparent 70%), linear-gradient(180deg, #121821, #0c0f14);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background-size: 48px 48px;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
}
.cta-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; animation: beam 7s linear infinite;
  background: conic-gradient(from var(--beam), transparent 0 70%, rgba(100,181,255,.95) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.cta-mark { width: 84px; margin: 0 auto 30px; color: var(--brand); filter: drop-shadow(0 0 26px rgba(10,130,220,.85)); }
.cta-card h2 { font-size: clamp(34px, 5.2vw, 62px); letter-spacing: -.038em; line-height: 1.04; }
.cta-card > p { max-width: 540px; margin: 20px auto 34px; font-size: 17px; color: var(--muted); }
.cta-card .hero-ctas { justify-content: center; }
.cta-card .cta-note { margin: 26px auto 0; font-size: 13.5px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
  .hx *, .ticker *, .bento *, .arcs *, .cta-card, .btn-beam::before, .shimmer { animation: none !important; }
  .iso-you { transform: translate(-40px, 23px); }
  .pkt, .iso-scan, .iso-bit { display: none; }
  .hx-visual [style*="--depth"] { translate: none; }
}

@media (max-width: 1080px) {
  .hx { padding: 48px 0 72px; }
  .hx-grid { grid-template-columns: 1fr; gap: 24px; }
  .hx-visual { min-height: 0; max-width: 560px; width: 100%; margin: 0 auto; }
  .hx-toast { right: 0; }
  .hx-term { left: 0; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .metric:nth-child(3) { padding-left: 0; }
  .metric:nth-child(3)::before { left: 0; }
  .finder { grid-template-columns: 1fr; }
  .finder-list { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 2px 24px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .finder-list::-webkit-scrollbar { display: none; }
  .finder-item { flex: 0 0 auto; width: auto; min-width: 230px; scroll-snap-align: start; }
  .finder-panel { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-ddos { grid-template-columns: 1fr; }
  .tile-os { grid-column: span 2; }
  .journey { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .journey::before, .journey::after { display: none; }
}
@media (max-width: 760px) {
  .hx h1 { font-size: clamp(34px, 10vw, 54px); }
  .hx-lead { font-size: 16.5px; }
  .hx-spec { display: none; }
  .hx-term { bottom: 2%; width: 230px; }
  .hx-term pre { font-size: 11.5px; }
  .hx-toast { top: 0; }
  .finder-list { margin: 0 -16px; padding: 2px 16px 8px; }
  .finder-panel { padding: 22px 18px; }
  .fp-specs { grid-template-columns: 1fr; }
  .threads { gap: 3px; }
  .city em { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile-ddos, .tile-os { grid-column: auto; }
  .tile-kvm { grid-row: auto; }
  .tile { min-height: 0; }
  .journey { grid-template-columns: 1fr; }
  .cta-card { padding: 64px 20px 52px; border-radius: 22px; }
}
@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: 26px 14px 22px; }
  .metric:nth-child(odd) { padding-left: 0; }
  .metric:nth-child(odd)::before { left: 0; }
  .hx-term { display: none; }
}
