/* Hide the mobile-only hero intro on desktop */
.hero-main-container > span:not(.brand-text),
.hero-main-container > span.brand-text,
.hero-main-container > h1:not(.hero-heading),
.hero-main-container > a.cta-button,
.hero-main-container > p:not(.para-1),
.hero-mobile-highlights {
    display: none;
}

@media (max-width: 768px) {
    .hero .video-div {
        position: relative;
        width: min(86vw, 34rem);
        aspect-ratio: 9 / 18.5;
        margin: 0 auto 3rem;
        padding: 1.6rem;
        border: 0;
        border-radius: 4.6rem;
        background:
            radial-gradient(circle at 50% 100%, rgba(129, 65, 255, 0.45), transparent 34%),
            linear-gradient(180deg, #120426 0%, #090212 100%);
        box-shadow:
            0 0 0 0.25rem #281044,
            0 0 0 0.7rem #06030d,
            0 1.8rem 4rem rgba(0, 0, 0, 0.5),
            0 0 3.2rem rgba(123, 53, 255, 0.24);
        overflow: visible;
    }

    .hero .video-div::before {
        content: "";
        position: absolute;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 36%;
        height: 1.8rem;
        border-radius: 0 0 1.4rem 1.4rem;
        background: #05020b;
        z-index: 4;
    }

    .hero .video-div::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -1.4rem;
        transform: translateX(-50%);
        width: 42%;
        height: 0.45rem;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(133, 77, 255, 0), rgba(133, 77, 255, 0.95), rgba(133, 77, 255, 0));
        box-shadow: 0 0 1.4rem rgba(133, 77, 255, 0.9);
    }

    .hero .video-div iframe,
    .hero .video-div .video-poster-overlay {
        position: absolute;
        top: 1.6rem;
        right: 1.6rem;
        bottom: 1.6rem;
        left: 1.6rem;
        width: auto;
        height: auto;
        border-radius: 3.2rem;
        overflow: hidden;
    }

    .hero .video-div iframe {
        display: block;
        z-index: 1;
        background: #000;
    }

    .hero .video-div .video-poster-overlay {
        z-index: 2;
        border-radius: 3.2rem;
    }

    .hero .video-div .video-poster-overlay img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 3.2rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        flex-wrap: nowrap;
        white-space: nowrap;
        font-size: clamp(1.7rem, 4vw, 2.4rem);
    }

    .hero {
        background:
            radial-gradient(circle at 50% 0%, rgba(82, 26, 164, 0.45), transparent 42%),
            linear-gradient(180deg, #090212 0%, #120321 100%);
        padding: 1.6rem 0 3.2rem;
    }

    .hero .desktop-max-width {
        padding: 0 1.6rem;
    }

    .hero-main-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Hide old desktop intro content on mobile */
    .hero-main-container > .para-1.t-center,
    .hero-main-container > .hero-heading {
        display: none;
    }

    /* Show and style the new mobile intro */
    .hero-main-container > span:not(.brand-text) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        min-height: 4rem;
        margin: 0 auto 1rem;
        padding: 0.8rem 1.8rem;
        border: 1px solid rgba(145, 83, 255, 0.75);
        border-radius: 999px;
        background: rgba(38, 13, 73, 0.4);
        box-shadow:
            inset 0 0 1.2rem rgba(124, 73, 255, 0.18),
            0 0 1.8rem rgba(108, 53, 255, 0.22);
        font-size: 1.4rem;
        font-weight: 700;
        /* letter-spacing: 0.03em; */
        line-height: 1.1;
        text-align: center;
        text-transform: uppercase;
        color: #dcb7ff;
    }

    .hero-main-container > h1:not(.hero-heading) {
        display: block;
        /* max-width: 31rem; */
        margin: 0 auto 1.6rem;
        font-size: 3.6rem;
        font-weight: 700;
        line-height: 1.3;
        /* letter-spacing: -0.05em; */
        text-align: center;
        color: #ffffff;
    }

    .hero-main-container > h1:not(.hero-heading) span {
        /* display: block; */
        color: #2e84ff;
        text-shadow: 0 0 1.8rem rgba(46, 132, 255, 0.18);
    }

    .hero-main-container > span.brand-text {
        display: block;
        /* max-width: 31rem; */
        margin: 0 auto 2rem;
        font-size: 1.65rem;
        font-weight: 400;
        line-height: 1.45;
        text-align: center;
        color: rgba(255, 255, 255, 0.8);
    }

    .hero-main-container > a.cta-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
        /* max-width: 31rem; */
        min-height: 6rem;
        margin: 0 auto 1.4rem;
        padding: 1.5rem 2rem;
        border: 2px solid #fff;
        border-radius: 1.6rem;
        background: linear-gradient(180deg, #ff443f 0%, #f51318 100%);
        box-shadow:
            0 0 0.9rem rgba(255, 74, 74, 0.45),
            0 1rem 2.5rem rgba(237, 22, 33, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.18);
        font-size: 1.95rem;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        color: #fff;
    }

    .hero-main-container > a.cta-button i {
        /* display: none; */
        margin: 0;
    }

    .hero-main-container > p:not(.para-1) {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.8rem;
        margin: 0 auto 2rem;
        font-size: 2.6rem;
        font-weight: 700;
        line-height: 1;
        color: #ff3147;
    }

    .hero-main-container > p:not(.para-1) span {
        color: rgba(255, 255, 255, 0.45);
        position: relative;
    }

    .hero-main-container > p:not(.para-1) span::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -0.95rem;
        width: 1px;
        height: 2rem;
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-50%);
    }

    .hero-mobile-highlights {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.8rem;
        width: 100%;
        margin: 0 auto 2.2rem;
    }

    .hero-mobile-highlight-card {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        min-width: 0;
        padding: 0.95rem 0.8rem;
        border: 1px solid rgba(111, 67, 214, 0.55);
        border-radius: 1.2rem;
        background: linear-gradient(180deg, rgba(28, 16, 52, 0.95) 0%, rgba(15, 8, 32, 0.98) 100%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 0.8rem 1.6rem rgba(6, 1, 15, 0.35);
    }

    .hero-mobile-highlight-card i {
        flex: 0 0 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
        font-size: 1.2rem;
        color: #a56eff;
        text-shadow: 0 0 1rem rgba(165, 110, 255, 0.5);
    }

    .hero-mobile-highlight-card span {
        min-width: 0;
        font-size: 1.15rem;
        font-weight: 500;
        line-height: 1.2;
        color: rgba(255, 255, 255, 0.88);
    }

    .hero .grid-2-col-box {
        gap: 0;
    }

    .hero .grid-2-col-item.hero-item-1 {
        gap: 1.2rem;
    }

    .hero .video-div {
        order: 1;
        width: 100%;
        aspect-ratio: 16 / 9;
        margin-top: 0.2rem;
        margin-bottom: 3rem;
        padding: 0;
        border: 3px solid #9f28f5;
        border-radius: 1.2rem;
        background: none;
        box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
        overflow: hidden;
    }

    .hero .blue-border-pill,
    .hero .heading-1,
    .hero .hero-assured,
    .hero .hero-payment,
    .hero .wplus_spdisclaimer,
    .hero .hero-item-1 > a.cta-button {
        display: none;
    }

    .hero .video-div::before,
    .hero .video-div::after {
        display: none;
    }

    .hero .video-div iframe,
    .hero .video-div .video-poster-overlay {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0.8rem;
    }

    .hero .video-div .video-poster-overlay img {
        border-radius: 0.8rem;
    }
    .mobile-view-image{width: 100%!important;}
    .heading-review-image {width: 100%;}
    .step-no {left: auto!important;}
        .feature-main-image {width: 100%}
}
