/* DMS Complete — cinematic cockpit homepage */
:root {
  --bg: #02060f;
  --cyan: #00b4ff;
  --cyan-bright: #5ad4ff;
  --cyan-dim: rgba(0, 180, 255, 0.35);
  --glass: rgba(6, 16, 36, 0.72);
  --glass-border: rgba(90, 212, 255, 0.35);
  --text: #e8f6ff;
  --muted: #8eb4d0;
  --danger: #ff6b8a;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Boot / preload sequence ---------- */
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse 80% 60% at 50% 45%, #041428 0%, #01040c 70%, #000 100%);
  color: var(--text);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.boot-screen.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 160, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 160, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  pointer-events: none;
  animation: bootGridPulse 3s ease-in-out infinite;
}

@keyframes bootGridPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.boot-inner {
  position: relative;
  z-index: 1;
  width: min(420px, 88vw);
  text-align: center;
}

.boot-scan-wrap {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.boot-scan-wrap.exit {
  opacity: 0;
  transform: translateY(-12px);
}

.boot-scan-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.boot-scan-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 80, 140, 0.35);
  border: 1px solid rgba(90, 212, 255, 0.25);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 140, 255, 0.15);
}

.boot-scan-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0066aa, #00b4ff 50%, #9ae8ff);
  box-shadow: 0 0 16px rgba(0, 200, 255, 0.7);
  transition: width 0.08s linear;
}

.boot-scan-glint {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  animation: bootGlint 1.4s ease-in-out infinite;
}

@keyframes bootGlint {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.boot-scan-pct {
  margin-top: 0.65rem;
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--cyan-bright);
  text-shadow: 0 0 12px rgba(0, 180, 255, 0.5);
}

.boot-access {
  position: relative;
  padding: 1.5rem 0;
  animation: bootAccessIn 0.55s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.boot-access.exit {
  animation: bootAccessOut 0.4s ease forwards;
}

@keyframes bootAccessIn {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bootAccessOut {
  to {
    opacity: 0;
    transform: scale(1.06);
  }
}

.boot-access-ring {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 255, 0.25);
  border-top-color: rgba(90, 212, 255, 0.9);
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 30px rgba(0, 160, 255, 0.2);
}

.boot-access-text {
  position: relative;
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #fff;
  text-shadow: 0 0 24px rgba(0, 180, 255, 0.7);
}

.boot-access-sub {
  position: relative;
  margin-top: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.boot-granted {
  animation: bootGrantedIn 0.55s cubic-bezier(0.2, 0.9, 0.25, 1) both;
}

@keyframes bootGrantedIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    transform: scale(1.08);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.boot-granted-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #0a1a10;
  background: linear-gradient(145deg, #5af0a0, #00c878);
  box-shadow: 0 0 40px rgba(0, 255, 140, 0.45);
}

.boot-granted-text {
  font-size: clamp(1.15rem, 3.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.32em;
  color: #7dffb5;
  text-shadow: 0 0 28px rgba(0, 255, 150, 0.55);
}

/* Stage content hidden until boot reveals */
.stage.is-booting .stage-bg,
.stage.is-booting .stage-vignette,
.stage.is-booting #fx-canvas {
  opacity: 0 !important;
}

/* Stay hidden until JS adds .is-visible (works after is-booting ends too) */
.boot-reveal:not(.is-visible) {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden;
}

.stage .stage-bg {
  transition:
    opacity 1.1s ease,
    filter 0.55s ease,
    transform 8s ease;
}

.stage .stage-vignette {
  transition: opacity 1.1s ease;
}

.stage #fx-canvas {
  transition: opacity 1.2s ease;
}

.stage:not(.is-booting) .stage-bg {
  opacity: 1;
}

.boot-reveal {
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.9, 0.2, 1),
    transform 0.75s cubic-bezier(0.2, 0.9, 0.25, 1),
    filter 0.7s ease,
    visibility 0.7s;
}

.boot-reveal[data-boot="topbar"]:not(.is-visible) {
  transform: translateY(-16px);
}

