/* ==========================================================================
   ELOQUENT ATELIER — ESTABLISHMENT ERA 2025 · QUANTUM SPATIAL HUD STYLESHEET
   Cybernetic AI Atelier Interface
   ========================================================================== */

:root {
  --bg-dark: #050507;
  --bg-hud: rgba(10, 10, 14, 0.75);
  --bg-card: rgba(18, 18, 26, 0.85);

  --color-gold: #f0c265;
  --color-gold-bright: #ffe082;
  --color-gold-glow: rgba(240, 194, 101, 0.4);

  --color-cyan: #00f0ff;
  --color-cyan-glow: rgba(0, 240, 255, 0.3);

  --text-primary: #f6ead0;
  --text-muted: #8e8e9a;

  --border-hud: rgba(240, 194, 101, 0.2);
  --border-cyan: rgba(0, 240, 255, 0.25);

  --font-orbitron: 'Orbitron', monospace;
  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  user-select: none;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-dark);
}

body.locked {
  overflow: hidden;
}

/* SELECTION & COPY ZONES — contact/output areas stay copyable, chrome stays locked */
::selection {
  background: rgba(240, 194, 101, 0.9);
  color: #050507;
  text-shadow: none;
}

.hud-footer,
.bp-direct-contact-info,
.cs-summary,
.terminal-body {
  -webkit-user-select: text;
  user-select: text;
}

/* ================= HUD LOADER ================= */
.hud-loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.hud-loader.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.loader-matrix {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 440px;
  width: 90%;
}

.loader-hex {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 24px;
}

.loader-hex svg {
  width: 100%;
  height: 100%;
}

.hex-border {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 2;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: hexDraw 2s forwards infinite ease-in-out;
}

@keyframes hexDraw {
  0% { stroke-dashoffset: 300; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -300; }
}

.loader-title {
  font-family: var(--font-orbitron);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.loader-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-cyan);
  margin-bottom: 24px;
}

.loader-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(240, 194, 101, 0.15);
  border: 1px solid var(--border-hud);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-cyan));
  box-shadow: 0 0 10px var(--color-gold);
}

.loader-readout {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ================= SPATIAL CANVAS & MINIMALIST QUANTUM CANVAS ================= */
.minimalist-quantum-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  width: 100vw;
  height: 100vh;
}

/* ================= LASER CURSOR ================= */
.laser-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-cyan);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.laser-cursor-crosshair {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cross-line {
  position: absolute;
  background-color: var(--color-gold);
}
.cross-line.h { top: 50%; left: -6px; right: -6px; height: 1px; }
.cross-line.v { left: 50%; top: -6px; bottom: -6px; width: 1px; }

/* SFX TOGGLE BUTTON */
.sfx-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-gold);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.sfx-toggle-btn:hover {
  border-color: var(--color-gold);
  box-shadow: 0 0 12px var(--color-gold-glow);
}

/* ================= TOP COMMAND BAR ================= */
.cmd-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 8000;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hud);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.cmd-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmd-logo {
  width: 42px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmd-logo svg {
  width: 100%;
  height: 100%;
}

.cmd-logo.glowing-logo {
  animation: logoBreath 2.6s ease-in-out infinite;
}

@keyframes logoBreath {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(0,240,255,0.45)) drop-shadow(0 0 8px rgba(0,240,255,0.25)); }
  50% { filter: drop-shadow(0 0 7px rgba(0,240,255,0.9)) drop-shadow(0 0 18px rgba(0,240,255,0.5)); }
}

.cmd-brand-title {
  font-family: var(--font-orbitron);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.45);
}

.cmd-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-cyan);
  letter-spacing: 0.08em;
  display: block;
}

/* HUD MODE NAV */
.hud-nav {
  display: flex;
  gap: 8px;
  background: rgba(18, 18, 26, 0.6);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-hud);
}

.hud-mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--color-gold);
  color: var(--bg-dark);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.hud-mode-btn:hover {
  background: var(--color-gold-bright);
  box-shadow: 0 0 12px var(--color-gold-glow);
}

.hud-mode-btn.active {
  background: var(--text-muted);
  color: var(--bg-dark);
  font-weight: 700;
}

