/* ---- unlock banner (first): gradient hero with mini-cards + investors preview ---- */
.amp-first-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px;
    border-radius: 48px;
    background: linear-gradient(90deg, #1874c1 0%, #1e9fe8 100%);
}

.amp-first-banner__glow {
    position: absolute;
    right: -60px;
    bottom: -90px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.amp-first-banner__content {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    max-width: 470px;
    color: #fff;
}

.amp-first-banner__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 28px;
}

.amp-first-banner__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.amp-first-banner__item img {
    flex-shrink: 0;
}

.amp-first-banner__btn {
    white-space: nowrap;
    background: #fff;
}

.amp-first-banner__mock {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 200px;
}

@media screen and (max-width: 991px) {
    .amp-first-banner__mock {
        margin-right: 45px;
        margin-left: -35px;
    }
}

.amp-first-banner__mini-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 14px 32px rgba(11, 40, 80, .18);
}

.amp-first-banner__mini-card--right {
    align-self: flex-end;
}

.amp-first-banner__pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    background: linear-gradient(90deg, #1e9fe8 0%, #85daff 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.amp-first-banner__mini-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amp-first-banner__mini-body svg {
    flex-shrink: 0;
}

.amp-first-banner__mini-body b {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1874c1;
}

.amp-first-banner__status {
    display: inline-flex;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(20, 163, 77, .12);
    color: #14a34d;
    font-size: 11px;
    font-weight: 700;
}

.amp-first-banner__results {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 380px;
    margin-left: -50px;
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 20px 44px rgba(11, 40, 80, .22);
}

@media screen and (max-width: 767px) {
    .amp-first-banner__results {
        margin-left: 0;
    }
}

.banner-rectangle-first {
    position: absolute;
    right: 135px;
    bottom: -155px;
    width: 96px;
    height: 371px;

    background: linear-gradient(89.63deg, #FFFFFF 0.32%, rgba(255, 255, 255, 0.25) 99.68%);
    opacity: 0.5;
    box-shadow: 0px 0px 81.2px -1px #ECF6FF;
    border-radius: 243.5px;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 0;
}

.banner-rectangle-second {
    position: absolute;
    right: 325px;
    bottom: -250px;
    width: 170px;
    height: 591px;

    background: linear-gradient(89.63deg, #FFFFFF 0.32%, rgba(255, 255, 255, 0.25) 99.68%);
    opacity: 0.5;
    box-shadow: 0px 0px 81.2px -1px #ECF6FF;
    border-radius: 243.5px;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 0;
}

@media screen and (max-width: 991px) {
    .banner-rectangle-first {
        right: 220px;
        bottom: -180px;
    }

    .banner-rectangle-second {
        right: 30px;
        bottom: -40px;
        width: 313px;
        height: 95px;
        transform: rotate(180deg);
        background: linear-gradient(180deg, #FFFFFF 0.32%, rgba(255, 255, 255, 0.25) 99.68%);
    }
}

@media screen and (max-width: 767px) {
    .banner-rectangle-first {
        display: none;
    }

    .banner-rectangle-second {
        display: none;
    }
}

.amp-first-banner__results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.amp-first-banner__results-new {
    font-size: 12px;
    font-weight: 700;
    color: #14a34d;
    white-space: nowrap;
}

.amp-first-banner__results-img {
    display: block;
    width: 100%;
    height: auto;
}

/* the screenshot is cropped mid-row/mid-tag on its right edge — fade that
   into white instead of showing a hard cut. Shared across all three banners
   (third banner also combines this with its own bottom-crop fade). */
.amp-results-img-wrap {
    position: relative;
    overflow: hidden;
}

.amp-results-img-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 16%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .amp-first-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        border-radius: 28px;
        gap: 20px;
    }
}

/* ---- unlock banner (second): compact row layout, tablet overlap, no global-coverage card ---- */
.amp-second-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 48px;
    border-radius: 48px;
    background: linear-gradient(90deg, #1874c1 0%, #1e9fe8 100%);
}

.data-summary .section--big > .container-custom {
    padding-left: 0;
    padding-right: 0;
}

.amp-second-banner__glow {
    position: absolute;
    right: 20%;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.amp-second-banner__content {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    max-width: 360px;
    color: #fff;
}

.amp-second-banner__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 16px;
}

.amp-second-banner__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.amp-second-banner__item img {
    flex-shrink: 0;
}

.amp-second-banner__cards {
    display: none;
    z-index: 1;
    flex-shrink: 0;
}

.amp-second-banner__results {
    position: relative;
    z-index: 1;
    width: 280px;
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 20px 44px rgba(11, 40, 80, .22);
}

.amp-second-banner__mini-card {
    position: relative;
    z-index: 2;
}

.amp-second-banner__btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    white-space: nowrap;
    background: #fff;
}

