/* Custom styles for InFix modern redesign */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary-glow: rgba(6, 182, 212, 0.25);
  --accent-glow: rgba(59, 130, 246, 0.35);
  --bg-dark: #0a0f1d;
  --bg-card: rgba(17, 24, 39, 0.75);
  --border-card: rgba(255, 255, 255, 0.08);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: #e2e8f0;
  overflow-x: hidden;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Background Grids & Ambient Glows */
.bg-tech-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.15) 0%, rgba(10, 15, 29, 0) 70%);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.2);
}

/* Glow Effects */
.glow-cyan {
  box-shadow: 0 0 25px -5px rgba(6, 182, 212, 0.5);
}

.glow-blue {
  box-shadow: 0 0 25px -5px rgba(59, 130, 246, 0.5);
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #22d3ee 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0f1d;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0ea5e9;
}

/* Pulse animation for active badges */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.animate-pulse-subtle {
  animation: pulse-subtle 2s infinite ease-in-out;
}

/* Modal animation */
.modal-enter {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
}
.modal-enter-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: all 0.25s ease-out;
}
.modal-exit {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.modal-exit-active {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  transition: all 0.2s ease-in;
}

/* Stepper styles for Track Repair */
.step-dot.active {
  background-color: #06b6d4;
  box-shadow: 0 0 12px #06b6d4;
}
.step-line.active {
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
}
