/* ==========================================================================
   Base Styles & Resets
   ========================================================================== */
:root {
  --bg-dark: #0f172a;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* ==========================================================================
   Visual Effects & Custom Animations
   ========================================================================== */

/* Glowing Box & Button Shadows */
.glow {
  box-shadow: 0 0 25px -5px rgba(6, 182, 212, 0.4);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.glow:hover {
  box-shadow: 0 0 35px 2px rgba(16, 185, 129, 0.5);
}

/* Hero Badge Pulse */
@keyframes pulse-light {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.pulse-badge {
  animation: pulse-light 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Dynamic Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card Effect */
.glass-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

/* ==========================================================================
   Modal Animation & Overlay
   ========================================================================== */

#successModal {
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#successModal > div {
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}