/* ADAM Ecosystem Theme - Cyber-Institutional */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&family=Fira+Code:wght@400;600&display=swap');

:root {
  /* Theme Palette */
  --bg-base: #090d16;
  --bg-surface: rgba(15, 23, 42, 0.75);
  --border-slate: rgba(30, 41, 59, 0.6);

  /* Accents */
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-crimson: #ef4444;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-gray: #64748b;
  --accent-pink: #ec4899;

  /* Typography */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(6, 182, 212, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.05), transparent 25%);
  overflow-x: hidden;
}

.mono { font-family: var(--font-mono); }

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-slate);
  border-radius: 0.5rem;
}

.glass-header {
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-slate);
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-cyan)); }
  50% { opacity: 0.7; filter: drop-shadow(0 0 1px var(--accent-cyan)); }
}

.animate-pulse-glow {
  animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
  animation: slide-up 0.4s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(51, 65, 85, 0.8);
}

/* Interactive Elements */
.interactive-card {
  transition: all 0.3s ease;
  cursor: pointer;
}
.interactive-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 4px 20px -2px rgba(6, 182, 212, 0.1);
}

/* Terminal/Console */
.terminal-window {
  background: #0f172a;
  border: 1px solid var(--border-slate);
  border-radius: 0.375rem;
  overflow: hidden;
}
.terminal-header {
  background: #1e293b;
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.terminal-body {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-emerald);
  line-height: 1.5;
  height: 200px;
  overflow-y: auto;
}
