/* =========================================================
   NEXUS / USECASES V3
   Clean isolated namespace to avoid old V2 CSS collisions.
   IMPORTANT: load this file AFTER home-v2.css.
   ========================================================= */

.nxu3,
.nxu3 * {
    box-sizing: border-box;
}

.nxu3 {
    direction: rtl;
    width: 100%;
    margin-top: 34px;
    color: #14243a;
}

.nxu3 a {
    color: inherit;
    text-decoration: none;
}

.nxu3 img {
    display: block;
    max-width: 100%;
}

.nxu3__head {
    margin-bottom: 20px;
}

.nxu3__head > div {
    max-width: 780px;
    margin-right: 0;
}

.nxu3__eyebrow {
    display: block;
    color: #0b5ea8;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}

.nxu3__head h2 {
    margin: 4px 0 0;
    color: #14243a;
    font-size: clamp(27px, 2.15vw, 35px);
    font-weight: 900;
    line-height: 1.5;
}

.nxu3__head p {
    margin: 7px 0 0;
    color: #607086;
    font-size: 12px;
    line-height: 1.9;
}


/* =========================
   Four image cards
   ========================= */

.nxu3__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.nxu3-card {
    position: relative;
    display: block;
    min-width: 0;
    aspect-ratio: .845;
    overflow: hidden;
    border: 0;
    border-radius: 23px;
    background-image: var(--nxu3-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    box-shadow: 0 13px 32px rgba(18, 50, 82, .10);
    isolation: isolate;
    transform: translateZ(0);
    transition: transform .2s ease, box-shadow .2s ease;
}

.nxu3-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(18, 50, 82, .16);
}

.nxu3-card__shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(2, 14, 28, 0) 0%,
            rgba(2, 14, 28, .01) 38%,
            rgba(2, 14, 28, .18) 56%,
            rgba(2, 14, 28, .56) 75%,
            rgba(2, 14, 28, .90) 100%
        );
}

.nxu3-card__body {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 17px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.nxu3-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(235, 245, 253, .90);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
}

.nxu3-card__meta img {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    opacity: .96;
}

.nxu3-card__title {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 11px;
    color: #fff;
    font-size: clamp(18px, 1.28vw, 22px);
    font-weight: 900;
    line-height: 1.68;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .18);
}

.nxu3-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    margin-top: 20px;
    padding: 7px 15px;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 999px;
    background: rgba(8, 29, 52, .13);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    transition: background .18s ease, border-color .18s ease;
}

.nxu3-card__cta img {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    transition: transform .18s ease;
}

.nxu3-card:hover .nxu3-card__cta {
    border-color: rgba(255, 255, 255, .70);
    background: rgba(255, 255, 255, .08);
}

.nxu3-card:hover .nxu3-card__cta img {
    transform: translateX(-2px);
}


/* =========================
   Main trust strip
   target RTL order:
   14+ / price / compare / guide
   ========================= */

.nxu3-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 35px;
    overflow: hidden;
    border: 1px solid #dce6ef;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 56, 91, .04);
}

.nxu3-trust__item {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    min-width: 0;
    min-height: 142px;
    padding: 22px 24px 31px;
    background: #fff;
    transition: background .18s ease;
}

a.nxu3-trust__item:hover {
    background: #f9fcff;
}

.nxu3-trust__item + .nxu3-trust__item {
    border-right: 1px solid #e1e9f1;
}

.nxu3-trust__iconbox {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    background: #edf6ff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.nxu3-trust__iconbox img {
    width: 31px;
    height: 31px;
}

.nxu3-trust__copy {
    min-width: 0;
}

.nxu3-trust__copy strong {
    display: block;
    color: #0b5ea8;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.55;
    white-space: nowrap;
}

.nxu3-trust__copy small {
    display: block;
    margin-top: 5px;
    color: #607086;
    font-size: 10px;
    line-height: 1.7;
    white-space: nowrap;
}

.nxu3-trust__arrow {
    position: absolute;
    bottom: 12px;
    left: 24px;
    display: grid;
    width: 27px;
    height: 22px;
    place-items: center;
    border-radius: 8px;
    transition: transform .18s ease, background .18s ease;
}

.nxu3-trust__arrow img {
    width: 17px;
    height: 17px;
}

a.nxu3-trust__item:hover .nxu3-trust__arrow {
    transform: translateX(-2px);
    background: #edf6ff;
}

.nxu3-trust__item--years {
    padding-bottom: 22px;
}


/* =========================
   Secondary benefits row
   target RTL order:
   shipping / authenticity / support / payment
   ========================= */

.nxu3-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}

.nxu3-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 0;
    min-height: 72px;
    padding: 11px 20px;
}

.nxu3-benefit + .nxu3-benefit {
    border-right: 1px solid #dfe8f0;
}

.nxu3-benefit__icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 50%;
    background: #edf6ff;
}

.nxu3-benefit__icon img {
    width: 25px;
    height: 25px;
}

