:root {
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-blur: blur(20px);
  --primary-accent: #6366f1;
}

body {
  background-color: #030305;
  color: #e2e8f0;
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  antialiased: subpixel-antialiased;
}

/* ====== ANIMATED BACKGROUND ====== */
.ai-background {
  position: fixed;
  inset: 0;
  z-index: -10;
  background: #030305;
  overflow: hidden;
}

.ai-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: orb-float 25s infinite ease-in-out;
  mix-blend-mode: screen;
}

.orb-1 {
  top: -10%;
  left: -20%;
  width: 70vw;
  height: 70vw;
  background: #2e1065; /* Deep Purple */
  animation-duration: 30s;
}

.orb-2 {
  bottom: -20%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: #0c4a6e; /* Deep Ocean */
  animation-duration: 35s;
  animation-delay: -5s;
}

.orb-3 {
  top: 30%;
  left: 30%;
  width: 40vw;
  height: 40vw;
  background: #be185d; /* Pink/Magenta */
  opacity: 0.15;
  animation-duration: 25s;
  animation-delay: -10s;
}

.orb-4 {
  bottom: 10%;
  left: 10%;
  width: 30vw;
  height: 30vw;
  background: #0f766e; /* Teal */
  opacity: 0.2;
  animation-duration: 28s;
  animation-delay: -15s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ====== SCROLL BAR ====== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #030305;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* ====== TEXT EFFECTS ====== */
.text-gradient {
  background: linear-gradient(135deg, #fff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-hero {
  background: linear-gradient(135deg, #e2e8f0 0%, #fff 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* ====== GLASS CARD ====== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-panel-hover:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.1);
}

/* ====== BUTTONS ====== */
.btn-primary {
  background: white;
  color: black;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.nav-link {
  position: relative;
  color: #94a3b8;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #818cf8;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}