.boot-reveal[data-boot="energy"]:not(.is-visible),
.boot-reveal[data-boot="core"]:not(.is-visible) {
  transform: translate(-50%, -50%) scale(0.82);
  filter: blur(6px);
}

.boot-reveal[data-boot="panel"]:not(.is-visible) {
  /* keep orbital transform; fade only via opacity + slight scale via filter */
  filter: blur(4px) brightness(0.6);
}

.boot-reveal[data-boot="ask"]:not(.is-visible) {
  transform: scale(0.4);
  filter: blur(8px) brightness(1.5);
}

.boot-reveal.is-visible {
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;
  filter: none;
}

.boot-reveal[data-boot="topbar"].is-visible {
  transform: none;
}

.boot-reveal[data-boot="energy"].is-visible,
.boot-reveal[data-boot="core"].is-visible {
  transform: translate(-50%, -50%) scale(1);
}

/* Ask AI dramatic entrance */
.boot-reveal[data-boot="ask"].is-visible {
  animation: askAiEntrance 1.05s cubic-bezier(0.15, 1.15, 0.35, 1) both;
  pointer-events: auto;
}

@keyframes askAiEntrance {
  0% {
    opacity: 0;
    transform: scale(0.25) translateY(30px);
    filter: blur(12px) brightness(2);
    box-shadow: 0 0 0 rgba(0, 180, 255, 0);
  }
  45% {
    opacity: 1;
    transform: scale(1.22) translateY(0);
    filter: blur(0) brightness(1.35);
    box-shadow: 0 0 60px rgba(0, 200, 255, 0.85);
  }
  70% {
    transform: scale(0.94);
    box-shadow: 0 0 28px rgba(0, 160, 255, 0.45);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: none;
    box-shadow:
      0 0 0 1px rgba(0, 180, 255, 0.2),
      0 0 28px rgba(0, 160, 255, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}

.holo-panel.boot-reveal.is-visible {
  animation: panelReveal 0.65s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes panelReveal {
  from {
    opacity: 0;
    filter: blur(6px) brightness(0.5);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot-screen,
  .boot-reveal,
  .boot-scan-bar,
  .boot-access,
  .boot-granted,
  .ask-ai-btn {
    animation: none !important;
    transition: opacity 0.2s ease !important;
  }
}

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

html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

/* ---------- Stage ---------- */
.stage {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: #01040c;
}

.stage-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(0, 80, 160, 0.28), transparent 65%),
    radial-gradient(ellipse 90% 80% at 50% 100%, rgba(0, 30, 70, 0.55), transparent 55%),
    url("../new-background.jpg?v=2") center / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(1.15) contrast(1.05) brightness(0.72);
  transition: filter 0.55s ease, transform 8s ease;
  z-index: 0;
}

.stage.is-chat-open .stage-bg {
  filter: saturate(0.9) contrast(1) brightness(0.48) blur(6px);
  transform: scale(1.06);
}

.stage-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 50% 48%, transparent 20%, rgba(0, 4, 14, 0.55) 70%, rgba(0, 2, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(0, 8, 20, 0.35) 0%, transparent 25%, transparent 70%, rgba(0, 4, 12, 0.75) 100%);
  z-index: 1;
}

#fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  /* Soft glass electronics — keep light so cockpit stays clear */
  opacity: 0.38;
  mix-blend-mode: screen;
}

.stage.is-chat-open #fx-canvas {
  opacity: 0.18;
}

/* ---------- Center core ---------- */
.center-core {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: min(420px, 86vw);
  text-align: center;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.45s ease;
}

.energy-core {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(340px, 72vw);
  height: min(340px, 72vw);
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

.energy-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 255, 0.18);
  box-shadow:
    0 0 30px rgba(0, 140, 255, 0.15),
    inset 0 0 40px rgba(0, 120, 255, 0.08);
  animation: spin 28s linear infinite;
}

.energy-ring:nth-child(2) {
  inset: 12%;
  border-color: rgba(0, 200, 255, 0.28);
  animation-duration: 18s;
  animation-direction: reverse;
}

