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

html {
  scroll-behavior: smooth;
}

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass card effect */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

/* Grid background */
.grid-bg {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Particles */
.particle {
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-30px) translateX(10px);
    opacity: 0.7;
  }
}

/* Floating badges */
.floating-badge {
  animation: badge-float 4s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Hero animations */
.hero-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-enter 0.8s ease forwards;
}

.hero-fade-in.delay-1 {
  animation-delay: 0.2s;
}

.hero-fade-in.delay-2 {
  animation-delay: 0.4s;
}

.hero-fade-in.delay-3 {
  animation-delay: 0.6s;
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section animations */
.section-hidden {
  opacity: 0;
  transform: translateY(40px);
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade in animation */
.animate-fade-in {
  animation: fade-in 0.3s ease forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00d4ff, #8b5cf6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00d4ff, #f59e0b);
}

/* Selection */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: white;
}

/* Focus styles */
input:focus, textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .glass-card {
    backdrop-filter: blur(5px);
  }
  
  .particle {
    display: none;
  }
}