/* ==========================================================================
   North Rack Hosting — styles
   Dark navy base, purple accent, subtle grid motif
   ========================================================================== */

:root {
  --bg: #0b0e1a;
  --bg-alt: #0f1322;
  --surface: #141a2e;
  --surface-2: #1a2140;
  --border: rgba(148, 163, 214, 0.14);
  --border-strong: rgba(148, 163, 214, 0.28);
  --text: #e7eaf6;
  --text-dim: #9aa3c7;
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.35);
  --green: #34d399;
  --star: #fbbf24;
  --radius: 14px;
  --radius-sm: 9px;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", var(--font-body);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-bright); text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 0.95rem/1 var(--font-body);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 6px 32px var(--accent-glow); }

.btn-ghost {
  background: rgba(139, 92, 246, 0.08);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(139, 92, 246, 0.14); }

.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #6873f5; }

.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-note {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 1.15rem var(--font-display);
  color: var(--text);
}
.brand em { font-style: normal; color: var(--accent-bright); }
.brand-mark { width: 30px; height: 30px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font: 500 0.92rem var(--font-body);
  color: var(--text-dim);
  padding: 8px 13px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: rgba(148, 163, 214, 0.08); }

.nav-drop { position: relative; }
.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drop-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
}
.drop-item:hover:not(.is-soon) { background: rgba(139, 92, 246, 0.12); }
.drop-item-title { font-weight: 600; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.drop-item-title small {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-bright);
  background: rgba(139, 92, 246, 0.14);
  padding: 2px 7px;
  border-radius: 20px;
}
.drop-item-sub { font-size: 0.8rem; color: var(--text-dim); }
.drop-item.is-soon { opacity: 0.6; cursor: default; }
.drop-group {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
  padding: 10px 12px 4px;
}
.drop-group:not(:first-child) {
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

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

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-menu a:not(.btn) {
  color: var(--text);
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(139, 92, 246, 0.16), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(52, 211, 153, 0.06), transparent),
    linear-gradient(rgba(148, 163, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 214, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  mask-image: linear-gradient(to bottom, black 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 30px;
  margin-bottom: 26px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.grad-text {
  background: linear-gradient(120deg, var(--accent-bright), #6ee7b7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body[data-page="servers"] .grad-text {
  background: linear-gradient(120deg, var(--accent-bright), #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
}
.panel-mock-vps .panel-console { color: #a8b4d4; }
.hero-sub {
  font-size: 1.13rem;
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: var(--green);
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.4-1.4z'/></svg>") center / contain no-repeat;
}

/* Panel mockup */
.hero-visual { position: relative; }
.panel-mock {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(139, 92, 246, 0.09);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-dim);
}
.panel-dots { display: flex; gap: 6px; }
.panel-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.panel-dots i:first-child { background: #f87171; }
.panel-dots i:nth-child(2) { background: #fbbf24; }
.panel-dots i:nth-child(3) { background: #34d399; }
.panel-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 600;
}
.panel-body { padding: 18px; display: grid; gap: 16px; }

.panel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pstat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: grid;
  gap: 5px;
}
.pstat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); }
.pstat-val { font: 600 0.9rem var(--font-display); }
.pstat-val.good { color: var(--green); }
.pbar { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.pbar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); }

.panel-console {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font: 0.76rem/1.8 "SFMono-Regular", Consolas, monospace;
  color: var(--text-dim);
}
.c-time { color: #566089; }
.c-info { color: var(--accent-bright); }
.c-join { color: var(--green); }
.typing::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--accent-bright);
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.chip-accent { background: rgba(139, 92, 246, 0.16); border-color: rgba(139, 92, 246, 0.4); color: var(--accent-bright); }

.hero-float {
  position: absolute;
  display: grid;
  gap: 1px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  animation: floaty 5s ease-in-out infinite;
}
.hero-float strong { font: 700 1.05rem var(--font-display); color: var(--accent-bright); }
.hero-float span { font-size: 0.72rem; color: var(--text-dim); }
.hero-float-1 { top: -22px; right: -14px; }
.hero-float-2 { bottom: -20px; left: -14px; animation-delay: 2.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Trust bar ---------- */
.trustbar {
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 26px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 22px 36px;
}
.trust-item { display: grid; gap: 2px; }
.trust-item strong { font: 700 1.25rem var(--font-display); }
.trust-item span { font-size: 0.8rem; color: var(--text-dim); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 0.95em; }
.trust-pay span { display: block; margin-bottom: 6px; }
.pay-logos { display: flex; gap: 8px; }
.pay {
  font: 700 0.68rem/1 var(--font-body);
  letter-spacing: 0.03em;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  padding: 6px 9px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 1.02rem; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.13);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--accent-bright);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; margin-bottom: 9px; }
.card p { font-size: 0.92rem; color: var(--text-dim); }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  padding: 4px;
}
.toggle-opt {
  font: 600 0.88rem var(--font-body);
  color: var(--text-dim);
  background: none;
  border: none;
  border-radius: 24px;
  padding: 9px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.18s, color 0.18s;
}
.toggle-opt.is-active { background: var(--accent); color: #fff; }
.save-tag {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.16);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 12px;
}
.toggle-opt.is-active .save-tag { background: rgba(255, 255, 255, 0.2); color: #fff; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-card.is-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.1), var(--surface) 42%);
  box-shadow: 0 0 44px rgba(139, 92, 246, 0.16);
}
.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font: 700 0.72rem var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.25rem; }
.price-players {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 6px 0 18px;
  min-height: 2.4em;
}
.price-line { display: flex; align-items: baseline; gap: 5px; margin-bottom: 20px; }
.price-amount { font: 700 2.1rem var(--font-display); }
.price-per { color: var(--text-dim); font-size: 0.9rem; }
.price-specs {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 26px;
  flex: 1;
}
.price-specs li { display: flex; align-items: center; gap: 9px; }
.price-specs li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--accent-bright);
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.4-1.4z'/></svg>") center / contain no-repeat;
}
.price-specs strong { color: var(--text); font-weight: 600; }
.pricing-foot {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 34px;
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
.card-flat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.card-flat h3 { font-size: 1.2rem; margin-bottom: 16px; }
.why-map { grid-row: span 2; }
.why-panel p { font-size: 0.93rem; color: var(--text-dim); margin-bottom: 16px; }

.world-map {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  overflow: hidden;
}
.map-svg { width: 100%; height: auto; }
.map-dots circle { fill: rgba(148, 163, 214, 0.16); }
.pin {
  fill: var(--accent-bright);
  stroke: rgba(139, 92, 246, 0.35);
  stroke-width: 10;
  animation: pinPulse 2.6s ease-in-out infinite;
}
.pin:nth-child(2n) { animation-delay: 0.9s; }
.pin:nth-child(3n) { animation-delay: 1.7s; }
@keyframes pinPulse {
  0%, 100% { stroke-width: 6; }
  50% { stroke-width: 14; }
}

.loc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px 16px;
  font-size: 0.86rem;
}
.loc-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
}
.loc-list em { font-style: normal; color: var(--green); font-weight: 600; font-size: 0.8rem; }
.loc-list em.is-measuring { color: var(--text-dim); }
.loc-list em.is-fallback { color: var(--text-dim); }
.loc-list em.is-live { color: var(--green); }
.loc-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 14px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.89rem; }
.spec-table th, .spec-table td { padding: 11px 4px; border-bottom: 1px solid var(--border); text-align: left; }
.spec-table th { color: var(--text-dim); font-weight: 600; width: 92px; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.uptime-graph {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 13px 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.uptime-label, .uptime-val { font-size: 0.76rem; color: var(--text-dim); white-space: nowrap; }
.uptime-val { color: var(--green); font-weight: 700; }
.uptime-bars { display: flex; gap: 3px; flex: 1; align-items: flex-end; height: 26px; }
.uptime-bars i {
  flex: 1;
  min-width: 3px;
  background: var(--green);
  border-radius: 2px;
  opacity: 0.85;
}
.uptime-bars i.dip { background: var(--star); height: 60% !important; }

.check-list {
  list-style: none;
  display: grid;
  gap: 11px;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: var(--green);
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.4-1.4z'/></svg>") center / contain no-repeat;
}

/* ---------- Compatibility ---------- */
.compat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.compat-badge {
  font: 600 0.9rem var(--font-display);
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 20px;
  transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.compat-badge:hover {
  color: var(--accent-bright);
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.review blockquote {
  font-size: 0.93rem;
  color: var(--text);
  margin: 14px 0 18px;
}
.review figcaption { display: grid; gap: 1px; }
.review figcaption strong { font-size: 0.9rem; }
.review figcaption span { font-size: 0.78rem; color: var(--text-dim); }
.proof-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(139, 92, 246, 0.45); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font: 600 0.98rem var(--font-body);
  padding: 18px 52px 18px 22px;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  translate: 0 -50%;
  background: var(--text-dim);
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M11 5h2v14h-2z'/><path fill='black' d='M5 11h14v2H5z'/></svg>") center / contain no-repeat;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent-bright); }
.faq-item p {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 55% 90% at 50% 110%, rgba(139, 92, 246, 0.22), transparent),
    var(--bg);
}
.final-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.final-cta p { color: var(--text-dim); margin-bottom: 30px; }

/* ---------- Final CTA ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 30px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-brand { flex: 1.6 1 240px; }
.footer-col { flex: 1 1 130px; }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 16px 0 20px;
  max-width: 32ch;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color 0.15s, border-color 0.15s;
}
.footer-socials a:hover { color: var(--accent-bright); border-color: rgba(139, 92, 246, 0.45); }

.footer-col { display: grid; gap: 11px; align-content: start; }
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 6px;
}
.footer-col a { font-size: 0.88rem; color: var(--text-dim); transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-col .soon { font-size: 0.88rem; color: var(--text-dim); opacity: 0.55; }
.footer-col .soon small {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  background: rgba(139, 92, 246, 0.14);
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
}
.footer-group {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
  opacity: 0.7;
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float, .pin, .pulse-dot, .typing::after { animation: none; }
}

/* ---------- Legal pages ---------- */
.legal-main { padding: 56px 0 96px; }
.legal-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}
.legal-nav {
  display: grid;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
}
.legal-nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.legal-nav-link:hover { color: var(--text); background: rgba(139, 92, 246, 0.1); }
.legal-nav-link.is-active {
  color: var(--accent-bright);
  background: rgba(139, 92, 246, 0.16);
  font-weight: 600;
}
.legal-doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
}
.legal-head { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal-head h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 12px 0 10px; }
.legal-updated { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 16px; }
.legal-intro { font-size: 1.02rem; color: var(--text-dim); line-height: 1.7; }
.legal-section { margin-bottom: 28px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-section p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }
.btn-block { width: 100%; }

@media (max-width: 880px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .legal-doc { padding: 28px 24px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-map { grid-row: auto; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-brand { flex-basis: 100%; }
  .footer-col { flex-basis: calc(50% - 36px); }
}

@media (max-width: 880px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-float-1 { right: 0; }
  .hero-float-2 { left: 0; }
  .section { padding: 68px 0; }
}

@media (max-width: 560px) {
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .panel-stats { grid-template-columns: repeat(2, 1fr); }
  .loc-list { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { width: 100%; }
  .trust-inner { justify-content: flex-start; }
  .footer-col { flex-basis: 100%; }
  .uptime-label { display: none; }
}
