@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=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  --bg-space: #030508;
  --bg-surface: #080c16;
  --bg-card: #0d1424;
  --bg-card-hover: #131c32;
  --accent-cobalt: #2563eb;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-ice: #e0f2fe;
  --glow-cobalt: rgba(37, 99, 235, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(59, 130, 246, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

* {
  box-sizing: border-box;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #030508;
}
::-webkit-scrollbar-thumb {
  background: #1b2640;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Cosmic Flow Grid */
.bg-aerospace-grid {
  background-image: linear-gradient(to right, rgba(59, 130, 246, 0.04) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.radial-glow-cobalt {
  background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.16) 0%, rgba(3, 5, 8, 0) 70%);
}

.radial-glow-cyan {
  background: radial-gradient(circle at 80% 40%, rgba(6, 182, 212, 0.12) 0%, rgba(3, 5, 8, 0) 60%);
}

/* Glassmorphism Cards */
.glass-panel-cobalt {
  background: rgba(13, 20, 36, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-cobalt:hover {
  border-color: var(--border-active);
  box-shadow: 0 12px 35px -10px rgba(37, 99, 235, 0.28);
  transform: translateY(-2px);
}

.glass-panel-static {
  background: rgba(13, 20, 36, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
}

/* Buttons */
.btn-cobalt {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  transition: all 0.25s ease;
}

.btn-cobalt:hover {
  box-shadow: 0 6px 30px rgba(37, 99, 235, 0.65);
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.1);
}

.btn-ghost-ice {
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.btn-ghost-ice:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Badges */
.badge-cobalt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.pulse-beacon {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
}

.pulse-beacon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #3b82f6;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Header Separator */
.header-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

/* Interactive Tabs */
.tab-pde-active {
  background: rgba(37, 99, 235, 0.22) !important;
  border-color: rgba(59, 130, 246, 0.6) !important;
  color: #ffffff !important;
}

/* Slide Transition in Pitch Deck */
.slide-active {
  display: block;
  animation: fadeInSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-inactive {
  display: none;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typography Classes */
.font-display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
.font-mono {
  font-family: 'JetBrains Mono', monospace;
}
