/* ==========================================================================
   VeloCore AI — Enterprise AI SaaS & Developer Cloud Platform
   Design System: Deep Space Obsidian, Cyan Laser, Cobalt Indigo & Emerald Accents
   Engineered for: Real Tech Startup Credibility (AWS Activate 90%+ Tier)
   ========================================================================== */

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

:root {
  --bg-main: #07090e;
  --bg-surface-1: #0e121b;
  --bg-surface-2: #141b27;
  --bg-surface-3: #1c2637;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.3);
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: #f1f5f9;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #07090e;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Tech Grid & Ambient Glow Backgrounds */
.bg-tech-grid {
  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: 40px 40px;
}

.bg-radial-glow {
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.05) 45%, transparent 70%);
}

.glow-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.glow-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 35px -8px rgba(56, 189, 248, 0.18), inset 0 0 20px -5px rgba(56, 189, 248, 0.05);
  transform: translateY(-2px);
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(14, 18, 27, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.glass-dropdown {
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Gradients */
.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 15%, #38bdf8 65%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 50%, #06b6d4 100%);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 20px -3px rgba(37, 99, 235, 0.45);
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%);
  box-shadow: 0 0 28px 0px rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Badges */
.badge-tech {
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Live Pulsing Beacon */
.live-pulse {
  position: relative;
}
.live-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  background: inherit;
  opacity: 0.7;
  animation: beacon-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beacon-pulse {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Code Syntax Styling */
.code-container {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'JetBrains Mono', monospace;
}

.code-keyword { color: #f43f5e; }
.code-function { color: #38bdf8; }
.code-string { color: #34d399; }
.code-comment { color: #64748b; font-style: italic; }
.code-variable { color: #fbbf24; }
.code-number { color: #a78bfa; }

/* Modal Backdrop */
.modal-overlay {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
}

/* Range Slider */
input[type=range] {
  accent-color: #06b6d4;
}
