/* ==========================================================================
   AAA Bandit Enterprises — The AI Orchestrator (v3 Executive Holographic UI)
   Centered Architecture • High-Contrast Readability • 3D Tilt & Laser HUD Hover
   ========================================================================== */

:root {
  --bg-void: #03050a;
  --bg-deep: #060b16;
  --bg-panel: rgba(6, 12, 26, 0.93);
  --bg-panel-solid: #081122;
  --bg-card: rgba(9, 17, 34, 0.90);
  --bg-card-hover: rgba(14, 27, 54, 0.97);

  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;

  --cyan-bright: #00e5ff;
  --cyan-mid: #38bdf8;
  --blue-electric: #0284c7;
  --gold-metallic: #d4af37;
  --gold-light: #f9e29c;
  --emerald-ok: #10b981;

  --border-subtle: rgba(148, 163, 184, 0.24);
  --border-cyan: rgba(0, 229, 255, 0.55);
  --border-gold: rgba(212, 175, 55, 0.65);

  --shadow-hologram: 0 24px 60px rgba(0, 0, 0, 0.82), 0 0 36px rgba(0, 229, 255, 0.12);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg-void);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Global Persistent Cyber-Metropolis Background Canvas */
#global-cyber-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--cyan-bright);
  color: #020617;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 14px;
}

:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 3px;
}

a {
  color: var(--cyan-mid);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--cyan-bright);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION (CENTERED & BALANCED)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 7, 16, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-cyan);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 13px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(0, 229, 255, 0.12);
  box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.2);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--gold-light);
  padding: 9px 14px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  transition: all 0.2s ease;
}

.header-phone:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.mobile-menu-btn {
  display: none;
  background: rgba(12, 22, 42, 0.95);
  border: 1px solid var(--border-cyan);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}

.mobile-nav-drawer {
  background: rgba(5, 10, 22, 0.98);
  border-bottom: 1px solid var(--border-cyan);
  padding: 16px 24px 24px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-list a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(15, 28, 52, 0.75);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   BUTTONS & INTERACTIVE CONTROLS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  border: 1px solid transparent;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #00e5ff 0%, #0284c7 100%);
  color: #020813;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #5ff5ff 0%, #00e5ff 100%);
  color: #01050c;
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.65);
}

.btn-secondary {
  background: rgba(12, 24, 48, 0.9);
  color: #ffffff;
  border-color: var(--border-cyan);
  box-shadow: inset 0 0 14px rgba(0, 229, 255, 0.12);
}

.btn-secondary:hover:not(:disabled) {
  transform: translateY(-2px);
  background: rgba(0, 229, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.38);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.86rem;
}

/* ==========================================================================
   ADVANCED HOVER SYSTEM: 3D TILT, LASER BRACKETS & SPECULAR HOLOGRAM GLARE
   ========================================================================== */
.holo-interactive {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

/* Dynamic cursor-following spotlight glare */
.holo-interactive::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 229, 255, 0.18),
    rgba(212, 175, 55, 0.06) 40%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

/* Futuristic HUD Corner Targeting Reticle on Hover */
.holo-interactive::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-md) - 4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, inset 0.25s ease;
  background:
    linear-gradient(to right, var(--cyan-bright) 10px, transparent 10px) 0 0,
    linear-gradient(to bottom, var(--cyan-bright) 10px, transparent 10px) 0 0,
    linear-gradient(to left, var(--cyan-bright) 10px, transparent 10px) 100% 0,
    linear-gradient(to bottom, var(--cyan-bright) 10px, transparent 10px) 100% 0,
    linear-gradient(to right, var(--gold-light) 10px, transparent 10px) 0 100%,
    linear-gradient(to top, var(--gold-light) 10px, transparent 10px) 0 100%,
    linear-gradient(to left, var(--gold-light) 10px, transparent 10px) 100% 100%,
    linear-gradient(to top, var(--gold-light) 10px, transparent 10px) 100% 100%;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  z-index: 2;
}

.holo-interactive:hover::before {
  opacity: 1;
}

.holo-interactive:hover::after {
  opacity: 0.95;
  inset: 4px;
}

.holo-interactive > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HERO — CENTERED EXECUTIVE COMMAND STAGE & 3D NEXUS
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 44px 0 0;
  border-bottom: 1px solid var(--border-cyan);
  overflow: hidden;
}

