/* Custom Neon & Glassmorphism styles for Nero AI Academy */
@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 {
  --bg-dark: #090D16;
  --bg-card: rgba(15, 23, 42, 0.75);
  --border-neon: rgba(0, 240, 255, 0.25);
  --neon-cyan: #00F0FF;
  --neon-purple: #A855F7;
  --neon-pink: #EC4899;
  --neon-green: #10B981;
  --neon-amber: #F59E0B;
}

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

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

/* Glassmorphism card effect */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-panel-glow {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-neon);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.12), inset 0 0 15px rgba(0, 240, 255, 0.05);
}

.glass-panel-glow-purple {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.15), inset 0 0 15px rgba(168, 85, 247, 0.05);
}

/* Sound equalizer bars animation */
.sound-wave-bar {
  width: 3px;
  height: 12px;
  background: #00F0FF;
  border-radius: 2px;
  animation: soundWave 0.8s ease-in-out infinite alternate;
}
.sound-wave-bar:nth-child(1) { animation-delay: 0.1s; }
.sound-wave-bar:nth-child(2) { animation-delay: 0.35s; }
.sound-wave-bar:nth-child(3) { animation-delay: 0.6s; }

@keyframes soundWave {
  0% { height: 4px; }
  100% { height: 16px; }
}

/* Interactive Navigation Panel Styles */
.nav-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  user-select: none;
  white-space: nowrap;
}

.nav-step-active {
  background: rgba(0, 240, 255, 0.2);
  border-color: #00F0FF;
  color: #38BDF8;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.45);
  transform: scale(1.03);
}

.nav-step-completed {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10B981;
  color: #34D399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.nav-step-completed:hover {
  background: rgba(16, 185, 129, 0.32);
  transform: translateY(-2px);
}

.nav-step-pending {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  color: #94A3B8;
}

.nav-step-pending:hover {
  border-color: rgba(0, 240, 255, 0.5);
  color: #FFFFFF;
  background: rgba(30, 41, 59, 0.9);
}

/* Glowing Scrollbar for Nav Pill Track */
.nav-pills-track {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 240, 255, 0.5) #0F172A;
}

.nav-pills-track::-webkit-scrollbar {
  height: 6px;
}

.nav-pills-track::-webkit-scrollbar-track {
  background: #0F172A;
  border-radius: 4px;
}

.nav-pills-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #00F0FF, #A855F7);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Button complete neon emerald */
.btn-complete-next {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.btn-complete-next:hover {
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.7);
  transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #090D16;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.token-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  margin: 3px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.token-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.3);
}

.btn-neon {
  background: linear-gradient(135deg, #00F0FF 0%, #7000FF 100%);
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-neon:hover {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
  transform: translateY(-2px);
}
