* {
  font-family: 'Vazirmatn', sans-serif;
}

body {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite;
}

.orb1 {
  width: 350px;
  height: 350px;
  background: #7c3aed;
  top: -100px;
  right: -80px;
  animation-delay: 0s;
}

.orb2 {
  width: 300px;
  height: 300px;
  background: #06b6d4;
  bottom: -100px;
  left: -80px;
  animation-delay: 2s;
}

.orb3 {
  width: 250px;
  height: 250px;
  background: #ec4899;
  top: 40%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(2px 2px at 20px 30px, white, transparent),
                     radial-gradient(2px 2px at 60px 70px, white, transparent),
                     radial-gradient(1px 1px at 90px 40px, white, transparent),
                     radial-gradient(1px 1px at 130px 80px, white, transparent),
                     radial-gradient(2px 2px at 160px 120px, white, transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.3;
  animation: twinkle 5s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.2; }
  100% { opacity: 0.5; }
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gear {
  animation: spin 8s linear infinite;
  transform-origin: center;
}

.gear-reverse {
  animation: spin-reverse 6s linear infinite;
  transform-origin: center;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.gradient-text {
  background: linear-gradient(90deg, #a78bfa, #60a5fa, #f472b6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.progress-bar {
  position: relative;
  overflow: hidden;
}

.progress-fill {
  animation: fillBar 3s ease-out forwards;
}

@keyframes fillBar {
  from { width: 0%; }
  to { width: 50%; }
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.bounce-dot {
  animation: bounce-dot 1.4s infinite ease-in-out both;
}

.bounce-dot:nth-child(1) { animation-delay: -0.32s; }
.bounce-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce-dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.social-btn {
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.15);
}

.fade-in {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

input::placeholder {
  color: rgba(255,255,255,0.4);
}
