:root {
  --bg-deep: #020b1a;
  --accent-electric: #0b66d0;
  --accent-glow: #00fdfb;
  --glass-bg: rgba(11, 102, 208, 0.03);
  --glass-border: rgba(11, 102, 208, 0.15);
  --text-main: #ffffff;
  --text-muted: #6b8db5;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  padding-top: 110px;

  /* TRUCUL PENTRU FOOTER JOS */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ocupă minim tot ecranul */
}

/* Tot ce e între header și footer trebuie să aibă clasa asta */
.sys-main-content {
  flex: 1; /* Asta îi spune să se umfle și să ocupe tot spațiul rămas */
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   2027 HEADER ARCHITECTURE
   ========================================================================== */
.sys-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  /* Umbră masivă pentru a desprinde headerul de fundal */
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

/* ANNOUNCEMENT DATA STREAM */
.announcement-bar {
  background: rgba(1, 5, 13, 0.9);
  height: 32px;
  border-bottom: 1px solid rgba(0, 253, 251, 0.1);
  display: flex;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
}

.announcement-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sys-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-glow);
  text-shadow: 0 0 8px rgba(0, 253, 251, 0.4);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 10px var(--accent-glow),
    0 0 20px var(--accent-glow);
  animation: pulse 1.5s infinite;
}

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

.announcement-msg .text-muted {
  color: var(--text-muted);
}

.highlight-link {
  color: #fff;
  text-decoration: none;
  margin-left: 8px;
  transition: all 0.3s ease;
  border-bottom: 1px dashed var(--accent-electric);
}

.highlight-link:hover {
  color: var(--accent-glow);
  text-shadow: 0 0 10px rgba(0, 253, 251, 0.5);
  border-bottom-color: var(--accent-glow);
}

/* TACTICAL NAVIGATION CORE */
.sys-header {
  height: 80px;
  background: linear-gradient(
    180deg,
    rgba(2, 11, 26, 0.95) 0%,
    rgba(2, 11, 26, 0.8) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  position: relative;
}

/* Laser Scan Border */
.sys-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-glow) 50%,
    transparent 100%
  );
  opacity: 0.7;
  box-shadow: 0 0 10px var(--accent-glow);
}

.header-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.main-logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 10px rgba(0, 253, 251, 0.6));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-link:hover .main-logo {
  filter: drop-shadow(0 0 20px rgba(0, 253, 251, 0.9));
  transform: scale(1.08) rotate(-5deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-sys {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--accent-glow);
  letter-spacing: 3px;
  opacity: 0.8;
}

/* NEXT-GEN LINKS */
.sys-nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  letter-spacing: 2px; /* Efect 2027: extindere magnetică */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.nav-link::before {
  content: "<";
  position: absolute;
  left: -15px;
  color: var(--accent-electric);
  opacity: 0;
  transition: all 0.3s;
}
.nav-link::after {
  content: "/>";
  position: absolute;
  right: -20px;
  color: var(--accent-electric);
  opacity: 0;
  transition: all 0.3s;
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
  left: -20px;
  color: var(--accent-glow);
}
.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  right: -25px;
  color: var(--accent-glow);
}

/* SCI-FI CONNECT BUTTON */
.btn-connect {
  background: rgba(11, 102, 208, 0.1);
  color: var(--accent-glow);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 1.8rem;
  border: 1px solid var(--accent-electric);
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  /* Efect de colț tăiat (Sci-Fi chamfer) */
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  transition: all 0.3s ease;
}

.btn-connect::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 253, 251, 0.4),
    transparent
  );
  transition: all 0.5s ease;
}

.btn-connect:hover {
  background: var(--accent-electric);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 253, 251, 0.5); /* Nu se vede pe clip-path, dar dă glow intern */
}

.btn-connect:hover::before {
  left: 200%;
}

/* ==========================================================================
   2027 FOOTER ARCHITECTURE
   ========================================================================== */
.sys-footer {
  margin-top: auto; /* Se lipește de jos datorită Flexbox-ului de pe body */
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(2, 11, 26, 0.4) 0%,
    rgba(1, 5, 13, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}

.footer-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-glow),
    transparent
  );
  box-shadow: 0 0 15px var(--accent-glow);
  opacity: 0.8;
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.col-heading {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(11, 102, 208, 0.3);
  padding-bottom: 0.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  filter: grayscale(100%) brightness(150%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.footer-brand:hover .footer-logo {
  filter: drop-shadow(0 0 10px rgba(0, 253, 251, 0.8));
  opacity: 1;
}

.f-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.f-sys {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--accent-electric);
  letter-spacing: 2px;
}

/* Efect Terminal 2027 */
.terminal-box-footer {
  background: rgba(0, 0, 0, 0.3);
  border-left: 2px solid var(--accent-electric);
  padding: 1rem;
  border-radius: 0 4px 4px 0;
}

.terminal-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--accent-glow);
  font-weight: bold;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* LINK-URI */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.f-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
.f-link::before {
  content: ">";
  color: var(--accent-electric);
  margin-right: 8px;
  font-weight: bold;
  transition: all 0.3s;
}
.f-link:hover {
  color: #fff;
  transform: translateX(5px);
}
.f-link:hover::before {
  color: var(--accent-glow);
  text-shadow: 0 0 8px var(--accent-glow);
}

/* TELEMETRIE */
.telemetry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.telemetry-list li {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(11, 102, 208, 0.2);
  padding-bottom: 0.5rem;
}
.t-label {
  color: var(--text-muted);
}
.t-value {
  color: #fff;
  font-weight: 500;
}
.glow-text {
  color: var(--accent-glow);
  text-shadow: 0 0 8px rgba(0, 253, 251, 0.6);
}

/* BARA DE JOS SI BADGE-URI FORȚATE ORIZONTAL */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.security-badges {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.sci-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: bold;
  padding: 0.5rem 0.8rem;
  background: rgba(11, 102, 208, 0.08);
  border: 1px solid var(--glass-border);
  clip-path: polygon(
    6px 0,
    100% 0,
    100% calc(100% - 6px),
    calc(100% - 6px) 100%,
    0 100%,
    0 6px
  );
  transition: all 0.3s ease;
}

.sci-badge:hover {
  border-color: var(--accent-glow);
  color: #fff;
  background: rgba(0, 253, 251, 0.1);
}
.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.badge-dot.cyan {
  background: var(--accent-glow);
  box-shadow: 0 0 6px var(--accent-glow);
}
.badge-dot.blue {
  background: var(--accent-electric);
  box-shadow: 0 0 6px var(--accent-electric);
}
.badge-dot.emerald {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
  }
  .security-badges {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==========================================================================
   HERO SECTION / MAIN HUD
   ========================================================================== */
.tactical-hero {
  position: relative;
  width: 100%;
  min-height: 85vh; /* Ocupă aproape tot ecranul vizibil */
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

/* Efect de lumină difuză în fundal */
.tactical-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(0, 253, 251, 0.05) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* --- HERO TEXT & COMMAND --- */
.hero-command {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sys-badge-glow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent-glow);
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 253, 251, 0.6);
  display: inline-block;
  border-left: 2px solid var(--accent-glow);
  padding-left: 10px;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.text-cyan {
  color: var(--accent-glow);
  text-shadow: 0 0 15px rgba(0, 253, 251, 0.4);
}

.hero-desc {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 2px;
}

/* --- HERO ACTIONS --- */
.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: center;
}

.btn-primary-sci {
  position: relative;
  background: var(--accent-electric);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  text-decoration: none;
  letter-spacing: 2px;
  clip-path: polygon(
    15px 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%,
    0 15px
  );
  transition: all 0.3s ease;
  overflow: hidden;
}

.btn-primary-sci:hover {
  background: var(--accent-glow);
  color: var(--bg-deep);
  box-shadow: 0 0 20px rgba(0, 253, 251, 0.6);
}

.btn-scan-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transition: all 0.5s ease;
}

.btn-primary-sci:hover .btn-scan-line {
  left: 200%;
}

