/* Virenesis Engineering UI System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-base: #0b1120;
  --surface-1: #0f172a;
  --surface-2: #1e293b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(6, 182, 212, 0.4);
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
}

body {
  background-color: #0b1120;
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

/* Subtle Technical Circuit & Grid Background Texture */
.virenesis-grid-bg {
  background-color: #0b1120;
  background-image: 
    linear-gradient(to right, rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Restrained Ambient Gradient (No loud blobs) */
.virenesis-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.virenesis-atmosphere::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 20%;
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, rgba(15, 23, 42, 0) 70%);
}

.virenesis-atmosphere::after {
  content: "";
  position: absolute;
  bottom: -200px;
  right: 15%;
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.04) 0%, rgba(15, 23, 42, 0) 70%);
}

/* Monospace Technical Labels & Badges */
.mono-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.mono-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.08);
  color: #22d3ee;
}

/* Custom Engineered Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #0b1120;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Low-contrast engineered panel */
.tech-card {
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.tech-card-interactive {
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  transition: all 0.15s ease-out;
}

.tech-card-interactive:hover {
  border-color: rgba(6, 182, 212, 0.4);
  background-color: rgba(15, 23, 42, 0.95);
}

.tech-card-interactive.selected {
  border-color: #06b6d4;
  background-color: rgba(6, 182, 212, 0.08);
  box-shadow: 0 0 16px -4px rgba(6, 182, 212, 0.25);
}

/* Drag & Drop State */
.dragover {
  border-color: #06b6d4 !important;
  background-color: rgba(6, 182, 212, 0.08) !important;
}

/* Navigation & Tabs */
.tab-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: all 0.15s ease-out;
}

.tab-btn.active {
  background-color: #06b6d4;
  color: #0b1120;
  font-weight: 600;
}