.hero-centered-intro {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
  background: rgba(4, 10, 22, 0.88);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-cyan);
  border-top: 3px solid var(--cyan-bright);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-hologram);
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.hero-headline span {
  background: linear-gradient(90deg, #00e5ff 0%, #f9e29c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-supporting {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-trust-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gold-light);
  font-weight: 700;
  padding: 10px 20px 0;
  border-top: 1px solid var(--border-subtle);
}

.hero-sim-disclosure {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Full-Width Centered 3D Command Arena Stage */
.hero-arena-wrapper {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto 28px;
  padding: 0 24px;
  z-index: 2;
}

.hero-canvas-stage {
  position: relative;
  width: 100%;
  height: 540px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-cyan);
  overflow: hidden;
  box-shadow: var(--shadow-hologram);
  background: #040814;
}

#command-center-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Floating Cursor-Following HUD Tooltip inside 3D Stage */
.stage-hover-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  min-width: 250px;
  max-width: 310px;
  background: rgba(4, 10, 22, 0.96);
  border: 1.5px solid var(--cyan-bright);
  border-left: 4px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 229, 255, 0.35);
  transform: translate(18px, -50%);
  transition: opacity 0.15s ease;
}

.stage-hover-tooltip[hidden] {
  display: none !important;
}

/* Centered Hero Inspector & Selector Dock */
.hero-dock-panel {
  max-width: 1120px;
  margin: 0 auto 36px;
  background: rgba(5, 11, 24, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-hologram);
}

.hero-hud-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-telemetry-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-bright);
}

.hero-node-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-node-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 23, 44, 0.92);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
  transition: all 0.18s ease;
}

.hero-node-pill:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-bright);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
}

.hero-node-pill.is-active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(2, 132, 199, 0.25));
  border-color: var(--cyan-bright);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.pill-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* Centered Active Node Inspector Card */
.hero-inspector-card {
  background: rgba(8, 17, 36, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  text-align: center;
}

.hero-inspector-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.inspector-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border: 1px solid var(--cyan-bright);
  border-radius: 6px;
  color: var(--cyan-bright);
  background: rgba(0, 229, 255, 0.1);
}

.inspector-code--gold {
  border-color: var(--gold-metallic);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
}

.sim-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
}

.inspector-title {
  margin: 4px 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

.inspector-subtitle {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--cyan-mid);
  font-weight: 700;
}

.inspector-desc {
  max-width: 780px;
  margin: 0 auto 14px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.inspector-checkpoint {
  max-width: 780px;
  margin: 0 auto 16px;
  font-size: 0.9rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  padding: 10px 16px;
  border-radius: 8px;
  color: #ffffff;
}

.inspector-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  align-items: center;
}

.btn-inline-action {
  background: linear-gradient(135deg, #00e5ff 0%, #0284c7 100%);
  border: none;
  color: #020813;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-inline-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.btn-inline-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
  padding: 8px 14px;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
}

.btn-inline-link:hover {
  background: rgba(212, 175, 55, 0.24);
  color: #ffffff;
}

/* ==========================================================================
   CENTERED SECTION HEADERS & HIGH-CONTRAST CONTAINERS
   ========================================================================== */
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section--alt {
  background: rgba(4, 10, 22, 0.28);
}

.section-header {
  max-width: 860px;
  margin: 0 auto 52px;
  text-align: center;
  background: rgba(4, 9, 20, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================================================
   AUTONOMOUS AI BOARDROOM & WAR-ROOM THEATER
   ========================================================================== */
.scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.scenario-tab-btn {
  background: rgba(10, 20, 40, 0.92);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  transition: all 0.2s ease;
}

.scenario-tab-btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-mid);
  color: #ffffff;
}

.scenario-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(2, 132, 199, 0.25));
  border-color: var(--cyan-bright);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.32);
}

.boardroom-theater-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.boardroom-stage-card {
  position: relative;
  width: 100%;
  background: rgba(5, 11, 24, 0.96);
  border: 1.5px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hologram);
}

.boardroom-stage-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px;
  background: rgba(3, 8, 18, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-bright);
}

.boardroom-canvas-wrap {
  position: relative;
  width: 100%;
  height: 450px;
}

#boardroom-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* 3-Column Matched-Height Bento Grid below the Widescreen Stage (Zero Dead Space!) */
.boardroom-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.boardroom-bento-card {
  background: rgba(6, 13, 28, 0.95);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-hologram);
  display: flex;
  flex-direction: column;
}

.boardroom-info-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.boardroom-consensus-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.5);
  padding: 4px 10px;
  border-radius: 6px;
}

.boardroom-scene-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #ffffff;
}

.boardroom-scene-summary {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.boardroom-feed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.boardroom-feed-item {
  background: rgba(4, 9, 20, 0.92);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--cyan-bright);
  border-radius: 8px;
  padding: 12px 14px;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.boardroom-feed-item:hover {
  transform: translateX(4px);
  border-color: var(--gold-light);
}

.boardroom-speaker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.boardroom-speech {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
}

.boardroom-outcome-card {
  margin-top: auto;
  padding: 14px 16px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  font-size: 0.9rem;
}

.boardroom-outcome-card p {
  margin: 6px 0 0;
  color: #ffffff;
}

/* ==========================================================================
   UPGRADED HUMAN ORCHESTRATOR HOLOGRAM SHOWCASE CARD
   ========================================================================== */
.orchestrator-concept-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 20, 42, 0.96) 0%, rgba(5, 11, 24, 0.98) 100%);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-hologram);
}