.btn-hud-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--color-cyan);
  border-radius: 6px;
  font-family: var(--font-orbitron);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-cyan);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-hud-cta:hover {
  background: var(--color-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 16px var(--color-cyan-glow);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.8); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* ================= MAIN HUD VIEWPORT ================= */
.hud-viewport {
  position: relative;
  z-index: 10;
  padding-top: 84px;
  padding-bottom: 16px;
  min-height: calc(100vh - 88px);
}

.hud-mode-section {
  display: none;
  padding: 40px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.hud-mode-section.active {
  display: block;
}

/* ================= MODE 01: HERO HUD FRAME ================= */
.hero-hud-frame {
  position: relative;
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid var(--border-hud);
  border-radius: 16px;
  padding: 72px 54px;
  max-width: 1260px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.hud-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--color-gold);
  border-style: solid;
}
.hud-corner.top-left { top: -1px; left: -1px; border-width: 3px 0 0 3px; }
.hud-corner.top-right { top: -1px; right: -1px; border-width: 3px 3px 0 0; }
.hud-corner.bottom-left { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; }
.hud-corner.bottom-right { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(240, 194, 101, 0.08);
  border: 1px solid var(--border-hud);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 22px;
}

.chip-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-gold);
}

.spatial-glitch-title {
  font-family: var(--font-orbitron);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.glitch-line { display: block; }
.gold-glow {
  color: var(--color-gold);
  text-shadow: 0 0 20px var(--color-gold-glow);
}

.spatial-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.7;
  margin: 0 auto 36px;
}

.spatial-cta-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 54px;
}

.btn-cyber-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--color-gold);
  color: var(--bg-dark);
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-cyber-primary:hover {
  background: var(--color-gold-bright);
  box-shadow: 0 0 24px var(--color-gold-glow);
  transform: translateY(-2px);
}

.btn-cyber-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  color: var(--color-cyan);
  border: 1px solid var(--color-cyan);
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cyber-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 20px var(--color-cyan-glow);
  transform: translateY(-2px);
}

.cyber-arr {
  font-style: normal;
}

.full-w { width: 100%; justify-content: center; }

/* METRICS GRID */
.hud-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  border-top: 1px solid var(--border-hud);
  padding-top: 36px;
}

.metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.m-val {
  font-family: var(--font-orbitron);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.m-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ================= MODE 02: 50 NEURAL MATRIX ================= */
.matrix-header {
  margin-bottom: 32px;
}

.m-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-cyan);
  letter-spacing: 0.15em;
}

.m-title {
  font-family: var(--font-orbitron);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.matrix-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.matrix-search {
  position: relative;
  max-width: 650px;
}

.matrix-search .s-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold);
}

.matrix-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.matrix-search input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 16px var(--color-gold-glow);
  outline: none;
}

.matrix-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m-pill {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.m-pill:hover {
  color: var(--text-primary);
  border-color: var(--color-gold);
}

.m-pill.active {
  background: var(--color-gold);
  color: var(--bg-dark);
  font-weight: 700;
  border-color: var(--color-gold);
}

/* NODES GRID */
.quantum-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.q-card {
  background: var(--bg-hud);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-hud);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s;
}

.q-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px var(--color-gold-glow);
}

.q-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.q-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-gold);
}

.q-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 8px;
  background: rgba(0, 240, 255, 0.08);
  color: var(--color-cyan);
  border-radius: 3px;
}

