/* ==========================================================================
   MOHAMMAD SHAH ALAM (@saroven)
   Software Engineer at Quant Fintech Limited
   AESTHETIC: High-Velocity Kinetic Systems Cockpit & Prismatic Precision
   ========================================================================== */

:root {
  --bg-deep: #050608;
  --bg-card: rgba(13, 16, 22, 0.72);
  --bg-card-hover: rgba(18, 23, 33, 0.88);
  --bg-elevated: #161b26;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.35);
  --border-active: rgba(255, 255, 255, 0.22);

  --text-pure: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #8b949e;
  --text-dim: #4b5563;

  --emerald: #10b981;
  --emerald-neon: #00ffaa;
  --cyan: #06b6d4;
  --cyan-neon: #00f2fe;
  --amber: #f59e0b;
  --violet: #8b5cf6;
  --rose: #f43f5e;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', monospace;
  --font-display: 'Space Grotesk', sans-serif;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

body.kinetic-app {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* 1. Kinetic Background Physics Canvas */
#kinetic-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Pointer Ambient Light */
.pointer-light {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.03) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* 2. HUD Top Navigation */
.hud-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 8, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 24px;
}

.hud-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  white-space: nowrap;
}

.monogram-pulse {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.monogram-pulse.small {
  width: 32px;
  height: 32px;
}

.monogram-core {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #050608;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  position: relative;
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 11px;
  border: 1px solid var(--emerald);
  opacity: 0.6;
  animation: ringExpand 2.5s infinite var(--ease-spring);
}

@keyframes ringExpand {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.brand-info {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  gap: 1px;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.brand-title .name {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text-pure);
}

.verified-glyph {
  font-size: 9px;
  color: #050608;
  background: var(--emerald);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.brand-role {
  font-size: 11px;
  color: var(--emerald);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hud-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.hud-action-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.hud-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-active);
  transform: translateY(-1px);
}

.cmd-btn .kbd-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
}

.hud-status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 11px;
  border-radius: 9999px;
  white-space: nowrap;
}

.radar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: radarBlink 1.5s infinite ease-in-out;
}

@keyframes radarBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.hud-clock {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* 3. Main HUD Viewport */
.hud-main {
  max-width: 1400px;
  margin: 36px auto 90px;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* 4. Gyroscopic 3D Tilt Card Base with Prismatic Spotlights */
.tilt-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  transform-style: preserve-3d;
  overflow: hidden;
}

.tilt-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(16, 185, 129, 0.08);
}

.card-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.tilt-card:hover .card-spotlight {
  opacity: 1;
}

/* 5. Cockpit Hero Section */
.cockpit-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.cockpit-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.hero-id-strip {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.avatar-holo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  box-shadow: 0 0 10px var(--emerald);
  animation: scanCycle 3s infinite linear;
}

@keyframes scanCycle {
  0% { transform: translateY(-10px); }
  50% { transform: translateY(115px); }
  100% { transform: translateY(-10px); }
}

.holo-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--emerald);
  border-style: solid;
}

.holo-corner.tl { top: 3px; left: 3px; border-width: 2px 0 0 2px; }
.holo-corner.tr { top: 3px; right: 3px; border-width: 2px 2px 0 0; }
.holo-corner.bl { bottom: 3px; left: 3px; border-width: 0 0 2px 2px; }
.holo-corner.br { bottom: 3px; right: 3px; border-width: 0 2px 2px 0; }

.identity-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 6px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.glitch-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-creds-cluster {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cred-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.cred-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.cred-desc {
  color: var(--text-muted);
}

.cred-desc strong {
  color: var(--text-pure);
}

.cred-sub {
  color: var(--text-dim);
  font-size: 11px;
  font-family: var(--font-mono);
  display: inline-block;
  margin-left: 2px;
}

.hero-mission {
  font-size: 15px;
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--emerald);
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}

.transmission-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s var(--ease-spring);
}

.mag-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff;
}

.mag-btn.primary-glow {
  background: #ffffff;
  color: #050608;
  border-color: #ffffff;
  margin-left: auto;
}

.mag-btn.primary-glow:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* 6. Live Architecture Telemetry Radar (Cockpit Right) */
.cockpit-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.06), transparent 70%), var(--bg-card);
}

.radar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.radar-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  text-transform: uppercase;
}

.live-beacon {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: radarBlink 1s infinite ease-in-out;
}

.telemetry-speed {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-neon);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 4px;
}

.pipeline-viewport {
  position: relative;
  background: #040507;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
}

#architecture-pipeline-canvas {
  width: 100%;
  height: 230px;
  display: block;
}

