/* RESET */
:root {
  --argus-blue: #1c6dff;
  --argus-cyan: #00c8ff;
  --argus-red: #ff3c00;
  --argus-amber: #ffb400;
  --argus-green: #00ffc8;
  --argus-glow-soft: rgba(28,109,255,0.25);
}

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

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #000000;
  color: #ffffff;
  display: flex;
  min-height: 100vh;
}


/* SIDEBAR */
.sidebar {
  width: 260px;
  background: #0f1f33;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}

.logo {
  width: 140px;
  margin-bottom: 40px;
}

.nav-item {
  padding: 12px 0;
  opacity: 0.7;
  cursor: pointer;
}

.nav-item.active {
  opacity: 1;
  font-weight: 600;
}

/* MAIN */
.main {
  flex: 1;
  padding: 40px;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.header-title {
  font-weight: 600;
}

.header-meta {
  opacity: 0.6;
}

/* CONTENT */
.content {
  display: flex;
  gap: 40px;
}

.metrics {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: #14263d;
  padding: 20px;
  border-radius: 12px;
}

.metric {
  font-size: 22px;
  font-weight: 600;
  margin-top: 10px;
}

.metric.online {
  color: #4cff88;
}

/* CHAT */
.chat-area {
  flex: 1;
  background: #0e1a2b;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
  opacity: 0.85;
}

.chat-input-row {
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.button {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.button.primary {
  background: #1c6dff;
  color: white;
}
/* =========================
   ARGUS FACE SYSTEM
========================= */

.argus-face-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.argus-face-container:hover {
  transform: scale(1.02);
}

.argus-face-img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

/* GLOW SYSTEM */

.eye-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.4;
  transition: all 0.4s ease;
}

/* LEFT EYE POSITION */
.left-eye {
  width: 200px;
  height: 200px;
  top: 38%;
  left: 22%;
  background: radial-gradient(circle, rgba(0,200,255,0.8), transparent 70%);
}

/* RIGHT EYE POSITION */
.right-eye {
  width: 200px;
  height: 200px;
  top: 38%;
  right: 22%;
  background: radial-gradient(circle, rgba(255,80,0,0.8), transparent 70%);
}

/* CENTER CORE */
.center-core {
  width: 140px;
  height: 140px;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,255,200,0.9), transparent 70%);
  opacity: 0.6;
}

/* Hover Reaction */
.argus-face-container:hover .eye-glow {
  opacity: 0.7;
  filter: blur(6px);
}

/* Active Animation */
.eye-glow.active {
  animation: pulseIntense 1.2s infinite;
}

@keyframes pulseIntense {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 0.5; }
}
/* =========================
   ARGUS TACTICAL MAP
========================= */

#argusMap {
  margin-top: 40px;
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
border: 1px solid var(--argus-glow-soft);
  background: #081421;
  box-shadow:
    inset 0 0 60px rgba(28,109,255,0.08),
    0 0 60px rgba(0,0,0,0.6);
}

/* Remove Leaflet controls */
.leaflet-control-container {
  display: none;
}
.telemetry-panel {
  margin-top: 20px;
  padding: 20px;
  background: #111c2e;
  border-radius: 12px;
  border: 1px solid rgba(28,109,255,0.3);
  font-size: 14px;
}

.telemetry-panel h3 {
  margin-bottom: 10px;
  color: #1c6dff;
}
/* ===============================
   RESPONSIVE SYSTEM FIX
================================ */

/* TABLET & BELOW */
@media (max-width: 1024px) {

  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 15px;
  }


  .main {
    padding: 20px;
  }

  .content {
    flex-direction: column;
    gap: 20px;
  }

  .metrics {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }

  .card {
    flex: 1 1 45%;
  }

}

/* PHONE */
@media (max-width: 768px) {

  .sidebar {
    display: none; /* cleanest enterprise mobile look */
  }

  .main {
    padding: 15px;
  }

  .header {
    flex-direction: column;
    gap: 10px;
  }

  .metrics {
    flex-direction: column;
  }

  .card {
    width: 100%;
  }

  .content {
    flex-direction: column;
  }

  .chat-area {
    width: 100%;
  }

  .argus-face-container {
    max-width: 100%;
  }

  #argusMap {
    height: 220px;
  }

}
/* =================================================
   APPLE 8K SURFACE REFINEMENT
   Ultra-premium dark system
================================================= */

/* Base depth */
body {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.03), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.02), transparent 40%),
    #0e0e0f;
  color: #f5f5f7;
}

/* Sidebar – textured charcoal */
.sidebar {
  background:
    linear-gradient(180deg, #1c1c1e 0%, #18181a 100%);
  backdrop-filter: blur(20px);
}

/* Panels – dimensional surface */
.chat-area,
.card,
.telemetry-panel {

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.04) 0%,
      rgba(255,255,255,0.02) 40%,
      rgba(0,0,0,0.4) 100%
    ),
    #2c2c2e;

  border-radius: 22px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 20px 40px rgba(0,0,0,0.45);

  border: none;
}

/* Map container */
#argusMap {
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 20px 40px rgba(0,0,0,0.5);
  border: none;
}

/* Subtle surface grain (8K texture illusion) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.15;
}

/* Typography refinement */
.header-title {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.header-meta {
  opacity: 0.5;
}

/* Softer metric green */
.metric.online {
  color: #32d74b;
}

/* Button refinement */
button {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.02)
    ),
    #3a3a3c;

  border-radius: 14px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 18px rgba(0,0,0,0.35);

  border: none;
}

button:hover {
  transform: translateY(-1px);
  transition: all 0.2s ease;
}