.orchestrator-avatar-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #030712;
  border: 1.5px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.25);
}

.orchestrator-avatar-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.avatar-slot-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   INTERACTIVE AGENT TEAM CARDS (CENTERED & PEER-REACTIVE HOVER)
   ========================================================================== */
.agent-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.agent-card {
  text-align: center;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--agent-accent, var(--cyan-bright));
  border-radius: var(--radius-md);
  padding: 26px 22px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.agent-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--agent-accent, var(--cyan-bright));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.75), 0 0 28px rgba(0, 229, 255, 0.28);
}

.agent-card.is-selected {
  background: linear-gradient(180deg, rgba(16, 36, 70, 0.98) 0%, rgba(8, 18, 38, 0.98) 100%);
  border-color: var(--agent-accent, var(--cyan-bright));
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.35), inset 0 0 18px rgba(0, 229, 255, 0.14);
}

/* When another agent is hovered, its connected peers glow! */
.agent-card.is-peer-linked {
  border-color: var(--gold-light);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

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

.agent-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--agent-accent, var(--cyan-bright));
  background: rgba(0, 229, 255, 0.1);
  padding: 3px 9px;
  border-radius: 6px;
}

.agent-peer-indicator {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--border-gold);
  padding: 2px 7px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.agent-card.is-peer-linked .agent-peer-indicator {
  opacity: 1;
}

.agent-orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--agent-accent, var(--cyan-bright));
  box-shadow: 0 0 12px var(--agent-accent, var(--cyan-bright));
}

.agent-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #ffffff;
}

.agent-card-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan-mid);
  margin: 0 0 12px;
}

.agent-card-summary {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin: 0 0 16px;
  line-height: 1.55;
}

/* Live Hover Telemetry Micro-Bar inside each Agent Card */
.agent-hover-telemetry {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 12px;
  background: rgba(3, 8, 18, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan-bright);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agent-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: all 0.2s ease;
}

.agent-card:hover .agent-card-cta,
.agent-card.is-selected .agent-card-cta {
  background: var(--gold-light);
  color: #020813;
}

/* Detailed Agent Specification Panel */
.agent-detail-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-hologram);
}

.agent-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 22px;
}

.detail-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.detail-code-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan-bright);
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 5px 12px;
  border-radius: 6px;
}

.sim-disclosure-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 5px 12px;
  border-radius: 6px;
}

.detail-agent-name {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #ffffff;
}

.detail-agent-role {
  margin: 0;
  font-size: 1.02rem;
  color: var(--cyan-mid);
  font-weight: 700;
}

.detail-summary {
  font-size: 1.06rem;
  color: var(--text-secondary);
  margin: 0 0 26px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.detail-box {
  background: rgba(4, 9, 20, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.detail-box--checkpoint {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.09);
}

.detail-box-title {
  margin: 0 0 14px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.detail-list li {
  margin-bottom: 10px;
}

.checkpoint-copy {
  color: #ffffff;
  font-size: 0.98rem;
  margin: 0 0 16px;
}

.checkpoint-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--gold-light);
}

.detail-io-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.io-card {
  background: #030710;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.io-card--output {
  border-color: var(--border-cyan);
}

.io-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.io-tag--output {
  color: var(--cyan-bright);
}

.io-code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.6;
}

.detail-collaborators {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.collab-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.collab-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.collab-chip {
  background: rgba(14, 27, 52, 0.95);
  border: 1px solid var(--border-cyan);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.collab-chip:hover {
  transform: translateY(-2px);
  background: var(--cyan-bright);
  color: #020813;
}

.collab-chip--gold {
  border-color: var(--border-gold);
  color: var(--gold-light);
  cursor: default;
}

/* ==========================================================================
   WORKFLOW SIMULATION SECTION
   ========================================================================== */
.workflow-deck {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-hologram);
}

#workflow-scenario-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 20px;
}

.wf-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.wf-sim-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #020813;
  background: var(--gold-light);
  padding: 4px 10px;
  border-radius: 6px;
}

.wf-industry-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan-bright);
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
}

.wf-scenario-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 8px 0;
  color: #ffffff;
}

.wf-scenario-trigger,
.wf-scenario-objective {
  margin: 6px 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.workflow-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 18px;
  padding: 18px;
  background: rgba(4, 9, 20, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.workflow-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.workflow-status-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.16);
  color: #ffffff;
}

.status--running {
  background: rgba(0, 229, 255, 0.22);
  color: var(--cyan-bright);
  border: 1px solid var(--cyan-bright);
}

