/* Custom Animations and Transitions */

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* FAQ Transitions */
.faq-answer {
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-bottom: 1.25rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Modal Animations */
#offer-modal {
    transition: opacity 0.3s ease-out;
}

#offer-modal.active {
    display: flex;
    opacity: 1;
}

#offer-modal .modal-content {
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#offer-modal.active .modal-content {
    transform: scale(1);
}

/* Carousel Styles */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-out;
}

/* Button Hover Effects */
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.3);
}

.upsell-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.3);
}

/* General Utilities */
.selection\:bg-sky-200::selection {
    background-color: #bae6fd;
}

.selection\:text-sky-900::selection {
    background-color: #0c4a6e;
}