.energy-ring:nth-child(3) {
  inset: 26%;
  border-color: rgba(90, 212, 255, 0.4);
  animation-duration: 12s;
  box-shadow: 0 0 40px rgba(0, 180, 255, 0.25), inset 0 0 25px rgba(0, 160, 255, 0.15);
}

.energy-pulse {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.45) 0%, rgba(0, 100, 220, 0.12) 45%, transparent 70%);
  animation: pulse 3.2s ease-in-out infinite;
  filter: blur(2px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.brand-logo {
  position: relative;
  z-index: 2;
  width: min(320px, 72vw);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 180, 255, 0.65)) drop-shadow(0 0 48px rgba(0, 120, 255, 0.35));
  animation: logoGlow 4s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 14px rgba(0, 180, 255, 0.55)) drop-shadow(0 0 36px rgba(0, 120, 255, 0.28));
  }
  50% {
    filter: drop-shadow(0 0 28px rgba(90, 212, 255, 0.9)) drop-shadow(0 0 70px rgba(0, 160, 255, 0.45));
  }
}

.tagline {
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-shadow: 0 0 12px rgba(0, 180, 255, 0.4);
  pointer-events: none;
}

.ask-ai-btn {
  pointer-events: auto;
  position: relative;
  margin-top: 0.35rem;
  padding: 0.85rem 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 212, 255, 0.75);
  background: linear-gradient(180deg, rgba(0, 140, 255, 0.35), rgba(0, 60, 140, 0.45));
  color: #fff;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(0, 180, 255, 0.2),
    0 0 28px rgba(0, 160, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-shadow: 0 0 12px rgba(120, 220, 255, 0.8);
  overflow: hidden;
}

.ask-ai-btn::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  transform: translateX(-60%);
  animation: sheen 3.8s ease-in-out infinite;
}

@keyframes sheen {
  0%,
  55% {
    transform: translateX(-70%);
  }
  100% {
    transform: translateX(70%);
  }
}

