/* Hover Effects for PLRBay Website */

/* Button Hover Effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(233, 75, 159, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Product Card Hover Effects */
.product-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    transition: all 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-link {
    position: relative;
    transition: all 0.3s ease;
}

.product-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent-pink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.product-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation Hover Effects */
.main-nav a {
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

/* Pricing Card Hover Effects */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.07) translateY(-5px);
}

/* Testimonial Card Hover Effects */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--color-accent-pink);
}

/* Platform Card Hover Effects */
.platform-card {
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    transition: all 0.3s ease;
}

.platform-card:hover .platform-icon {
    background-color: rgba(233, 75, 159, 0.2);
    transform: scale(1.1);
}

/* Bonus Card Hover Effects */
.bonus-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.bonus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.bonus-image {
    transition: all 0.5s ease;
}

.bonus-card:hover .bonus-image {
    transform: scale(1.05);
}

/* Footer Link Hover Effects */
.footer-column a {
    position: relative;
    transition: all 0.3s ease;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-accent-pink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-column a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Journey Step Hover Effects */
.journey-step {
    transition: all 0.3s ease;
}

.journey-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--color-accent-pink);
}

.step-image {
    transition: all 0.3s ease;
}

.journey-step:hover .step-image {
    transform: scale(1.1);
}

/* CTA Button Pulse Effect */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 75, 159, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(233, 75, 159, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 75, 159, 0);
    }
}

.btn-primary.cta-button {
    animation: pulse 2s infinite;
}

.btn-primary.cta-button:hover {
    animation: none;
}

/* Mobile-friendly hover alternatives */
@media (max-width: 767px) {
    .product-card:active,
    .pricing-card:active,
    .testimonial-card:active,
    .platform-card:active,
    .bonus-card:active,
    .journey-step:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Disable animations that might cause performance issues on mobile */
    .btn-primary.cta-button {
        animation: none;
    }
}