.amp-second-banner__btn--inline {
    margin-top: 20px;
}

/* the desktop-row button is a separate element (rather than reflowing the same
   one) so the tablet layout can stay a simple two-column split: content+button
   on the left, cards on the right */
.amp-second-banner__btn--desktop {
    display: none;
}

/* tablet: two columns — content (with its own inline button) on the left,
   cards on the right; New Fund IV sits lower and overlaps ~15% into the
   Investors card's bottom-left corner; both cards size to their own content */
@media (min-width: 768px) {
    .amp-second-banner__cards {
        display: inline-flex;
        align-items: flex-start;
        justify-content: end;
    }

    .amp-second-banner__mini-card {
        align-self: flex-end;
        margin-right: -15%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .amp-second-banner__list {
        flex-direction: column;
        gap: 10px;
    }

    .amp-second-banner {
        padding: 32px;
        gap: 16px;
    }

    .amp-second-banner__content {
        max-width: 300px;
    }

    /* fixed-size, absolutely-positioned overlap instead of the inline-flex +
       percentage negative-margin trick — that percentage resolves against an
       auto-sized (shrink-to-fit) container, so its actual footprint isn't
       predictable/reducible and was still overflowing into a wrap around 810px */
    .amp-second-banner__cards {
        position: relative;
        display: block;
        width: 276px;
        height: 188px;
    }

    .amp-second-banner__results {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 5;
        width: 240px;
    }

    .amp-second-banner__mini-card {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 6;
        width: 150px;
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .amp-second-banner__content {
        max-width: 520px;
    }

    .amp-second-banner__list {
        flex-wrap: nowrap;
        gap: 8px 16px;
    }

    .amp-second-banner__cards {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .amp-second-banner__mini-card {
        align-self: center;
        margin-right: 0;
    }

    .amp-second-banner__btn--inline {
        display: none;
    }

    .amp-second-banner__btn--desktop {
        display: inline-flex;
    }
}

@media screen and (max-width: 767px) {
    .amp-second-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        border-radius: 28px;
        gap: 20px;
    }

    .amp-second-banner__list {
        flex-direction: column;
        gap: 10px;
    }

    .amp-second-banner__btn {
        width: 100%;
    }
}

/* ---- unlock banner (third, onboarding success): plain text (no checklist),
   cards shown on desktop only, "Upgrade" CTA with a price caption ---- */
.amp-third-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 48px;
    border-radius: 48px;
    background: linear-gradient(90deg, #1874c1 0%, #1e9fe8 100%);
}

.amp-third-banner__glow {
    position: absolute;
    right: 20%;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.amp-third-banner__content {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    align-self: flex-start;
    max-width: 527px;
    color: #fff;
}

.amp-third-banner__text {
    font-size: 15px;
    line-height: 1.5;
    margin: 12px 0 0;
    opacity: .9;
}

.amp-third-banner__cards {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.amp-third-banner__upgrade {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-right: 19px;
    margin-left: 35px;
}

.amp-third-banner__btn {
    white-space: nowrap;
    padding: 14px 24px;
    width: 170%;
    background: #fff;
}

.amp-third-banner__price {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .amp-third-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        border-radius: 28px;
        gap: 20px;
    }

    .amp-third-banner__upgrade {
        width: 100%;
        margin: 0;
    }

    .amp-third-banner__btn {
        width: 100%;
    }
}
