/* ===================== GENERAL ===================== */
body {
  font-family: 'Inter', sans-serif;
  background-color: #1a1a1a;
  color: #fff;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ===================== BLOB BACKGROUND ===================== */
.animated-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  overflow: hidden;
  filter: url(#gooey);
}
.blob {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #06b6d4, #3b82f6);
  animation: move 20s infinite alternate ease-in-out, pulse 10s infinite ease-in-out;
  mix-blend-mode: screen;
  opacity: 0.6;
  filter: blur(60px);
}
.blob:nth-child(2) {
  background: radial-gradient(circle at 30% 30%, #f97316, #facc15);
  left: 40%; top: 20%;
  animation-duration: 25s;
  animation-delay: -10s;
}
.blob:nth-child(3) {
  background: radial-gradient(circle at 30% 30%, #4ade80, #22d3ee);
  left: 20%; bottom: 10%;
  animation-duration: 18s;
  animation-delay: -5s;
}
@keyframes move {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(120px,-150px) scale(1.2); }
  100% { transform: translate(-150px,120px) scale(0.9); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===================== GLASS CARDS ===================== */
.glass-card {
  background: rgba(30,41,59,0.6);
  border: 1px solid rgba(94,234,212,0.2);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow: 0 0 25px rgba(94,234,212,0.05);
  transition: all 0.4s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(94,234,212,0.15);
}

/* ===================== FADE-UP ANIMATION ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ===================== NAV-BAR ===================== */
#navbar {
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Active link animation */
.nav-link.active {
  color: #5eead4;
  position: relative;
}

.nav-link.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: #5eead4;
  border-radius: 2px;
  margin-top: 3px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link.active:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Mobile menu tweaks */
#mobile-menu a {
  font-size: 1rem;
  letter-spacing: 0.5px;
}


/* ===================== GLOW TEXT ===================== */
.glow-text {
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.7),
               0 0 20px rgba(45, 212, 191, 0.5),
               0 0 40px rgba(45, 212, 191, 0.3);
}

/* ===================== CURSOR ===================== */
#cursorGlow {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,234,212,0.6), rgba(94,234,212,0));
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  z-index: 9999;
}

/* ===================== FOOTER ===================== */
footer {
  background-color: #2d3748;
  color: #cbd5e0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px){
  .grid { grid-template-columns: 1fr !important; }
}