.btn-secondary-sci {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.btn-secondary-sci:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* --- HERO DISPLAY & VISUALS --- */
.hero-display {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.target-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 500px;
  border: 1px solid rgba(11, 102, 208, 0.2);
  background: rgba(11, 102, 208, 0.02);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Crosshairs la colțuri */
.crosshair {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent-glow);
  border-style: solid;
}
.top-left {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.top-right {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}
.bottom-left {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}
.bottom-right {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.robot-hologram {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden; /* Taie tot ce iese, inclusiv în timpul animației */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hologram-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-glow);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: scanVertical 3s linear infinite;
}

@keyframes scanVertical {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.placeholder-chassis {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.2rem;
  color: rgba(0, 253, 251, 0.5);
  letter-spacing: 3px;
  transform: rotate(-10deg);
}

/* --- HERO TELEMETRY WIDGET --- */
.hero-telemetry {
  width: 100%;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.t-row {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}
.t-key {
  color: var(--text-muted);
}
.t-val {
  color: #fff;
}
.t-val.glow {
  color: var(--accent-glow);
  text-shadow: 0 0 5px var(--accent-glow);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-command {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .sys-badge-glow {
    border-left: none;
    border-bottom: 2px solid var(--accent-glow);
    padding: 0 0 5px 0;
  }
}

/* ==========================================================================
   FLEET SECTION
   ========================================================================== */
.sys-fleet {
  width: 100%;
  padding: 6rem 0;
  position: relative;
}

.section-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* HEADER SECȚIUNE */
.section-header {
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.header-line {
  width: 80px;
  height: 2px;
  background: var(--accent-glow);
  box-shadow: 0 0 10px var(--accent-glow);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* GRID ROBOȚI */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.fleet-card {
  background: rgba(11, 102, 208, 0.03);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Efect de bordură luminoasă care crește la hover */
.fleet-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0%;
  background: var(--accent-glow);
  transition: height 0.3s ease;
}

.fleet-card:hover {
  background: rgba(11, 102, 208, 0.06);
  border-color: rgba(0, 253, 251, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.fleet-card:hover::before {
  height: 100%;
  box-shadow: 0 0 15px var(--accent-glow);
}

/* STATUS TAGS */
.card-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.5);
  border-left: 2px solid;
}

.card-status.active {
  color: var(--accent-glow);
  border-color: var(--accent-glow);
}
.card-status.building {
  color: #facc15;
  border-color: #facc15;
}

/* IMAGINE ROBOT */
/* ==========================================================================
   ROBOT IMAGE PERFECT CROP FIX
   ========================================================================== */

/* 1. Definim containerul dreptunghiular fix */
.card-visual {
  position: relative; /* Esențial pentru ca elementele din interior să se poziționeze față de el */
  width: 100%;
  aspect-ratio: 16 / 9; /* Forțează formatul dreptunghiular (ca la video) */
  background: #01050d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5rem;
  overflow: hidden; /* Orice depășește acest dreptunghi este tăiat */
}

/* 2. Stil pentru imaginea propriu-zisă */
.robot-image {
  position: absolute; /* O scoatem din fluxul normal */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* CHEIA SUCCESULUI: Umple spațiul păstrând proporțiile, taie excesul */
  object-position: center center; /* Centrează imaginea în container */
  z-index: 1; /* Stă pe stratul de jos */
  transition: transform 0.5s ease;
}

/* 3. Asigurăm că rama punctată stă DEASUPRA imaginii */
.cyber-frame {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed rgba(11, 102, 208, 0.3);
  pointer-events: none;
  z-index: 2; /* Stă pe stratul de sus, peste imagine */
}

.card-img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(11, 102, 208, 0.03);
  z-index: 1;
}

/* Efect de zoom lent la hover pe card */
.fleet-card:hover .robot-image {
  transform: scale(1.08);
}

.img-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 3px;
}

/* TEXT CARD INFO */
.robot-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}

.robot-class {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent-electric);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.classified-specs {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.classified-specs li {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.3rem;
}

.spec-label {
  color: var(--text-muted);
}
.spec-val {
  color: #fff;
  font-weight: 500;
  text-align: right;
}

/* EFECTUL SECRET PENTRU PIESE */
.spec-val.encrypted {
  color: #ef4444;
  background: repeating-linear-gradient(
    45deg,
    rgba(239, 68, 68, 0.1),
    rgba(239, 68, 68, 0.1) 2px,
    transparent 2px,
    transparent 4px
  );
  padding: 0 6px;
  letter-spacing: 2px;
}

/* BUTOANE INFERIOARE */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--accent-electric);
  color: var(--text-main);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  padding: 0.8rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-ghost:hover:not(.disabled) {
  background: rgba(11, 102, 208, 0.1);
  border-color: var(--accent-glow);
  color: var(--accent-glow);
  box-shadow: 0 0 10px rgba(0, 253, 251, 0.2);
}

.btn-ghost.disabled {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(239, 68, 68, 0.6); /* Text roșiatic pentru "Access Denied" */
  cursor: not-allowed;
}

/* ==========================================================================
   SYSTEM BOOT PRELOADER
   ========================================================================== */
.sys-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(11, 102, 208, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 102, 208, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.6s ease;
}

/* Clasa adăugată din JS când se termină încărcarea */
.sys-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 450px;
  padding: 0 2rem;
}

/* Animatie Logo & Scanner */
.preloader-logo-container {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-logo {
  width: 45px;
  height: 45px;
  filter: drop-shadow(0 0 10px var(--accent-glow));
  animation: pulseLogo 1.5s infinite alternate ease-in-out;
}

.circular-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(0, 253, 251, 0.5);
  border-radius: 50%;
  animation: spinScanner 3s linear infinite;
}

@keyframes pulseLogo {
  0% {
    transform: scale(0.95);
    filter: drop-shadow(0 0 5px var(--accent-glow));
  }
  100% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px var(--accent-glow));
  }
}

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

/* Terminal & Bară de Progres */
.boot-sequence {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  min-height: 1.5rem;
  letter-spacing: 1px;
}

.loading-bar-container {
  width: 100%;
  height: 3px;
  background: rgba(11, 102, 208, 0.2);
  position: relative;
  overflow: hidden;
}

.loading-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent-glow);
  box-shadow: 0 0 10px var(--accent-glow);
  transition: width 0.1s ease; /* Face creșterea procentului lină */
}

/* Detalii Telemetrie Bottom */
.sys-metrics {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ==========================================================================
   ARENA SECTION (COMBAT TIMELINE)
   ========================================================================== */
.sys-arena {
  width: 100%;
  padding: 6rem 0;
  position: relative;
}

.combat-timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 3.5rem; /* Lasă spațiu pentru axă */
}

/* Axa laser a timpului */
.timeline-trace {
  position: absolute;
  top: 0;
  left: 7px; /* Aliniat exact pe centrul nodurilor */
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--accent-glow) 0%,
    rgba(0, 253, 251, 0.05) 100%
  );
  box-shadow: 0 0 15px var(--accent-glow);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

/* Punctele de pe axă */
.timeline-node {
  position: absolute;
  left: -3.5rem; /* Împinge nodul fix peste axă */
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--text-muted);
  z-index: 2;
}

.timeline-node.pulse {
  border-color: var(--accent-glow);
  box-shadow: 0 0 15px var(--accent-glow);
  animation: nodePulse 2s infinite;
}

.timeline-node.victory {
  border-color: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.6);
}