.pipeline-hud-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.overlay-node {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(10, 14, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.radar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.burst-trigger-btn {
  position: relative;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #050608;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
  transition: all 0.2s var(--ease-spring);
  overflow: hidden;
}

.burst-trigger-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.burst-trigger-btn:active {
  transform: translateY(0) scale(0.98);
}

.burst-metrics {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

/* 7. Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.metric-block {
  padding: 22px;
}

.m-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.m-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.m-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 8. Production Case Studies */
.showcase-section, .arsenal-section {
  margin-bottom: 48px;
}

.section-lead {
  margin-bottom: 24px;
}

.lead-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

.lead-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
}

.lead-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 680px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 26px;
  position: relative;
}

.card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.card-accent-bar.enterprise { background: var(--blue); }
.card-accent-bar.open-source { background: var(--emerald); }
.card-accent-bar.realtime { background: var(--amber); }
.card-accent-bar.nlp { background: var(--violet); }

.case-card.featured-border {
  border-color: rgba(16, 185, 129, 0.3);
}

.case-card.featured-border:hover {
  border-color: var(--emerald);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.tag-pill.enterprise { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.tag-pill.open-source { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.tag-pill.realtime { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.tag-pill.nlp { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }

.meta-org {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.case-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.case-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.case-body code {
  font-family: var(--font-mono);
  color: var(--emerald);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.spec-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-item .k {
  font-size: 10px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.spec-item .v {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-main);
  font-weight: 600;
}

.text-emerald { color: var(--emerald) !important; }

/* 9. Full-Stack Arsenal Matrix */
.arsenal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.arsenal-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.arsenal-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.arsenal-tab-btn.active {
  background: #ffffff;
  color: #050608;
  border-color: #ffffff;
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.tool-cell {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tool-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.tool-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.tool-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 10. Command Palette Modal (⌘K) */
.cmd-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}

.cmd-modal-backdrop.open {
  display: flex;
}

.cmd-dialog {
  width: 90%;
  max-width: 580px;
  background: #0d1017;
  border: 1px solid var(--border-active);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  animation: cmdSlide 0.2s var(--ease-spring);
}

@keyframes cmdSlide {
  from { opacity: 0; transform: translateY(-20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cmd-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.cmd-prompt-glyph {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--emerald);
  font-weight: 700;
}

#cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
}

.cmd-esc-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.cmd-results {
  padding: 10px;
  max-height: 320px;
  overflow-y: auto;
}

.cmd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cmd-item:hover, .cmd-item.active {
  background: rgba(16, 185, 129, 0.12);
  color: #ffffff;
}

.cmd-item .cmd-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}

/* ==========================================================================
   12. COCKPIT NAVIGATION & CHRONOLOGY TIMELINE
   ========================================================================== */
.cockpit-nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(18, 23, 33, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 3px 6px;
  border-radius: 9999px;
  flex-shrink: 0;
  white-space: nowrap;
}

.c-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-block;
}

.c-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.c-link.active {
  background: #ffffff;
  color: #050608;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

/* Chronology & Mission Log */
.chronology-section {
  margin-bottom: 56px;
}

.cockpit-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-entry {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 3px solid var(--border-subtle);
  transition: all 0.2s var(--ease-spring);
}

.timeline-entry:hover {
  border-left-color: var(--emerald);
  transform: translateX(4px);
}

.t-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.t-badge.current {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.t-badge.ship {
  background: rgba(6, 182, 212, 0.15);
  color: #00f2fe;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.t-badge.edu {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.t-badge.genesis {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.t-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.t-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.t-title code {
  font-family: var(--font-mono);
  color: var(--emerald-neon);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.t-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.t-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.t-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   13. COCKPIT CONSOLE FOOTER TERMINAL
   ========================================================================== */
.hud-footer {
  position: relative;
  z-index: 10;
  background: #040507;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.8), 0 -1px 20px rgba(16, 185, 129, 0.08);
  margin-top: 70px;
  overflow: hidden;
}

.hud-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 44px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Telemetry Strip */
.footer-telemetry-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(13, 16, 22, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.telemetry-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.chip-beacon.online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: radarBlink 1.5s infinite;
}

.chip-tag {
  color: var(--emerald);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 4-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr 1.1fr;
  gap: 36px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.f-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.f-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald);
}

.f-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.f-credentials-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.f-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 4px;
}

.f-col-header {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin-bottom: 2px;
}

.f-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.f-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s ease;
}

.f-link span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  width: 16px;
  display: inline-block;
}

.f-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.f-link:hover span {
  color: var(--emerald);
}

.f-comms-deck {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f-deck-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 12px;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  width: 100%;
}

.f-deck-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.f-deck-btn.highlight {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.f-deck-btn.highlight:hover {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.18);
}

.f-copy-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Baseline Bar */
.footer-baseline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  gap: 16px;
  flex-wrap: wrap;
}

.f-base-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.f-base-left strong {
  color: var(--text-pure);
}

.f-sep {
  color: var(--text-dim);
}

.f-base-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.f-meta-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.back-to-top-btn {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-neon);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-to-top-btn:hover {
  background: var(--emerald);
  color: #050608;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1280px) {
  .hud-status-pill { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 1024px) {
  .cockpit-hero { grid-template-columns: 1fr; }
  .metrics-strip { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hud-container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hud-controls { width: 100%; justify-content: space-between; }
  .cockpit-nav-links { overflow-x: auto; max-width: 100%; padding: 4px; }
  .hero-id-strip { flex-direction: column; }
  .metrics-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-telemetry-strip { flex-direction: column; align-items: flex-start; }
  .footer-baseline { flex-direction: column; align-items: flex-start; gap: 12px; }
  .f-base-right { width: 100%; justify-content: space-between; }
}


