/* ═══════════════════════════════════════════════════════════════
   Montreal ESK8 — hud.css (PR-14 Baroque Neo-Future HUD)
   Scope: body.hud-page — production pages only (sandbox: archive/design-sandbox/)
═══════════════════════════════════════════════════════════════ */

.hud-page {
  --bg:           #030408;
  --surface:      #070a14;
  /* brand red: inherit --accent / --accent-hot / --accent-deep from :root (PR-37) */
  --accent-glow:  rgba(224, 32, 47, 0.45);
  --blue:         #0076bc;
  --cyan:         #00d4ff;
  --cyan-glow:    rgba(0, 212, 255, 0.4);
  --gold:         #c9a962;
  --gold-bright:  #f0d78c;
  --gold-dim:     rgba(201, 169, 98, 0.12);
  --gold-glow:    rgba(201, 169, 98, 0.35);
  --pearl:        #f4f0e8;
  --glass:        rgba(10, 14, 32, 0.52);
  --glass-edge:   rgba(255, 255, 255, 0.09);
  --glass-border: rgba(0, 212, 255, 0.22);
  --text:         #b8c0d8;
  --muted:        #6b7a99;
  --white:        #eaf0fa;
  --nav-h:        72px;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.hud-page {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.hud-page img { display: block; max-width: 100%; }
.hud-page button { font: inherit; cursor: pointer; border: none; background: none; }
.hud-page a { color: inherit; text-decoration: none; }
.hud-page ul { list-style: none; }

/* ── AMBIENT: deep space + aurora + grain ───────────────────── */
.hud-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 75% 0%, rgba(0, 212, 255, 0.09), transparent 50%),
    radial-gradient(ellipse 60% 50% at 15% 100%, rgba(224, 32, 47, 0.07), transparent 45%),
    radial-gradient(ellipse 50% 40% at 50% 40%, rgba(201, 169, 98, 0.04), transparent 55%),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 35%, #000 100%);
  pointer-events: none;
  z-index: 0;
}

.hud-page::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.35;
  background:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 3px);
  background-size: 56px 56px, 56px 56px, 100% 3px;
  pointer-events: none;
  z-index: 9000;
}

.hud-wrap { position: relative; z-index: 1; }

/* ── PREVIEW BAR ────────────────────────────────────────────── */
.hud-preview-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 12px 24px;
  background: linear-gradient(0deg, rgba(3, 4, 8, 0.97), rgba(8, 12, 28, 0.88));
  border-top: 1px solid var(--gold-glow);
  box-shadow: 0 -8px 40px rgba(201, 169, 98, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hud-preview-bar .tag {
  color: var(--gold-bright);
  text-shadow: 0 0 20px var(--gold-glow);
}
.hud-preview-bar a { color: var(--muted); transition: color 0.2s; }
.hud-preview-bar a:hover { color: var(--cyan); }

/* ── NAV: luxe glass chrome ─────────────────────────────────── */
.hud-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: linear-gradient(180deg, rgba(8, 12, 28, 0.82), rgba(5, 7, 16, 0.65));
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(201, 169, 98, 0.25);
  box-shadow:
    0 1px 0 rgba(0, 212, 255, 0.15),
    0 12px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hud-nav-logo img {
  height: 52px;
  width: auto;
  max-width: min(300px, 42vw);
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201, 169, 98, 0.35)) drop-shadow(0 0 24px rgba(0, 212, 255, 0.2));
  transition: filter 0.4s;
}
.hud-nav-logo:hover img {
  filter: drop-shadow(0 0 18px rgba(201, 169, 98, 0.55)) drop-shadow(0 0 32px rgba(0, 212, 255, 0.35));
}

.hud-nav-links { display: flex; gap: 28px; }
.hud-nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.hud-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), var(--cyan), var(--accent));
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 0.35s var(--ease);
}
.hud-nav-links a:hover,
.hud-nav-links a.is-active { color: var(--pearl); }
.hud-nav-links a.is-active::before {
  content: '◆';
  font-size: 0.45rem;
  margin-right: 6px;
  color: var(--gold-bright);
  text-shadow: 0 0 8px var(--gold-glow);
  vertical-align: middle;
}
.hud-nav-links a:hover::after,
.hud-nav-links a.is-active::after { width: 100%; }

