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

:root {
  --bg-deep: #05070D;
  --bg-surface: #0B0F1A;
  --bg-card: rgba(11, 15, 26, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(59, 130, 246, 0.4);
  
  /* Brand Luxury Palette */
  --brand-blue: #0052FF;
  --brand-blue-hover: #1A66FF;
  --brand-sapphire: #2563EB;
  --brand-sky: #38BDF8;
  --brand-glow: rgba(0, 82, 255, 0.35);

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

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Selection */
::selection {
  background: rgba(0, 82, 255, 0.35);
  color: #FFFFFF;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #05070D;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3B82F6;
}

/* Atmospheric Ambient Lights */
.ambient-glow-top {
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.16) 0%, rgba(0, 82, 255, 0.06) 45%, transparent 75%);
}

/* Glassmorphism Navigation */
.header-glass {
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Refined Header CTA Button (Linear / Stripe Executive Style) */
.btn-header-cta {
  background: linear-gradient(180deg, #005BFF 0%, #0047D4 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 16px -2px rgba(0, 91, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-header-cta:hover {
  background: linear-gradient(180deg, #1A6CFF 0%, #0052FF 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 24px 0 rgba(0, 91, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Hero Primary Action Button */
.btn-hero-primary {
  background: linear-gradient(180deg, #005BFF 0%, #0047D4 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 28px -4px rgba(0, 91, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  background: linear-gradient(180deg, #1A6CFF 0%, #0052FF 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 36px 0 rgba(0, 91, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-1.5px);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.4);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Glass Cards */
.glass-panel {
  background: rgba(11, 15, 26, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card {
  background: linear-gradient(180deg, rgba(14, 19, 32, 0.7) 0%, rgba(9, 12, 22, 0.65) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(96, 165, 250, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 16px 36px -10px rgba(0, 82, 255, 0.15), 0 0 20px rgba(59, 130, 246, 0.06);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Form Inputs */
.tech-input {
  background: rgba(11, 15, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #F8FAFC;
  transition: all 0.18s ease;
}

.tech-input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
  background: rgba(14, 19, 32, 0.95);
}

.tech-input.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Canvas Styling */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