.q-title {
  font-family: var(--font-orbitron);
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(90deg, #f6ead0, #f0c265);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* Champagne→Gold gradient for all major display headings (matches Matrix headlines) */
.m-title,
.bp-title,
.demo-title {
  background: linear-gradient(92deg, #f6ead0 15%, #f0c265 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.q-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.q-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
}

.q-days {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-gold);
}

.btn-stage-service {
  padding: 6px 12px;
  background: rgba(240, 194, 101, 0.1);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-stage-service:hover {
  background: var(--color-gold);
  color: var(--bg-dark);
}

/* ================= MODE 03: COMMAND TERMINAL ================= */
.terminal-hud-container {
  max-width: 900px;
  margin: 0 auto;
}

.terminal-window {
  background: #08080c;
  border: 1px solid var(--color-cyan);
  box-shadow: 0 0 30px var(--color-cyan-glow);
  border-radius: 8px;
  overflow: hidden;
}

.terminal-bar {
  background: #101018;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-cyan);
}

.t-dots { display: flex; gap: 8px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.red { background: #ff5555; }
.t-dot.yellow { background: #ffbe2e; }
.t-dot.green { background: #29c940; }

.t-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-cyan);
}

.t-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 24px;
  height: 520px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.t-log { color: #d0d0e0; }
.t-log.gold { color: var(--color-gold); }
.t-log.muted { color: var(--text-muted); }
.t-prompt { color: var(--color-cyan); margin-right: 8px; }

.terminal-quick-cmds {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  background: #0d0d14;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.btn-cmd-quick {
  padding: 4px 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-cyan);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-cyan);
  cursor: pointer;
}

.btn-cmd-quick:hover {
  background: var(--color-cyan);
  color: var(--bg-dark);
}

.terminal-input-line {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  background: #0a0a10;
  border-top: 1px solid var(--border-cyan);
}

.t-prompt-arrow {
  font-family: var(--font-mono);
  color: var(--color-gold);
  font-weight: bold;
}

.terminal-input-line input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
}

.t-btn-send {
  padding: 8px 16px;
  background: var(--color-cyan);
  border: none;
  color: var(--bg-dark);
  font-family: var(--font-orbitron);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

/* ================= MODE 04: BLUEPRINT ESTIMATOR ================= */
.blueprint-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .blueprint-split {
    grid-template-columns: 1fr 1fr;
  }
}

.bp-head {
  margin-bottom: 24px;
}

.bp-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-gold);
}

.bp-title {
  font-family: var(--font-orbitron);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-primary);
}

.bp-left, .bp-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bp-selected-box {
  background: var(--bg-hud);
  border: 1px solid var(--border-hud);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bp-box-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-cyan);
  margin-bottom: 16px;
}

.btn-bp-clear {
  color: #ff5555;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
}

.bp-nodes-list {
  min-height: 140px;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.bp-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ff5555;
}

.bp-node-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5,5,7,0.6);
  border: 1px solid var(--border-hud);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.bp-node-remove {
  color: #ff5555;
  cursor: pointer;
}

.bp-presets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-hud);
  padding-top: 16px;
  margin-bottom: 20px;
}

.preset-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.bp-preset-btn {
  padding: 8px 12px;
  background: rgba(240, 194, 101, 0.08);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.bp-preset-btn:hover {
  background: var(--color-gold);
  color: var(--bg-dark);
}

.bp-direct-contact-info {
  border-top: 1px solid var(--border-hud);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.direct-c-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.c-lbl {
  color: var(--text-muted);
}

.c-val {
  color: var(--color-gold);
  font-weight: 600;
}

/* SUMMARY RIGHT CARD */
.bp-summary-card {
  background: var(--bg-hud);
  border: 1px solid var(--border-hud);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bp-summary-header { margin-bottom: 24px; }
.bp-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 8px;
  background: var(--color-gold);
  color: var(--bg-dark);
  font-weight: bold;
  border-radius: 3px;
}

.bp-summary-header h3 {
  font-family: var(--font-orbitron);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-top: 8px;
}

.bp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.bp-row strong { color: var(--text-primary); }

.highlight-row {
  border-top: 1px solid var(--border-hud);
  padding-top: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.bp-price {
  font-family: var(--font-orbitron);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-gold);
}

.bp-commission-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bp-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.bp-field input, .bp-field textarea {
  padding: 10px 14px;
  background: rgba(5,5,7,0.8);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.bp-field input:focus, .bp-field textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}

/* ================= PROVING GROUNDS & DEMOS SECTION ================= */
.demos-hud-container {
  max-width: 1400px;
  margin: 0 auto;
}

.demos-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 24px;
}

.demo-card {
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid var(--border-hud);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
}

.demo-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 20px var(--color-gold-glow);
}