.ask-ai-btn:hover,
.ask-ai-btn:focus-visible {
  outline: none;
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(120, 220, 255, 0.5),
    0 0 42px rgba(0, 180, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  background: linear-gradient(180deg, rgba(20, 170, 255, 0.5), rgba(0, 80, 180, 0.55));
}

.ask-ai-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ---------- Side action buttons (same DNA as Ask AI) ----------
 * Placed inside .hex-orbit with the same orbital math as promo panels.
 * Left = mid-point between promo 6 (300°) & promo 5 (240°) → 270°
 * Right = mid-point between promo 2 (60°) & promo 3 (120°) → 90°
 * Same --orbit / --ox as the L/R promo pairs so they share center alignment.
 */
.side-action-btn {
  --a: 90deg;
  --orbit: clamp(-330px, -39vw, -280px);
  --ox: 0px;
  --s: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  pointer-events: auto;
  width: max-content;
  max-width: min(168px, 20vw);
  margin: 0;
  padding: 0.75rem 1.15rem;
  font-size: clamp(0.78rem, 1.45vw, 0.95rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  /* Match holo-panel orbit; counter-rotate so label stays upright */
  transform: translate(-50%, -50%) translateX(var(--ox))
    rotate(var(--a)) translateY(var(--orbit)) rotate(calc(-1 * var(--a)))
    scale(var(--s));
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    opacity 0.4s ease,
    filter 0.2s ease;
}

/* Between promo 6 (top-left) & promo 5 (bottom-left) — same X as left pair */
.side-action-left {
  --a: 270deg;
  --orbit: clamp(-330px, -39vw, -280px);
  --ox: clamp(-80px, -5.5vw, -40px);
}

/* Between promo 2 (top-right) & promo 3 (bottom-right) — same X as right pair */
.side-action-right {
  --a: 90deg;
  --orbit: clamp(-330px, -39vw, -280px);
  --ox: clamp(40px, 5.5vw, 80px);
}

.side-action-btn:hover,
.side-action-btn:focus-visible {
  --s: 1.05;
  outline: none;
  /* keep orbital transform; only scale via --s */
  transform: translate(-50%, -50%) translateX(var(--ox))
    rotate(var(--a)) translateY(var(--orbit)) rotate(calc(-1 * var(--a)))
    scale(var(--s));
}

.side-action-btn:active {
  --s: 0.98;
  transform: translate(-50%, -50%) translateX(var(--ox))
    rotate(var(--a)) translateY(var(--orbit)) rotate(calc(-1 * var(--a)))
    scale(var(--s));
}

.boot-reveal[data-boot="side"]:not(.is-visible) {
  filter: blur(8px) brightness(1.4);
  transform: translate(-50%, -50%) translateX(var(--ox))
    rotate(var(--a)) translateY(var(--orbit)) rotate(calc(-1 * var(--a)))
    scale(0.55);
}

.boot-reveal[data-boot="side"].is-visible {
  animation: sideBtnEntrance 0.85s cubic-bezier(0.15, 1.1, 0.35, 1) both;
  transform: translate(-50%, -50%) translateX(var(--ox))
    rotate(var(--a)) translateY(var(--orbit)) rotate(calc(-1 * var(--a)))
    scale(1);
}

@keyframes sideBtnEntrance {
  0% {
    opacity: 0;
    filter: blur(10px) brightness(1.8);
  }
  100% {
    opacity: 1;
    filter: none;
  }
}

.stage.is-video-open .side-action-btn,
.stage.is-chat-open .side-action-btn,
.stage.is-hud-open .side-action-btn {
  opacity: 0;
  pointer-events: none;
}

.stage.is-hud-open .hex-orbit {
  opacity: 0.28;
  pointer-events: none;
  filter: blur(2px);
}

.stage.is-hud-open .center-core {
  opacity: 0.35;
  pointer-events: none;
}

.stage.is-hud-open .energy-core {
  opacity: 0.4;
}

.stage.is-hud-open #fx-canvas {
  opacity: 0.2;
}

/* ---------- HUD command overlay ---------- */
.hud-overlay {
  position: absolute;
  inset: 0;
  z-index: 22;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(0, 60, 120, 0.28), transparent 70%),
    rgba(1, 6, 16, 0.42);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hud-overlay.open {
  opacity: 1;
  visibility: visible;
}

.hud-panel {
  position: relative;
  width: min(880px, 100%);
  max-height: min(720px, 90dvh);
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  border: 1px solid rgba(90, 212, 255, 0.45);
  background:
    linear-gradient(180deg, rgba(0, 40, 80, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(4, 16, 36, 0.82), rgba(2, 8, 20, 0.78));
  box-shadow:
    0 0 0 1px rgba(0, 100, 200, 0.2),
    0 30px 100px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(0, 160, 255, 0.18),
    inset 0 0 40px rgba(0, 120, 255, 0.06);
  overflow: hidden;
  transform: translateY(22px) scale(0.94);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.4s ease;
  clip-path: polygon(
    0 12px,
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.hud-overlay.open .hud-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.hud-scanlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 180, 255, 0.03) 2px,
    rgba(0, 180, 255, 0.03) 3px
  );
  mix-blend-mode: soft-light;
  opacity: 0.65;
}

.hud-frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
  pointer-events: none;
  border: 2px solid rgba(90, 212, 255, 0.85);
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.45);
}