@keyframes nodePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* Cardurile de Misiune (Evenimente) */
.mission-card {
  background: rgba(11, 102, 208, 0.02);
  border: 1px solid var(--glass-border);
  padding: 1.5rem 2.5rem;
  border-left: 3px solid var(--text-muted);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.mission-card:hover {
  transform: translateX(15px);
  background: rgba(11, 102, 208, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.mission-card.upcoming {
  border-left-color: var(--accent-glow);
}
.mission-card.victory {
  border-left-color: #facc15;
}

/* Micro-interacțiune scanare pe card */
.mission-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transition: left 0.6s ease;
}
.mission-card:hover::after {
  left: 200%;
}

/* Textele din card */
.mission-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}

.mission-date {
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

.text-gold {
  color: #facc15;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}

.mission-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: #fff;
}

.mission-details {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 1px;
}

.mission-details .text-muted {
  color: var(--text-muted);
}

/* Adaptare pentru mobile */
@media (max-width: 768px) {
  /* Hero Actions Stack */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .btn-primary-sci,
  .btn-secondary-sci {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }

  /* Fleet Responsive */
  .fleet-grid {
    gap: 1.5rem;
  }
  .fleet-card {
    padding: 1.25rem;
  }

  .combat-timeline {
    padding-left: 2rem;
  }
  .timeline-node {
    left: -2rem;
    width: 14px;
    height: 14px;
    top: 8px;
  }
  .timeline-trace {
    left: 6px;
  }
  .mission-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .mission-card {
    padding: 1.2rem 1.5rem;
  }
  .mission-card:hover {
    transform: translateX(8px);
  }
}

/* ==========================================================================
   UPLINK / TERMINAL CTA SECTION
   ========================================================================== */
.sys-uplink {
  width: 100%;
  padding: 6rem 0 8rem 0; /* Padding mai mare jos pentru a respira înainte de footer */
  display: flex;
  justify-content: center;
}

.terminal-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(2, 11, 26, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 253, 251, 0.1);
  overflow: hidden;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.terminal-wrapper:hover {
  transform: translateY(-5px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 253, 251, 0.2);
}

/* Header Terminal */
.terminal-header {
  background: rgba(1, 5, 13, 0.9);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
  margin-right: 2rem;
}

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red {
  background: #ef4444;
  box-shadow: 0 0 5px #ef4444;
}
.dot.yellow {
  background: #facc15;
  box-shadow: 0 0 5px #facc15;
}
.dot.green {
  background: #10b981;
  box-shadow: 0 0 5px #10b981;
}

.terminal-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* Body Terminal */
.terminal-body {
  padding: 4rem 3rem;
  position: relative;
  background: radial-gradient(
    circle at center,
    rgba(11, 102, 208, 0.05) 0%,
    transparent 70%
  );
}

.uplink-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.terminal-lines {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.terminal-lines p {
  margin-bottom: 0.5rem;
}

.input-line {
  color: #fff;
  margin-top: 1.5rem !important;
}

/* Buton Masiv CTA */
.uplink-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.btn-connect-massive {
  position: relative;
  background: transparent;
  border: 1px solid var(--accent-glow);
  color: var(--accent-glow);
  font-family: "JetBrains Mono", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1.2rem 3rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 3px;
  overflow: hidden;
  transition: all 0.3s ease;
  clip-path: polygon(
    20px 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%,
    0 20px
  );
}

.btn-connect-massive::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-glow);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-connect-massive:hover {
  color: var(--bg-deep);
  box-shadow: 0 0 30px rgba(0, 253, 251, 0.4);
}

.btn-connect-massive:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Status Securitate lângă buton */
.comm-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: 1px;
}

.comm-status .status-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 1.5s infinite;
}

@media (max-width: 768px) {
  .terminal-body {
    padding: 2.5rem 1.5rem;
  }
  .uplink-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-connect-massive {
    width: 100%;
  }
}

/* ==========================================================================
   INFRASTRUCTURE / TECH STACK SECTION
   ========================================================================== */
.sys-infra {
  width: 100%;
  padding: 6rem 0;
  position: relative;
  background: radial-gradient(
    ellipse at bottom,
    rgba(11, 102, 208, 0.05) 0%,
    transparent 60%
  );
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.infra-node {
  background: rgba(1, 5, 13, 0.6);
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--accent-electric);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Efect de scanare la hover pe modul */
.infra-node::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 253, 251, 0.03),
    transparent
  );
  transition: left 0.5s ease;
}

.infra-node:hover {
  transform: translateY(-5px);
  border-top-color: var(--accent-glow);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 -3px 15px rgba(0, 253, 251, 0.2);
  background: rgba(11, 102, 208, 0.05);
}

.infra-node:hover::after {
  left: 200%;
}

.node-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-glow);
  filter: drop-shadow(0 0 8px rgba(0, 253, 251, 0.5));
  transition: transform 0.3s ease;
}

.infra-node:hover .node-icon {
  transform: scale(1.1) rotate(5deg);
}

.node-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
}

.node-desc {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Data Bars / Progress Stats */
.node-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: #fff;
  letter-spacing: 2px;
}

.stat-bar {
  width: 100%;
  height: 4px;
  background: rgba(11, 102, 208, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.stat-fill {
  height: 100%;
  background: var(--accent-glow);
  box-shadow: 0 0 10px var(--accent-glow);
  position: absolute;
  top: 0;
  left: 0;
}

/* ==========================================================================
   SECURE UPLINK MODAL
   ========================================================================== */
.sys-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(1, 5, 13, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.sys-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sys-modal-content {
  background: linear-gradient(
    180deg,
    rgba(2, 11, 26, 0.9) 0%,
    rgba(1, 5, 13, 0.95) 100%
  );
  border: 1px solid var(--glass-border);
  box-shadow:
    0 0 50px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(0, 253, 251, 0.2);
  width: 100%;
  max-width: 550px;
  padding: 3rem;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  /* Sci-Fi chamfer mic */
  clip-path: polygon(
    15px 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%,
    0 15px
  );
}

.sys-modal-overlay.active .sys-modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.modal-close:hover {
  color: var(--accent-glow);
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.modal-sys-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent-glow);
  letter-spacing: 2px;
}

.modal-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.modal-desc {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Formular Tactic */
.tactical-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.tactic-input {
  background: rgba(11, 102, 208, 0.05);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: all 0.3s ease;
  border-left: 2px solid var(--glass-border);
}

.tactic-input:focus {
  background: rgba(11, 102, 208, 0.1);
  border-color: rgba(0, 253, 251, 0.3);
  border-left-color: var(--accent-glow);
  box-shadow: 0 0 15px rgba(0, 253, 251, 0.1);
}

.tactic-input::placeholder {
  color: rgba(160, 185, 217, 0.3);
}

.modal-submit {
  width: 100%;
  margin-top: 1rem;
}

/* ==========================================================================
   HERO ROBOT HOLOGRAM
   ========================================================================== */

/* Imaginea robotului din Hero */
.hero-robot-img {
  position: absolute;
  /* Facem imaginea cu 15% mai mare decât containerul pentru a avea "rezervă" jos */
  width: 115%;
  height: 115%;
  bottom: -5%; /* O ancorăm ușor mai jos de margine */
  left: -7.5%; /* O centrăm pe orizontală (115-100 / 2) */

  object-fit: cover;
  object-position: center bottom;
  z-index: 1;

  filter: drop-shadow(0 0 15px rgba(0, 253, 251, 0.4)) brightness(1.1);
  /* Aplicăm animația */
  animation: floatHolo 4s ease-in-out infinite;
}

/* Forțăm linia de scanare să stea PESTE robot */
.hologram-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* ...restul proprietăților tale de animație... */
  z-index: 5;
}

/* Animația de levitație (Hover) */
@keyframes floatHolo {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  } /* Se ridică, dar rezerva de 15% acoperă fundul */
  100% {
    transform: translateY(0px);
  }
}
/* Fleet List Specifics */
.fleet-unit-card {
  display: block;
  text-decoration: none;
  background: rgba(11, 102, 208, 0.05);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.fleet-unit-card:hover:not(.disabled) {
  background: rgba(11, 102, 208, 0.1);
  border-color: var(--accent-glow);
  transform: translateY(-5px);
}

.fleet-unit-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.8);
}

.card-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #01050d;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-access {
  margin-top: 1rem;
  padding: 0.6rem;
  border: 1px solid var(--accent-electric);
  color: var(--accent-glow);
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

/* Unit Details Specifics */
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--text-muted);
  text-decoration: none;
}
.back-link:hover {
  color: var(--accent-glow);
}

.unit-detailed-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}
/* ==========================================================================
   FLEET & TELEMETRY V5 - NO COMPRESSION
   ========================================================================== */
.section-container.wide {
  max-width: 1600px;
}

/* Fleet Section Wrapper */
.fleet-v5 {
  padding: 4rem 2rem 6rem;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Header */
.page-header {
  margin-bottom: 5rem;
  text-align: center;
  position: relative;
}

.page-header .main-title {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.page-header .main-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-glow) 50%,
    transparent 100%
  );
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
    box-shadow: 0 0 10px var(--accent-glow);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px var(--accent-glow);
  }
}

.header-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-electric) 50%,
    transparent 100%
  );
  margin: 2rem auto 0;
}

/* Fleet Dossier List Container */
.fleet-dossier-list {
  max-width: 1400px;
  margin: 0 auto;
}

