/* Custom variables */
:root {
  --color-primary: #0F2A4F;
  --color-secondary: #1A5FA7;
  --color-light-bg: #0B132B;
  --color-text: #F3F4F6;
  --color-gray: #9CA3AF;
  --color-accent: #4DA3FF;
  --color-border: rgba(77, 163, 255, 0.15);
}

body {
  background-color: var(--color-light-bg);
  color: var(--color-text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

/* AI cybernetic mesh background */
.ai-mesh-bg {
  background-image: 
    radial-gradient(at 0% 0%, rgba(26, 95, 167, 0.15) 0px, transparent 50%), 
    radial-gradient(at 50% 0%, rgba(77, 163, 255, 0.1) 0px, transparent 50%), 
    radial-gradient(at 100% 0%, rgba(15, 42, 79, 0.2) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(26, 95, 167, 0.15) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Futuristic grid overlay */
.cyber-grid {
  background-image: 
    linear-gradient(to right, rgba(77, 163, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(77, 163, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Glassmorphism & Micro Utilities */
.glass-nav {
  background: rgba(11, 19, 43, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-card {
  background: rgba(15, 42, 79, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(77, 163, 255, 0.12);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
  border-color: rgba(77, 163, 255, 0.3);
  box-shadow: 0 0 30px rgba(77, 163, 255, 0.15);
}

.dark-glass-card {
  background: rgba(11, 19, 43, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(77, 163, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.dark-glass-card:hover {
  border-color: rgba(77, 163, 255, 0.4);
  box-shadow: 0 0 35px rgba(77, 163, 255, 0.2);
}

.brand-gradient {
  background: linear-gradient(135deg, #0B132B 0%, #0F2A4F 100%);
  border: 1px solid rgba(77, 163, 255, 0.15);
}

.accent-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #4DA3FF 50%, #1A5FA7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navy-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #4DA3FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-blue {
  box-shadow: 0 0 30px rgba(77, 163, 255, 0.4);
}

.glow-navy {
  box-shadow: 0 15px 35px rgba(15, 42, 79, 0.4);
}

/* Keyframes & Custom Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.03); }
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes radar-sweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-subtle {
  animation: pulse-subtle 4s ease-in-out infinite;
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.animate-radar {
  animation: radar-sweep 8s linear infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0B132B;
}

::-webkit-scrollbar-thumb {
  background: #1A5FA7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4DA3FF;
}

/* Scroll reveal styles */
.reveal {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-down {
  transform: translateY(-30px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.85);
}

.reveal.revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Custom Scrollbar Hide Utility */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
