/* ============================================================
   HELIOS — validator infrastructure
   Dark "solar" theme: deep space navy + amber/gold accents
   ============================================================ */

:root {
  --bg: #07090f;
  --bg-alt: #0b0e17;
  --surface: #10141f;
  --surface-2: #151a28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #e8eaf0;
  --text-dim: #9aa1b5;
  --text-faint: #626a80;

  --gold: #f5a623;
  --gold-bright: #ffc75e;
  --gold-deep: #d97e0f;
  --amber-glow: rgba(245, 166, 35, 0.14);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

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

::selection { background: rgba(245, 166, 35, 0.3); color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* subtle film grain for depth */
.noise {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.text-gradient {
  background: linear-gradient(100deg, var(--gold-bright) 0%, var(--gold) 45%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #17110a;
  box-shadow: 0 0 0 1px rgba(255, 199, 94, 0.4) inset,
              0 8px 28px -8px rgba(245, 166, 35, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 214, 130, 0.6) inset,
              0 14px 36px -8px rgba(245, 166, 35, 0.7);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: rgba(245, 166, 35, 0.5);
  background: rgba(245, 166, 35, 0.06);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--gold-bright);
  border-color: rgba(245, 166, 35, 0.35);
  background: rgba(245, 166, 35, 0.04);
  font-size: 14px; padding: 11px 20px;
}
.btn-outline:hover {
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.7);
}

.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 15, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  display: flex; align-items: center; gap: 40px;
  height: 76px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold);
}
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  color: var(--text); letter-spacing: -0.01em;
}
.brand-mark { display: grid; place-items: center; }

.nav-links {
  display: flex; gap: 32px; margin-left: auto;
}
.nav-links a {
  font-size: 14.5px; font-weight: 450; color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
#orbits {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-glow {
  position: absolute; pointer-events: none;
  width: 900px; height: 900px;
  left: 50%; top: -420px; transform: translateX(-50%);
  background: radial-gradient(circle,
    rgba(245, 166, 35, 0.16) 0%,
    rgba(245, 166, 35, 0.05) 38%,
    transparent 68%);
  filter: blur(2px);
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--text-dim);
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  margin-bottom: 34px;
}
.hero-title {
  font-size: clamp(44px, 7.2vw, 84px);
  font-weight: 700;
  margin-bottom: 26px;
}
.hero-sub {
  max-width: 620px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-dim);
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  margin-top: 84px;
  display: flex; align-items: center; gap: clamp(24px, 4.5vw, 56px);
  flex-wrap: wrap; justify-content: center;
  padding: 26px 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(13, 16, 26, 0.55);
  backdrop-filter: blur(12px);
}
.stat { text-align: center; min-width: 110px; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.1;
}
.stat-label {
  font-size: 13px; color: var(--text-faint);
  margin-top: 6px; letter-spacing: 0.02em;
}
.stat-divider { width: 1px; height: 44px; background: var(--border); }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1.5px solid var(--border-strong); border-radius: 14px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--gold);
  animation: scroll-hint 2.2s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
}

/* pulse dot */
.pulse-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; position: relative; flex: none;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid #4ade80;
  animation: pulse-ring 2s var(--ease-out) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============ Marquee strip ============ */
.strip {
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-group { display: flex; }
.strip-group span {
  font-family: var(--font-mono); font-size: 14px;
  color: var(--text-faint);
  padding: 0 34px;
  white-space: nowrap;
  transition: color 0.3s;
}
.strip-group span:hover { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: clamp(88px, 11vw, 140px) 0; position: relative; }
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  margin-bottom: 18px;
}
.section-head p { color: var(--text-dim); font-size: 17px; }

/* ============ Values ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.value-card {
  position: relative;
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(16, 20, 31, 0.4));
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: 0 20px 48px -20px rgba(245, 166, 35, 0.25);
}
.value-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(245, 166, 35, 0.09), transparent 55%);
  opacity: 0; transition: opacity 0.4s;
}
.value-card:hover::before { opacity: 1; }
.value-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 12px;
  background: var(--amber-glow);
  margin-bottom: 22px;
}
.value-icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--text-dim); }
.value-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text-faint); opacity: 0.7;
}

/* ============ Services ============ */
.services-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 38px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}
.service-card.featured {
  background:
    radial-gradient(600px circle at 15% -10%, rgba(245, 166, 35, 0.12), transparent 55%),
    var(--surface);
  border-color: rgba(245, 166, 35, 0.3);
}
.service-card.featured:hover {
  border-color: rgba(245, 166, 35, 0.55);
  box-shadow: 0 24px 60px -24px rgba(245, 166, 35, 0.3);
}
.service-tag {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  padding: 5px 12px;
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 100px;
  background: var(--amber-glow);
}
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 14px;
  background: var(--amber-glow);
  margin-bottom: 24px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 23px; margin-bottom: 12px; }
.service-card > p { color: var(--text-dim); font-size: 15px; margin-bottom: 22px; }
.service-list { margin-bottom: 28px; display: grid; gap: 10px; }
.service-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--text-dim);
}
.service-list li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex: none;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.8);
}
.service-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--gold-bright);
}
.service-link svg { transition: transform 0.25s var(--ease-out); }
.service-link:hover svg { transform: translateX(4px); }