/* Fleet Dossier Row */
.dossier-row {
  display: grid;
  grid-template-columns: 550px 1fr;
  gap: 0;
  background: rgba(1, 5, 13, 0.95);
  border: 1px solid var(--glass-border);
  margin-bottom: 4rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.dossier-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(0, 253, 251, 0.02) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dossier-row:hover {
  border-color: var(--accent-glow);
  box-shadow:
    0 0 40px rgba(0, 253, 251, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

.dossier-row:hover::before {
  opacity: 1;
}

.dossier-visual {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, #000814 0%, #01050d 100%);
  display: flex;
}

.photo-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
}

.dossier-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.15) brightness(0.85) saturate(1.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dossier-row:hover .dossier-img {
  transform: scale(1.08);
  filter: contrast(1.2) brightness(1) saturate(1.2);
}

.scan-overlay-v2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 253, 251, 0.08) 50%,
    transparent 100%
  );
  background-size: 100% 300%;
  animation: scanMove 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes scanMove {
  0%,
  100% {
    background-position: 0% 0%;
    opacity: 0.5;
  }
  50% {
    background-position: 0% 100%;
    opacity: 0.8;
  }
}

.specimen-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  background: rgba(1, 5, 13, 0.95);
  color: var(--accent-glow);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--accent-glow);
  box-shadow:
    0 0 15px rgba(0, 253, 251, 0.3),
    inset 0 0 10px rgba(0, 253, 251, 0.1);
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.dossier-data {
  padding: 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(1, 5, 13, 0.5) 0%, transparent 100%);
}

.d-header {
  margin-bottom: 2rem;
}

.d-class-badge {
  display: inline-block;
  background: rgba(11, 102, 208, 0.15);
  color: var(--accent-electric);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid var(--accent-electric);
  letter-spacing: 1.5px;
  margin-top: 0.8rem;
}

.d-name {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 253, 251, 0.3);
  filter: drop-shadow(0 0 20px rgba(0, 253, 251, 0.2));
}

.d-specs-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 3rem 0;
}

.s-block {
  position: relative;
  border-left: 3px solid var(--accent-electric);
  padding-left: 1.2rem;
  transition: all 0.3s ease;
}

.s-block::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 3px;
  height: 0%;
  background: var(--accent-glow);
  transition: height 0.4s ease;
}

.dossier-row:hover .s-block::before {
  height: 100%;
}

.s-block .label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.s-block .val {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  display: block;
  transition: color 0.3s ease;
}

.dossier-row:hover .s-block .val {
  color: var(--accent-glow);
}

/* ==========================================================================
   TELEMETRY / UNIT DETAILS PAGE V5
   ========================================================================== */

/* Telemetry Section Wrapper */
.telemetry-v5 {
  padding: 4rem 2rem 6rem;
  animation: fadeInUp 0.8s ease-out;
}

/* Top Navigation Bar */
.telemetry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.back-link-v5 {
  color: var(--text-muted);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
}

.back-link-v5:hover {
  color: var(--accent-glow);
  border-color: var(--accent-glow);
  background: rgba(0, 253, 251, 0.05);
  transform: translateX(-5px);
}

.unit-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent-electric);
  letter-spacing: 2px;
  padding: 0.6rem 1.2rem;
  background: rgba(11, 102, 208, 0.1);
  border: 1px solid var(--accent-electric);
  box-shadow: 0 0 15px rgba(11, 102, 208, 0.2);
}

/* Telemetry Deep View (Individual Page) */
.telemetry-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 6rem;
  align-items: start;
}

/* Display Panel - Left Side */
.display-panel {
  position: relative;
}

.hud-frame {
  position: relative;
  border: 2px solid var(--glass-border);
  background: linear-gradient(135deg, #000000 0%, #000814 100%);
  padding: 30px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.5s ease;
}

.hud-frame:hover {
  border-color: var(--accent-glow);
  box-shadow:
    0 0 30px rgba(0, 253, 251, 0.2),
    inset 0 0 50px rgba(0, 253, 251, 0.05);
}

/* HUD Corner Decorations */
.hud-corners::before,
.hud-corners::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-glow);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.hud-corners::before {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.hud-corners::after {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

.hud-frame:hover .hud-corners::before,
.hud-frame:hover .hud-corners::after {
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.img-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-specimen-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0, 253, 251, 0.3));
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hud-frame:hover .main-specimen-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 60px rgba(0, 253, 251, 0.5));
}

.hud-data-overlay .overlay-item {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--accent-glow);
  padding: 12px 16px;
  opacity: 0.7;
  background: rgba(1, 5, 13, 0.8);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.hud-data-overlay .overlay-item:hover {
  opacity: 1;
  background: rgba(0, 253, 251, 0.1);
}

.top-left {
  top: 15px;
  left: 15px;
  border-top: 2px solid var(--accent-glow);
  border-left: 2px solid var(--accent-glow);
}

.bottom-right {
  bottom: 15px;
  right: 15px;
  border-bottom: 2px solid var(--accent-glow);
  border-right: 2px solid var(--accent-glow);
}

/* Data Panel - Right Side */
.data-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.data-hero {
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--glass-border);
}

.unit-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(0, 253, 251, 0.3));
  line-height: 1.1;
}

.status-pill {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: rgba(0, 253, 251, 0.1);
  border: 1px solid var(--accent-glow);
  color: var(--accent-glow);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0, 253, 251, 0.2);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 253, 251, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 253, 251, 0.4);
  }
}

.technical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.tech-box {
  padding: 1.8rem;
  background: rgba(11, 102, 208, 0.05);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 253, 251, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.tech-box:hover {
  border-color: var(--accent-electric);
  background: rgba(11, 102, 208, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(11, 102, 208, 0.2);
}

.tech-box:hover::before {
  left: 100%;
}

.t-lbl {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.t-qty {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

/* Performance Metrics Section */
.performance-section {
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(1, 5, 13, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
}

.metric {
  margin-bottom: 2rem;
}

.metric:last-child {
  margin-bottom: 0;
}

.m-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.m-info span:first-child {
  color: var(--text-main);
  text-transform: uppercase;
}

.m-info span:last-child {
  color: var(--accent-glow);
  font-size: 1.1rem;
}

.m-track {
  width: 100%;
  height: 8px;
  background: rgba(11, 102, 208, 0.1);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.m-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-electric) 0%,
    var(--accent-glow) 100%
  );
  position: relative;
  transition: width 1s ease-out;
  box-shadow:
    0 0 10px var(--accent-glow),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
  animation: fillGlow 2s ease-in-out infinite;
}

@keyframes fillGlow {
  0%,
  100% {
    box-shadow:
      0 0 10px var(--accent-glow),
      inset 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow:
      0 0 20px var(--accent-glow),
      inset 0 0 15px rgba(255, 255, 255, 0.5);
  }
}

.m-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
  animation: shimmer 2s infinite;
}

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

.btn-uplink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 2.8rem;
  border: 2px solid var(--accent-glow);
  color: var(--accent-glow);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: transparent;
  margin-top: 1rem;
}

.btn-uplink::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-glow);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-uplink:hover {
  color: var(--bg-deep);
  border-color: var(--accent-glow);
  box-shadow:
    0 0 20px rgba(0, 253, 251, 0.4),
    0 0 40px rgba(0, 253, 251, 0.2);
  transform: translateX(5px);
}