.hud-frame-corner.tl {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.hud-frame-corner.tr {
  top: 8px;
  right: 8px;
  border-left: none;
  border-bottom: none;
}

.hud-frame-corner.bl {
  bottom: 8px;
  left: 8px;
  border-right: none;
  border-top: none;
}

.hud-frame-corner.br {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.hud-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(90, 212, 255, 0.18);
  background: linear-gradient(180deg, rgba(0, 120, 220, 0.14), transparent);
}

.hud-chip {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7dd3ff;
  border: 1px solid rgba(90, 212, 255, 0.35);
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  margin-bottom: 0.35rem;
  box-shadow: 0 0 12px rgba(0, 160, 255, 0.2);
}

.hud-head h2 {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(90, 212, 255, 0.55);
}

.hud-sub {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.hud-close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid rgba(90, 212, 255, 0.35);
  background: rgba(0, 40, 80, 0.4);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.hud-close:hover,
.hud-close:focus-visible {
  outline: none;
  background: rgba(0, 100, 180, 0.55);
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.4);
  transform: scale(1.04);
}

.hud-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

.hud-menu {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.75rem 0.85rem 1rem;
  overflow-y: auto;
  border-right: 1px solid rgba(90, 212, 255, 0.15);
  background: linear-gradient(90deg, rgba(0, 50, 100, 0.12), transparent);
}

.hud-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.75rem;
  border-radius: 4px;
  border: 1px solid transparent;
  background: rgba(0, 30, 60, 0.25);
  color: #d8f0ff;
  cursor: pointer;
  font: inherit;
  transition:
    border-color 0.18s,
    background 0.18s,
    box-shadow 0.18s,
    transform 0.15s;
}

.hud-item:hover,
.hud-item:focus-visible {
  outline: none;
  border-color: rgba(90, 212, 255, 0.45);
  background: rgba(0, 90, 160, 0.28);
  box-shadow: 0 0 18px rgba(0, 160, 255, 0.18);
  transform: translateX(2px);
}

.hud-item.is-active {
  border-color: rgba(90, 212, 255, 0.7);
  background: linear-gradient(90deg, rgba(0, 140, 255, 0.32), rgba(0, 60, 120, 0.28));
  box-shadow:
    0 0 0 1px rgba(90, 212, 255, 0.15),
    0 0 22px rgba(0, 160, 255, 0.25),
    inset 3px 0 0 #5ad4ff;
}

.hud-idx {
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: #7dd3ff;
  opacity: 0.9;
}

.hud-label {
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.hud-chev {
  color: rgba(125, 211, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1;
}

.hud-detail {
  padding: 1.15rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(0, 140, 255, 0.12), transparent 60%),
    rgba(0, 12, 28, 0.25);
}

.hud-detail-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7dd3ff;
}

.hud-detail-title {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px rgba(90, 212, 255, 0.4);
}

.hud-detail-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(210, 232, 250, 0.92);
  flex: 1;
}

.hud-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.hud-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 212, 255, 0.45);
  background: rgba(0, 50, 100, 0.35);
  color: #e8f7ff;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.hud-action.primary {
  border-color: rgba(90, 212, 255, 0.75);
  background: linear-gradient(180deg, rgba(0, 150, 255, 0.5), rgba(0, 70, 160, 0.55));
  box-shadow: 0 0 18px rgba(0, 160, 255, 0.3);
}

.hud-action:hover,
.hud-action:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 180, 255, 0.4);
  background: linear-gradient(180deg, rgba(20, 160, 255, 0.45), rgba(0, 80, 170, 0.5));
}

.hud-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border-top: 1px solid rgba(90, 212, 255, 0.15);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(140, 200, 230, 0.75);
  background: rgba(0, 20, 40, 0.35);
}

.hud-blink {
  color: #5ad4ff;
  animation: hudBlink 1.6s ease-in-out infinite;
}

@keyframes hudBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* ---------- Hexagon holographic panels ---------- */
.hex-orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  /* Wider stage so panels sit farther from the logo */
  width: min(1180px, 98vw);
  height: min(1180px, 98vw);
  max-height: 96dvh;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: auto;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.stage.is-video-open .hex-orbit {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
}