.status--completed {
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
  border: 1px solid #10b981;
}

.workflow-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 26px;
}

.workflow-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-bright), var(--gold-metallic));
  transition: width 0.35s ease;
}

.workflow-main-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  align-items: stretch;
}

.workflow-right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.workflow-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wf-step-card {
  position: relative;
  background: rgba(8, 16, 32, 0.92);
  border: 1px solid var(--border-subtle);
  border-left: 5px solid rgba(148, 163, 184, 0.45);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wf-step-card:hover {
  transform: translateX(4px);
  border-color: var(--cyan-bright);
  background: rgba(14, 28, 56, 0.96);
}

.wf-step--active {
  background: rgba(0, 229, 255, 0.14);
  border-color: var(--cyan-bright);
  border-left-color: var(--cyan-bright);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.28);
}

.wf-step--done {
  border-left-color: var(--emerald-ok);
  background: rgba(16, 185, 129, 0.08);
}

.wf-step-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.wf-step-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--cyan-bright);
}

.wf-step-agent {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.wf-human-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--border-gold);
  padding: 3px 9px;
  border-radius: 6px;
}

.wf-auto-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-mid);
  background: rgba(56, 189, 248, 0.14);
  padding: 3px 9px;
  border-radius: 6px;
}

.wf-step-title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
}

.wf-step-desc {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.wf-step-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-light);
}

.wf-state-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-muted);
}

.wf-step--active .wf-state-dot {
  background: var(--cyan-bright);
  box-shadow: 0 0 10px var(--cyan-bright);
}

.wf-step--done .wf-state-dot {
  background: var(--emerald-ok);
}

/* Live Payload Console */
.workflow-live-console {
  background: #030710;
  border: 1.5px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-hologram);
}

/* 3D Tactical Cyber-Command Gaming Arena (Fills lower-right column with zero dead space) */
.workflow-gaming-arena {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  background: linear-gradient(160deg, rgba(4, 11, 26, 0.98) 0%, rgba(2, 6, 15, 0.99) 100%);
  border: 1.5px solid var(--cyan-bright);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.8), 0 0 32px rgba(0, 229, 255, 0.22);
}

.arena-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(2, 7, 16, 0.95);
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
}

.arena-hud-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.arena-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 12px var(--cyan-bright);
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.arena-hud-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.arena-hud-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.arena-stat-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.arena-stat-pill--cyan {
  color: var(--cyan-bright);
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.45);
}

.arena-stat-pill--gold {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--border-gold);
}

.arena-canvas-container {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 280px;
}

#workflow-arena-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.arena-overlay-callout {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  padding: 8px 12px;
  background: rgba(3, 9, 20, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  pointer-events: none;
  transition: all 0.22s ease;
}

.arena-overlay-callout.is-running {
  border-color: var(--cyan-bright);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

.arena-overlay-callout.is-completed {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(16, 185, 129, 0.18);
}

.arena-controls-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(2, 7, 16, 0.95);
  border-top: 1px solid rgba(0, 229, 255, 0.3);
}

.arena-action-btn {
  flex: 1;
  min-width: 125px;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(12, 26, 52, 0.92);
  border: 1px solid var(--border-cyan);
  cursor: pointer;
  transition: all 0.18s ease;
}

.arena-action-btn:hover,
.arena-action-btn.is-active {
  background: var(--cyan-bright);
  color: #020813;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
  transform: translateY(-1px);
}

.arena-action-btn--gold {
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.arena-action-btn--gold:hover {
  background: var(--gold-light);
  color: #020813;
  box-shadow: 0 0 18px rgba(249, 226, 156, 0.5);
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.console-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan-bright);
}

.console-title {
  margin: 4px 0 0;
  font-size: 1.18rem;
  color: #ffffff;
}

.console-agent-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 6px;
}

.console-block {
  margin-bottom: 16px;
}

.console-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.console-label--cyan {
  color: var(--cyan-bright);
}

.console-pre {
  margin: 0;
  padding: 14px;
  background: rgba(10, 20, 40, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: #ffffff;
  line-height: 1.55;
}

.console-governance {
  padding: 14px;
  border-radius: 8px;
  background: rgba(15, 28, 52, 0.85);
  border-left: 4px solid var(--cyan-mid);
  font-size: 0.88rem;
  color: #ffffff;
}

.console-governance.is-human-gate {
  background: rgba(212, 175, 55, 0.16);
  border-left-color: var(--gold-metallic);
  color: #ffffff;
}

.console-final-outcome {
  margin-top: 16px;
  padding: 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  border-radius: 8px;
}

.console-final-outcome h5 {
  margin: 0 0 6px;
  color: #6ee7b7;
  font-size: 0.98rem;
}

.console-final-outcome p {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
}

.workflow-readable-summary {
  margin-top: 26px;
  padding: 24px;
  background: rgba(5, 10, 22, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.readable-summary-title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: #ffffff;
}

.readable-summary-note {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--gold-light);
}

.readable-steps-list {
  margin: 0;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.readable-steps-list li {
  margin-bottom: 8px;
}

.readable-human-tag {
  color: var(--gold-light);
  font-weight: 700;
  margin-left: 6px;
}

/* ==========================================================================
   BUSINESS-PROBLEM SIMULATOR
   ========================================================================== */
.problem-simulator-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}

.problem-controls-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-hologram);
}