.demo-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.demo-title {
  font-family: var(--font-orbitron);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.demo-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.demo-interactive-box {
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-demo-trigger {
  padding: 10px 16px;
  background: var(--color-gold);
  border: none;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-dark);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-demo-trigger:hover {
  background: var(--color-gold-bright);
  box-shadow: 0 0 12px var(--color-gold-glow);
}

.demo-output-terminal {
  background: #040406;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-cyan);
  min-height: 48px;
  line-height: 1.5;
}

/* ================= WHATSAPP & SOCIAL MEDIA GRID ================= */
.whatsapp-connect-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 8px;
  color: #25d366;
  text-decoration: none;
  transition: all 0.3s;
  margin-bottom: 16px;
}

.whatsapp-connect-card:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.wa-icon-wrap {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-svg {
  width: 100%;
  height: 100%;
}

.wa-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.wa-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.wa-num {
  font-family: var(--font-orbitron);
  font-size: 1.05rem;
  font-weight: 700;
}

.wa-arr {
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.whatsapp-connect-card:hover .wa-arr {
  transform: translateX(4px);
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.social-chip {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  background: rgba(5, 5, 7, 0.8);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.social-chip:hover {
  border-color: var(--color-gold);
  background: rgba(240, 194, 101, 0.08);
}

.s-name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-gold);
  font-weight: 700;
}

.s-handle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ================= ADMIN LOGIN GATE ================= */
.admin-login-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.97);
  z-index: 13000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-login-modal.show {
  display: flex;
}

.admin-login-dialog {
  background: #09090e;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 0 60px var(--color-gold-glow);
}

.al-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.admin-login-dialog h3 {
  font-family: var(--font-orbitron);
  font-size: 1.2rem;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.al-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.login-error-msg {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #ff5555;
  background: rgba(255, 85, 85, 0.1);
  border: 1px solid rgba(255, 85, 85, 0.4);
  border-radius: 4px;
  padding: 8px 12px;
  text-align: center;
}

.login-error-msg.visible {
  display: block;
  animation: shakeX 0.35s ease;
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.al-btn-row {
  display: flex;
  gap: 10px;
}

.al-btn-row .btn-cyber-primary { flex: 1; justify-content: center; }

/* ================= DEMO MANAGER TOOLBAR (ADMIN) ================= */
.demo-manager-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.demo-manager-toolbar .grow { flex-grow: 1; min-width: 240px; }

.btn-demo-add {
  padding: 10px 14px;
  background: rgba(41, 201, 64, 0.12);
  border: 1px solid #29c940;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #29c940;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-demo-add:hover {
  background: #29c940;
  color: #000;
}

.btn-demo-delete {
  padding: 10px 14px;
  background: rgba(255, 85, 85, 0.12);
  border: 1px solid #ff5555;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff5555;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-demo-delete:hover {
  background: #ff5555;
  color: #000;
}

/* ================= HUD ADMIN CONSOLE MODAL ================= */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.97);
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal.show {
  display: flex;
}

.admin-modal-dialog {
  background: #09090e;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  width: 100%;
  max-width: 840px;
  box-shadow: 0 0 50px var(--color-gold-glow);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-modal-head {
  padding: 20px 24px;
  background: #101018;
  border-bottom: 1px solid var(--border-hud);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-cyan);
  letter-spacing: 0.1em;
}

.admin-modal-head h3 {
  font-family: var(--font-orbitron);
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-top: 4px;
}

.btn-admin-close {
  padding: 6px 12px;
  background: rgba(255, 85, 85, 0.15);
  border: 1px solid #ff5555;
  color: #ff5555;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

.btn-admin-close:hover {
  background: #ff5555;
  color: #000;
}

.admin-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-hud);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.a-tab {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
}

.a-tab.active {
  background: var(--color-gold);
  color: var(--bg-dark);
  font-weight: 700;
  border-color: var(--color-gold);
}

.a-tab-pane {
  display: none;
}

.a-tab-pane.active {
  display: block;
}

.admin-service-picker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.admin-service-picker select {
  padding: 10px 14px;
  background: #14141e;
  border: 1px solid var(--color-gold);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.admin-edit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.a-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.a-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.a-field input, .a-field textarea {
  padding: 10px 14px;
  background: #0f0f15;
  border: 1px solid var(--border-hud);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.a-field input:focus, .a-field textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}

.a-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.a-minmax {
  display: flex;
  gap: 8px;
}

.a-minmax input {
  width: 50%;
}

.admin-code-area {
  width: 100%;
  height: 260px;
  background: #060608;
  border: 1px solid var(--border-cyan);
  border-radius: 4px;
  padding: 14px;
  color: var(--color-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-top: 14px;
  outline: none;
  resize: none;
}

.a-btn-row {
  display: flex;
  gap: 12px;
}

.a-export-note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ================= SPATIAL FOOTER & ALL TEXT CYAN ================= */
.hud-footer {
  position: relative;
  z-index: 10;
  background: #030305;
  border-top: 1px solid var(--border-cyan);
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  gap: 8px;
}

.cyan-text, .hud-footer span, .hud-footer a, .hud-footer button {
  color: var(--color-cyan) !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.f-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.f-sep { opacity: 0.6; }

.f-link {
  text-decoration: none;
  transition: all 0.2s;
}

.f-link:hover {
  text-decoration: underline;
  text-shadow: 0 0 14px var(--color-cyan);
}

.f-hud-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.status-indicator { width: 6px; height: 6px; background: var(--color-cyan); border-radius: 50%; box-shadow: 0 0 8px var(--color-cyan); }

/* Admin contacts tab — dynamic social rows */
.ac-social-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ac-social-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  gap: 8px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .cmd-bar { height: auto; padding: 10px 14px; flex-direction: column; gap: 8px; }
  .hud-nav { overflow-x: auto; max-width: 100%; width: 100%; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .cmd-actions { width: 100%; }
  .cmd-actions .btn-hud-cta { width: 100%; justify-content: center; }
  .hud-viewport { padding-top: 196px; min-height: calc(100vh - 60px); }
  .hero-hud-frame { padding: 36px 20px; }
  .spatial-glitch-title { font-size: 1.9rem; }
  .terminal-body { height: 420px; }
  .terminal-quick-cmds { flex-wrap: wrap; }
  .terminal-input-line input { min-width: 0; }
  .blueprint-split, .demos-grid, .quantum-nodes-grid { grid-template-columns: 1fr; }
  .admin-modal-body { padding: 16px; }
  .admin-tabs { flex-wrap: wrap; }
  .a-row-2 { grid-template-columns: 1fr; }
  .ac-social-row { grid-template-columns: 1fr; }
  .direct-c-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .hud-footer { padding: 12px 14px; }
}

@media (max-width: 576px) {
  html { font-size: 14px; }
  .m-pill { padding: 7px 11px; font-size: 0.65rem; }
  .bp-price { font-size: 1.4rem; }
  .m-val { font-size: 1.9rem; }
}

/* Hide custom cursor hardware on touch devices */
@media (pointer: coarse) {
  .laser-cursor-dot, .laser-cursor-crosshair { display: none; }
}

/* ================= COMMISSION SUCCESS / DIRECT DELIVERY MODAL ================= */
.cs-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.97);
  z-index: 12500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cs-modal.show {
  display: flex;
}

.cs-dialog {
  background: #09090e;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 0 60px var(--color-gold-glow);
}

.cs-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.cs-dialog h3 {
  font-family: var(--font-orbitron);
  font-size: 1.15rem;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.cs-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cs-summary {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-cyan);
  border: 1px solid var(--border-cyan);
  background: rgba(0, 240, 255, 0.05);
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.cs-btn-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.cs-btn {
  flex: 1;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}

.cs-wa {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid #25d366;
  color: #25d366;
}

.cs-wa:hover {
  background: #25d366;
  color: #000;
}

.cs-mail {
  background: rgba(240, 194, 101, 0.1);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

.cs-mail:hover {
  background: var(--color-gold);
  color: var(--bg-dark);
}

.cs-close { width: 100%; }

@media (max-width: 576px) {
  .cs-btn-row { flex-direction: column; }
  .cs-btn { min-width: 100%; }
}
