/* 
 * Deep-Tech Avionics & Systems Engineer Portfolio Style
 * High-Legibility Typography, Elevated Glassmorphism, Ambient Micro-Glow Accents.
 */

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

:root {
  --bg-dark: #05050a;
  --bg-card: #090912;
  --primary: #38bdf8;
  --font-sans: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  background-color: var(--bg-dark);
  color: #f4f4f5;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

.font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

/* Custom Elevated Terminal & Glassmorphism Cards */
.terminal-card {
  background: rgba(9, 9, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sub-card {
  background: rgba(13, 13, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.sub-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -10px rgba(56, 189, 248, 0.2), 0 0 20px rgba(56, 189, 248, 0.1);
}

/* Glowing Accent Badges & Indicators */
.glow-dot-sky {
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
}

.glow-dot-emerald {
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.9);
}

.glow-dot-amber {
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.9);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #05050a;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}