.hud-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hud-nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-bright), var(--cyan));
  box-shadow: 0 0 8px var(--cyan-glow);
  transition: transform 0.3s, opacity 0.3s;
}
.hud-nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hud-nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.hud-nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.hud-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(5, 7, 16, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-glow);
  border-left: 3px solid var(--gold);
  padding: 24px;
  flex-direction: column;
  z-index: 499;
}
.hud-drawer.is-open { display: flex; }
.hud-drawer a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.hud-drawer a:hover { color: var(--gold-bright); }

/* ── BUTTONS: glossy chrome ─────────────────────────────────── */
.hud-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 36px;
  color: var(--pearl);
  background: linear-gradient(145deg, #e82838 0%, var(--accent) 40%, #a01018 100%);
  border: 1px solid rgba(240, 215, 140, 0.35);
  box-shadow:
    0 0 0 1px rgba(224, 32, 47, 0.4),
    0 8px 32px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 8px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
}
.hud-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.18) 48%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.6s;
}
.hud-btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(240, 215, 140, 0.4),
    0 12px 40px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.hud-btn-primary:hover::before { transform: translateX(130%); }

.hud-btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 34px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(201, 169, 98, 0.04));
  border: 1px solid rgba(0, 212, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 24px rgba(0, 212, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.hud-btn-secondary::after {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(201, 169, 98, 0.15);
  pointer-events: none;
}
.hud-btn-secondary:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  box-shadow: 0 0 32px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ── LUXE PANEL (baroque frame) ─────────────────────────────── */
.hud-panel {
  position: relative;
  background: linear-gradient(145deg, rgba(14, 18, 38, 0.75), rgba(8, 10, 24, 0.55));
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid rgba(201, 169, 98, 0.22);
  box-shadow:
    0 0 60px rgba(0, 212, 255, 0.05),
    0 24px 64px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 80px rgba(201, 169, 98, 0.02);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}

/* Inner cyan rim */
.hud-panel::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(0, 212, 255, 0.12);
  pointer-events: none;
  z-index: 1;
}

/* Ornate corners — baroque L-brackets + curl */
.hud-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--gold-bright) 0%, transparent 8%) top left / 48px 48px no-repeat,
    linear-gradient(225deg, var(--gold-bright) 0%, transparent 8%) top right / 48px 48px no-repeat,
    linear-gradient(45deg, var(--cyan) 0%, transparent 6%) bottom left / 40px 40px no-repeat,
    linear-gradient(315deg, var(--accent) 0%, transparent 6%) bottom right / 40px 40px no-repeat;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}

.hud-panel-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hud-panel-shimmer {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.03), transparent 20deg);
  animation: hud-shimmer-spin 12s linear infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}
.hud-panel:hover {
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow:
    0 0 80px rgba(201, 169, 98, 0.08),
    0 0 40px rgba(0, 212, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.hud-panel:hover .hud-panel-shimmer { opacity: 1; }

.hud-filigree {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
  margin: 8px 0 20px;
}
.hud-filigree::before,
.hud-filigree::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.hud-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-shadow: 0 0 24px var(--gold-glow);
}
.hud-label::before {
  content: '⟨';
  color: var(--cyan);
  font-size: 0.9rem;
  opacity: 0.8;
}
.hud-label::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hud-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, var(--pearl) 0%, var(--white) 45%, rgba(184, 192, 216, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.12));
}

.hud-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.8rem, 9vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: 0.05em;
}
.hud-hero-title .line-plain {
  background: linear-gradient(180deg, #fff 0%, var(--pearl) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hud-hero-title .line-esk8 {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--accent) 50%, var(--accent-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px var(--accent-glow));
}

.hud-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 440px;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hud-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--nav-h) 48px 60px;
  gap: 48px;
}

.hud-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 540px;
  perspective: 1200px;
}