.stage.is-video-open .center-core {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.stage.is-video-open .energy-core {
  opacity: 0.25;
}

.holo-panel {
  --rx: 0deg;
  --ry: 0deg;
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(200px, 22vw, 300px);
  aspect-ratio: 16 / 10;
  /* --ox: extra horizontal shift for outer L/R panels */
  transform: translate(-50%, -50%) translateX(var(--ox, 0px))
    rotate(var(--a)) translateY(var(--orbit)) rotate(calc(-1 * var(--a)))
    perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: linear-gradient(145deg, rgba(8, 28, 58, 0.55), rgba(2, 10, 24, 0.75));
  box-shadow:
    0 0 0 1px rgba(0, 100, 200, 0.15),
    0 0 24px rgba(0, 140, 255, 0.25),
    inset 0 0 30px rgba(0, 120, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: floatPanel 7s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: auto;
  user-select: none;
  cursor: pointer;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
}

.holo-panel:hover,
.holo-panel:focus-visible {
  outline: none;
  border-color: rgba(120, 220, 255, 0.75);
  box-shadow:
    0 0 0 1px rgba(90, 212, 255, 0.35),
    0 0 36px rgba(0, 180, 255, 0.45),
    inset 0 0 30px rgba(0, 160, 255, 0.12);
  filter: brightness(1.08);
  z-index: 5;
}

/* ---------- Expanded centered video ---------- */
.video-expand {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(2, 8, 20, 0.35);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.video-expand.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-expand-frame {
  position: relative;
  width: min(1100px, 94vw);
  aspect-ratio: 16 / 9;
  max-height: min(78dvh, 620px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(90, 212, 255, 0.45);
  background: rgba(0, 10, 24, 0.75);
  box-shadow:
    0 0 0 1px rgba(0, 100, 200, 0.2),
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(0, 160, 255, 0.2);
  transform: scale(0.72) translateY(28px);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1),
    opacity 0.45s ease;
}

.video-expand.open .video-expand-frame {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.video-expand-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.video-expand-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 236, 255, 0.9);
  text-shadow: 0 0 10px rgba(0, 180, 255, 0.6);
  background: rgba(0, 16, 36, 0.45);
  border: 1px solid rgba(90, 212, 255, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.video-expand-close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(90, 212, 255, 0.55);
  background: rgba(4, 16, 36, 0.55);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 24px rgba(0, 160, 255, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.video-expand-close:hover,
.video-expand-close:focus-visible {
  outline: none;
  transform: scale(1.06);
  background: rgba(0, 100, 180, 0.55);
  box-shadow: 0 0 36px rgba(0, 180, 255, 0.55);
}

/*
 * Hex positions around logo.
 * Right pair (i=1 top-right, i=2 bottom-right): same orbit + same --ox so identical X.
 * Left pair  (i=5 top-left,  i=4 bottom-left):  same orbit + same --ox (mirrored).
 * Angles are symmetric about the horizontal: 60° / 120° and 240° / 300°.
 */
.holo-panel[data-i="0"] {
  --a: 0deg;
  --orbit: clamp(-280px, -32vw, -230px);
  --ox: 0px;
  --delay: 0s;
  --rx: 6deg;
}
/* Top-right — same X as bottom-right */
.holo-panel[data-i="1"] {
  --a: 60deg;
  --orbit: clamp(-330px, -39vw, -280px);
  --ox: clamp(40px, 5.5vw, 80px);
  --delay: 0.4s;
  --ry: -8deg;
}
/* Bottom-right — matched to top-right */
.holo-panel[data-i="2"] {
  --a: 120deg;
  --orbit: clamp(-330px, -39vw, -280px);
  --ox: clamp(40px, 5.5vw, 80px);
  --delay: 0.8s;
  --ry: -6deg;
}
.holo-panel[data-i="3"] {
  --a: 180deg;
  --orbit: clamp(-280px, -32vw, -230px);
  --ox: 0px;
  --delay: 1.2s;
  --rx: -4deg;
}
/* Bottom-left — matched to top-left */
.holo-panel[data-i="4"] {
  --a: 240deg;
  --orbit: clamp(-330px, -39vw, -280px);
  --ox: clamp(-80px, -5.5vw, -40px);
  --delay: 1.6s;
  --ry: 6deg;
}
/* Top-left — same X as bottom-left */
.holo-panel[data-i="5"] {
  --a: 300deg;
  --orbit: clamp(-330px, -39vw, -280px);
  --ox: clamp(-80px, -5.5vw, -40px);
  --delay: 2s;
  --ry: 8deg;
}

@keyframes floatPanel {
  0%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(0, 100, 200, 0.15),
      0 0 20px rgba(0, 140, 255, 0.22),
      inset 0 0 24px rgba(0, 120, 255, 0.08);
  }
  50% {
    filter: brightness(1.12);
    box-shadow:
      0 0 0 1px rgba(90, 212, 255, 0.35),
      0 0 36px rgba(0, 180, 255, 0.4),
      inset 0 0 36px rgba(0, 160, 255, 0.12);
  }
}

.holo-panel .scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(90, 212, 255, 0.08) 48%,
    transparent 52%
  );
  background-size: 100% 220%;
  animation: scan 5.5s linear infinite;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

@keyframes scan {
  0% {
    background-position: 0 -40%;
  }
  100% {
    background-position: 0 140%;
  }
}

.holo-panel canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.holo-panel .media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.72;
  filter: saturate(1.25) contrast(1.08) brightness(0.78);
  /* Decorative loop only — never show player chrome */
  pointer-events: none;
}

.holo-panel canvas {
  opacity: 0.55;
  mix-blend-mode: screen;
}

.holo-panel .label {
  position: absolute;
  left: 8px;
  top: 7px;
  z-index: 4;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 236, 255, 0.9);
  text-shadow: 0 0 8px rgba(0, 180, 255, 0.8);
  background: rgba(0, 20, 40, 0.45);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(0, 180, 255, 0.2);
}

.holo-panel .corner {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 4;
  border: 1.5px solid rgba(90, 212, 255, 0.7);
  pointer-events: none;
}
.holo-panel .corner.tl {
  left: 4px;
  top: 4px;
  border-right: 0;
  border-bottom: 0;
}
.holo-panel .corner.tr {
  right: 4px;
  top: 4px;
  border-left: 0;
  border-bottom: 0;
}
.holo-panel .corner.bl {
  left: 4px;
  bottom: 4px;
  border-right: 0;
  border-top: 0;
}
.holo-panel .corner.br {
  right: 4px;
  bottom: 4px;
  border-left: 0;
  border-top: 0;
}

/* ---------- Header chrome ---------- */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  pointer-events: none;
}

