/* NexaPay case study - all rules scoped under .nxp (classes prefixed nxp-) */
.nxp {
    --navy: #062A5E;
    --teal: #05AAB4;
    --teal-d: #087F8C;
    --tint: #E8F6F7;
    --bg: #fff;
    --ink: #0F2540;
    --mut: #4B5F78;
    --card: #fff;
    --line: #D6E4EA;
    --alt: #F3FAFB box-sizing:border-box;
    background: var(--bg);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%
}

.nxp *,
.nxp *::before,
.nxp *::after {
    box-sizing: border-box
}

.nxp img {
    max-width: 100%;
    height: auto
}

.nxp a {
    cursor: pointer
}

.nxp .nxp-sub {
    font-size: 26px;
    color: var(--navy);
    margin-bottom: 12px
}

.nxp .nxp-mut {
    color: var(--mut)
}

.nxp .nxp-gap {
    margin-bottom: 48px
}

.nxp .nxp-mt {
    margin-top: 0;
    padding-top: 32px
}

.nxp .nxp-mt36 {
    margin-top: 36px
}

.nxp .nxp-center {
    max-width: 860px;
    margin: 0 auto;
    text-align: center
}

.nxp .nxp-center p {
    color: #C7DCEB;
    font-size: 19px;
    margin: 0
}

@media(max-width:560px) {
    .nxp .nxp-sub {
        font-size: 22px
    }

    .nxp .nxp-gap {
        margin-bottom: 32px
    }

    .nxp .nxp-center p {
        font-size: 17px
    }
}

.nxp h1,
.nxp h2,
.nxp h3 {
    line-height: 1.15;
    margin: 0
}

.nxp .nxp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.nxp section {
    padding: 30px 0
}

.nxp .nxp-alt {
    background: var(--alt)
}

.nxp h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--navy);
    margin-bottom: 14px
}

.nxp p {
    margin: 0 0 14px
}

.nxp .nxp-lead {
    color: var(--mut);
    max-width: 720px;
    margin: 0 0 40px
}

.nxp .nxp-btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid var(--teal);
    transition: transform .2s, box-shadow .2s, background .2s
}

.nxp .nxp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(5, 170, 180, .35)
}

.nxp .nxp-b1 {
    background: var(--teal);
    color: #032033
}

.nxp .nxp-b2 {
    color: #fff
}

.nxp .nxp-b2:hover {
    background: rgba(255, 255, 255, .1)
}

.nxp .nxp-tag {
    display: inline-block;
    background: var(--tint);
    color: var(--teal-d);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 12px
}

.nxp .nxp-hero {
    background: linear-gradient(135deg, #041B3E, var(--navy) 60%, #08507A);
    color: #fff;
    padding: 72px 0 0;
    overflow: hidden;
    position: relative
}

.nxp .nxp-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -120px;
    top: -160px;
    background: radial-gradient(circle, rgba(5, 170, 180, .28), transparent 65%)
}

.nxp .nxp-hero .nxp-g {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: start;
    position: relative
}

.nxp .nxp-hero .nxp-tag {
    background: rgba(255, 255, 255, .1);
    color: #7FE3EA;
    border: 1px solid rgba(255, 255, 255, .2)
}

.nxp .nxp-hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    margin: 6px 0 18px
}

.nxp .nxp-hero p {
    color: #CFE3F2;
    max-width: 560px
}

.nxp .nxp-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 26px 0;
    max-width: 560px
}

.nxp .nxp-facts div {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 15px
}

.nxp .nxp-facts span {
    display: block;
    color: #7FE3EA;
    font-size: 13px
}

.nxp .nxp-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.nxp .nxp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
    background: var(--teal);
    color: #032033;
    padding: 22px 24px;
    border-radius: 18px 18px 0 0;
    position: relative
}

.nxp .nxp-stats b {
    font-weight: 800;
    font-size: 18px
}

.nxp .nxp-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.nxp .nxp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.nxp .nxp-c2 {
    grid-template-columns: repeat(2, 1fr)
}

.nxp .nxp-c4 {
    grid-template-columns: repeat(4, 1fr)
}

.nxp .nxp-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    transition: transform .25s, box-shadow .25s, border-color .25s
}

.nxp .nxp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(6, 42, 94, .12);
    border-color: var(--teal)
}

.nxp .nxp-card h3 {
    font-size: 19px;
    color: var(--navy);
    margin-bottom: 8px
}

.nxp .nxp-card p {
    margin: 0;
    color: var(--mut);
    font-size: 15.5px
}

.nxp .nxp-num {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--tint);
    color: var(--teal-d);
    font-weight: 800;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px
}

.nxp .nxp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px
}

.nxp .nxp-chip {
    background: var(--tint);
    color: var(--teal-d);
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 99px
}

.nxp .nxp-proj {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px
}

.nxp .nxp-proj div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px
}

.nxp .nxp-proj span {
    display: block;
    color: var(--teal-d);
    font-weight: 700;
    font-size: 13px
}

.nxp .nxp-pic {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 40px rgba(6, 42, 94, .18);
    background: #fff
}

