/* Coming Soon Page Custom Styles */

/* Animations */
@keyframes fadeInUp {
    0% { 
        transform: translateY(50px); 
        opacity: 0; 
    }
    100% { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

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

@keyframes shimmer {
    0%, 100% { 
        opacity: 0.3; 
    }
    50% { 
        opacity: 0.8; 
    }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(100vh) translateX(0px) scale(0);
        opacity: 0;
    }
    10% { 
        opacity: 1;
        transform: scale(1);
    }
    90% { 
        opacity: 1;
    }
    100% { 
        transform: translateY(-100px) translateX(50px) scale(0);
        opacity: 0;
    }
}

@keyframes beamParticleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% { 
        opacity: 1; 
    }
    50% { 
        transform: translateY(-30vh) translateX(10px);
        opacity: 0.8;
    }
    90% { 
        opacity: 0.3; 
    }
}

@keyframes spotlightPulse {
    0%, 100% { 
        opacity: 0.7; 
        transform: translateX(-50%) scaleY(1) scaleX(1);
    }
    50% { 
        opacity: 0.9; 
        transform: translateX(-50%) scaleY(1.05) scaleX(1.02);
    }
}

@keyframes beamShimmer {
    0%, 100% { 
        opacity: 0.3; 
        transform: translateX(-50%) scaleY(1);
    }
    50% { 
        opacity: 0.6; 
        transform: translateX(-50%) scaleY(1.1);
    }
}

@keyframes wavyMove {
    0% { 
        transform: translateX(-100%); 
    }
    100% { 
        transform: translateX(100%); 
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-in-up-delay {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-up-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.animate-fade-in-up-delay-3 {
    animation: fadeInUp 1s ease-out 0.9s forwards;
    opacity: 0;
}

.animate-fade-in-up-delay-4 {
    animation: fadeInUp 1s ease-out 1.2s forwards;
    opacity: 0;
}

/* Logo Effects */
.logo-container {
    position: relative;
}

.logo {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.5));
    transform: scale(1.05);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

/* Spotlight Beam Effect - GitHub Style */
.spotlight-beam {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 60vh;
    background: linear-gradient(
        0deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(124, 58, 237, 0.15) 15%,
        rgba(168, 85, 247, 0.25) 30%,
        rgba(236, 72, 153, 0.3) 45%,
        rgba(255, 255, 255, 0.4) 60%,
        rgba(255, 255, 255, 0.25) 75%,
        rgba(255, 255, 255, 0.1) 90%,
        transparent 100%
    );
    clip-path: polygon(45% 100%, 55% 100%, 20% 0%, 80% 0%);
    animation: spotlightPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.beam-shimmer {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 55vh;
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.2) 60%,
        rgba(255, 255, 255, 0.1) 85%,
        transparent 100%
    );
    clip-path: polygon(46% 100%, 54% 100%, 25% 0%, 75% 0%);
    animation: beamShimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Floating Particles in Beam */
.spotlight-particles {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 50vh;
    pointer-events: none;
    z-index: -1;
}

.beam-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
    animation: beamParticleFloat 4s ease-in-out infinite;
}

/* Background Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(odd) {
    background: rgba(168, 85, 247, 0.4);
    animation-duration: 20s;
}

.particle:nth-child(3n) {
    background: rgba(236, 72, 153, 0.3);
    animation-duration: 25s;
}

/* Wavy Lines */
.wavy-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 100px,
        rgba(255, 255, 255, 0.02) 101px,
        rgba(255, 255, 255, 0.02) 102px
    );
    animation: wavyMove 20s linear infinite;
}

/* Form Enhancements */
.password-section,
.waiting-list-section {
    position: relative;
    z-index: 20;
}

/* Button Shimmer Effect */
button[type="submit"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

button[type="submit"]:hover:before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spotlight-beam {
        width: 300px;
        height: 60vh;
    }
    
    .beam-shimmer {
        width: 250px;
        height: 55vh;
    }
    
    .spotlight-particles {
        width: 200px;
        height: 50vh;
    }
}

/* Success Animation */
.success-animation {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading button {
    cursor: not-allowed;
}

/* Focus States */
input:focus {
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

button:focus {
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