.topbar .pill {
  pointer-events: auto;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(90, 212, 255, 0.22);
  background: rgba(4, 14, 30, 0.55);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
}

.topbar a.pill {
  text-decoration: none;
  color: var(--cyan-bright);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.topbar a.pill:hover {
  border-color: rgba(90, 212, 255, 0.55);
  box-shadow: 0 0 16px rgba(0, 160, 255, 0.3);
}

/* ---------- Ask AI overlay (highly transparent glass) ---------- */
.chat-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(2, 8, 20, 0.22);
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.chat-overlay.open {
  opacity: 1;
  visibility: visible;
}

.chat-window {
  width: min(760px, 100%);
  height: min(680px, 90dvh);
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid rgba(90, 212, 255, 0.4);
  background: linear-gradient(
    160deg,
    rgba(6, 18, 40, 0.55),
    rgba(2, 8, 22, 0.48)
  );
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 0 0 1px rgba(0, 100, 200, 0.15),
    0 28px 90px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(0, 140, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.45s ease;
}

.chat-overlay.open .chat-window {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(90, 212, 255, 0.15);
  background: linear-gradient(180deg, rgba(0, 100, 200, 0.12), transparent);
}

.chat-head .title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-head .title img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.5));
}

.chat-head h2 {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.chat-head p {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.chat-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(90, 212, 255, 0.25);
  background: rgba(0, 40, 80, 0.35);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.2s, box-shadow 0.2s;
}
.chat-close:hover {
  background: rgba(0, 100, 180, 0.4);
  box-shadow: 0 0 16px rgba(0, 160, 255, 0.3);
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}

.msg {
  max-width: 88%;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  animation: msgIn 0.35s ease;
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.msg.bot {
  align-self: flex-start;
  background: rgba(0, 40, 90, 0.28);
  border: 1px solid rgba(90, 212, 255, 0.2);
  color: #d9f0ff;
  backdrop-filter: blur(6px);
}

.msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(0, 140, 255, 0.38), rgba(0, 80, 180, 0.4));
  border: 1px solid rgba(120, 210, 255, 0.35);
}

