/* ================================================
   WETAKEPROFIT LANDING PAGE - ANIMATIONS CSS
   Charte graphique: #1c78bb (bleu) et #D4AC51 (or logo)
   ================================================ */

/* Animation de gradient qui se déplace */
@keyframes gradient-x {
    0%, 100% {
        background-size: 200% 200%;
        background-position: left center;
    }
    50% {
        background-size: 200% 200%;
        background-position: right center;
    }
}

.animate-gradient-x {
    animation: gradient-x 6s ease infinite;
}

/* Pulse glow effect avec les couleurs de la charte */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(28, 120, 187, 0.4), 0 0 40px rgba(28, 120, 187, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(212, 172, 81, 0.6), 0 0 60px rgba(212, 172, 81, 0.3);
        transform: scale(1.05);
    }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Float animation pour les éléments flottants */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

/* Card hover effect */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28, 120, 187, 0.2), 0 10px 20px rgba(212, 172, 81, 0.15);
}

/* Gradient background animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bg-gradient-animated {
    background: linear-gradient(270deg, #1c78bb, #D4AC51, #1c78bb);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

/* Shimmer effect pour les textes */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #1c78bb 0%, #D4AC51 50%, #1c78bb 100%);
    background-size: 1000px 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Bounce effect pour les icônes */
@keyframes bounce-soft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bounce-soft {
    animation: bounce-soft 2s ease-in-out infinite;
}

/* Rotation lente */
@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Slide in from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Slide in from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Scale in animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* Glow text animation */
@keyframes glow-text {
    0%, 100% {
        text-shadow: 0 0 10px rgba(28, 120, 187, 0.5),
                     0 0 20px rgba(28, 120, 187, 0.3),
                     0 0 30px rgba(28, 120, 187, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(212, 172, 81, 0.6),
                     0 0 30px rgba(212, 172, 81, 0.4),
                     0 0 40px rgba(212, 172, 81, 0.3);
    }
}

.glow-text {
    animation: glow-text 3s ease-in-out infinite;
}

/* Ripple effect */
@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(28, 120, 187, 0.7),
                    0 0 0 0 rgba(212, 172, 81, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(28, 120, 187, 0.3),
                    0 0 0 25px rgba(212, 172, 81, 0.3);
    }
    100% {
        box-shadow: 0 0 0 30px rgba(28, 120, 187, 0),
                    0 0 0 50px rgba(212, 172, 81, 0);
    }
}

.ripple {
    animation: ripple 2s ease-out infinite;
}

/* Typing animation */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typing {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40, end);
}

/* Wave animation pour crypto icons */
@keyframes wave-crypto {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.6;
    }
}

.crypto-icon {
    font-size: 2rem;
    color: #1c78bb;
    opacity: 0.3;
    position: absolute;
    animation: wave-crypto 6s ease-in-out infinite;
    pointer-events: none;
}

.crypto-icon:nth-child(even) {
    color: #D4AC51;
    animation-delay: 1s;
}

/* Progress bar animation */
@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.progress-bar {
    animation: progress 2s ease-out;
}

/* Count up animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.count-up {
    animation: countUp 0.8s ease-out;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover grow effect */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

/* Gradient border animation */
@keyframes gradient-border {
    0%, 100% {
        border-image-source: linear-gradient(90deg, #1c78bb, #D4AC51);
    }
    50% {
        border-image-source: linear-gradient(90deg, #D4AC51, #1c78bb);
    }
}

.gradient-border {
    border: 2px solid;
    border-image-slice: 1;
    animation: gradient-border 3s ease infinite;
}

/* Skeleton loading animation */
@keyframes skeleton {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, 
        rgba(28, 120, 187, 0.1) 25%, 
        rgba(212, 172, 81, 0.2) 50%, 
        rgba(28, 120, 187, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
}

/* Shake animation */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Delay utilities */
.animation-delay-1000 {
    animation-delay: 1s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-3000 {
    animation-delay: 3s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Background grid pattern */
.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(28, 120, 187, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 120, 187, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Smooth transitions */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects pour boutons */
.btn-primary {
    background: linear-gradient(135deg, #1c78bb 0%, #D4AC51 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1c78bb 100%, #D4AC51 0%);
    box-shadow: 0 10px 30px rgba(28, 120, 187, 0.3), 0 5px 15px rgba(212, 172, 81, 0.2);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(28, 120, 187, 0.2), 0 2px 8px rgba(212, 172, 81, 0.15);
}


