/* ============================================================
   Section 06 — Where most tools stop short (differentiation)
   Three comparison cards converge (small arrows) into one wide
   emphasized Skyportal "answer" panel: logo, the Prepare—Diagnose
   —Fix—Verify pill loop, and a green unified-context banner.
   Rebuilt from the deck slide with existing web tokens — real
   DOM, no screenshot embeds.
   ============================================================ */

.nl-diff {
    background: #0f172b;
    padding: clamp(64px, 8vw, 104px) 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nl-diff__inner {
    max-width: 1148px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 64px);
}

.nl-diff__header {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.nl-diff__title {
    margin: 0;
    font-family: var(--nl-font, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -1px;
    color: #FFFFFF;
}

.nl-diff__subtitle {
    margin: 16px auto 0;
    max-width: 640px;
    font-family: var(--nl-font, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(14.5px, 1.6vw, 16.5px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.2px;
    color: #AFBCD5;
}

/* ─── Comparison cards ─── */
.nl-diff__cards {
    list-style: none;
    margin: clamp(32px, 4.5vw, 48px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
}

.nl-diff__card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: clamp(18px, 2.2vw, 24px);
}

.nl-diff__card-title {
    margin: 0;
    font-family: var(--nl-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.35px;
    color: #FFFFFF;
}

.nl-diff__card-miss {
    margin: 8px 0 0;
    font-family: var(--nl-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.15px;
    color: #AFBCD5;
}

/* ─── Converging connector arrows ─── */
.nl-diff__arrows {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
    margin: 10px 0;
    color: rgba(59, 130, 246, 0.6);
}

.nl-diff__arrows svg {
    width: 12px;
    height: 22px;
    justify-self: center;
}

/* ─── The Skyportal answer panel ─── */
.nl-diff__panel {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
    background: rgba(59, 130, 246, 0.05);
    border: 1.5px solid rgba(59, 130, 246, 0.55);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.35), 0 0 42px rgba(59, 130, 246, 0.12);
}

.nl-diff__panel-brand {
    flex: 0 0 auto;
}

.nl-diff__panel-brand img {
    display: block;
    width: clamp(140px, 14vw, 176px);
    height: auto;
}

.nl-diff__panel-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Prepare — Diagnose — Fix — Verify */
.nl-diff__loop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nl-diff__loop-pill {
    flex: 0 0 auto;
    padding: 9px 24px;
    border: 1px solid rgba(59, 130, 246, 0.55);
    border-radius: 999px;
    font-family: var(--nl-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.1px;
    color: #DBEAFE;
    background: rgba(59, 130, 246, 0.06);
    white-space: nowrap;
}

.nl-diff__loop-dash {
    flex: 1 1 0;
    min-width: 14px;
    max-width: 56px;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}

/* Green unified-context banner */
.nl-diff__banner {
    margin: 0;
    padding: 11px 18px;
    text-align: center;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.36);
    font-family: var(--nl-font, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(14px, 1.5vw, 15.5px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.1px;
    color: #4ADE80;
}

/* ─── Caption ─── */
.nl-diff__moat {
    margin: 22px auto 0;
    max-width: 640px;
    text-align: center;
    font-family: var(--nl-font, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.1px;
    color: #8A97AC;
}

/* ─── Responsive ─── */
/* Tablet (and down): stack the answer panel so the Prepare—Diagnose—Fix—Verify
   loop gets the full width and stays ONE row with its connector lines, exactly
   like desktop. Cards stay 3-up and the converging arrows stay visible. */
@media (max-width: 900px) {
    .nl-diff__panel {
        margin-top: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .nl-diff__panel-brand {
        align-self: center;
    }
}

/* Phone: cards stack 1-up, and the three converging arrows collapse to a single
   centered arrow pointing into the Skyportal panel (so the three clearly feed
   into it rather than reading as stacked, disconnected cards). The pill loop
   stays on one row — compacted so all four fit. */
@media (max-width: 600px) {
    .nl-diff__cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nl-diff__arrows {
        grid-template-columns: 1fr;
        margin: 4px 0;
    }

    .nl-diff__arrows svg:nth-child(1),
    .nl-diff__arrows svg:nth-child(3) {
        display: none;
    }

    .nl-diff__loop {
        gap: 5px;
    }

    .nl-diff__loop-pill {
        padding: 7px 10px;
        font-size: 12px;
    }

    .nl-diff__loop-dash {
        min-width: 4px;
    }
}