.msg.typing {
  display: flex;
  gap: 5px;
  align-items: center;
  min-height: 1.2em;
}
.msg.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(90, 212, 255, 0.8);
  animation: typeDot 1s ease-in-out infinite;
}
.msg.typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.msg.typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typeDot {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.chat-form {
  display: flex;
  gap: 0.55rem;
  padding: 0.9rem 1rem 1.05rem;
  border-top: 1px solid rgba(90, 212, 255, 0.12);
  background: rgba(0, 12, 28, 0.28);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(90, 212, 255, 0.3);
  background: rgba(0, 20, 45, 0.65);
  padding: 0.75rem 1.1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-form input::placeholder {
  color: #6a90ad;
}
.chat-form input:focus {
  border-color: rgba(90, 212, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 140, 255, 0.15);
}

.chat-form button {
  border-radius: 999px;
  border: 1px solid rgba(90, 212, 255, 0.55);
  background: linear-gradient(180deg, rgba(0, 160, 255, 0.55), rgba(0, 80, 180, 0.65));
  padding: 0.75rem 1.25rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 160, 255, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.chat-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(0, 180, 255, 0.5);
}
.chat-form button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

/* Mobile: stack hex tighter */
@media (max-width: 720px) {
  .hex-orbit {
    width: 100vw;
    height: min(100vw, 92dvh);
  }
  .holo-panel {
    width: clamp(140px, 38vw, 190px);
  }
  .holo-panel[data-i="0"],
  .holo-panel[data-i="3"] {
    --orbit: clamp(-190px, -40vw, -160px);
    --ox: 0px;
  }
  /* Same X for top-right + bottom-right */
  .holo-panel[data-i="1"],
  .holo-panel[data-i="2"] {
    --a: 60deg; /* overridden per-index below for bottom */
    --orbit: clamp(-230px, -48vw, -195px);
    --ox: clamp(28px, 7vw, 48px);
  }
  .holo-panel[data-i="1"] {
    --a: 60deg;
  }
  .holo-panel[data-i="2"] {
    --a: 120deg;
  }
  /* Same X for top-left + bottom-left */
  .holo-panel[data-i="4"],
  .holo-panel[data-i="5"] {
    --orbit: clamp(-230px, -48vw, -195px);
    --ox: clamp(-48px, -7vw, -28px);
  }
  .holo-panel[data-i="4"] {
    --a: 240deg;
  }
  .holo-panel[data-i="5"] {
    --a: 300deg;
  }
  .center-core {
    top: 48%;
    gap: 0.75rem;
  }
  .brand-logo {
    width: min(240px, 68vw);
  }
  .tagline {
    display: none;
  }
  .energy-core {
    width: min(260px, 70vw);
    height: min(260px, 70vw);
  }
  .side-action-btn {
    max-width: min(108px, 28vw);
    padding: 0.55rem 0.65rem;
    font-size: 0.68rem;
  }
  /* Match mobile left/right promo orbit + offset */
  .side-action-left {
    --a: 270deg;
    --orbit: clamp(-230px, -48vw, -195px);
    --ox: clamp(-48px, -7vw, -28px);
  }
  .side-action-right {
    --a: 90deg;
    --orbit: clamp(-230px, -48vw, -195px);
    --ox: clamp(28px, 7vw, 48px);
  }
  .hud-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .hud-menu {
    border-right: none;
    border-bottom: 1px solid rgba(90, 212, 255, 0.15);
    max-height: 42dvh;
  }
  .hud-panel {
    max-height: 92dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .energy-ring,
  .energy-pulse,
  .brand-logo,
  .holo-panel,
  .scan,
  .ask-ai-btn::before,
  .hud-blink {
    animation: none !important;
  }
}
