/* DocFlip Logo Animation Styles */

/* Subtle entrance animation for the main hero logo */
.docflip-main-logo {
    animation: logoFadeInUp 1.2s ease-out;
}

/* Hover animation for interactive logos */
.docflip-logo-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

.docflip-logo-hover:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Gentle breathing animation for footer logo */
.docflip-footer-logo {
    animation: logoBreath 4s ease-in-out infinite;
}

/* Keyframe Animations */

/* Fade in from bottom with subtle scale */
@keyframes logoFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Gentle breathing effect */
@keyframes logoBreath {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

/* Loading animation for conversion pages */
.docflip-logo-loading {
    animation: logoSpin 2s linear infinite;
}

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

/* Pulse animation for success states */
.docflip-logo-success {
    animation: logoPulse 0.6s ease-out;
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Subtle float animation for special occasions */
.docflip-logo-float {
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Glowing effect for premium features */
.docflip-logo-glow {
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(21, 101, 192, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(21, 101, 192, 0.6));
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .docflip-main-logo,
    .docflip-footer-logo,
    .docflip-logo-float,
    .docflip-logo-loading,
    .docflip-logo-glow {
        animation: none;
    }
    
    .docflip-logo-hover:hover {
        transform: none;
        filter: none;
    }
}