/* ===================== BASE ===================== */
.nx2-sec {
    --nx2-bg: #080b14;
    --nx2-card: #111732;
    --nx2-teal: #2be6d6;
    --nx2-violet: #7b68ff;
    --nx2-text: #eef0ff;
    --nx2-muted: #9aa3c7;
    --nx2-ink: #0b1020;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    color: var(--nx2-text);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    line-height: 1.55;
    background-color: var(--nx2-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
}
.nx2-sec *,
.nx2-sec *::before,
.nx2-sec *::after {
    box-sizing: border-box;
}
.nx2-sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: max(24px, calc(50% - 566px));
    width: 72px;
    height: 5px;
    background: var(--nx2-teal);
    z-index: 2;
}
.nx2-wrap {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.nx2-eyebrow {
    color: var(--nx2-teal);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 18px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.nx2-h {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    margin: 0 0 18px;
    color: var(--nx2-text);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.nx2-v {
    color: var(--nx2-violet);
}
.nx2-lead {
    color: #dfe3ff;
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 0 30px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.nx2-btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--nx2-violet);
    color: #fff;
    border: 1px solid var(--nx2-violet);
    text-decoration: none;
    transition: 0.2s;
}
.nx2-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 104, 255, 0.4);
    color: #fff;
}
.nx2-btn--o {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}
.nx2-grid {
    display: grid;
    gap: 20px;
}
.nx2-g2 {
    grid-template-columns: repeat(2, 1fr);
}
.nx2-g3 {
    grid-template-columns: repeat(3, 1fr);
}
.nx2-g4 {
    grid-template-columns: repeat(4, 1fr);
}
.nx2-card {
    background: var(--nx2-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
}
.nx2-card--w {
    background: #fff;
    border: 0;
    color: var(--nx2-ink);
}
.nx2-card--w h3 {
    color: var(--nx2-violet);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 12px;
}
.nx2-card--w p,
.nx2-card--w li {
    color: #2a3150;
    margin: 0;
    text-shadow: none;
}
.nx2-card--w ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nx2-card--w li {
    padding: 3px 0;
}
.nx2-person {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 90%;
    max-height: 720px;
    width: auto;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}
.nx2-foot {
    margin-top: 50px;
    font-size: 0.85rem;
    color: #dfe3ff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
@media (max-width: 960px) {
    .nx2-g3,
    .nx2-g4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .nx2-person {
        opacity: 0.22;
    }
}
@media (max-width: 640px) {
    .nx2-sec {
        padding: 70px 0;
    }
    .nx2-g2,
    .nx2-g3,
    .nx2-g4 {
        grid-template-columns: 1fr;
    }
}

/* ===================== 1. HERO (text LEFT) ===================== */
.nx2-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("/images/nx2/s1.png");
    background-size: cover;
    background-position: center center;
}
.nx2-hero .nx2-wrap {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    width: 100%;
    max-width: 1180px;
}
.nx2-hero .nx2-wrap > * {
    max-width: 620px;
    margin-left: 0;
    margin-right: auto;
}
.nx2-hero__word {
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 800;
    color: var(--nx2-teal);
    letter-spacing: 0.3em;
    margin-bottom: 24px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.nx2-hero__title {
    font-size: clamp(2.2rem, 5.2vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 22px;
    color: var(--nx2-text);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}
.nx2-hero__tag {
    color: var(--nx2-teal);
    margin: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.nx2-hero__logo {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    width: min(34vw, 420px);
    z-index: 1;
}
@media (max-width: 960px) {
    .nx2-hero__logo {
        opacity: 0.15;
        width: 70vw;
    }
}

/* ===================== 2. CTA ===================== */
.nx2-cta {
    background-image: url("/images/nx2/s2.png");
}
.nx2-cta__row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.nx2-cta__steps {
    max-width: 480px;
}
.nx2-cta__s1,
.nx2-cta__s2 {
    border-radius: 18px;
    padding: 26px 28px;
}
.nx2-cta__s2 {
    background: var(--nx2-violet);
    color: var(--nx2-ink);
    margin-top: 16px;
}
.nx2-cta__steps small {
    display: block;
    letter-spacing: 0.3em;
    font-weight: 700;
    font-size: 0.75rem;
}
.nx2-cta__s1 small {
    color: var(--nx2-violet);
}
.nx2-cta__steps h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 8px 0;
    color: #fff;
}
.nx2-cta__s1 a {
    color: var(--nx2-teal);
    font-weight: 700;
    text-decoration: none;
}
.nx2-cta__s2 a {
    color: var(--nx2-ink);
    font-size: 1.7rem;
    font-weight: 800;
    text-decoration: none;
}
@media (max-width: 960px) {
    .nx2-cta__row {
        grid-template-columns: 1fr;
    }
}

/* ===================== 3. WHO ===================== */
.nx2-who {
    background-image: url("/images/nx2/s3.png");
}
.nx2-who__stats {
    max-width: 760px;
}
.nx2-who__num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--nx2-teal);
    line-height: 1;
    margin-bottom: 10px;
}
.nx2-who .nx2-card span {
    color: var(--nx2-text);
}

/* ===================== 4. CAPABILITIES ===================== */
.nx2-cap {
    background-image: url("/images/nx2/s4.png");
}
.nx2-cap__grid {
    max-width: 740px;
    margin-top: 34px;
}

/* ===================== 5. TOOLKIT ===================== */
.nx2-tk {
    background-image: url("/images/nx2/s5.png");
}
.nx2-tk__grid {
    max-width: 780px;
    margin-top: 34px;
}
.nx2-tk .nx2-card--w h3 {
    color: var(--nx2-ink);
    font-size: 1.2rem;
}
.nx2-tk__line {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 34px 0 22px;
    max-width: 640px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

/* ===================== 6. HOW WE WORK ===================== */
.nx2-how {
    background-color: #000;
    background-image: url("/images/nx2/s6.png");
}
.nx2-how__steps {
    max-width: 820px;
    margin-top: 40px;
    gap: 44px 28px;
}
.nx2-how__n {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--nx2-teal);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.nx2-how h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.nx2-how p {
    color: #dfe3ff;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* ===================== 7. PRODUCTS ===================== */
.nx2-prod {
    background-image: url("/images/nx2/s7.png");
}
.nx2-prod__grid {
    margin-top: 34px;
}
.nx2-prod .nx2-card--w {
    display: flex;
    flex-direction: column;
}
.nx2-prod .nx2-card--w a {
    margin-top: auto;
    padding-top: 14px;
    font-weight: 700;
    color: var(--nx2-ink);
    text-decoration: none;
}
.nx2-prod .nx2-card--w a:hover {
    color: var(--nx2-violet);
}

/* ===================== 8. PORTFOLIO ===================== */
.nx2-port {
    background-image: url("/images/nx2/s8.png");
}
.nx2-port__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 30px;
}
.nx2-port__pill {
    display: block;
    background: rgba(17, 23, 50, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--nx2-text);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
a.nx2-port__pill:hover {
    border-color: var(--nx2-teal);
    color: var(--nx2-teal);
}
@media (max-width: 960px) {
    .nx2-port__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .nx2-port__grid {
        grid-template-columns: 1fr;
    }
}

/* ===================== 9. WHY ===================== */
.nx2-why {
    background-image: url("/images/nx2/s9.png");
}
.nx2-why__grid {
    max-width: 780px;
    margin-top: 34px;
}
.nx2-why .nx2-card--w h3 {
    color: var(--nx2-ink);
    font-size: 1.1rem;
}
.nx2-why__vision {
    font-weight: 700;
    font-size: 1.2rem;
    margin: 34px 0 0;
    max-width: 640px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

/* ===================== 10. CONTACT (text LEFT) ===================== */
.nx2-contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("/images/nx2/s10.png");
    background-size: cover;
    background-position: center center;
}
.nx2-contact .nx2-wrap {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    width: 100%;
    max-width: 1180px;
}
.nx2-contact .nx2-wrap > * {
    max-width: 620px;
    margin-left: 0;
    margin-right: auto;
}
.nx2-contact__title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}
.nx2-contact__links {
    margin: 0 0 30px;
}
.nx2-contact__links a {
    display: block;
    color: var(--nx2-text);
    font-size: 1.15rem;
    margin: 6px 0;
    text-decoration: none;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.nx2-contact__links a:hover {
    color: var(--nx2-teal);
}
