#bookPopup {
    --launch-navy: #11185b;
    --launch-indigo: #36348d;
    --launch-gold: #ffc83d;
    --launch-ink: #101541;
}

#bookPopup .modal-dialog {
    max-width: 1180px;
}

#bookPopup .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(10, 13, 52, .32);
}

.launch-popup-close {
    position: absolute;
    z-index: 8;
    right: 20px;
    top: 18px;
    width: 42px;
    height: 42px;
    padding: 12px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 8px 28px rgba(15, 19, 62, .15);
    opacity: 1;
}

.launch-popup-visual {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 35px 130px;
    background: radial-gradient(circle at 65% 65%, #403e9d, #262471 55%, #111653 100%);
}

.launch-popup-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.03), transparent 50%);
}

.launch-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
}

.launch-orbit-one {
    width: 470px;
    height: 470px;
}

.launch-orbit-two {
    width: 330px;
    height: 330px;
    border-style: dashed;
}

.launch-books {
    position: relative;
    z-index: 2;
    width: min(92%, 430px);
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 55px rgba(0,0,0,.35);
    transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
}

.launch-saving {
    position: absolute;
    z-index: 3;
    right: 32px;
    top: 46%;
    width: 118px;
    height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--launch-ink);
    background: var(--launch-gold);
    border: 8px solid rgba(255,255,255,.24);
    border-radius: 50%;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.launch-saving strong {
    font-size: 27px;
    line-height: 1;
}

.launch-saving span {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
}

.launch-trust {
    position: absolute;
    z-index: 3;
    left: 32px;
    right: 32px;
    bottom: 35px;
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 18px 20px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 17px;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(10px);
}

.launch-trust strong, .launch-trust small {
    display: block;
}

.launch-trust small {
    margin-top: 2px;
    color: rgba(255,255,255,.78);
}

.launch-shield {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    color: var(--launch-gold);
    background: rgba(255,200,61,.12);
    border-radius: 12px;
}

.launch-popup-form {
    padding: 20px 30px 10px;
    background: radial-gradient(circle at 100% 0, #f1f1ff, #fff 45%);
}

.launch-popup-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding-right: 38px;
}

.launch-popup-top img {
    width: 165px;
    height: auto;
}

.launch-popup-top span {
    padding: 12px 17px;
    color: #626680;
    border: 1px solid #e4e5f2;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.launch-eyebrow {
    margin: 0 0 12px;
    color: #ff7a2b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.launch-popup-form h2 {
    margin: 0;
    color: var(--launch-ink);
    font-size: clamp(34px, 3vw, 51px);
    line-height: 1.08;
    letter-spacing: -2.2px;
}

.launch-popup-form h2 em {
    display: block;
    color: var(--launch-indigo);
    font-style: normal;
}

.launch-copy {
    margin: 17px 0 26px;
    color: #74778f;
    font-size: 15px;
    line-height: 1.6;
}

.launch-form .row > div:nth-child(1), .launch-form .row > div:nth-child(2) {
    width: 50%;
}

.launch-form .fldset {
    margin-bottom: 16px;
}

.launch-form label {
    display: block;
    margin-bottom: 8px;
    color: #42465e;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.launch-form input, .launch-form textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    color: #34374d;
    border: 1px solid #dfe1ed;
    border-radius: 14px;
    outline: 0;
    background: #fafaff !important;
    transition: border-color .2s, box-shadow .2s;
}

.launch-form textarea {
    min-height: 82px;
    resize: vertical;
}

.launch-form input:focus, .launch-form textarea:focus {
    border-color: var(--launch-indigo);
    box-shadow: 0 0 0 4px rgba(54,52,141,.1);
}

.launch-form button {
    width: 100%;
    min-height: 58px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 17px 13px 22px;
    color: #fff;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #36348d, #22206f);
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(54,52,141,.24);
}

.launch-form button i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--launch-ink);
    background: var(--launch-gold);
    border-radius: 10px;
}

@media (max-width: 991px) {
    #bookPopup .modal-dialog {
        max-width: 700px;
    }

    .launch-popup-visual {
        min-height: 260px;
        padding: 30px 25px;
    }

    .launch-books {
        width: 260px;
        height: 180px;
    }

    .launch-orbit-one {
        width: 300px;
        height: 300px;
    }

    .launch-orbit-two {
        width: 210px;
        height: 210px;
    }

    .launch-saving {
        width: 85px;
        height: 85px;
        right: 14%;
        top: 38%;
        border-width: 5px;
    }

    .launch-saving strong {
        font-size: 21px;
    }

    .launch-trust {
        display: none;
    }

    .launch-popup-form {
        padding: 38px 35px 30px;
    }
}

@media (max-width: 575px) {
    #bookPopup .modal-dialog {
        margin: 10px;
    }

    #bookPopup .modal-content {
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        border-radius: 20px;
    }

    .launch-popup-visual {
        display: none;
    }

    .launch-popup-form {
        padding: 64px 20px 22px;
    }

    .launch-popup-top {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    .launch-popup-top img {
        width: 145px;
    }

    .launch-popup-top span {
        display: none;
    }

    .launch-popup-form h2 {
        font-size: 34px;
        letter-spacing: -1.4px;
    }

    .launch-copy {
        font-size: 14px;
    }

    .launch-form .row > div:nth-child(1), .launch-form .row > div:nth-child(2) {
        width: 100%;
    }
}
