/* ProjectHub Landing Page */

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float 6s ease-in-out 2s infinite; }
.animate-pulse-glow { animation: pulse-glow 4s ease-in-out infinite; }

.hero-gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

.mesh-bg {
  background-image:
    radial-gradient(at 20% 20%, rgba(99, 102, 241, 0.18) 0px, transparent 50%),
    radial-gradient(at 80% 10%, rgba(168, 85, 247, 0.14) 0px, transparent 50%),
    radial-gradient(at 60% 80%, rgba(236, 72, 153, 0.1) 0px, transparent 50%),
    radial-gradient(at 10% 90%, rgba(59, 130, 246, 0.12) 0px, transparent 50%);
}

.dark .mesh-bg {
  background-image:
    radial-gradient(at 20% 20%, rgba(99, 102, 241, 0.25) 0px, transparent 50%),
    radial-gradient(at 80% 10%, rgba(168, 85, 247, 0.2) 0px, transparent 50%),
    radial-gradient(at 60% 80%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
    radial-gradient(at 10% 90%, rgba(59, 130, 246, 0.18) 0px, transparent 50%);
}

.grid-pattern {
  background-image: linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.dark .grid-pattern {
  background-image: linear-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.15);
}

.dark .feature-card:hover {
  box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.25);
}

.step-connector {
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.hero-mockup {
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.1),
    0 25px 50px -12px rgba(99, 102, 241, 0.25),
    0 0 80px -20px rgba(168, 85, 247, 0.3);
}

.dark .hero-mockup {
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.2),
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 80px -20px rgba(168, 85, 247, 0.4);
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.08);
}

.dark .nav-scrolled {
  background: rgba(15, 23, 42, 0.85) !important;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

.badge-dot {
  animation: pulse-glow 2s ease-in-out infinite;
}