.btn-uplink:hover::before {
  left: 0;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-uplink:hover .btn-icon {
  transform: translateX(5px);
}

/* Locked/Restricted Dossier State */
.dossier-row.locked {
  opacity: 0.6;
  pointer-events: all;
  background: rgba(1, 5, 13, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

.dossier-row.locked:hover {
  transform: none;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.lock-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(1, 5, 13, 0.98) 100%
  );
  backdrop-filter: blur(10px);
}

.lock-shield {
  font-size: 4rem;
  filter: grayscale(1) opacity(0.4);
  margin-bottom: 1.5rem;
  animation: lockPulse 2s ease-in-out infinite;
}

@keyframes lockPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.lock-screen p {
  color: rgba(255, 255, 255, 0.4);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dossier-row.locked .d-name {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.15) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: none;
}

.lock-msg {
  color: rgba(255, 255, 255, 0.4);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 1rem;
  letter-spacing: 0.5px;
}

/* Responsive Design for Fleet */
@media (max-width: 1400px) {
  .dossier-row {
    grid-template-columns: 450px 1fr;
  }

  .dossier-data {
    padding: 2.5rem 3rem;
  }
}

@media (max-width: 1024px) {
  .dossier-row {
    grid-template-columns: 1fr;
  }

  .dossier-visual {
    height: 350px;
  }

  .dossier-data {
    padding: 2.5rem;
  }

  .d-name {
    font-size: 2.5rem;
  }

  .d-specs-mini {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .page-header .main-title {
    font-size: 3.5rem;
    letter-spacing: 6px;
  }
}

@media (max-width: 768px) {
  .fleet-v5 {
    padding: 3rem 1rem 4rem;
  }

  .page-header {
    margin-bottom: 3rem;
  }

  .page-header .main-title {
    font-size: 2.5rem;
    letter-spacing: 4px;
  }

  .dossier-visual {
    height: 300px;
  }

  .dossier-data {
    padding: 2rem 1.5rem;
  }

  .d-name {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .d-specs-mini {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .btn-uplink {
    padding: 1rem 2rem;
    font-size: 0.85rem;
  }
}
/* Responsive Design for Telemetry/Unit Details */
@media (max-width: 1400px) {
  .telemetry-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

@media (max-width: 1024px) {
  .telemetry-main-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hud-frame {
    padding: 20px;
  }

  .unit-title {
    font-size: 3rem;
    letter-spacing: 4px;
  }

  .technical-grid {
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .telemetry-v5 {
    padding: 3rem 1rem 4rem;
  }

  .telemetry-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .unit-code {
    font-size: 0.65rem;
    padding: 0.5rem 1rem;
  }

  .telemetry-main-grid {
    gap: 2rem;
  }

  .hud-frame {
    padding: 15px;
  }

  .hud-data-overlay .overlay-item {
    font-size: 0.6rem;
    padding: 8px 12px;
  }

  .unit-title {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }

  .status-pill {
    font-size: 0.65rem;
    padding: 0.5rem 1.2rem;
  }

  .technical-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tech-box {
    padding: 1.3rem;
  }

  .t-qty {
    font-size: 1.2rem;
  }

  .performance-section {
    padding: 1.5rem;
  }

  .m-info {
    font-size: 0.75rem;
  }

  .m-info span:last-child {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   UNIT DETAILS - CLEAN TACTICAL ARCHITECTURE
   ========================================================================== */
.ud-telemetry-core {
  padding: 4rem 0 6rem 0;
}

.ud-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.ud-back-btn {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.ud-back-btn:hover {
  color: #fff;
}
.ud-back-btn .text-cyan {
  color: var(--accent-glow);
  margin-right: 5px;
}

.ud-sys-serial {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent-electric);
  letter-spacing: 2px;
}

.ud-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.ud-visual-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ud-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.ud-visual-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--bg-deep);
  color: var(--accent-glow);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  padding: 5px 10px;
  border: 1px solid var(--accent-glow);
  z-index: 10;
}

.ud-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.9) contrast(1.1);
}

.ud-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ud-thumb {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.ud-thumb.active {
  border-color: var(--accent-glow);
  box-shadow: 0 0 10px rgba(0, 253, 251, 0.2);
}
.ud-thumb img,
.ud-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.7;
  transition: 0.3s;
}
.ud-thumb:hover img,
.ud-thumb:hover video {
  opacity: 1;
}

.ud-thumb.locked {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(11, 102, 208, 0.05);
  cursor: not-allowed;
}
.ud-thumb.locked span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.ud-header-block {
  margin-bottom: 3rem;
}

.ud-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.ud-sub-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ud-class-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--accent-glow);
  border: 1px solid var(--accent-glow);
  padding: 4px 10px;
}

.ud-status-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ud-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.ud-spec-box {
  border-top: 2px solid var(--accent-electric);
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ud-s-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.ud-s-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.ud-performance-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.ud-p-row {
  width: 100%;
}
.ud-p-info {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.ud-p-bar {
  width: 100%;
  height: 4px;
  background: rgba(11, 102, 208, 0.1);
}
.ud-p-fill {
  height: 100%;
  background: var(--accent-glow);
  box-shadow: 0 0 10px var(--accent-glow);
}

.ud-mission-log {
  background: rgba(1, 5, 13, 0.8);
  border: 1px solid var(--glass-border);
  border-left: 2px solid var(--accent-electric);
  padding: 2rem;
}

.ud-log-header {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent-glow);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.ud-log-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .ud-main-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .ud-image-wrapper {
    aspect-ratio: 16 / 9;
  }
}

/* ==========================================================================
   404 FATAL ERROR PAGE
   ========================================================================== */
.sys-404-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh; /* Ocupă frumos ecranul între header și footer */
  padding: 4rem 0;
}

.error-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  background: rgba(1, 5, 13, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.2); /* Bordură roșiatică fină */
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

/* O bandă tactică de alertă sus */
.error-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ef4444;
  box-shadow: 0 0 15px #ef4444;
}

/* ================= VIZUALUL 404 ================= */
.error-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.05) 0%,
    transparent 70%
  );
  border: 1px dashed rgba(239, 68, 68, 0.3);
}

.err-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #ef4444;
  opacity: 0.5;
}
.err-corner.tl {
  top: 15px;
  left: 15px;
  border-right: 0;
  border-bottom: 0;
}
.err-corner.tr {
  top: 15px;
  right: 15px;
  border-left: 0;
  border-bottom: 0;
}
.err-corner.bl {
  bottom: 15px;
  left: 15px;
  border-right: 0;
  border-top: 0;
}
.err-corner.br {
  bottom: 15px;
  right: 15px;
  border-left: 0;
  border-top: 0;
}

.radar-scan {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(239, 68, 68, 0.1);
  animation: radarPulse 2s infinite ease-out;
}

@keyframes radarPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Efectul de Glitch pe text */
.glitch-text {
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05); /* Umbra surdă din spate */
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -5px;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #ef4444; /* Roșu de eroare tactică */
}

.glitch-text::before {
  left: 4px;
  text-shadow: -2px 0 var(--accent-glow);
  animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -4px;
  text-shadow: -2px 0 var(--accent-electric);
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% {
    clip-path: inset(20% 0 80% 0);
  }
  20% {
    clip-path: inset(60% 0 10% 0);
  }
  40% {
    clip-path: inset(40% 0 50% 0);
  }
  60% {
    clip-path: inset(80% 0 5% 0);
  }
  80% {
    clip-path: inset(10% 0 70% 0);
  }
  100% {
    clip-path: inset(30% 0 20% 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip-path: inset(10% 0 60% 0);
  }
  20% {
    clip-path: inset(80% 0 5% 0);
  }
  40% {
    clip-path: inset(30% 0 20% 0);
  }
  60% {
    clip-path: inset(70% 0 10% 0);
  }
  80% {
    clip-path: inset(20% 0 50% 0);
  }
  100% {
    clip-path: inset(50% 0 30% 0);
  }
}

/* ================= DATE EROARE ================= */
.sys-alert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 6px 15px;
  margin-bottom: 2rem;
}

.alert-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #ef4444;
  letter-spacing: 2px;
}

.error-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.terminal-error-log {
  background: #01050d;
  border-left: 2px solid #ef4444;
  padding: 1.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.terminal-error-log .text-red {
  color: #ef4444;
  margin-top: 10px;
}

.error-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Adaptare Mobile */
@media (max-width: 1000px) {
  .error-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 3rem;
  }
  .glitch-text {
    font-size: 6rem;
  }
  .error-title {
    font-size: 3rem;
  }
  .error-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}
/* ==========================================================================
   ARENA OPERATIONS CENTER
   ========================================================================== */
.arena-ops-center {
  padding: 3rem 0 6rem 0;
}

/* ==========================================================================
   ARENA CURRENT OBJECTIVE (HUD V2)
   ========================================================================== */

.current-objective-panel {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 5rem;
  background: rgba(1, 5, 13, 0.95);
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--accent-glow);
  padding: 3rem;
  margin-top: 4rem;
  margin-bottom: 6rem;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 253, 251, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.current-objective-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(0, 253, 251, 0.03) 100%
  );
  pointer-events: none;
}

.current-objective-panel:hover {
  border-color: var(--accent-glow);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(0, 253, 251, 0.15);
}

/* RADAR PERFECT CIRCULAR */
.co-radar-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #000000 0%, #000814 100%);
  border: 2px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  transition: all 0.4s ease;
  overflow: hidden;
}

