@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800;900&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap";

/* Fallback base styles for instant loading & dark background */
body {
  font-family: "Open Sans", sans-serif;
  background-color: #080c14 !important;
  color: #f8fafc !important;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.font-mono-tech {
  font-family: "Space Mono", monospace;
}

/* Custom scrollbar for premium industrial feel */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #080c14;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f97316;
}

/* Glassmorphism panel */
.glass-card {
  background: rgba(18, 24, 36, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card-orange {
  background: rgba(18, 24, 36, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(249, 115, 22, 0.15);
}

/* Industrial Grid overlay background */
.industrial-grid {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Glowing accent shadows */
.glow-orange {
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.glow-orange-strong {
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.35);
}

.glow-red {
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

.glow-green {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

/* Navigation Laser Border */
.hover-laser-border {
  position: relative;
  transition: all 0.3s ease;
}

.hover-laser-border::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #f97316;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 8px #f97316;
}

.hover-laser-border:hover::after,
.hover-laser-border.active-nav-item::after {
  width: 100%;
}

/* Laser Scanning Line Animation */
@keyframes laser-scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.laser-scanner-overlay {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f97316, transparent);
  box-shadow: 0 0 10px #f97316, 0 0 4px #f97316;
  animation: laser-scan 4s infinite linear;
  pointer-events: none;
}

/* Terminal blink cursor */
@keyframes cursor-blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.terminal-cursor::after {
  content: '_';
  animation: cursor-blink 1s infinite;
}

/* Spark animation for active icons or highlights */
@keyframes spark {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6)); }
}

.animate-spark {
  animation: spark 2.5s infinite ease-in-out;
}

/* Technical grid details decoration */
.tech-corner-br {
  border-right: 2px solid #f97316;
  border-bottom: 2px solid #f97316;
}
.tech-corner-tl {
  border-left: 2px solid #f97316;
  border-top: 2px solid #f97316;
}

/* Ticker Scroll Animation */
@keyframes ticker-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.animate-ticker {
  animation: ticker-scroll 25s linear infinite;
}

.animate-ticker:hover {
  animation-play-state: paused;
}

/* Breathing border glow pulse for static blueprint card */
@keyframes border-glow-pulse {
  0%, 100% {
    border-color: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.04);
  }
  50% {
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.25);
  }
}

.tech-animated-border {
  animation: border-glow-pulse 5s infinite ease-in-out;
}

