@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  
  /* Color Palette */
  --color-bg-dark: #090d16;
  --color-bg-card: rgba(17, 24, 39, 0.7);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-primary: #3b82f6; /* Blue */
  --color-secondary: #0ea5e9; /* Sky Blue */
  --color-accent-teal: #14b8a6; /* Teal */
  --color-accent-purple: #a855f7; /* Purple */
  --color-text-bright: #f8fafc;
  --color-text-muted: #94a3b8;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-dark);
  color: var(--color-text-bright);
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Glowing Mesh Backgrounds */
.mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: 
    radial-gradient(at 10% 20%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(20, 184, 166, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(168, 85, 247, 0.1) 0px, transparent 50%);
  background-size: 100% 100%;
}

.mesh-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
  z-index: -1;
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
}

.glass-card {
  background: rgba(20, 30, 55, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.15);
}

/* Custom Gradients */
.text-gradient-primary {
  background: linear-gradient(135deg, #f8fafc 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
}

.bg-gradient-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
}

.bg-gradient-btn-secondary {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-gradient-btn-secondary:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Floating Particles Container */
#particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Status Step Colors */
.step-success {
  border-color: #10b981 !important;
  color: #10b981 !important;
}

.step-warning {
  border-color: #f59e0b !important;
  color: #f59e0b !important;
}

.step-active {
  border-color: #3b82f6 !important;
  color: #3b82f6 !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Active Line for Steppers */
.stepper-line {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.stepper-line-active {
  background: linear-gradient(to bottom, #10b981, #3b82f6);
  width: 2px;
  position: absolute;
  left: 1rem;
  z-index: 1;
  transition: height 0.8s ease-in-out;
  height: 0%;
}

/* Animation utilities */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
}

/* Custom interactive input classes */
.focus-glow:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

/* Custom styling for achievements grid badges */
.badge-glow {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.05);
}

/* Glowing dot in verification checker */
.status-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: pulse 1.8s infinite;
  opacity: 0.8;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}