.co-radar-box:hover {
  border-color: var(--accent-glow);
  box-shadow:
    0 0 40px rgba(0, 253, 251, 0.2),
    inset 0 0 60px rgba(0, 253, 251, 0.05);
}

.co-visual-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-glow);
  z-index: 10;
  padding: 6px 12px;
  background: rgba(1, 5, 13, 0.9);
  border: 1px solid var(--accent-glow);
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(0, 253, 251, 0.3);
}

.radar-coords {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  color: var(--text-muted);
  z-index: 10;
  padding: 8px 12px;
  background: rgba(1, 5, 13, 0.8);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 253, 251, 0.2);
}

/* Container circular core - vital pentru a tăia marginile pătrate */
.radar-core {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(0, 253, 251, 0.4);
  overflow: hidden;
  box-shadow:
    inset 0 0 50px rgba(0, 253, 251, 0.08),
    0 0 30px rgba(0, 253, 251, 0.15);
}

.radar-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 253, 251, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 253, 251, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center center;
}

/* Concentrated circles - radar rings */
.radar-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-rings::before,
.radar-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 253, 251, 0.15);
}

.radar-rings::before {
  width: 66%;
  height: 66%;
}

.radar-rings::after {
  width: 33%;
  height: 33%;
}

/* Crosshair în centrul radarului */
.radar-cross-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 253, 251, 0.25);
  transform: translateX(-50%);
}

.radar-cross-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 253, 251, 0.25);
  transform: translateY(-50%);
}

.radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    rgba(0, 253, 251, 0.1) 80%,
    rgba(0, 253, 251, 0.6) 95%,
    rgba(0, 253, 251, 0.8) 100%
  );
  animation: radarSpin 3s linear infinite;
  transform-origin: center;
  border-radius: 50%;
}

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

.target-ping {
  position: absolute;
  top: 35%;
  right: 25%;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow:
    0 0 15px 3px #ef4444,
    0 0 30px 5px rgba(239, 68, 68, 0.5);
  animation: pingPulse 1.5s infinite;
  z-index: 5;
}

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

/* DATE MISIUNE CURENTĂ (ENHANCED STYLE) */
.co-mission-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.co-status-badge {
  align-self: flex-start;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-glow);
  border: 1px solid var(--accent-glow);
  padding: 8px 16px;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(0, 253, 251, 0.05);
  box-shadow: 0 0 20px rgba(0, 253, 251, 0.2);
  transition: all 0.3s ease;
}

.co-status-badge.pulse {
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 253, 251, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 253, 251, 0.5);
  }
}

.co-status-badge:hover {
  background: rgba(0, 253, 251, 0.1);
  transform: translateY(-2px);
}

.co-mission-name {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(0, 253, 251, 0.3));
}

/* Grid pentru metadata */
.co-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.meta-box {
  position: relative;
  border-left: 3px solid var(--accent-electric);
  background: rgba(11, 102, 208, 0.08);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.meta-box::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 3px;
  height: 0%;
  background: var(--accent-glow);
  transition: height 0.4s ease;
}

.meta-box:hover {
  background: rgba(11, 102, 208, 0.15);
  transform: translateX(5px);
}

.meta-box:hover::before {
  height: 100%;
}

.m-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.m-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.co-directive {
  border-left: 3px solid var(--accent-glow);
  padding-left: 1.8rem;
  margin-bottom: 3rem;
  background: linear-gradient(90deg, rgba(0, 253, 251, 0.08), transparent);
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  padding-right: 1rem;
  transition: all 0.3s ease;
}

.co-directive:hover {
  background: linear-gradient(90deg, rgba(0, 253, 251, 0.12), transparent);
  padding-left: 2.2rem;
}

.d-head {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-glow);
  margin-bottom: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.co-directive p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

.btn-tactic-outline {
  align-self: flex-start;
  display: inline-block;
  padding: 1.2rem 3rem;
  border: 2px solid var(--accent-electric);
  background: rgba(11, 102, 208, 0.1);
  color: #fff;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-tactic-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-electric);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-tactic-outline:hover {
  border-color: var(--accent-glow);
  color: #fff;
  box-shadow:
    0 0 30px rgba(11, 102, 208, 0.5),
    0 5px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.btn-tactic-outline:hover::before {
  left: 0;
}

/* --- ARCHIVED TIMELINE --- */
.archive-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
}

.tactical-timeline {
  position: relative;
  padding-left: 3rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.tactical-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7px;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--accent-glow) 0%,
    rgba(11, 102, 208, 0.2) 100%
  );
}

.t-log-entry {
  position: relative;
}

.t-node {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--bg-deep);
  border: 2px solid var(--accent-electric);
  border-radius: 50%;
  z-index: 2;
  transform: translateX(-1px);
}

.t-log-entry.victory .t-node {
  border-color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}
.t-log-entry.origin .t-node {
  border-radius: 0;
  border-color: var(--text-muted);
}

.t-content {
  background: rgba(11, 102, 208, 0.02);
  border: 1px solid var(--glass-border);
  padding: 2rem 3rem;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.t-content:hover {
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(11, 102, 208, 0.05);
}

.t-header {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.t-year {
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}
.t-result.gold {
  color: #facc15;
}
.t-result.muted {
  color: var(--text-muted);
}

.t-event-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.t-specs {
  list-style: none;
  display: flex;
  gap: 3rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
}
.t-specs .l {
  color: var(--text-muted);
  margin-right: 8px;
}
.t-specs .v {
  color: #fff;
  font-weight: bold;
}
.t-specs .gold-text {
  color: #facc15;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}

.t-desc {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .current-objective-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .co-visual-radar {
    height: 300px;
  }
  .t-specs {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* ==========================================================================
   ARENA MASTERPIECE V2 + UPGRADED ARCHIVE
   ========================================================================== */
.sys-arena-v2 {
  padding: 4rem 0 6rem 0;
}

/* --- ZONA 1: CURRENT OBJECTIVE (PĂSTRAT) --- */
.current-objective-panel {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 4rem;
  background: rgba(1, 5, 13, 0.8);
  border: 1px solid var(--glass-border);
  border-top: 2px solid var(--accent-glow);
  padding: 3rem;
  margin-top: 4rem;
  margin-bottom: 6rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.co-radar-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: #000;
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.co-visual-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--accent-glow);
  z-index: 10;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  border: 1px solid rgba(0, 253, 251, 0.3);
}

.radar-coords {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  color: var(--text-muted);
  z-index: 10;
}

.radar-core {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 253, 251, 0.3);
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 253, 251, 0.05);
}

.radar-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 253, 251, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 253, 251, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center;
}

.radar-cross-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 253, 251, 0.2);
}
.radar-cross-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 253, 251, 0.2);
}

.radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    rgba(0, 253, 251, 0.1) 80%,
    rgba(0, 253, 251, 0.6) 100%
  );
  animation: radarSpin 3s linear infinite;
  transform-origin: center;
}

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

.target-ping {
  position: absolute;
  top: 35%;
  right: 25%;
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 15px 3px #ef4444;
  animation: pingPulse 1.5s infinite;
}

@keyframes pingPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.8);
  }
}

.co-mission-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.co-status-badge {
  align-self: flex-start;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--accent-glow);
  border: 1px solid var(--accent-glow);
  padding: 5px 12px;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.co-mission-name {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.co-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.meta-box {
  border-left: 2px solid var(--accent-electric);
  background: rgba(11, 102, 208, 0.05);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.m-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
}
.m-val {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.co-directive {
  border-left: 2px solid var(--accent-glow);
  padding: 1rem 0 1rem 1.5rem;
  background: linear-gradient(90deg, rgba(0, 253, 251, 0.05), transparent);
  margin-bottom: 3rem;
}
.d-head {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent-glow);
  margin-bottom: 8px;
}
.co-directive p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

.btn-tactic-outline {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  border: 1px solid var(--glass-border);
  background: rgba(11, 102, 208, 0.1);
  color: #fff;
  text-decoration: none !important;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 2px;
  transition: 0.3s;
}

.btn-tactic-outline:hover {
  background: var(--accent-electric);
  border-color: var(--accent-glow);
  box-shadow: 0 0 20px rgba(11, 102, 208, 0.4);
}

/* --- ZONA 2: TACTICAL ARCHIVE (UPGRADED) --- */
.tactical-archive {
  margin-top: 2rem;
}
.archive-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
  margin-bottom: 4rem;
  color: #fff;
  letter-spacing: 2px;
}

