/* =========================================================
   Web Design — 03 normal device frames
   Phone / monitor / tablet with each screen's real layout
   ========================================================= */

.nx-web-showcase__intro {
    max-width: 36rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

body.nx-web-page .nx-web-showcase__intro h3 {
    margin: 0 0 0.85rem;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

body.nx-web-page .nx-web-showcase__intro h3 span { display: block; }

.nx-web-showcase__intro p:last-child {
    margin: 0;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    line-height: 1.65;
    color: #9299A5;
}

.nx-web-showcase { min-width: 0; }

.nx-web-stage {
    margin: 0;
    padding: clamp(2rem, 5vw, 3.25rem) 1rem 2.25rem;
    background: radial-gradient(ellipse 85% 65% at 50% 70%, #eceff2, #c9ced4 78%);
    overflow: hidden;
}

.nx-dev {
    position: relative;
    height: 28rem;
    max-width: 960px;
    margin: 0 auto;
}

.nx-dev__phone,
.nx-dev__desktop,
.nx-dev__tablet {
    position: absolute;
}

.nx-dev__desktop {
    left: 50%;
    bottom: 1.25rem;
    width: 36rem;
    z-index: 1;
    transform: translateX(-50%);
}

.nx-dev__phone {
    left: 1.25rem;
    bottom: 3.5rem;
    width: 7.15rem;
    z-index: 2;
    transform: rotate(-9deg);
}

.nx-dev__tablet {
    right: 1.1rem;
    bottom: 2.75rem;
    width: 13.1rem;
    z-index: 2;
    transform: rotate(8deg);
}

.nx-frame {
    background: #111318;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
}

.nx-frame--phone {
    padding: 0.7rem 0.38rem 0.55rem;
    border-radius: 1.35rem;
}

.nx-frame--tablet {
    padding: 0.55rem 0.42rem;
    border-radius: 1.1rem;
}

.nx-frame--desktop {
    padding: 0.38rem 0.38rem 0.28rem;
    border-radius: 0.55rem 0.55rem 0.2rem 0.2rem;
}

.nx-frame__notch {
    display: block;
    width: 34%;
    height: 0.28rem;
    margin: 0 auto 0.35rem;
    background: #2b3038;
    border-radius: 99px;
}

.nx-frame__chin {
    display: block;
    height: 0.55rem;
    background: #eceff2;
    border-radius: 0 0 0.45rem 0.45rem;
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.18);
}

.nx-frame__stand {
    display: block;
    width: 18%;
    height: 0.7rem;
    margin: 0 auto;
    background: linear-gradient(#d7dbe0, #b7bcc3);
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.nx-ui {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #f5f6f8;
    color: #12141a;
    overflow: hidden;
    font-family: var(--font-body, 'DM Sans', sans-serif);
}

.nx-ui--d {
    aspect-ratio: 16 / 9;
    border-radius: 0.15rem;
}

.nx-ui--t {
    aspect-ratio: 3 / 4;
    border-radius: 0.45rem;
}

.nx-ui--m {
    aspect-ratio: 9 / 19.5;
    border-radius: 0.85rem;
}

.nx-ui__nav {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.38rem 0.45rem;
    background: #fff;
    border-bottom: 1px solid rgba(18, 20, 26, 0.08);
    font-size: 0.42rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.nx-ui__nav b {
    margin-right: auto;
    color: #12141a;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-size: 0.55rem;
    letter-spacing: -0.02em;
    text-transform: none;
}

.nx-ui__nav i {
    width: 0.7rem;
    height: 0.45rem;
    border-top: 1.5px solid #12141a;
    border-bottom: 1.5px solid #12141a;
}

.nx-ui__hero {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 0.55rem;
    padding: 0.55rem 0.6rem 0.4rem;
    min-height: 0;
}

.nx-ui p {
    margin: 0;
    font-family: var(--font-display, 'Syne', sans-serif);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.nx-ui--d p { font-size: clamp(0.95rem, 1.6vw, 1.4rem); max-width: 8ch; }

.nx-ui small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.48rem;
    line-height: 1.35;
    color: #6b7280;
    max-width: 18ch;
}

.nx-ui em {
    display: inline-block;
    margin-top: 0.4rem;
    font-style: normal;
    font-size: 0.48rem;
    font-weight: 600;
    color: #4F7CFF;
}

.nx-ui__pic {
    background: #dfe3ea;
    border: 1px solid rgba(18, 20, 26, 0.06);
}

.nx-ui--d .nx-ui__pic { min-height: 0; height: 100%; }
.nx-ui__blue { display: block; height: 0.55rem; flex-shrink: 0; background: #4F7CFF; }

.nx-ui--t .nx-ui__pic,
.nx-ui--m .nx-ui__pic { flex: 1; min-height: 0; }
.nx-ui--t p,
.nx-ui--m p { margin: 0.4rem 0.45rem 0; font-size: 0.7rem; max-width: 9ch; }
.nx-ui--t small { margin: 0.2rem 0.45rem 0; }
.nx-ui--t em { margin: 0.28rem 0.45rem 0.45rem; }

.nx-ui--m em {
    display: block;
    margin: 0.35rem 0.4rem 0.45rem;
    padding: 0.28rem 0;
    text-align: center;
    background: #4F7CFF;
    color: #fff;
}

.nx-web-showcase__keys {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.72rem;
    color: #9299A5;
}

.nx-web-showcase__keys em {
    display: block;
    margin-bottom: 0.15rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F5F7FA;
}

@media (max-width: 1100px) {
    .nx-dev { height: 24rem; }
    .nx-dev__desktop { width: min(32rem, 58%); }
    .nx-dev__phone { width: 6.25rem; left: 0.5rem; }
    .nx-dev__tablet { width: 11.25rem; right: 0.4rem; }
}

@media (max-width: 700px) {
    .nx-dev {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.15rem;
        height: auto;
    }

    .nx-dev__phone,
    .nx-dev__desktop,
    .nx-dev__tablet {
        position: static;
        transform: none;
    }

    .nx-dev { height: auto; }
    .nx-dev__desktop { order: 1; width: min(100%, 22.5rem); }
    .nx-dev__tablet { order: 2; width: 11.5rem; align-self: flex-end; }
    .nx-dev__phone { order: 3; width: 7.15rem; align-self: flex-end; }
    .nx-web-showcase__keys { grid-template-columns: 1fr; }
}