/* Ornate radar rings */
.hud-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hud-orbit-1 {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(201, 169, 98, 0.15);
  box-shadow: inset 0 0 60px rgba(201, 169, 98, 0.04);
  animation: hud-spin 50s linear infinite;
}
.hud-orbit-2 {
  width: 430px;
  height: 430px;
  border: 1px dashed rgba(0, 212, 255, 0.2);
  animation: hud-spin 35s linear infinite reverse;
}
.hud-orbit-3 {
  width: 360px;
  height: 360px;
  background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.06) 40deg, transparent 80deg);
  animation: hud-spin 6s linear infinite;
  opacity: 0.7;
}

.hud-console {
  position: relative;
  width: min(90%, 480px);
  aspect-ratio: 1.05;
  transform: rotateX(50deg) rotateZ(-5deg);
  transform-style: preserve-3d;
  animation: hud-float 7s ease-in-out infinite;
  z-index: 3;
}

.hud-console-frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 42px 1fr 46px;
  background: linear-gradient(160deg, rgba(16, 20, 42, 0.85), rgba(6, 8, 18, 0.75));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(0, 212, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 60px rgba(201, 169, 98, 0.03);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  overflow: hidden;
}

.hud-console-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}
.hud-console-bar span:last-child {
  color: var(--gold-bright);
  text-shadow: 0 0 12px var(--gold-glow);
}

.hud-console-viewport {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 212, 255, 0.12), transparent 45%),
    radial-gradient(circle at 30% 70%, rgba(201, 169, 98, 0.06), transparent 40%);
}

.hud-console-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000 55%, transparent 92%);
}

.hud-console-sweep {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(201, 169, 98, 0.08) 15deg, rgba(0, 212, 255, 0.15) 22deg, rgba(224, 32, 47, 0.2) 28deg, transparent 35deg);
  animation: hud-spin 4.5s linear infinite;
}

.hud-reticle {
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(201, 169, 98, 0.1), inset 0 0 20px rgba(0, 212, 255, 0.05);
  animation: hud-breathe 4s ease-in-out infinite;
}

.hud-console-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(320px, 72%);
  height: min(170px, 38%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.12), rgba(8, 10, 24, 0.95));
  box-shadow:
    0 0 40px rgba(201, 169, 98, 0.15),
    inset 0 2px 12px rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
}
.hud-console-logo img {
  width: min(300px, 100%);
  height: min(150px, 100%);
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(224, 32, 47, 0.5));
}

.hud-console-metrics {
  display: flex;
  justify-content: space-between;
  padding: 0 22px;
  align-items: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 1px solid rgba(201, 169, 98, 0.18);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent);
}
.hud-console-metrics span:nth-child(1) { color: var(--accent); }
.hud-console-metrics span:nth-child(2) { color: var(--gold-bright); }
.hud-console-metrics span:nth-child(3) { color: var(--cyan); }

.hud-telem {
  position: absolute;
  padding: 14px 16px;
  display: grid;
  gap: 3px;
  background: linear-gradient(145deg, rgba(12, 16, 36, 0.9), rgba(6, 8, 20, 0.8));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 98, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.46rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 4;
}
.hud-telem strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(180deg, var(--pearl), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hud-telem-left { left: -2%; bottom: 10%; }
.hud-telem-right { right: -2%; top: 12%; }
.hud-telem-right strong {
  background: linear-gradient(180deg, var(--gold-bright), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

/* ── TICKER ─────────────────────────────────────────────────── */
.hud-ticker {
  padding: 14px 0;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.04), rgba(0, 212, 255, 0.03), rgba(201, 169, 98, 0.04));
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}
.hud-ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: hud-marquee 24s linear infinite;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.t-gold { color: var(--gold-bright); opacity: 0.85; text-shadow: 0 0 16px var(--gold-glow); }
.t-cyan { color: var(--cyan); opacity: 0.8; }
.t-red { color: var(--accent); opacity: 0.75; }
.t-orn { color: var(--gold); opacity: 0.5; }

/* ── FEATURES ───────────────────────────────────────────────── */
.hud-features {
  padding: 100px 48px;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 24, 0.6) 20%, transparent);
}