.combat-timeline {
  position: relative;
  padding-left: 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Linia centrală tactică */
.combat-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 11px;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--accent-glow) 0%,
    rgba(11, 102, 208, 0.2) 100%
  );
  box-shadow: 0 0 15px rgba(0, 253, 251, 0.3);
}

.timeline-item {
  position: relative;
}

/* Nodurile de pe linie */
.t-node {
  position: absolute;
  left: -4rem;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--bg-deep);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.t-node::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.node-gold {
  border: 2px solid #facc15;
  color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}
.node-standard {
  border: 2px solid var(--accent-electric);
  color: var(--accent-glow);
}

/* Cardurile de Log */
.log-card {
  background: rgba(11, 102, 208, 0.02);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* Efect hover: Cardul se ridică și glow-ul crește */
.log-card:hover {
  transform: translateX(15px);
  background: rgba(11, 102, 208, 0.05);
}

.card-gold {
  border-left: 3px solid #facc15;
}
.card-gold:hover {
  border-color: rgba(250, 204, 21, 0.3);
  border-left-color: #facc15;
  box-shadow: 0 10px 30px rgba(250, 204, 21, 0.05);
}

.card-standard {
  border-left: 3px solid var(--accent-electric);
}
.card-standard:hover {
  border-color: rgba(0, 253, 251, 0.2);
  border-left-color: var(--accent-glow);
  box-shadow: 0 10px 30px rgba(0, 253, 251, 0.05);
}

/* Header Card (Anul și ID-ul) */
.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.log-meta {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.log-year {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
}
.log-id {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.log-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: bold;
}

/* Body Card */
.log-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.log-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.l-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.l-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.l-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.text-gold {
  color: #facc15;
}

/* Responsive */
@media (max-width: 1000px) {
  .current-objective-panel {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .co-meta-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .log-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
/* ==========================================================================
   ABOUT (THE FOUNDATION) - TACTICAL DOSSIER
   ========================================================================== */
.sys-about-core {
  padding: 4rem 0 6rem 0;
}

/* MISSION STATEMENT */
.ab-mission-panel {
  background: rgba(1, 5, 13, 0.8);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent-glow);
  padding: 3.5rem 4rem;
  margin-top: 4rem;
  margin-bottom: 5rem;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Un efect de watermark subtil pe fundal */
.ab-mission-panel::after {
  content: "CORE";
  position: absolute;
  right: 20px;
  bottom: -10px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  z-index: 0;
  pointer-events: none;
}

.ab-decryption-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.pulse-dot.cyan {
  width: 8px;
  height: 8px;
  background: var(--accent-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulseDot 2s infinite;
}

.ab-mission-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.ab-mission-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

/* DIVIZII (GRID HARDWARE/SOFTWARE) */
.ab-divisions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.ab-div-card {
  background: rgba(11, 102, 208, 0.02);
  border: 1px solid var(--glass-border);
  border-top: 2px solid var(--accent-electric);
  padding: 3rem;
  transition: all 0.4s ease;
}

.ab-div-card:hover {
  background: rgba(11, 102, 208, 0.05);
  border-color: rgba(0, 253, 251, 0.2);
  border-top-color: var(--accent-glow);
  transform: translateY(-5px);
}

.div-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}
.div-id {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.div-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.div-desc {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.div-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.div-specs li {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}
.div-specs .l {
  color: var(--text-muted);
}
.div-specs .v {
  color: #fff;
  font-weight: bold;
  text-align: right;
}
.text-gold {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}

/* LEAD ARCHITECT CLEARANCE (ID CARD) */
.ab-sub-heading {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
}

.ab-id-card {
  display: flex;
  gap: 3rem;
  background: #01050d;
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  max-width: 900px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Element grafic colț ID */
.ab-id-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px;
  border-color: transparent transparent var(--glass-border) transparent;
}

.id-visual {
  width: 180px;
  height: 220px;
  flex-shrink: 0;
}
.id-photo-placeholder {
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-electric);
  background: rgba(11, 102, 208, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.photo-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-glow);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: photoScan 2.5s infinite linear;
}

@keyframes photoScan {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.photo-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--accent-electric);
  transform: rotate(-90deg);
  letter-spacing: 2px;
  white-space: nowrap;
}

.id-data {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.id-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.id-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  border: 1px solid var(--accent-glow);
  padding: 5px 10px;
  letter-spacing: 1px;
}

/* Barcode Generat din CSS */
.id-barcode {
  width: 100px;
  height: 25px;
  background: repeating-linear-gradient(
    90deg,
    #fff,
    #fff 2px,
    transparent 2px,
    transparent 4px,
    #fff 4px,
    #fff 5px,
    transparent 5px,
    transparent 8px
  );
  opacity: 0.3;
}

.id-name {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1;
  text-transform: uppercase;
}
.id-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

.id-stats {
  display: flex;
  gap: 3rem;
}
.stat-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stat-col .s-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
}
.stat-col .s-val {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* Responsive */
@media (max-width: 1000px) {
  .ab-mission-panel {
    padding: 2.5rem 2rem;
  }
  .ab-divisions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ab-id-card {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }
  .id-top {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .id-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}
/* --- ORIGIN STORY LOG --- */
.ab-mission-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ab-origin-story {
  background: rgba(11, 102, 208, 0.05);
  border-left: 2px solid var(--accent-glow);
  padding: 1.5rem 2rem;
}

.origin-lbl {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent-glow);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.ab-origin-story p {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.ab-origin-story strong {
  color: #fff;
  font-weight: bold;
}

.btn-text-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: #facc15;
  text-decoration: none;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.btn-text-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
  transform: translateX(5px);
}

/* ==========================================================================
   AWARDS (COMBAT HONORS) - TACTICAL SHOWCASE V2
   ========================================================================== */
.sys-awards-core {
  padding: 4rem 0 6rem 0;
}

/* Culori Base */
.text-gold {
  color: #facc15 !important;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}
.text-silver {
  color: #cbd5e1 !important;
  text-shadow: 0 0 10px rgba(203, 213, 225, 0.4);
}
.text-bronze {
  color: #d97706 !important;
  text-shadow: 0 0 10px rgba(217, 119, 6, 0.4);
}

.gold-divider {
  background: linear-gradient(90deg, #facc15, transparent) !important;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}

/* STATS BAR */
.aw-stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(1, 5, 13, 0.8);
  border: 1px solid var(--glass-border);
  border-left: 3px solid #facc15;
  padding: 2rem 3rem;
  margin-bottom: 5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.aw-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aw-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.aw-val {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

/* AWARDS GRID */
.aw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 4rem;
  margin-bottom: 5rem;
}

.aw-card {
  display: flex;
  background: rgba(11, 102, 208, 0.02);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.aw-visual {
  width: 180px;
  background: #01050d;
  border-right: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.aw-medal-shield {
  width: 80px;
  height: 90px;
  border: 2px solid;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  position: relative;
  z-index: 2;
}

.aw-place {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.aw-place.top-x {
  font-size: 1.2rem;
} /* Mai mic pentru textul 'TOP 32' etc */
.aw-tier {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  color: #fff;
  letter-spacing: 2px;
  margin-top: 5px;
}

.aw-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  animation: goldScan 3s infinite linear;
  z-index: 1;
  opacity: 0.5;
}
@keyframes goldScan {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* ================= TIER-URI DE MEDALII ================= */

/* GOLD TIER */
.aw-card.gold-tier {
  border-top: 2px solid #facc15;
}
.aw-card.gold-tier:hover {
  background: rgba(250, 204, 21, 0.05);
  border-color: rgba(250, 204, 21, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(250, 204, 21, 0.1);
}
.gold-tier .aw-medal-shield {
  border-color: #facc15;
  background: linear-gradient(
    135deg,
    rgba(250, 204, 21, 0.1) 0%,
    rgba(250, 204, 21, 0.02) 100%
  );
  box-shadow: inset 0 0 20px rgba(250, 204, 21, 0.2);
}
.gold-tier .aw-place {
  color: #facc15;
}
.gold-tier .aw-scan-line {
  background: #facc15;
  box-shadow: 0 0 15px #facc15;
}
.gold-tier .aw-tag {
  color: #facc15;
  border-color: #facc15;
}

/* SILVER TIER */
.aw-card.silver-tier {
  border-top: 2px solid #cbd5e1;
}
.aw-card.silver-tier:hover {
  background: rgba(203, 213, 225, 0.05);
  border-color: rgba(203, 213, 225, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(203, 213, 225, 0.1);
}
.silver-tier .aw-medal-shield {
  border-color: #cbd5e1;
  background: linear-gradient(
    135deg,
    rgba(203, 213, 225, 0.1) 0%,
    rgba(203, 213, 225, 0.02) 100%
  );
  box-shadow: inset 0 0 20px rgba(203, 213, 225, 0.2);
}
.silver-tier .aw-place {
  color: #cbd5e1;
}
.silver-tier .aw-scan-line {
  background: #cbd5e1;
  box-shadow: 0 0 15px #cbd5e1;
}
.silver-tier .aw-tag {
  color: #cbd5e1;
  border-color: #cbd5e1;
}

/* BRONZE TIER */
.aw-card.bronze-tier {
  border-top: 2px solid #d97706;
}
.aw-card.bronze-tier:hover {
  background: rgba(217, 119, 6, 0.05);
  border-color: rgba(217, 119, 6, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(217, 119, 6, 0.1);
}
.bronze-tier .aw-medal-shield {
  border-color: #d97706;
  background: linear-gradient(
    135deg,
    rgba(217, 119, 6, 0.1) 0%,
    rgba(217, 119, 6, 0.02) 100%
  );
  box-shadow: inset 0 0 20px rgba(217, 119, 6, 0.2);
}
.bronze-tier .aw-place {
  color: #d97706;
}
.bronze-tier .aw-scan-line {
  background: #d97706;
  box-shadow: 0 0 15px #d97706;
}
.bronze-tier .aw-tag {
  color: #d97706;
  border-color: #d97706;
}

/* STANDARD TIER (Cyan - Top 8, 16, etc) */
.aw-card.standard-tier {
  border-top: 2px solid var(--accent-glow);
}
.aw-card.standard-tier:hover {
  background: rgba(0, 253, 251, 0.05);
  border-color: rgba(0, 253, 251, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 253, 251, 0.1);
}
.standard-tier .aw-medal-shield {
  border-color: var(--accent-glow);
  background: linear-gradient(
    135deg,
    rgba(0, 253, 251, 0.1) 0%,
    rgba(0, 253, 251, 0.02) 100%
  );
  box-shadow: inset 0 0 20px rgba(0, 253, 251, 0.2);
}
.standard-tier .aw-place {
  color: var(--accent-glow);
}
.standard-tier .aw-scan-line {
  background: var(--accent-glow);
  box-shadow: 0 0 15px var(--accent-glow);
}
.standard-tier .aw-tag {
  color: var(--accent-glow);
  border-color: var(--accent-glow);
}

/* Data Side */
.aw-data {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aw-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.aw-year {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}
.aw-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  border: 1px solid;
  padding: 3px 8px;
  letter-spacing: 1px;
}

.aw-event {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.aw-specs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.s-row {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}
.s-head {
  color: var(--text-muted);
}
.s-info {
  font-weight: bold;
  color: #fff;
  text-align: right;
}

.aw-footer-actions {
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .aw-card {
    flex-direction: column;
  }
  .aw-visual {
    width: 100%;
    height: 150px;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
}
/* ASCUNDEM BUTONUL PE PC */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 25px;
  height: 2px;
  background-color: var(--accent-glow);
  transition: 0.3s;
}

/* =========================================================
   OPTIMIZARE STRICT PENTRU TELEFON (< 1100px)
   ========================================================= */
/* =========================================================
   OPTIMIZARE STRICT PENTRU TELEFON (< 1100px) - RETUȘAT
   ========================================================= */
@media (max-width: 1100px) {
  /* --- 1. REPARAT BARA DE SUS (Announcement Bar) --- */
  .announcement-container {
    flex-direction: column; /* Le punem una sub alta */
    gap: 0.8rem; /* Spațiu între ele */
    padding: 0.8rem 1rem; /* Mai mult aer */
    text-align: center; /* Totul centrat */
  }

  .sys-status {
    justify-content: center; /* Centrăm statusul */
    font-size: 0.8rem; /* Un pic mai mare */
  }

  .announcement-msg {
    font-size: 0.85rem; /* Mesajul mai lizibil */
    line-height: 1.4;
  }

  /* Facem linkul să iasă mai bine în evidență */
  .highlight-link {
    display: inline-block;
    margin-top: 4px;
    font-weight: 700;
  }

  /* --- 2. REPARAT HEADER & MENIUL CARE COBOARĂ --- */
  .sys-header {
    padding: 1rem 0; /* Headerul principal un pic mai înalt */
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  /* Arătăm butonul de hamburger */
  .mobile-menu-toggle {
    display: flex;
    padding: 10px; /* Zonă de click mai mare */
  }

  /* STILUL NOU PENTRU MENIUL DROPDOWN */
  .sys-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%; /* Fix sub header */
    left: 0;

    /* FUNDAL SOLID, DARK, TACTIC (Nu mai e transparent ciudat) */
    background: #01050d;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Delimitare clară sus */
    border-bottom: 2px solid var(--accent-glow); /* Glow jos */

    padding: 2.5rem 2rem; /* Mult spațiu */
    gap: 1.5rem;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.9); /* Umbră puternică să se detașeze */
  }

  /* Facem linkurile mai mari pe mobil pentru degete */
  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .sys-nav.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  .btn-connect {
    width: 100%;
    margin-top: 1rem;
    padding: 1.2rem; /* Buton mare de tot pe mobil */
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .announcement-bar {
    display: none !important;
  }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Alternate entrance directions for variety */
.animate-on-scroll.from-left {
  transform: translateX(-40px) translateY(0);
}
.animate-on-scroll.from-left.visible {
  transform: translateX(0) translateY(0);
}

.animate-on-scroll.from-right {
  transform: translateX(40px) translateY(0);
}
.animate-on-scroll.from-right.visible {
  transform: translateX(0) translateY(0);
}

.animate-on-scroll.scale-in {
  transform: scale(0.92);
}
.animate-on-scroll.scale-in.visible {
  transform: scale(1);
}

/* Contact modal feedback states */
.uplink-form .form-success-msg {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--accent-glow);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.uplink-form .form-success-msg.active {
  display: block;
}

.uplink-form .form-success-msg .success-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.uplink-form .form-error-msg {
  display: none;
  text-align: center;
  padding: 0.8rem;
  color: #ff4d4d;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 77, 77, 0.3);
  background: rgba(255, 77, 77, 0.05);
  margin-top: 0.5rem;
}

.uplink-form .form-error-msg.active {
  display: block;
}

.uplink-form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.uplink-form button[type="submit"].sending {
  position: relative;
  color: transparent;
}

.uplink-form button[type="submit"].sending::after {
  content: "TRANSMITTING...";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-glow);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: pulse-send 1s infinite;
}

@keyframes pulse-send {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* ======================================
   TOAST NOTIFICATIONS
   ====================================== */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  pointer-events: none;
}

.toast {
  background: rgba(1, 11, 26, 0.98);
  border: 1px solid rgba(0, 253, 251, 0.3);
  padding: 1rem 1.5rem;
  min-width: 280px;
  max-width: 380px;
  border-radius: 4px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 253, 251, 0.15);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  pointer-events: all;
  animation: toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
}

.toast.toast-success {
  border-color: rgba(0, 255, 136, 0.4);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 136, 0.15);
}

.toast.toast-error {
  border-color: rgba(255, 77, 77, 0.4);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 77, 77, 0.15);
}

.toast.toast-info {
  border-color: rgba(11, 102, 208, 0.4);
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.toast-success .toast-icon {
  color: #00ff88;
}

.toast-error .toast-icon {
  color: #ff4d4d;
}

.toast-info .toast-icon {
  color: var(--accent-glow);
}

.toast-content {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}

.toast-close:hover {
  color: rgba(255, 255, 255, 0.8);
}

.toast.toast-hiding {
  opacity: 0;
  transform: translateX(400px);
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .toast-container {
    top: 80px;
    right: 10px;
    left: 10px;
  }
  .toast {
    min-width: auto;
    max-width: 100%;
  }
}

/* ==========================================================================
   LENIS SMOOTH SCROLL - CORE STYLES
   ========================================================================== */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}
