/* Pop-up Banner Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-banner {
    position: relative;
    background: white;
    max-width: 600px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
    z-index: 9999;
}

.popup-header {
    background: linear-gradient(135deg, #2c4a75 0%, #3d5a80 100%);
    color: white;
    padding: 40px 40px 30px;
    text-align: center;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #98c1d9;
}

.popup-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    color: white;
}

.popup-header p {
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
    color: white;
}

.popup-body {
    padding: 35px 40px 40px;
    text-align: center;
}

.popup-benefits {
    list-style: none;
    padding: 0;
    margin: 25px 0 30px;
    text-align: left;
}

.popup-benefits li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 16px;
    color: #333;
}

.popup-benefits li i {
    color: #2c4a75;
    font-size: 20px;
    margin-right: 15px;
    min-width: 20px;
}

.popup-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.popup-btn-primary {
    background: #2c4a75;
    color: white;
}

.popup-btn-primary:hover {
    background: #3d5a80;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 74, 117, 0.3);
}

.popup-btn-secondary {
    background: transparent;
    color: #2c4a75;
    border: 2px solid #2c4a75;
}

.popup-btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.popup-footer {
    padding: 20px 40px;
    background: #f8f9fa;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.popup-footer a {
    color: #2c4a75;
    text-decoration: none;
    font-weight: 500;
}

.popup-footer a:hover {
    text-decoration: underline;
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .popup-banner {
        width: 95%;
        max-width: none;
        margin: 20px;
    }

    .popup-header {
        padding: 30px 25px 25px;
    }

    .popup-header h3 {
        font-size: 24px;
    }

    .popup-header p {
        font-size: 15px;
    }

    .popup-body {
        padding: 25px 25px 30px;
    }

    .popup-benefits li {
        font-size: 15px;
    }

    .popup-cta-buttons {
        flex-direction: column;
    }

    .popup-btn {
        width: 100%;
        justify-content: center;
    }

    .popup-footer {
        padding: 15px 25px;
        font-size: 12px;
    }

    .popup-icon {
        font-size: 40px;
    }
}

/* Small devices */
@media (max-width: 480px) {
    .popup-banner {
        max-height: 90vh;
        overflow-y: auto;
    }

    .popup-header h3 {
        font-size: 22px;
    }

    .popup-benefits {
        margin: 20px 0 25px;
    }

    .popup-benefits li {
        padding: 10px 0;
        font-size: 14px;
    }
}
