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

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --color-brand-primary: #1e3a8a;
  --color-brand-accent: #2563eb;
  --color-brand-light: #eff6ff;
  --color-surface-card: #ffffff;
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #f8fafc;
  color: var(--color-text-main);
  overflow-x: hidden;
}

/* Custom Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Glow Effect */
.card-hover-effect {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover-effect:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Badge Pulse */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
  }
}

.pulse-badge {
  animation: pulseGlow 2.5s infinite;
}

/* Academic ID Card Floating Animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

/* Skip to Content link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: #1e3a8a;
  color: white;
  padding: 8px 16px;
  z-index: 1000;
  border-radius: 6px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
}

/* Typography styles for article content */
.prose-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.prose-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-content p {
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.prose-content ul, .prose-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.prose-content li {
  color: #334155;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

/* Print Optimization */
@media print {
  .no-print, header, footer, .announcement-banner {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
