/* Modern Glassmorphism & Cyber Tech Accent Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --primary-cyan: #0ea5e9;
  --primary-glow: rgba(14, 165, 233, 0.35);
  --accent-blue: #38bdf8;
  --accent-indigo: #6366f1;
}

body {
  font-family: 'Prompt', 'Inter', system-ui, -apple-system, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.3);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 165, 233, 0.5);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.dark .glass-panel {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(241, 245, 249, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dark .glass-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.4);
}
.dark .glass-card:hover {
  box-shadow: 0 16px 30px -10px rgba(14, 165, 233, 0.2);
  border-color: rgba(56, 189, 248, 0.3);
}

/* Animated Ambient Glow Backgrounds */
.bg-mesh-light {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.12) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(147, 51, 234, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}
.dark .bg-mesh-dark {
  background-color: #090d16;
  background-image: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.16) 0px, transparent 40%),
    radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.14) 0px, transparent 40%),
    radial-gradient(at 50% 50%, rgba(14, 165, 233, 0.05) 0px, transparent 60%),
    radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.12) 0px, transparent 40%),
    radial-gradient(at 0% 100%, rgba(147, 51, 234, 0.1) 0px, transparent 40%);
  background-attachment: fixed;
}

/* Glow Text & Elements */
.text-glow {
  text-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}
.pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.65);
  }
}

/* Timeline Custom line */
.timeline-stem {
  position: relative;
}
.timeline-stem::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(to bottom, #0ea5e9, #6366f1, transparent);
}

/* Smooth active menu link */
.nav-link.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.2));
  color: #0ea5e9;
  border-left: 4px solid #0ea5e9;
  font-weight: 600;
}
.dark .nav-link.active {
  color: #38bdf8;
  border-left-color: #38bdf8;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(99, 102, 241, 0.15));
}

/* Toast Animation */
.toast-enter {
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
}
.toast-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-exit {
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  transition: all 0.25s ease-in;
}

/* PDF viewer container */
.pdf-viewer-frame {
  width: 100%;
  height: 75vh;
  border: none;
}
