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

:root {
  --primary: #4F7DF3;
  --secondary: #2D8CFF;
  --accent: #00D4FF;
  --dark: #081B3A;
  --bg: #F8FAFD;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Gradients */
.hero-gradient {
  background: linear-gradient(135deg, #081B3A 0%, #1e3c72 100%);
  position: relative;
  overflow: hidden;
}

.dark-gradient {
  background: linear-gradient(135deg, #051024 0%, #081B3A 100%);
}

.text-gradient {
  background: linear-gradient(90deg, #4F7DF3, #00D4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  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.2);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px 0 rgba(79, 125, 243, 0.05);
}

/* Glow Effects */
.glow-primary {
  box-shadow: 0 0 25px rgba(79, 125, 243, 0.6);
}

.glow-accent {
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(79, 125, 243, 0.4);
  transform: translateY(-4px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Connection Lines Animation */
.dash-line {
  stroke-dasharray: 6;
  animation: dash 10s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -200;
  }
}

/* Animated Grid Background */
.bg-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);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

/* Pulse Dot */
.pulse-dot {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 212, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

/* Bar Chart Mockup Animation */
.mockup-bar {
  transform-origin: bottom;
  animation: barGrow 3s ease-in-out infinite alternate;
}

@keyframes barGrow {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.5s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