.problem-selector-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.problem-option-btn {
  text-align: left;
  background: rgba(12, 24, 46, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.18s ease;
}

.problem-option-btn:hover {
  transform: translateX(4px);
  border-color: var(--cyan-bright);
  background: rgba(18, 36, 68, 0.96);
}

.problem-option-btn.is-active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(2, 132, 199, 0.2));
  border-color: var(--cyan-bright);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.28);
}

.problem-option-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-bright);
  text-transform: uppercase;
}

.problem-option-label {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
}

.local-context-fields {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #040914;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  margin-bottom: 16px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
  outline: none;
}

.local-privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Quick-Pick Prompt Preset Chips */
.prompt-preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.prompt-preset-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan-bright);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 999px;
  padding: 5px 11px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.prompt-preset-chip:hover,
.prompt-preset-chip.is-active {
  background: var(--cyan-bright);
  color: #020813;
  border-color: var(--cyan-bright);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
  transform: translateY(-1px);
}

/* Interactive Prompt Studio Card & Output Box */
.prompt-creator-studio {
  background: linear-gradient(145deg, rgba(4, 10, 24, 0.98) 0%, rgba(8, 18, 38, 0.96) 100%);
  border: 1.5px solid var(--gold-metallic);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.65), 0 0 24px rgba(212, 175, 55, 0.18);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.prompt-creator-studio.is-flashed {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 38px rgba(0, 229, 255, 0.45);
}

.prompt-studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.prompt-studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prompt-studio-code {
  margin: 0 0 18px;
  padding: 16px;
  background: #02060f;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-left: 4px solid var(--cyan-bright);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #ffffff;
  white-space: pre-wrap;
  word-break: break-word;
}

.prompt-live-result-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 8px;
  padding: 16px;
}

.prompt-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.prompt-result-pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.55;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-word;
}

.problem-output-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-hologram);
}

.prob-output-header {
  text-align: center;
  margin-bottom: 22px;
}

.prob-sim-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.prob-output-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #ffffff;
}

.prob-context-sub {
  margin: 0;
  font-size: 0.96rem;
  color: var(--cyan-mid);
}

.prob-problem-box {
  background: rgba(4, 9, 20, 0.9);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--cyan-bright);
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 22px;
}

.prob-problem-box h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: #ffffff;
}

.prob-problem-box p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.prob-agents-row {
  text-align: center;
  margin-bottom: 24px;
}

.prob-row-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.prob-agent-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.prob-agent-badge {
  background: rgba(14, 27, 52, 0.95);
  border: 1px solid var(--border-cyan);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.prob-agent-badge:hover {
  transform: translateY(-2px);
  background: var(--cyan-bright);
  color: #020813;
}

.prob-agent-badge--gold {
  border-color: var(--gold-metallic);
  color: var(--gold-light);
  cursor: default;
}

.prob-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.prob-step-item {
  background: rgba(6, 13, 28, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.prob-step-item h5 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--cyan-bright);
}

.prob-step-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.prob-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.prob-card {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(5, 11, 24, 0.92);
  border: 1px solid var(--border-subtle);
}

.prob-card--checkpoints {
  border-color: var(--border-gold);
}

.prob-card h4 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: #ffffff;
}

.prob-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.prob-card p {
  margin: 0 0 8px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.prob-disclaimer {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
}

.prob-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
}

.prob-cta-bar p {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SERVICES, ENGAGEMENT STAGES & INDUSTRIES GRIDS (CENTERED CARDS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--cyan-bright);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}

.service-card:hover {
  border-color: var(--cyan-bright);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 28px rgba(0, 229, 255, 0.25);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-light);
}

.service-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-bright);
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #ffffff;
}

.service-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.service-outcomes {
  margin: 0;
  padding-left: 20px;
  text-align: left;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.service-outcomes li {
  margin-bottom: 8px;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.stage-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--gold-metallic);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}

.stage-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 28px rgba(212, 175, 55, 0.28);
}

.stage-number-badge {
  display: inline-block;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.stage-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #ffffff;
}

.stage-subtitle {
  font-size: 0.92rem;
  color: var(--cyan-mid);
  font-weight: 700;
  margin: 0 0 14px;
}