.nxp .nxp-hero .nxp-pic {
    border-color: rgba(255, 255, 255, .2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45)
}

.nxp .nxp-lg {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 22px;
    display: inline-block;
    margin-top: 8px
}

.nxp .nxp-lg img {
    height: 84px;
    width: auto
}

.nxp .nxp-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center
}

@media(max-width:700px) {
    .nxp .nxp-pair {
        grid-template-columns: 1fr
    }
}

.nxp .nxp-gal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px
}

.nxp .nxp-gal figure {
    margin: 0
}

.nxp .nxp-gal figcaption {
    padding: 12px 2px 0;
    font-size: 15.5px;
    color: var(--mut)
}

.nxp .nxp-gal figcaption b {
    display: block;
    color: var(--navy);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 4px
}

.nxp .nxp-sec {
    background: var(--navy);
    color: #fff
}

.nxp .nxp-sec h2 {
    color: #fff
}

.nxp .nxp-sec .nxp-lead {
    color: #BBD3E6
}

.nxp .nxp-sec .nxp-card {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18)
}

.nxp .nxp-sec .nxp-card h3 {
    color: #fff
}

.nxp .nxp-sec .nxp-card p {
    color: #C7DCEB
}

.nxp .nxp-sec .nxp-tag {
    background: rgba(255, 255, 255, .1);
    color: #7FE3EA
}

.nxp .nxp-kpi b {
    display: block;
    font-weight: 800;
    font-size: 44px;
    color: #7FE3EA;
    line-height: 1;
    margin-bottom: 6px
}

.nxp .nxp-kpi h3 {
    font-size: 18px
}

.nxp .nxp-note {
    font-size: 14px;
    color: #9FB8CC;
    margin-top: 22px
}

.nxp .nxp-tech {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.nxp .nxp-tech .nxp-card {
    padding: 18px
}

.nxp .nxp-tech h3 {
    font-size: 14px;
    color: var(--teal-d);
    margin-bottom: 12px
}

.nxp .nxp-ics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.nxp .nxp-ic {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 7px 10px;
    font-size: 14px;
    color: var(--ink)
}

.nxp .nxp-ic img {
    width: 22px;
    height: 22px
}

.nxp .nxp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: s;
    position: relative
}

.nxp .nxp-steps div {
    counter-increment: s;
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 4px solid var(--teal);
    border-radius: 14px;
    padding: 22px;
    transition: transform .25s, box-shadow .25s
}

.nxp .nxp-steps div:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(6, 42, 94, .12)
}

.nxp .nxp-steps div::before {
    content: counter(s);
    display: block;
    color: var(--teal-d);
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 8px
}

.nxp .nxp-steps b {
    display: block;
    font-weight: 800;
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 8px
}

.nxp .nxp-steps span {
    color: var(--mut);
    font-size: 15.5px
}

.nxp .nxp-final {
    background: linear-gradient(135deg, var(--navy), #08507A);
    color: #fff;
    text-align: center;
    padding: 60px 0
}

.nxp .nxp-final h2 {
    color: #fff
}

.nxp .nxp-final p {
    color: #CFE3F2;
    margin: 0 auto 28px;
    max-width: 600px
}

.nxp .nxp-rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s, transform .6s
}

.nxp .nxp-rv.nxp-in {
    opacity: 1;
    transform: none
}

@media(prefers-reduced-motion:reduce) {
    .nxp .nxp-rv {
        opacity: 1;
        transform: none;
        transition: none
    }
}

@media(max-width:1000px) {

    .nxp .nxp-tech,
    .nxp .nxp-c4,
    .nxp .nxp-steps {
        grid-template-columns: 1fr 1fr
    }

    .nxp .nxp-cards {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:900px) {

    .nxp .nxp-hero .nxp-g,
    .nxp .nxp-two,
    .nxp .nxp-gal {
        grid-template-columns: 1fr
    }

    .nxp .nxp-stats {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {

    .nxp .nxp-cards,
    .nxp .nxp-c2,
    .nxp .nxp-c4,
    .nxp .nxp-tech,
    .nxp .nxp-steps,
    .nxp .nxp-facts,
    .nxp .nxp-proj {
        grid-template-columns: 1fr
    }

    .nxp .nxp-kpi b {
        font-size: 38px
    }
}

.nxp .nxp-gal .nxp-pic {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center
}

.nxp .nxp-hero .nxp-g>.nxp-pic {
    align-self: start;
    margin: 0
}

.nxp .nxp-facts.nxp-facts-row {
    grid-template-columns: repeat(6, 1fr);
    max-width: none;
    margin: 40px 0 0;
    position: relative
}

@media(max-width:1100px) {
    .nxp .nxp-facts.nxp-facts-row {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:700px) {
    .nxp .nxp-facts.nxp-facts-row {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:420px) {
    .nxp .nxp-facts.nxp-facts-row {
        grid-template-columns: 1fr
    }
}

.nxp .nxp-hero .nxp-cta {
    margin-top: 26px
}

.nxp .nxp-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px
}

@media(max-width:900px) {
    .nxp .nxp-stats {
        justify-content: center;
        text-align: center;
        gap: 10px 32px
    }
}