/* Custom CSS for TrafficNexus static site */

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(90deg, hsl(271 81% 56%), hsl(322 74% 55%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Glow effects */
.glow-primary {
    box-shadow: 0 0 40px hsl(271 81% 56% / 0.3);
}

.glow-accent {
    box-shadow: 0 0 40px hsl(322 74% 55% / 0.3);
}

/* Shadow utilities */
.shadow-soft {
    box-shadow: 0 4px 20px -4px hsl(222 84% 5% / 0.5);
}

.shadow-glow {
    box-shadow: 0 8px 30px -6px hsl(271 81% 56% / 0.4);
}

/* Smooth transitions */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(217 32% 17%);
}

::-webkit-scrollbar-thumb {
    background: hsl(271 81% 56%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(271 81% 46%);
}

/* Focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Form input styles */
input,
textarea {
    transition: all 0.2s ease;
}

/* Focus styles */
input:focus,
textarea:focus {
    border-color: hsl(271 81% 56%);
    box-shadow: 0 0 0 3px hsl(271 81% 56% / 0.2);
}

/* Neon button effects */
.bg-primary {
    background: linear-gradient(135deg, hsl(271 81% 56%), hsl(322 74% 55%));
    box-shadow: 0 4px 15px hsl(271 81% 56% / 0.4);
}

.bg-primary:hover {
    box-shadow: 0 6px 20px hsl(271 81% 56% / 0.6);
    transform: translateY(-2px);
}

/* Neon glow animations */
@keyframes neon-pulse {
    0%, 100% { box-shadow: 0 0 20px hsl(271 81% 56% / 0.3); }
    50% { box-shadow: 0 0 40px hsl(271 81% 56% / 0.6); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-neon {
    animation: neon-pulse 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Glass morphism */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success message styles */
.success-message {
    background: hsl(120 60% 50% / 0.1);
    border: 1px solid hsl(120 60% 50% / 0.3);
    color: hsl(120 60% 50%);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}
