@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(15px, 10px) rotate(3deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce-whatsapp {

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

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

/* SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    padding: 40px;
    text-align: center;
    animation: modalIn 0.4s ease;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.modal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.modal p {
    color: var(--gray);
    margin-bottom: 25px;
}

.modal .btn {
    margin: 0 auto;
}

/* UTILS */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 18px 25px;
    box-shadow: var(--shadow-lg);
    z-index: 5000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: var(--transition);
    max-width: 350px;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-message {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
}

/* INFO MODALS */
.info-modal-overlay {
    z-index: 2100;
}

.info-modal {
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    text-align: left;
    padding: 30px;
}

.info-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.info-modal .modal-close:hover {
    color: var(--dark);
}

.info-modal h3 {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    font-size: 1.4rem;
}

.info-modal-content {
    line-height: 1.8;
    color: var(--dark);
}

.info-modal-content h4 {
    color: var(--primary);
    margin: 20px 0 10px;
    font-size: 1.05rem;
    font-weight: 600;
}

.info-modal-content h4:first-child {
    margin-top: 0;
}

.info-modal-content p {
    margin: 0 0 12px;
    color: var(--gray);
}

.faq-item {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-content p,
.terms-content p {
    margin-bottom: 16px;
    text-align: justify;
}

@media (max-width: 768px) {
    .info-modal {
        max-height: 90vh;
        padding: 20px 15px;
    }
    
    .info-modal h3 {
        font-size: 1.2rem;
    }
}