/* Custom CSS for SURE SOURCE */

/* Gradient text */
.gradient-text {
    background: linear-gradient(to right, #9333ea, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background pattern */
.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23663399' fill-opacity='0.1'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

/* Custom gradients */
.gradient-purple-orange {
    background: linear-gradient(to right, #9333ea, #f97316);
}

.gradient-blue-cyan {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
}

.gradient-green-emerald {
    background: linear-gradient(to right, #10b981, #059669);
}

.gradient-amber-orange {
    background: linear-gradient(to right, #f59e0b, #f97316);
}

/* Loading animation */
.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Form styles */
.form-input {
    transition: all 0.2s;
}

.form-input:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

/* Toast notification styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background-color: #10b981;
}

.toast.error {
    background-color: #ef4444;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile menu animation */
.mobile-menu-enter {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu-enter-active {
    opacity: 1;
    max-height: 300px;
    transition: opacity 0.3s, max-height 0.3s;
}

.mobile-menu-exit {
    opacity: 1;
    max-height: 300px;
}

.mobile-menu-exit-active {
    opacity: 0;
    max-height: 0;
    transition: opacity 0.3s, max-height 0.3s;
    overflow: hidden;
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(to right, #9333ea, #f97316);
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    border: 2px solid #a855f7;
    color: #7c3aed;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: #a855f7;
    color: white;
}

/* Stats counter animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Card styles */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

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

/* Tab styles */
.tab-button {
    transition: all 0.2s;
}

.tab-button.active {
    background: linear-gradient(to right, #9333ea, #f97316);
    color: white;
}

/* Footer styles */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}