/* ==========================================================================
   Cerebex AI — Enterprise Design System
   Theme: Executive Obsidian Deep (#07090E), Electric Cyan & Neural Violet
   Target: Tier-1 Enterprise AI SaaS & AWS Activate Review Compliance
   ========================================================================== */

@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&display=swap');

:root {
  --color-bg-primary: #07090E;
  --color-bg-secondary: #0D111A;
  --color-bg-surface: #131926;
  --color-surface-hover: #1A2234;

  --color-accent-cyan: #06B6D4;
  --color-accent-sky: #38BDF8;
  --color-accent-violet: #8B5CF6;
  --color-accent-indigo: #6366F1;
  --color-accent-emerald: #10B981;

  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-border-active: rgba(6, 182, 212, 0.4);
  --color-border-violet: rgba(139, 92, 246, 0.35);

  --color-text-main: #F8FAFC;
  --color-text-muted: #94A3B8;
  --color-text-dim: #64748B;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #07090E;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-cyan);
}

/* Typography Helpers */
.font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.font-mono-tech {
  font-family: 'JetBrains Mono', monospace;
}

/* Background Grids & Gradients */
.bg-grid-tech {
  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-hero {
  background: radial-gradient(circle at 50% 20%, rgba(6, 182, 212, 0.12) 0%, rgba(139, 92, 246, 0.08) 35%, transparent 70%);
}

/* Glassmorphism & Enterprise Panels */
.glass-panel {
  background: rgba(13, 17, 26, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--color-border-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.15);
}

.glass-panel-violet:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.2);
}

/* Glow & Gradient Effects */
.glow-cyan {
  box-shadow: 0 0 35px -5px rgba(6, 182, 212, 0.3);
}

.glow-violet {
  box-shadow: 0 0 35px -5px rgba(139, 92, 246, 0.3);
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #FFFFFF 20%, #67E8F9 60%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-violet {
  background: linear-gradient(135deg, #FFFFFF 20%, #C4B5FD 60%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-dual {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges & Accents */
.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #67E8F9;
}

.badge-violet {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #DDD6FE;
}

.badge-aws {
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid rgba(255, 153, 0, 0.35);
  color: #FFB347;
}

/* Beacon Pulse Animation */
@keyframes beacon-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.live-beacon {
  animation: beacon-pulse 2s infinite ease-in-out;
}

/* Code Syntax & Playground Elements */
.code-block {
  background: #0B0E17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  overflow-x: auto;
}

/* Audio Visualizer Wave Bar */
.wave-bar {
  display: inline-block;
  width: 3px;
  background: linear-gradient(to top, #06B6D4, #8B5CF6);
  border-radius: 2px;
  margin: 0 1.5px;
  transition: height 0.08s ease;
}

/* Pitch Deck Slide Transition */
.deck-slide {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.deck-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.deck-slide.hidden {
  display: none;
  opacity: 0;
  transform: translateY(10px);
}