.nxu3-benefit__copy strong {
    display: block;
    color: #0b5ea8;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.55;
    white-space: nowrap;
}

.nxu3-benefit__copy small {
    display: block;
    margin-top: 3px;
    color: #607086;
    font-size: 9px;
    line-height: 1.55;
    white-space: nowrap;
}


/* =========================
   Desktop / laptop tuning
   ========================= */

@media (max-width: 1366px) and (min-width: 901px) {
    .nxu3__cards {
        gap: 13px;
    }

    .nxu3-card {
        border-radius: 20px;
        aspect-ratio: .86;
    }

    .nxu3-card__body {
        right: 17px;
        bottom: 15px;
        left: 17px;
    }

    .nxu3-card__meta {
        font-size: 10.5px;
    }

    .nxu3-card__meta img {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
    }

    .nxu3-card__title {
        margin-top: 8px;
        font-size: 17px;
        line-height: 1.65;
    }

    .nxu3-card__cta {
        min-height: 36px;
        margin-top: 13px;
        padding: 6px 12px;
        font-size: 9.5px;
    }

    .nxu3-trust {
        margin-top: 27px;
    }

    .nxu3-trust__item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 11px;
        min-height: 112px;
        padding: 16px 17px 28px;
    }

    .nxu3-trust__iconbox {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .nxu3-trust__iconbox img {
        width: 27px;
        height: 27px;
    }

    .nxu3-trust__copy strong {
        font-size: 12.5px;
    }

    .nxu3-trust__copy small {
        font-size: 9px;
    }

    .nxu3-trust__arrow {
        bottom: 8px;
        left: 15px;
    }

    .nxu3-trust__item--years {
        padding-bottom: 16px;
    }
}


/* =========================
   Tablet
   ========================= */

@media (max-width: 900px) {
    .nxu3__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .nxu3-card {
        aspect-ratio: .87;
    }

    .nxu3-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nxu3-trust__item:nth-child(3),
    .nxu3-trust__item:nth-child(4) {
        border-top: 1px solid #e1e9f1;
    }

    .nxu3-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nxu3-benefit:nth-child(3),
    .nxu3-benefit:nth-child(4) {
        border-top: 1px solid #e1e9f1;
    }
}


/* =========================
   Mobile
   ========================= */

@media (max-width: 560px) {
    .nxu3 {
        margin-top: 25px;
    }

    .nxu3__head {
        margin-bottom: 12px;
    }

    .nxu3__head h2 {
        font-size: 23px;
    }

    .nxu3__head p {
        font-size: 10.5px;
    }

    .nxu3__cards {
        display: flex;
        gap: 10px;
        margin-inline: -10px;
        padding: 2px 10px 13px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .nxu3__cards::-webkit-scrollbar {
        display: none;
    }

    .nxu3-card {
        flex: 0 0 82vw;
        width: 82vw;
        aspect-ratio: .86;
        border-radius: 20px;
        scroll-snap-align: center;
    }

    .nxu3-card__body {
        right: 16px;
        bottom: 14px;
        left: 16px;
    }

    .nxu3-card__meta {
        font-size: 10px;
    }

    .nxu3-card__meta img {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .nxu3-card__title {
        margin-top: 8px;
        font-size: 16px;
        line-height: 1.62;
    }

    .nxu3-card__cta {
        min-height: 35px;
        margin-top: 12px;
        padding-inline: 11px;
        font-size: 9.3px;
    }

    .nxu3-trust {
        grid-template-columns: 1fr 1fr;
        margin-top: 14px;
        border-radius: 16px;
    }

    .nxu3-trust__item {
        grid-template-columns: 39px minmax(0, 1fr);
        gap: 8px;
        min-height: 92px;
        padding: 11px 10px 24px;
    }

    .nxu3-trust__iconbox {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .nxu3-trust__iconbox img {
        width: 22px;
        height: 22px;
    }

    .nxu3-trust__copy strong {
        font-size: 10.8px;
    }

    .nxu3-trust__copy small {
        margin-top: 2px;
        font-size: 8.2px;
        white-space: normal;
    }

    .nxu3-trust__arrow {
        bottom: 5px;
        left: 8px;
        width: 24px;
        height: 20px;
    }

    .nxu3-trust__item--years {
        padding-bottom: 11px;
    }

    .nxu3-benefits {
        grid-template-columns: 1fr 1fr;
        margin-top: 10px;
    }

    .nxu3-benefit {
        min-height: 66px;
        padding: 9px 8px;
        gap: 8px;
    }

    .nxu3-benefit__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .nxu3-benefit__icon img {
        width: 21px;
        height: 21px;
    }

    .nxu3-benefit__copy strong {
        font-size: 10.2px;
        white-space: normal;
    }

    .nxu3-benefit__copy small {
        font-size: 8px;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nxu3-card,
    .nxu3-card__cta img,
    .nxu3-trust__item,
    .nxu3-trust__arrow {
        transition: none !important;
    }
}