.stage-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 18px;
  flex-grow: 1;
}

.stage-deliverable {
  font-size: 0.88rem;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  color: #ffffff;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.industry-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--cyan-bright);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}

.industry-card--broad {
  border-top-color: var(--gold-metallic);
}

.industry-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--cyan-bright);
  background: rgba(0, 229, 255, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.industry-card--broad .industry-tag {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
}

.industry-title {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.industry-focus {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTACT & CONSULTATION SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: start;
}

.contact-direct-card {
  background: linear-gradient(145deg, rgba(10, 20, 42, 0.96), rgba(5, 11, 24, 0.98));
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-hologram);
}

.direct-phone-box {
  margin: 24px 0;
  padding: 22px;
  background: rgba(212, 175, 55, 0.14);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
}

.direct-phone-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.direct-phone-number {
  font-family: var(--font-mono);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  display: inline-block;
}

.direct-phone-number:hover {
  color: var(--cyan-bright);
}

.contact-checklist {
  padding-left: 20px;
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-checklist li {
  margin-bottom: 10px;
}

.contact-form-card {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-hologram);
}

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

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 22px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--cyan-bright);
}

.backend-honesty-banner {
  font-size: 0.86rem;
  color: var(--text-secondary);
  background: rgba(12, 24, 48, 0.8);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.contact-status-box {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-md);
}

.contact-status-box.is-error {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid #ef4444;
  color: #fecaca;
}

.contact-status-box.is-local-brief {
  background: rgba(5, 11, 24, 0.98);
  border: 1.5px solid var(--gold-metallic);
}

