/* Nuvi-X AI Modern Cyber-Luminescent Enterprise Stylesheet */

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

:root {
  --bg-deep: #030712;
  --bg-surface: #0B0F19;
  --bg-card: rgba(15, 23, 42, 0.7);
  --cyan-primary: #22D3EE;
  --cyan-glow: rgba(34, 211, 238, 0.35);
  --violet-glow: rgba(168, 85, 247, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(34, 211, 238, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-deep);
  color: #E2E8F0;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

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

/* Cyber Grid Background */
.bg-cyber-grid {
  background-color: #030712;
  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);
  background-size: 48px 48px;
}

.bg-radial-hero {
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.12) 0%, rgba(129, 140, 248, 0.05) 45%, transparent 75%);
}

.bg-radial-cyan {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
}

.bg-radial-violet {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
}

/* Glass Panels */
.glass-panel {
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.15);
}

.glass-panel-glow {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 35px -10px rgba(34, 211, 238, 0.15);
}

/* Buttons */
.btn-cyan-gradient {
  background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px -5px rgba(6, 182, 212, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cyan-gradient:hover {
  background: linear-gradient(135deg, #22D3EE 0%, #2563EB 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px -5px rgba(34, 211, 238, 0.55);
}

.btn-outline-cyber {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #E2E8F0;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-cyber:hover {
  border-color: #22D3EE;
  color: #FFFFFF;
  background: rgba(34, 211, 238, 0.1);
  transform: translateY(-1px);
}

/* Gradient Text */
.text-cyan-gradient {
  background: linear-gradient(135deg, #22D3EE 0%, #60A5FA 50%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-aurora {
  background: linear-gradient(135deg, #34D399 0%, #22D3EE 50%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Beacon Pulse */
.beacon-cyan {
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
  animation: pulse-beacon 2s infinite;
}

@keyframes pulse-beacon {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 211, 238, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
  }
}

/* Audio Visualizer Waveforms */
.audio-bar {
  width: 4px;
  background: #22D3EE;
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite alternate;
}

.audio-bar:nth-child(2) { animation-delay: 0.15s; }
.audio-bar:nth-child(3) { animation-delay: 0.3s; }
.audio-bar:nth-child(4) { animation-delay: 0.45s; }
.audio-bar:nth-child(5) { animation-delay: 0.6s; }
.audio-bar:nth-child(6) { animation-delay: 0.25s; }
.audio-bar:nth-child(7) { animation-delay: 0.5s; }
.audio-bar:nth-child(8) { animation-delay: 0.1s; }
.audio-bar:nth-child(9) { animation-delay: 0.35s; }
.audio-bar:nth-child(10) { animation-delay: 0.55s; }

@keyframes wave {
  0% { height: 6px; }
  100% { height: 28px; }
}

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

/* Toast Notification */
#nvxToast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(11, 15, 25, 0.95);
  border: 1px solid #22D3EE;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -5px rgba(34, 211, 238, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}
#nvxToast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Modal Transitions */
.modal-overlay {
  transition: opacity 0.25s ease;
}
.modal-content {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
