/* Custom CSS for SoftFetch Pro */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #0a0f1c, #0f172a);
    min-height: 100vh;
}

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

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

@keyframes button-glow {
    0% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    }
    100% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.8), 0 0 40px rgba(99, 102, 241, 0.4);
    }
}

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.8);
    }
}

/* Custom Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slide-in 0.8s ease-out;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.btn-primary::after {
    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.7s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.7);
    color: #cbd5e1;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
    color: white;
    transform: translateY(-2px);
}

.btn-glow {
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    color: white;
    border: none;
    animation: button-glow 2s ease-in-out infinite alternate, pulse-glow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: scale(1.05);
    animation: none;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6), 0 0 60px rgba(16, 185, 129, 0.4);
}

/* Card Hover Effects */
.stat-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6366f1, #10b981);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4f46e5, #0d9c6f);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stat-card {
        text-align: center;
    }
    
    .stat-card .flex {
        flex-direction: column;
        gap: 1rem;
    }
}