/* ===============================
   OVERLAY
================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ===============================
   POPUP BOX
================================ */
.popup-box {
    background: linear-gradient(145deg, #ffffff, #f4f6ff);
    width: 92%;
    max-width: 440px;
    padding: 32px 28px;
    border-radius: 18px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(26, 42, 128, 0.25);
    animation: popupZoom 0.45s ease;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: none;
    font-size: 26px;
    color: #444;
    cursor: pointer;
}

/* Badge */
.popup-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #1A2A80, #3f5bdc);
    border-radius: 20px;
    margin-bottom: 14px;
}

/* Heading */
.popup-box h2 {
    font-size: 22px;
    color: #1A2A80;
    margin-bottom: 10px;
}

/* Subtitle */
.popup-subtitle {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Features */
.popup-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    text-align: left;
}

.popup-features li {
    font-size: 14.5px;
    color: #333;
    padding-left: 28px;
    margin-bottom: 10px;
    position: relative;
}

/* Custom check icon */
.popup-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1A2A80;
    font-weight: bold;
}

/* CTA Button */
.popup-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #1A2A80, #3f5bdc);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: pulse 2s infinite;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 42, 128, 0.35);
}

/* Trust Text */
.popup-trust {
    font-size: 12px;
    color: #666;
    margin-top: 14px;
}

/* Animations */
@keyframes popupZoom {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(63, 91, 220, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(63, 91, 220, 0); }
    100% { box-shadow: 0 0 0 0 rgba(63, 91, 220, 0); }
}
