  /* ===== Overlay ===== */
.lead-popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.75);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    z-index:999999;
}

/* ===== Main Popup Box ===== */
.lead-popup-content{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:95%;
    max-width:440px;
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:
        0 25px 60px rgba(0,0,0,.18),
        0 10px 20px rgba(0,0,0,.08);
}

/* Popup Animation */
@keyframes popupShow{
    from{
        opacity:0;
        transform:translate(-50%,-45%) scale(.92);
    }
    to{
        opacity:1;
        transform:translate(-50%,-50%) scale(1);
    }
}

/* ===== Header ===== */
.popup-header{
    background:linear-gradient(135deg,#0066ff,#00b894);
    padding:35px 25px 30px;
    text-align:center;
    color:#fff;
    position:relative;
}

.popup-header::before{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    top:-90px;
    right:-60px;
}

.popup-header::after{
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    bottom:-50px;
    left:-40px;
}

/* Offer Badge */
.offer-badge{
    display:inline-block;
    background:rgba(255,255,255,.18);
    color:#fff;
    padding:8px 18px;
    border-radius:50px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.5px;
    margin-bottom:15px;
}

.popup-header h3{
    margin:5px 0;
    color:#fff;
    font-size:22px;
    font-weight:700;
}

.popup-header p{
    margin-top:8px;
    font-size:14px;
    opacity:.95;
    color:#fff;
}

/* ===== Close Button ===== */
.lead-close{
    position:absolute;
    top:15px;
    right:18px;
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:22px;
    z-index:9;
    transition:.3s;
}

.lead-close:hover{
    background:#fff;
    color:#0066ff;
}

/* ===== Body ===== */
.popup-body{
    padding:15px;
}

/* Trust Features */
.popup-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-bottom:20px;
}

.popup-features span{
    background:#f8fafc;
    border:1px solid #edf2f7;
    padding:10px;
    border-radius:12px;
    text-align:center;
    font-size:13px;
    font-weight:600;
    color:#444;
}

/* ===== Inputs ===== */
.form-group{
    margin-bottom:8px;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    border:1px solid #dce3ec;
    border-radius:10px;
    padding:10px 12px;
    font-size:13px;
    background:#fff;
    transition:.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline:none;
    border-color:#0066ff;
    box-shadow:0 0 0 4px rgba(0,102,255,.12);
}

.form-group textarea{
    resize:none;
    min-height:70px;
}

/* ===== Checkbox ===== */
.consent-box{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin:8px 0;
    font-size:10px;
    color:#555;
    line-height:1.5;
}

.consent-box input{
    margin-top:3px;
}

/* ===== Submit Button ===== */
.submit-btn{
    width:100%;
    border:none;
    background:linear-gradient(135deg,#0066ff,#00b894);
    color:#fff;
    padding:12px;
    border-radius:14px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 10px 20px rgba(0,102,255,.20);
}

.submit-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(0,102,255,.25);
}

/* ===== Mobile ===== */
@media(max-width:480px){

    .lead-popup-content{
        width:95%;
        max-width:95%;
        border-radius:20px;
    }

    .popup-header{
        padding:20px 18px;
    }

    .popup-header h3{
        font-size:24px;
    }

    .popup-body{
        padding:20px;
    }
}

/* ===== Recaptcha Fix ===== */
.g-recaptcha{
    transform:scale(.92);
    transform-origin:left center;
    margin:10px 0 15px;
}
.form-row{
    display:flex;
    gap:8px;
}

.form-row .form-group{
    flex:1;
}

.popup-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-bottom:18px;
}

.popup-features div{
    background:#f7f9fc;
    border:1px solid #e9eef5;
    border-radius:12px;
    padding:12px;
    text-align:center;
    font-size:13px;
    font-weight:600;
}

.popup-header{
    padding:28px 20px;
}

.popup-body{
    padding:20px;
}

.popup-subtitle{
    font-size:20px;
    font-weight:700;
    color:#fff;
    margin-top:10px;
}

@media(max-width:768px){

    .form-row{
        display:block;
    }

    .form-row .form-group{
        width:100%;
    }

    .lead-popup-content{
        max-width:95%;
    }

}