.msb-landing-popup {
    display: none;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    padding: 24px;
    align-items: center;
    justify-content: center;
    background: rgba(9, 30, 66, 0.54);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.msb-landing-popup.active {
    display: flex;
    visibility: visible;
}

.msb-landing-popup .msb-target-popup__inner {
    width: 100%;
    max-height: 90vh;
    position: relative;
    background: #ffffff;
    padding: 24px;
    border: 1px solid #dee5ef;
    border-radius: 24px;
    box-shadow: 0px 8px 32px 0px rgba(29, 41, 57, 0.15);
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 767px) {
    .msb-landing-popup .msb-target-popup__inner {
        max-height: 95vh;
        border-radius: 16px;
    }
}

.msb-landing-popup .msb-target-popup__container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.msb-landing-popup .msb-target-popup__image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.msb-landing-popup .msb-target-popup__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media only screen and (max-width: 767px) {
    .msb-landing-popup .msb-target-popup__image {
        border-radius: 12px;
        margin-bottom: 16px;
    }
}

.msb-landing-popup .msb-target-popup__close {
    position: absolute;
    right: 10px;
    top: 0px;
    width: 24px;
    height: 24px;
    background: transparent;
    z-index: 10;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.msb-landing-popup .msb-target-popup__close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.msb-landing-popup .msb-target-popup__close img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.msb-landing-popup .msb-target-popup__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.msb-landing-popup .msb-content-text__text {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
    min-height: 0;
}

/* Custom scrollbar for content overflow */
.msb-landing-popup .msb-content-text__text::-webkit-scrollbar {
    width: 6px;
}
.msb-landing-popup .msb-content-text__text::-webkit-scrollbar-track {
    background: transparent;
}
.msb-landing-popup .msb-content-text__text::-webkit-scrollbar-thumb {
    background: #dde3ef;
    border-radius: 3px;
}

.msb-landing-popup .msb-content-text__title {
    font-size: 24px;
    font-weight: 700;
    color: #091e42;
    margin: 0;
    line-height: 1.35;
}

@media only screen and (max-width: 767px) {
    .msb-landing-popup .msb-content-text__title {
        font-size: 18px;
    }
}

.msb-landing-popup .msb-content-text__desc {
    font-size: 15px;
    line-height: 1.6;
    color: #505f79;
    flex: 1;
}

.msb-landing-popup .msb-content-text__desc p {
    margin: 0 0 16px 0;
}

.msb-landing-popup .msb-content-text__desc p:last-child {
    margin-bottom: 0;
}

.msb-landing-popup .msb-content-text__cta-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    flex-shrink: 0;
}

@media only screen and (max-width: 767px) {
    .msb-landing-popup .msb-content-text__cta-container {
        margin-top: 16px;
    }
}

.msb-landing-popup .msb-content-text__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    min-width: 120px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(90deg, #F3600C 0%, #F8A06D 100%);
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.1s ease;
    box-shadow: 0px 4px 12px rgba(243, 96, 12, 0.2);
}

.msb-landing-popup .msb-content-text__cta-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0px 6px 16px rgba(243, 96, 12, 0.3);
}