.brief-status-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: #040811;
  background: var(--gold-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.brief-notice-header h4 {
  margin: 4px 0 8px;
}

.brief-explanation {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.brief-preview {
  background: #02050b;
  border: 1px solid var(--border-subtle);
  padding: 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  white-space: pre-wrap;
  color: var(--cyan-bright);
  margin: 0 0 16px;
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: rgba(2, 4, 9, 0.96);
  border-top: 1px solid var(--border-cyan);
  padding: 60px 0 44px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS & REDUCED MOTION
   ========================================================================== */
@media (max-width: 1080px) {
  .primary-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
  }
  .boardroom-bento-grid,
  .workflow-main-grid,
  .problem-simulator-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .workflow-live-console {
    position: static;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .hero-canvas-stage {
    height: 440px;
  }
  .orchestrator-concept-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .detail-grid,
  .detail-io-grid,
  .prob-steps-grid,
  .prob-bottom-grid,
  .form-row-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-centered-intro,
  .hero-dock-panel,
  .agent-detail-panel,
  .workflow-deck,
  .problem-output-panel,
  .contact-direct-card,
  .contact-form-card {
    padding: 22px;
  }
  .header-phone span {
    display: none;
  }
}

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

/* ==========================================================================
   AAA GAMING COMMAND DECK UI OVERHAUL (HUD BAR, XP, QUESTS, RPG STATS & CHAMFERED FRAMES)
   ========================================================================== */

/* 1. Persistent Top Commander Gaming HUD Bar */
.gamer-hud-bar {
  background: linear-gradient(90deg, rgba(2, 8, 20, 0.96) 0%, rgba(7, 19, 42, 0.96) 50%, rgba(2, 8, 20, 0.96) 100%);
  border-top: 1px solid rgba(0, 229, 255, 0.35);
  border-bottom: 1.5px solid var(--cyan-bright);
  padding: 8px 0;
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.16);
}

.gamer-hud-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.gamer-rank-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gamer-level-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  color: #020813;
  background: linear-gradient(135deg, #00e5ff 0%, #f9e29c 100%);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.gamer-xp-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
}

.gamer-xp-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.gamer-rank-title {
  color: #ffffff;
  letter-spacing: 0.04em;
}

.gamer-xp-counter {
  color: var(--gold-light);
}

.gamer-xp-track {
  width: 100%;
  height: 7px;
  background: rgba(148, 163, 184, 0.22);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 999px;
  overflow: hidden;
}

.gamer-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #00e5ff 0%, #10b981 55%, #f9e29c 100%);
  box-shadow: 0 0 12px #00e5ff;
  transition: width 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* 2. Active Mission Quests Tracker */
.gamer-quests-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.gamer-quests-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.gamer-quest-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(10, 22, 44, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.gamer-quest-chip:hover {
  border-color: var(--cyan-bright);
  color: #ffffff;
  transform: translateY(-1px);
}

.gamer-quest-chip.is-completed {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10b981;
  color: #6ee7b7;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.gamer-sfx-btn {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text-secondary);
  background: rgba(10, 22, 44, 0.92);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.gamer-sfx-btn.is-active,
.gamer-sfx-btn:hover {
  color: #020813;
  background: var(--cyan-bright);
  border-color: var(--cyan-bright);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
}

/* 3. Chamfered Sci-Fi Tactical Framing & Animated HUD Scanlines Across the Site */
.agent-card,
.service-card,
.stage-card,
.industry-card,
.boardroom-bento-card {
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}

/* RPG Class Badges & Live Stat Bars inside Agent Squad Cards */
.agent-class-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.agent-rpg-stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: rgba(2, 6, 15, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 8px;
}

.rpg-stat-row {
  display: grid;
  grid-template-columns: 76px 1fr 36px;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
}

.rpg-stat-label {
  text-align: left;
  color: var(--text-muted);
}

.rpg-stat-track {
  height: 6px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.rpg-stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-bright), #38bdf8);
  box-shadow: 0 0 8px var(--cyan-bright);
}

.rpg-stat-fill--gold {
  background: linear-gradient(90deg, #10b981, var(--gold-light));
  box-shadow: 0 0 8px var(--gold-light);
}

.rpg-stat-val {
  text-align: right;
  color: #ffffff;
}

/* Service Card Tactical Module Impact Meter */
.gamer-module-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 14px;
  background: rgba(2, 7, 16, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cyan-bright);
}

.gamer-module-bar {
  flex: 1;
  height: 6px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.gamer-module-fill {
  height: 100%;
  background: linear-gradient(90deg, #00e5ff, #f9e29c);
}

/* 4. Global Floating +XP Combat Popups & Level-Up Achievement Toasts */
.gamer-xp-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  overflow: hidden;
}

.gamer-xp-popup {
  position: fixed;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  color: #00e5ff;
  background: rgba(2, 8, 20, 0.92);
  border: 1.5px solid #f9e29c;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.55);
  pointer-events: none;
  animation: xpFloatUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes xpFloatUp {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.85);
  }
  20% {
    opacity: 1;
    transform: translateY(-6px) scale(1.04);
  }
  100% {
    opacity: 0;
    transform: translateY(-48px) scale(0.96);
  }
}

.gamer-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9995;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}

.gamer-toast {
  background: linear-gradient(135deg, rgba(4, 14, 32, 0.98) 0%, rgba(10, 28, 58, 0.98) 100%);
  border: 2px solid var(--gold-light);
  border-left: 6px solid var(--cyan-bright);
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 28px rgba(249, 226, 156, 0.45);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gamer-toast.is-fading {
  opacity: 0;
  transform: translateY(12px);
}

.gamer-toast-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.gamer-toast-sub {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
}

.gamer-controls-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gamer-fps-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* 5. Live 360° Tactical Radar Mini-Map Widget (Bottom-Left Gaming HUD) */
.hud-minimap-widget {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9980;
  width: 140px;
  background: rgba(2, 8, 20, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--cyan-bright);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85), 0 0 22px rgba(0, 229, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.minimap-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--cyan-bright);
  margin-bottom: 4px;
}

.minimap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.4s infinite ease-in-out;
}

.minimap-footer {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* 6. Custom Sci-Fi Targeting Crosshair Follower */
.cyber-crosshair {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  margin-top: -17px;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.15s ease, height 0.15s ease, margin 0.15s ease;
}

.crosshair-ring {
  display: block;
  width: 100%;
  height: 100%;
  border: 1.5px dashed rgba(0, 229, 255, 0.65);
  border-radius: 50%;
  animation: spinReticle 6s linear infinite;
}

.crosshair-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-light);
}

.cyber-crosshair.is-locked {
  width: 48px;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
}

.cyber-crosshair.is-locked .crosshair-ring {
  border-style: solid;
  border-color: var(--gold-light);
  box-shadow: 0 0 16px rgba(249, 226, 156, 0.55);
}

@keyframes spinReticle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 7. Scroll-Triggered 3D Game Entrance Animations & Continuous Neon Scanline Sweeps */
.game-reveal-ready {
  opacity: 0;
  transform: perspective(900px) translateY(28px) rotateX(6deg) scale(0.97);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-reveal-ready.is-game-revealed {
  opacity: 1;
  transform: perspective(900px) translateY(0) rotateX(0deg) scale(1);
}

.hero-centered-intro,
.section-header {
  position: relative;
  overflow: hidden;
}

.hero-centered-intro::after,
.section-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 229, 255, 0.12) 50%,
    transparent 100%
  );
  transform: skewX(-24deg);
  animation: hudScanSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hudScanSweep {
  0% { left: -120%; }
  45%, 100% { left: 160%; }
}

@media (max-width: 900px) {
  .gamer-quests-cluster,
  .hud-minimap-widget,
  .cyber-crosshair {
    display: none;
  }
}

/* ==========================================================================
   8. 1-CLICK GAME THEME SWITCHER (VEGAS HIGH-ROLLER & TACTICAL WAR-ROOM)
   ========================================================================== */
