/* Universal Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: linear-gradient(135deg, #258b91 0%, #30e6e9 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #0bddb3;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #01393b;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.popup-close:hover {
    transform: scale(1.2);
}

.popup-subtitle {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 500;
}

.popup-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a2e;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Animation */
.popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.popup-content.show {
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .popup-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-subtitle {
        font-size: 16px;
    }
}

/* Floating WhatsApp CTA (mobile) */
.floating-whatsapp-btn {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.565);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
    z-index: 9998;
    gap: 20px;
}

.floating-whatsapp-btn__info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.floating-whatsapp-btn__title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0;
    letter-spacing: 0.2px;
}

.floating-whatsapp-btn__subtitle {
    font-size: 12px;
    color: #666;
    margin: 4px 0 0 0;
}

.floating-whatsapp-btn__action {
    background: linear-gradient(101deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.floating-whatsapp-btn__action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.4);
}

@media (max-width: 768px) {
    .floating-whatsapp-btn {
        display: flex;
    }
}

@media (max-width: 480px) {
    .floating-whatsapp-btn {
        flex-direction: column;
        gap: 12px;
    }

    .floating-whatsapp-btn__action {
        width: 100%;
        text-align: center;
    }
}

.floating-whatsapp-btn__subtitle{
    display: none;
}