* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.font-space {
  font-family: 'Space Grotesk', sans-serif;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.08);
  transition: all 0.3s ease;
}

.glass-card:hover {
  box-shadow: 0 12px 48px rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
}

.btn-primary {
  background: #8B5CF6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover:not(:disabled) {
  background: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
  background: white;
  color: #8B5CF6;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #8B5CF6;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #F3F4F6;
  transform: scale(1.05);
}

.btn-gradient {
  background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-gradient:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.style-pill {
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  border: 2px solid #E5E7EB;
  background: white;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.style-pill:hover {
  border-color: #8B5CF6;
  transform: translateY(-2px);
}

.style-pill-active {
  background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.feature-tag {
  background: linear-gradient(135deg, #F3E8FF 0%, #DBEAFE 100%);
  color: #6B21A8;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.feature-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #8B5CF6 0%, #3B82F6 100%);
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid #8B5CF6;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.5);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid #8B5CF6;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.5);
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .gradient-text {
    font-size: 2rem;
  }
  
  .glass-card {
    padding: 1rem;
  }
  
  .style-pill {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: #8B5CF6;
  color: white;
}

::-moz-selection {
  background: #8B5CF6;
  color: white;
}

/* Focus styles */
*:focus {
  outline: 2px solid #8B5CF6;
  outline-offset: 2px;
}

button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #8B5CF6;
  outline-offset: 2px;
}