/* landing-animations.css */

/* Background Animations */
.bg-animated-shape {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    animation: drift 20s infinite alternate ease-in-out;
    opacity: 0.6;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -5s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -50px) scale(1.1);
    }
}

/* Floating Animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Micro-interactions for Buttons */
.btn-hover-glow {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.btn-hover-glow:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.btn-hover-scale {
    transition: all 0.3s ease;
}

.btn-hover-scale:hover {
    transform: translateY(-2px);
    background-color: rgba(13, 110, 253, 0.1);
}

/* Feature Cards Interactivity */
.feature-card-animated {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card-animated:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 110, 253, 0.3);
}

.feature-card-animated:hover svg {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

.feature-card-animated svg {
    transition: transform 0.3s ease;
}

/* Pricing Card Highlight Glow */
.pricing-glow {
    animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
        border-color: rgba(13, 110, 253, 0.4);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
        border-color: rgba(13, 110, 253, 1);
    }
}

/* Navbar Glass Effect */
.navbar-glass {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

/* General Layout adjustments */
.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
    position: relative;
}

.z-0 {
    z-index: 0;
    position: relative;
}

/* Testimonials Marquee */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 0;
    pointer-events: none;
    /* Allows hover on cards through wrapper */
}

.marquee-row {
    display: flex;
    gap: 2rem;
    width: max-content;
    pointer-events: auto;
    /* Re-enable pointer events on track */
}

.marquee-row:hover {
    animation-play-state: paused;
}

.marquee-left {
    animation: marquee-scroll-left 40s linear infinite;
}

.marquee-right {
    animation: marquee-scroll-right 40s linear infinite;
}

@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.testimonial-card-width {
    width: 400px;
    flex-shrink: 0;
}