/* ==========================================
   Demo Popup
========================================== */

.demo-popup{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.65);
    display:flex;
    justify-content:center;
    align-items:center;
    padding:24px;
    opacity:0;
    visibility:hidden;
    transition:all .3s ease;
    z-index:9999;
}

.demo-popup.active{
    opacity:1;
    visibility:visible;
}

.demo-box{
    width:100%;
    max-width:520px;
    background:#fff;
    border-radius:24px;
    padding:36px;
    position:relative;
    box-shadow:0 20px 60px rgba(0,0,0,.18);
    animation:popupIn .25s ease;
}

@keyframes popupIn{

    from{
        transform:translateY(20px) scale(.97);
        opacity:0;
    }

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

}

.demo-close{
    position:absolute;
    right:18px;
    top:18px;
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:#F3F4F6;
    cursor:pointer;
    font-size:22px;
    line-height:1;
    transition:.2s;
}

.demo-close:hover{
    background:#E5E7EB;
}

.demo-header{
    margin-bottom:28px;
}

.demo-header h2{
    margin:0 0 10px;
    font-size:32px;
    color:#2B236F;
}

.demo-header p{
    color:#6B7280;
    line-height:1.7;
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#374151;
}

.required{
    color:#EF4444;
}

.form-group input{
    width:100%;
    padding:14px 16px;
    border:1px solid #D1D5DB;
    border-radius:12px;
    font-size:15px;
    transition:.2s;
    box-sizing:border-box;
}

.form-group input:focus{
    outline:none;
    border-color:#8A3FFC;
    box-shadow:0 0 0 3px rgba(138,63,252,.15);
}

.demo-submit{
    width:100%;
    margin-top:8px;
}

.demo-privacy{
    margin-top:20px;
    font-size:13px;
    color:#6B7280;
    text-align:center;
}
@media (max-width:768px){

    .demo-box{
        padding:28px;
    }

    .demo-header h2{
        font-size:26px;
    }

}