/* =========================================================
   Web Design — Section 4 three distinct scenarios
   ========================================================= */

.nx-web-moments {
    --nx-bg: #07080A;
    --nx-surface: #0D0F12;
    --nx-text: #F5F7FA;
    --nx-text-muted: #9299A5;
    --nx-border: rgba(255, 255, 255, 0.08);
    --nx-accent: #4F7CFF;
    --nx-content: 1320px;
    --nx-pad: clamp(1.25rem, 4vw, 4rem);
    background: var(--nx-bg);
    color: var(--nx-text);
    padding: clamp(5rem, 12vh, 9rem) 0;
    border-top: 1px solid var(--nx-border);
    overflow-x: clip;
}

.nx-web-moments__inner {
    width: 100%;
    max-width: var(--nx-content);
    margin: 0 auto;
    padding: 0 var(--nx-pad);
}

body.nx-web-page .nx-web-moments h2 {
    margin: 0 0 clamp(2.5rem, 6vw, 4rem);
    max-width: 14ch;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: clamp(2.1rem, 4.4vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.nx-web-scene { margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.nx-web-scene:last-child { margin-bottom: 0; }

.nx-web-scene__index {
    margin: 0 0 0.7rem;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
}

.nx-web-scene__index span { color: var(--nx-accent); margin-right: 0.45rem; }

body.nx-web-page .nx-web-scene h3 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    letter-spacing: -0.035em;
}

.nx-web-scene p {
    margin: 0;
    max-width: 34rem;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    line-height: 1.65;
    color: var(--nx-text-muted);
}

.nx-web-scene--hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.nx-web-frame {
    border: 1px solid var(--nx-border);
    background: var(--nx-surface);
    padding: 0 1.1rem 1.2rem;
    min-width: 0;
}

.nx-web-frame__bar {
    height: 0.9rem;
    margin: 0 -1.1rem 1.1rem;
    border-bottom: 1px solid var(--nx-border);
    background: rgba(255,255,255,0.03);
}

.nx-web-frame .is-msg {
    margin: 0 0 0.35rem;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 1.5rem;
    color: var(--nx-text);
}

.nx-web-frame .is-value,
.nx-web-frame .is-trust {
    margin: 0 0 0.45rem;
    font-size: 0.85rem;
}

.nx-web-frame .is-cta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: var(--nx-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-body, 'DM Sans', sans-serif);
}

.nx-web-scene--journey {
    padding: 2rem 0 0;
    border-top: 1px solid var(--nx-border);
}

.nx-web-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.nx-web-thumbs li {
    position: relative;
    width: min(7.5rem, 28vw);
    height: 5.4rem;
    border: 1px solid var(--nx-border);
    background:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 12px 12px,
        var(--nx-surface);
    display: grid;
    align-items: end;
}

.nx-web-thumbs li span {
    display: block;
    padding: 0.4rem;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
}

.nx-web-thumbs li.is-end { border-color: rgba(79,124,255,0.45); }
.nx-web-thumbs li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.75rem;
    top: 50%;
    width: 0.75rem;
    height: 1px;
    background: rgba(79,124,255,0.45);
}

.nx-web-scene--responsive {
    padding-top: 2rem;
    border-top: 1px solid var(--nx-border);
    overflow-x: clip;
}

@media (max-width: 900px) {
    .nx-web-scene--hero { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .nx-web-thumbs li:not(:last-child)::after { display: none; }
}