/* ============ Security ============ */
.security-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.security-copy h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.security-lead { color: var(--text-dim); font-size: 17px; margin-bottom: 36px; }
.security-features { display: grid; gap: 22px; }
.security-features li {
  display: grid; gap: 4px;
  padding-left: 30px;
  position: relative;
}
.security-features li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  border: 2px solid var(--gold); border-radius: 4px;
  transform: rotate(45deg);
  background: var(--amber-glow);
}
.security-features strong {
  font-family: var(--font-display); font-size: 16.5px; font-weight: 600;
}
.security-features span { font-size: 14.5px; color: var(--text-dim); }

.security-visual { position: relative; }
.layer-stack {
  display: grid; gap: 12px;
  perspective: 900px;
}
.layer {
  --i: 0;
  font-family: var(--font-mono); font-size: 13.5px;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transform: translateX(calc(var(--i) * 14px));
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
}
.layer:hover {
  border-color: rgba(245, 166, 35, 0.4);
  transform: translateX(calc(var(--i) * 14px)) translateY(-3px);
}
.layer-num {
  font-size: 11px; font-weight: 500;
  color: var(--gold);
  padding: 4px 9px;
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 6px;
  background: var(--amber-glow);
  flex: none;
}
.layer.core {
  border-color: rgba(245, 166, 35, 0.5);
  background:
    radial-gradient(300px circle at 20% 0%, rgba(245, 166, 35, 0.16), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--text);
  box-shadow: 0 0 40px -12px rgba(245, 166, 35, 0.35);
}
.layer-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: #4ade80;
}
.uptime-chip {
  position: absolute; right: 0; bottom: -54px;
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(13, 16, 26, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}
.uptime-value {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  color: var(--gold-bright);
}
.uptime-label { font-size: 12.5px; color: var(--text-faint); }

/* ============ Networks ============ */
.net-tabs {
  display: inline-flex; gap: 4px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  margin-bottom: 40px;
}
.net-tab {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--text-dim);
  background: none; border: 0; cursor: pointer;
  padding: 10px 26px; border-radius: 100px;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.net-tab.active {
  color: #17110a;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 6px 20px -6px rgba(245, 166, 35, 0.5);
}
.net-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}
.net-grid.hidden { display: none; }
.net-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.net-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: 0 20px 48px -24px rgba(0, 0, 0, 0.8);
}
.net-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.net-logo {
  --hue: 210;
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: hsl(var(--hue), 80%, 72%);
  background: hsla(var(--hue), 70%, 55%, 0.14);
  border: 1px solid hsla(var(--hue), 70%, 62%, 0.35);
  border-radius: 12px;
}
.net-head h3 { font-size: 18px; }
.net-type {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase;
}
.net-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; color: #4ade80;
}
.net-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 20px;
}
.net-meta dt {
  font-size: 11.5px; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.net-meta dd {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  color: var(--text);
}

/* ============ Steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  padding: 36px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(245, 166, 35, 0.3); }
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--gold-bright);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-radius: 50%;
  background: var(--amber-glow);
  margin-bottom: 22px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-dim); }

/* ============ FAQ ============ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.faq-head p { color: var(--text-dim); }
.faq-head a { color: var(--gold); border-bottom: 1px solid rgba(245, 166, 35, 0.4); }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(245, 166, 35, 0.35); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px;
  cursor: pointer; list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-bright); }
.faq-icon {
  position: relative; width: 20px; height: 20px; flex: none;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--gold);
  transition: transform 0.3s var(--ease-out);
}
.faq-icon::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq-icon::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { font-size: 15px; color: var(--text-dim); }

/* ============ CTA ============ */
.cta-section { padding-bottom: clamp(88px, 10vw, 130px); }
.cta-card {
  position: relative;
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 32px;
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 28px;
  background:
    radial-gradient(700px circle at 50% -20%, rgba(245, 166, 35, 0.16), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.cta-glow {
  position: absolute; left: 50%; bottom: -220px; transform: translateX(-50%);
  width: 640px; height: 340px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.18), transparent 65%);
  pointer-events: none;
}
.cta-card h2 { font-size: clamp(30px, 4.6vw, 50px); margin-bottom: 18px; }
.cta-card p {
  color: var(--text-dim); font-size: 17px;
  max-width: 520px; margin: 0 auto 38px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px; color: var(--text-faint);
  margin-top: 16px; max-width: 280px;
}
.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col h4 {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 6px;
}
.footer-col a {
  font-size: 14.5px; color: var(--text-dim);
  transition: color 0.2s;
  width: fit-content;
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-faint);
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal[data-delay="1"] { --d: 1; }
.reveal[data-delay="2"] { --d: 2; }
.reveal[data-delay="3"] { --d: 3; }
.reveal[data-delay="4"] { --d: 4; }
.reveal[data-delay="5"] { --d: 5; }
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-column: 1 / -1; }
  .security-layout { grid-template-columns: 1fr; }
  .uptime-chip { position: static; margin-top: 28px; width: fit-content; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: 76px; left: 0; right: 0;
    padding: 18px 24px 26px;
    background: rgba(7, 9, 15, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  .nav.menu-open .nav-links a {
    padding: 12px 0; font-size: 17px;
  }
  .nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 120px; }
  .hero-stats { gap: 20px; padding: 22px; }
  .stat { min-width: 96px; }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .layer { transform: none; font-size: 12.5px; }
  .layer:hover { transform: translateY(-3px); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