.gamer-theme-select {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-light);
  background: rgba(8, 18, 38, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
}

body[data-game-theme="vegas"] {
  --cyan-bright: #ffd700;
  --cyan-mid: #f59e0b;
  --border-cyan: rgba(255, 215, 0, 0.65);
  --bg-card: rgba(14, 24, 18, 0.92);
  --bg-panel: rgba(8, 18, 14, 0.94);
}

body[data-game-theme="warroom"] {
  --cyan-bright: #10b981;
  --cyan-mid: #34d399;
  --border-cyan: rgba(16, 185, 129, 0.65);
  --bg-card: rgba(10, 22, 16, 0.92);
  --bg-panel: rgba(6, 16, 12, 0.94);
}

/* ==========================================================================
   9. THE "AAA BANDIT" EXECUTIVE GAME ROOM & STRATEGY LOUNGE
   ========================================================================== */
.arcade-cabinet-card {
  background: linear-gradient(155deg, rgba(6, 14, 30, 0.97) 0%, rgba(3, 8, 18, 0.99) 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 38px rgba(212, 175, 55, 0.25);
}

.arcade-marquee-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(90deg, rgba(20, 14, 4, 0.96), rgba(6, 16, 34, 0.96));
  border-bottom: 1.5px solid var(--border-gold);
}

.arcade-marquee-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arcade-mode-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.06em;
}

.arcade-marquee-stats {
  display: flex;
  gap: 10px;
}

.arcade-game-panel {
  padding: 28px;
}

/* Game 1: The AAA Bandit 3-Reel Workflow Jackpot */
.bandit-reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.bandit-reel-box {
  background: radial-gradient(circle at 50% 25%, rgba(16, 36, 68, 0.95), rgba(4, 9, 20, 0.98));
  border: 2px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: inset 0 0 28px rgba(0, 229, 255, 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bandit-reel-box--gold {
  border-color: var(--gold-light);
  box-shadow: inset 0 0 32px rgba(249, 226, 156, 0.2), 0 0 24px rgba(212, 175, 55, 0.25);
}

.bandit-reel-box.is-spinning .reel-window {
  animation: slotSpinBlur 0.16s infinite linear;
}

@keyframes slotSpinBlur {
  0% { transform: translateY(-6px) scale(0.97); opacity: 0.7; }
  50% { transform: translateY(6px) scale(1.03); opacity: 1; }
  100% { transform: translateY(-6px) scale(0.97); opacity: 0.7; }
}

.reel-header {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.reel-icon {
  display: block;
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.reel-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.reel-sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.bandit-controls-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.bandit-spin-btn {
  font-size: 1.02rem;
  padding: 14px 28px;
  background: linear-gradient(135deg, #f9e29c 0%, #d4af37 50%, #00e5ff 100%);
  color: #020813;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(249, 226, 156, 0.45);
}

.bandit-payout-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-left: 5px solid var(--gold-light);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #ffffff;
}

/* Game 2: Texas Hold'em 5-Card Royal Flush Strategy Table */
.holdem-table-header {
  text-align: center;
  margin-bottom: 20px;
}

.holdem-pot-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid #10b981;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.holdem-table-sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.holdem-cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.holdem-playing-card {
  position: relative;
  background: linear-gradient(165deg, rgba(12, 28, 56, 0.96) 0%, rgba(4, 10, 22, 0.98) 100%);
  border: 2px solid var(--border-cyan);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.holdem-playing-card:hover,
.holdem-playing-card.is-flipped,
.holdem-playing-card.is-dealt {
  transform: translateY(-8px) rotateY(6deg);
  border-color: var(--gold-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 24px rgba(249, 226, 156, 0.4);
}

.holdem-card--ace {
  border-color: var(--gold-light);
  background: linear-gradient(165deg, rgba(36, 28, 8, 0.95) 0%, rgba(8, 16, 32, 0.98) 100%);
}

.playing-card-corner {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--gold-light);
  text-align: left;
}

.playing-card-agent {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--cyan-bright);
  margin: 6px 0;
}

.playing-card-title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}

.playing-card-desc {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.playing-card-footer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: #6ee7b7;
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
}

/* Game 3: Command & Conquer Territory Dispatch Radar */
.command-defense-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
  align-items: center;
}

.command-radar-stage {
  background: #02060e;
  border: 2px solid #10b981;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.25);
}

#arcade-defense-canvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
}

.command-defense-sidebar {
  background: rgba(6, 15, 30, 0.94);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 22px;
}

.defense-scoreboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(2, 7, 16, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.defense-score-row {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1080px) {
  .bandit-reels-grid,
  .holdem-cards-row,
  .command-defense-grid {
    grid-template-columns: 1fr;
  }
}