.hud-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.hud-feature { padding: 44px 36px; position: relative; z-index: 2; }

.hud-feature-mod {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 22px;
  opacity: 0.85;
}
.hud-feature:nth-child(2) .hud-feature-mod { color: var(--cyan); }
.hud-feature:nth-child(3) .hud-feature-mod { color: var(--accent); }

.hud-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.15rem;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.12), rgba(8, 12, 28, 0.8));
  box-shadow: 0 0 28px rgba(201, 169, 98, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: var(--gold-bright);
}
.hud-feature:nth-child(2) .hud-feature-icon { color: var(--cyan); border-color: rgba(0, 212, 255, 0.35); }
.hud-feature:nth-child(3) .hud-feature-icon { color: var(--accent); border-color: rgba(224, 32, 47, 0.35); }

.hud-feature-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.08em;
  color: var(--pearl);
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}

.hud-feature-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── CTA ────────────────────────────────────────────────────── */
.hud-cta {
  padding: 110px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hud-cta-ornament {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.12);
  pointer-events: none;
}
.hud-cta-ornament::before {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 212, 255, 0.15);
  animation: hud-spin 25s linear infinite;
}
.hud-cta-ornament::after {
  content: '✦';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.6;
  text-shadow: 0 0 12px var(--gold-glow);
}

.hud-cta-inner { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.hud-cta .hud-sub { margin: 0 auto 36px; }
.hud-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.hud-footer {
  padding: 44px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  background: linear-gradient(0deg, rgba(5, 7, 16, 0.9), transparent);
}
.hud-footer img { height: 24px; filter: drop-shadow(0 0 8px rgba(201, 169, 98, 0.2)); }
.hud-footer-copy {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: center;
}
.hud-footer-links { display: flex; gap: 20px; }
.hud-footer-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.hud-footer-links a:hover { color: var(--gold-bright); }

/* ── REVEAL / GLITCH ────────────────────────────────────────── */
.hud-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hud-reveal.is-visible { opacity: 1; transform: translateY(0); }

.hud-glitch.is-animating { animation: hud-glitch 5s infinite; }

/* ── KEYFRAMES ──────────────────────────────────────────────── */
@keyframes hud-spin { to { transform: rotate(360deg); } }
@keyframes hud-marquee { to { transform: translateX(-50%); } }
@keyframes hud-float {
  0%, 100% { transform: rotateX(50deg) rotateZ(-5deg) translateY(0); }
  50% { transform: rotateX(50deg) rotateZ(-5deg) translateY(-14px); }
}
@keyframes hud-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.88; }
}
@keyframes hud-shimmer-spin { to { transform: rotate(360deg); } }
@keyframes hud-glitch {
  0%, 92%, 100% { transform: translate(0); filter: none; }
  93% { transform: translate(-2px, 1px); filter: hue-rotate(10deg); }
  94% { transform: translate(2px, -1px); }
  95% { transform: translate(-1px, 2px); }
}

.hud-page :focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

@media (max-width: 900px) {
  .hud-nav { padding: 0 20px; }
  .hud-nav-links { display: none; }
  .hud-nav-hamburger { display: flex; }
  .hud-hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 20px) 24px 48px;
    text-align: center;
  }
  .hud-sub { margin-left: auto; margin-right: auto; }
  .hud-hero-actions { justify-content: center; }
  .hud-hero-visual { height: 360px; }
  .hud-orbit-1 { width: 340px; height: 340px; }
  .hud-orbit-2 { width: 290px; height: 290px; }
  .hud-telem { display: none; }
  .hud-features { padding: 64px 24px; }
  .hud-features-grid { grid-template-columns: 1fr; }
  .hud-cta { padding: 72px 24px; }
  .hud-footer { grid-template-columns: 1fr; text-align: center; }
  .hud-footer-links { justify-content: center; flex-wrap: wrap; }
  .hud-page:has(.hud-preview-bar) { padding-bottom: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .hud-page *, .hud-page *::before, .hud-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}