/* Custom styles for Shurix */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in {
    animation: slide-in 0.3s ease-out;
}

/* Flash message animations */
.flash-message {
    animation: slide-in 0.3s ease-out;
}

/* Custom hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* FAQ Animation */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content.show {
    max-height: 200px;
}

.faq-button .chevron-icon {
    transition: transform 0.3s ease;
}

.faq-button.active .chevron-icon {
    transform: rotate(180deg);
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #FF6B00, #FF8533);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E55100, #FF6B00);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

/* Progress bar animation */
.progress-bar {
    background: linear-gradient(90deg, #FF6B00, #FF8533);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

/* Custom focus styles */
input:focus, button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive design helpers */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* Loading spinner for form submissions */
.loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #FF6B00;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #FF6B00, #FF8533);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E55100;
}

/* Enhanced dashboard mockup animations */
.dashboard-mockup {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-mockup:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Enhanced card hover effects for "How Shurix Works" section */
.work-card {
    position: relative;
    overflow: hidden;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: left 0.6s;
}

.work-card:hover::before {
    left: 100%;
}

/* Improved FAQ styling */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content.show {
    max-height: 300px;
}

/* Enhanced button styles */
.btn-gradient {
    background: linear-gradient(135deg, #FF6B00, #FF8533);
    position: relative;
    overflow: hidden;
}

.btn-gradient::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.6s;
}

.btn-gradient:hover::before {
    left: 100%;
}

/* Floating animation for dashboard elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Pulse animation for scores */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4); }
    50% { box-shadow: 0 0 20px 10px rgba(255, 107, 0, 0.1); }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}
