/* Precision Dark Design System - CSS Root Tokens & Zero-Radius Reset */
:root {
  --theme-bg: #090a0f;
  --theme-surface: #0f1117;
  --theme-surface-hover: #161922;
  --theme-inset: #050608;
  --theme-border: #27272a;
  --theme-border-hover: #3f3f46;
  --theme-border-active: #06b6d4;
  --theme-accent: #06b6d4;
  --theme-accent-glow: rgba(6, 182, 212, 0.15);
  --theme-amber: #f59e0b;
  --theme-emerald: #10b981;
  --theme-rose: #f43f5e;
  --theme-text-primary: #f4f4f5;
  --theme-text-secondary: #a1a1aa;
  --theme-text-tertiary: #71717a;
}

/* Zero-Radius Enforcer */
* {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

body {
  background-color: var(--theme-bg);
  color: var(--theme-text-primary);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-x: hidden;
}

.heading-font {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Precision Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--theme-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--theme-border);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--theme-border-hover);
}

/* Subtle Micro-Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Tab active state */
.tab-btn.active {
  background-color: #0f1117;
  color: #06b6d4;
  border-color: #06b6d4;
  border-bottom-color: #0f1117;
}

/* Pulse indicator */
.live-pulse {
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}
