:root {
    --nex-navy: #071426;
    --nex-navy-2: #0b203b;
    --nex-blue: #2563eb;
    --nex-cyan: #22d3ee;
    --nex-green: #34d399;
    --nex-ink: #10233f;
    --nex-soft: #eef5ff;
}

body { color: var(--nex-ink); }

.nex-hero,
.nex-page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(34, 211, 238, .18), transparent 28%),
        radial-gradient(circle at 18% 72%, rgba(37, 99, 235, .28), transparent 33%),
        linear-gradient(135deg, #061324 0%, #0a2240 58%, #0b3552 100%);
}

.nex-hero::before,
.nex-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .25;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.nex-hero { padding: 145px 0 100px; min-height: 760px; display: flex; align-items: center; }
.nex-page-hero { padding: 165px 0 80px; }
.nex-hero .container, .nex-page-hero .container { z-index: 2; }
.nex-hero h1, .nex-page-hero h1 { color: #fff; font-weight: 750; letter-spacing: -.045em; line-height: 1.02; }
.nex-hero h1 { font-size: clamp(3.1rem, 6vw, 5.7rem); max-width: 850px; }
.nex-page-hero h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); max-width: 930px; }
.nex-hero-copy, .nex-page-hero p { color: rgba(255,255,255,.74); font-size: 1.15rem; line-height: 1.75; max-width: 700px; }
.nex-kicker, .nex-section-label { display: inline-block; color: var(--nex-cyan); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.nex-kicker { margin-bottom: 22px; padding: 9px 14px; border: 1px solid rgba(34,211,238,.3); border-radius: 999px; background: rgba(34,211,238,.08); }
.nex-proof-line { display: flex; flex-wrap: wrap; gap: 10px 18px; color: rgba(255,255,255,.58); font-size: .82rem; }
.nex-proof-line span::before { content: ""; width: 6px; height: 6px; margin-right: 8px; display: inline-block; border-radius: 50%; background: var(--nex-green); box-shadow: 0 0 12px var(--nex-green); }

.nex-product-visual { min-height: 520px; position: relative; }
.nex-device-card { position: absolute; top: 72px; left: 0; width: min(420px, 82%); padding: 28px; color: var(--nex-ink); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 35px 80px rgba(0,0,0,.3); transform: rotate(-2deg); }
.nex-device-card h3 { margin: 4px 0 0; font-size: 1.55rem; }
.nex-label { color: #76849a; font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.nex-status { color: #087455; background: #dff9ee; padding: 7px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.nex-energy-value { margin-top: 35px; font-size: 3.8rem; font-weight: 800; letter-spacing: -.06em; }
.nex-energy-value small { font-size: 1rem; color: #66758a; }
.nex-energy-bars { height: 105px; display: flex; gap: 9px; align-items: end; margin: 16px 0 24px; }
.nex-energy-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, var(--nex-blue), var(--nex-cyan)); }
.nex-metric-row { color: #6d7c90; font-size: .76rem; }
.nex-metric-row span { display: grid; gap: 3px; }
.nex-metric-row strong { color: var(--nex-ink); font-size: .95rem; }
.nex-phone-card { position: absolute; top: 25px; right: 0; z-index: 2; width: 230px; color: var(--nex-ink); border: 8px solid #122033; border-radius: 34px; background: #fff; box-shadow: 0 35px 70px rgba(0,0,0,.4); transform: rotate(4deg); }
.nex-phone-top { height: 22px; text-align: center; }
.nex-phone-top span { display: inline-block; width: 64px; height: 6px; border-radius: 4px; background: #15253a; }
.nex-phone-content { padding: 15px 18px 18px; }
.nex-phone-content h4 { margin-top: 6px; font-size: 1.05rem; }
.nex-orbit { width: 105px; height: 105px; margin: 24px auto; display: grid; place-items: center; color: #fff; font-size: 2rem; border-radius: 50%; background: linear-gradient(145deg, var(--nex-blue), var(--nex-cyan)); box-shadow: 0 0 0 14px #eaf4ff, 0 0 0 15px #cfe4ff; }
.nex-phone-stat { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #edf1f7; font-size: .68rem; }
.nex-app-nav { display: flex; justify-content: space-around; margin-top: 18px; color: var(--nex-blue); font-size: 1.05rem; }
.nex-ops-card { position: absolute; top: 42px; right: 0; z-index: 2; width: 235px; padding: 24px; color: var(--nex-ink); border: 1px solid #dce7f5; border-radius: 22px; background: #fff; box-shadow: 0 35px 70px rgba(0,0,0,.34); transform: rotate(3deg); }
.nex-ops-card h4 { margin: 6px 0 0; font-size: 1.08rem; }
.nex-ops-icon { width: 82px; height: 82px; margin: 24px auto; display: grid; place-items: center; color: #fff; font-size: 1.8rem; border-radius: 22px; background: linear-gradient(145deg, var(--nex-blue), var(--nex-cyan)); box-shadow: 0 0 0 10px #eaf4ff; }
.nex-ops-stat { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #edf1f7; color: #6d7c90; font-size: .66rem; }
.nex-ops-stat:last-child { border-bottom: 0; }
.nex-ops-stat strong { color: var(--nex-ink); text-align: right; }
.nex-cloud-chip, .nex-alert-chip { position: absolute; z-index: 3; padding: 11px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: #fff; background: rgba(7,20,38,.8); backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0,0,0,.25); font-size: .78rem; }
.nex-cloud-chip { top: 0; left: 45px; }
.nex-alert-chip { right: 16px; bottom: 30px; }
.nex-cloud-chip i, .nex-alert-chip i { color: var(--nex-cyan); margin-right: 6px; }

.nex-appliance-visual { min-height: 560px; position: relative; isolation: isolate; }
.nex-appliance-glow { position: absolute; inset: 15% 10% 5%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.24), rgba(37,99,235,.08) 45%, transparent 70%); filter: blur(12px); }
.nex-appliance { position: absolute; top: 160px; left: 50%; width: 290px; height: 290px; display: grid; place-items: center; color: #cbd7e6; border: 1px solid rgba(255,255,255,.22); border-radius: 38%; background: linear-gradient(145deg, #1d2c3d 0%, #09121e 55%, #03070c 100%); box-shadow: inset 0 1px 1px rgba(255,255,255,.18), inset -12px -18px 30px rgba(0,0,0,.45), 0 45px 90px rgba(0,0,0,.45); transform: translateX(-50%) rotate(-4deg); }
.nex-appliance::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.045); border-radius: 35%; }
.nex-appliance-mark { font-size: 2.2rem; font-weight: 700; letter-spacing: -.08em; }
.nex-appliance-light { position: absolute; bottom: 63px; width: 62px; height: 3px; border-radius: 3px; background: var(--nex-cyan); box-shadow: 0 0 16px var(--nex-cyan); }
.nex-appliance small { position: absolute; bottom: 36px; color: #76869a; font-size: .56rem; font-weight: 800; letter-spacing: .18em; }
.nex-device-orbit { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 11px 14px; color: #d8e7f5; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(7,20,38,.76); backdrop-filter: blur(14px); box-shadow: 0 16px 38px rgba(0,0,0,.24); font-size: .72rem; }
.nex-device-orbit i { color: var(--nex-cyan); font-size: 1rem; }
.nex-orbit-light { top: 60px; left: 2%; }
.nex-orbit-climate { top: 36px; right: 8%; }
.nex-orbit-safety { bottom: 30px; left: 0; }
.nex-orbit-energy { right: 5%; bottom: 78px; }
.nex-app-preview { position: absolute; top: 98px; right: -8px; z-index: 3; width: 205px; padding: 18px 15px 16px; color: var(--nex-ink); border: 7px solid #162334; border-radius: 30px; background: #f8fbff; box-shadow: 0 35px 70px rgba(0,0,0,.38); transform: rotate(5deg); }
.nex-app-preview-top { height: 15px; text-align: center; }
.nex-app-preview-top span { display: inline-block; width: 55px; height: 5px; border-radius: 5px; background: #15253a; }
.nex-app-preview > small { color: #8c9aae; font-size: .5rem; font-weight: 800; letter-spacing: .12em; }
.nex-app-preview h4 { margin: 3px 0 16px; font-size: 1.05rem; }
.nex-room-card { display: grid; grid-template-columns: 27px 1fr auto; gap: 8px; align-items: center; margin-top: 9px; padding: 10px 8px; border: 1px solid #e3eaf4; border-radius: 10px; background: #fff; }
.nex-room-card i { color: var(--nex-blue); font-size: 1.1rem; }
.nex-room-card span { display: grid; color: #233852; font-size: .56rem; font-weight: 700; }
.nex-room-card strong { color: #8997aa; font-size: .47rem; font-weight: 500; }
.nex-room-card b { color: #254b7a; font-size: .58rem; }

.nex-strip { padding: 28px 0; background: #fff; box-shadow: 0 16px 40px rgba(16,35,63,.07); }
.nex-strip .col-6 { padding: 10px; border-right: 1px solid #e9eef5; }
.nex-strip .col-6:last-child { border-right: 0; }
.nex-strip strong, .nex-strip span { display: block; }
.nex-strip strong { font-size: .95rem; }
.nex-strip span { color: #77859a; font-size: .76rem; }
.nex-section-title { margin-top: 10px; color: var(--nex-ink); font-size: clamp(2.1rem, 4vw, 3.6rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.08; }

.nex-capability-card, .nex-use-card, .nex-solution-card, .nex-step-card { position: relative; padding: 30px; border: 1px solid #e2eaf5; border-radius: 20px; background: #fff; transition: .25s ease; }
.nex-capability-card:hover, .nex-use-card:hover, .nex-solution-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(19,48,84,.1); }
.nex-capability-card > i, .nex-use-card > i, .nex-solution-card > i { display: block; margin: 22px 0; color: var(--nex-blue); font-size: 2.35rem; }
.nex-capability-card h3, .nex-use-card h3, .nex-solution-card h3, .nex-step-card h3 { font-size: 1.2rem; }
.nex-capability-card p, .nex-use-card p, .nex-solution-card p, .nex-step-card p { color: #748198; line-height: 1.75; margin-bottom: 0; }
.nex-card-number { color: #a2afc1; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.nex-use-card span, .nex-stage { display: inline-block; margin-top: 16px; padding: 6px 9px; color: #52647c; background: #eef2f7; border-radius: 6px; font-size: .63rem; font-weight: 800; letter-spacing: .09em; }
.nex-stage { margin-top: 0; }
.nex-stage-now { color: #075d45; background: #dff9ee; }
.nex-stage-next { color: #164ea6; background: #e2edff; }

.nex-dark-section { color: #fff; background: var(--nex-navy); }
.nex-dark-card { height: 100%; padding: 26px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.045); }
.nex-dark-card i { color: var(--nex-cyan); font-size: 2rem; }
.nex-dark-card h3 { color: #fff; margin: 18px 0 10px; font-size: 1.1rem; }
.nex-dark-card p { color: rgba(255,255,255,.58); line-height: 1.7; margin: 0; }
.nex-engagement-list { display: grid; gap: 14px; }
.nex-engagement-list > div { display: flex; gap: 18px; padding: 20px; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(13,38,70,.07); }
.nex-engagement-list strong { color: var(--nex-blue); font-size: .72rem; letter-spacing: .08em; }
.nex-engagement-list span { color: #6e7b90; }
.nex-engagement-list b { color: var(--nex-ink); }

.nex-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 52px; color: #fff; border-radius: 26px; background: linear-gradient(120deg, #071426, #103d63); box-shadow: 0 30px 70px rgba(8,29,53,.22); }
.nex-cta h2 { color: #fff; max-width: 760px; margin: 10px 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.035em; }
.nex-cta p { color: rgba(255,255,255,.65); margin: 0; }
.nex-solution-feature { padding: 38px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #0b203b, #0e4567); }
.nex-solution-feature > i { display: block; color: var(--nex-cyan); font-size: 3rem; margin: 28px 0 18px; }
.nex-solution-feature h3 { color: #fff; font-size: 1.75rem; }
.nex-solution-feature p { color: rgba(255,255,255,.65); }
.nex-check { height: 100%; padding: 12px; color: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.04); font-size: .82rem; }
.nex-check i { color: var(--nex-green); margin-right: 5px; }
.nex-principle-panel { padding: 40px; color: #fff; border-radius: 22px; background: var(--nex-blue); }
.nex-principle-panel h3 { color: #fff; margin: 18px 0; font-size: 2rem; }
.nex-principle-panel p { color: rgba(255,255,255,.72); font-size: 1.02rem; line-height: 1.8; }
.nex-solution-card ul { padding-left: 18px; color: #66768c; line-height: 1.9; }
.nex-offer-list { display: grid; gap: 12px; }
.nex-offer-list article { display: flex; gap: 22px; padding: 22px; border: 1px solid #e5ebf3; border-radius: 16px; }
.nex-offer-list article > span { color: var(--nex-blue); font-size: .7rem; font-weight: 800; }
.nex-offer-list h3 { margin-bottom: 6px; font-size: 1.1rem; }
.nex-offer-list p { color: #748198; margin: 0; }

.nex-platform-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nex-platform-flow article { position: relative; padding: 28px; border-radius: 18px; background: var(--nex-soft); }
.nex-platform-flow article > span { color: #90a3bc; font-size: .68rem; font-weight: 800; }
.nex-platform-flow i { float: right; color: var(--nex-blue); font-size: 1.8rem; }
.nex-platform-flow h3 { clear: both; padding-top: 28px; font-size: 1.1rem; }
.nex-platform-flow p { color: #6c7b90; margin: 0; line-height: 1.7; }
.nex-audience-card { height: 100%; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.05); }
.nex-audience-card > span { color: var(--nex-cyan); font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.nex-audience-card h3 { color: #fff; margin: 15px 0 20px; }
.nex-audience-card ul { color: rgba(255,255,255,.65); padding-left: 18px; line-height: 2; }
.nex-lifecycle { display: grid; gap: 8px; }
.nex-lifecycle div { display: flex; gap: 15px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e8edf4; }
.nex-lifecycle span { min-width: 34px; height: 34px; display: grid; place-items: center; color: var(--nex-blue); background: #eaf1ff; border-radius: 50%; font-weight: 800; }
.nex-lifecycle p { margin: 0; color: #65748a; }
.nex-lifecycle strong { color: var(--nex-ink); }
.nex-boundary-card { padding: 38px; border-radius: 22px; color: #fff; background: var(--nex-navy-2); }
.nex-boundary-card h3 { color: #fff; margin: 14px 0 22px; font-size: 1.7rem; }
.nex-boundary-card ul { list-style: none; padding: 0; margin: 0; }
.nex-boundary-card li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.68); }
.nex-boundary-card li:last-child { border: 0; }
.nex-boundary-card li i { color: var(--nex-green); }
.nex-boundary-card strong { color: #fff; }
.nex-step-card > span { color: var(--nex-blue); font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.nex-step-card h3 { margin-top: 38px; }

.nex-roadmap-intro { max-width: 870px; }
.nex-roadmap-intro h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.035em; }
.nex-roadmap-intro p { color: #6f7d92; font-size: 1.05rem; line-height: 1.8; }
.nex-roadmap { position: relative; display: grid; gap: 28px; }
.nex-roadmap::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 41px; width: 2px; background: linear-gradient(var(--nex-cyan), var(--nex-blue), #b1bfd0); }
.nex-roadmap-stage { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 26px; }
.nex-roadmap-marker { z-index: 1; width: 84px; height: 84px; display: grid; place-items: center; color: #fff; border: 6px solid #fff; border-radius: 50%; background: var(--nex-blue); box-shadow: 0 10px 25px rgba(37,99,235,.2); }
.nex-roadmap-marker span { font-size: .62rem; font-weight: 900; letter-spacing: .08em; }
.nex-roadmap-content { padding: 34px; border: 1px solid #e4eaf2; border-radius: 22px; background: #fff; box-shadow: 0 18px 45px rgba(14,39,72,.06); }
.nex-roadmap-content h2 { margin: 14px 0 8px; font-size: 2rem; letter-spacing: -.025em; }
.nex-roadmap-content > p { color: #6d7b90; }
.nex-roadmap-item { height: 100%; display: flex; gap: 14px; padding: 16px; border-radius: 12px; background: #f6f9fd; }
.nex-roadmap-item i { color: var(--nex-blue); font-size: 1.25rem; }
.nex-roadmap-item span { color: #6c7b90; font-size: .82rem; line-height: 1.55; }
.nex-roadmap-item strong { display: block; color: var(--nex-ink); margin-bottom: 3px; }
.nex-gate { display: grid; grid-template-columns: 90px 1fr; gap: 14px; margin-top: 24px; padding: 16px; border-left: 3px solid var(--nex-cyan); background: #edf8fb; }
.nex-gate strong { color: #12617a; font-size: .75rem; text-transform: uppercase; }
.nex-gate span { color: #527084; font-size: .83rem; }
.nex-metric-card { height: 100%; padding: 22px; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(14,39,72,.06); }
.nex-metric-card strong, .nex-metric-card span { display: block; }
.nex-metric-card strong { color: var(--nex-blue); margin-bottom: 5px; }
.nex-metric-card span { color: #6f7e92; font-size: .8rem; }

@media (max-width: 991.98px) {
    .nex-hero { min-height: auto; padding: 125px 0 80px; }
    .nex-product-visual { max-width: 600px; margin: auto; }
    .nex-appliance-visual { max-width: 620px; margin: auto; }
    .nex-platform-flow { grid-template-columns: repeat(2, 1fr); }
    .nex-cta { align-items: flex-start; flex-direction: column; padding: 40px; }
}

@media (max-width: 767.98px) {
    .nex-hero h1 { font-size: 3.05rem; }
    .nex-page-hero { padding: 135px 0 65px; }
    .nex-product-visual { min-height: 480px; }
    .nex-appliance-visual { min-height: 510px; }
    .nex-device-card { top: 80px; width: 84%; padding: 22px; }
    .nex-phone-card { width: 195px; }
    .nex-ops-card { width: 205px; padding: 20px; }
    .nex-alert-chip { bottom: 5px; }
    .nex-strip .col-6:nth-child(2) { border-right: 0; }
    .nex-platform-flow { grid-template-columns: 1fr; }
    .nex-roadmap::before { left: 25px; }
    .nex-roadmap-stage { grid-template-columns: 52px 1fr; gap: 12px; }
    .nex-roadmap-marker { width: 52px; height: 52px; border-width: 4px; }
    .nex-roadmap-marker span { font-size: .5rem; }
    .nex-roadmap-content { padding: 23px; }
    .nex-gate { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .nex-product-visual { min-height: 430px; }
    .nex-appliance-visual { min-height: 440px; }
    .nex-appliance { top: 130px; width: 230px; height: 230px; }
    .nex-appliance-mark { font-size: 1.8rem; }
    .nex-app-preview { top: 75px; right: 0; width: 150px; padding: 13px 10px 11px; border-width: 5px; border-radius: 23px; }
    .nex-room-card { grid-template-columns: 20px 1fr; padding: 7px 5px; }
    .nex-room-card b { display: none; }
    .nex-device-orbit { padding: 8px 10px; font-size: .58rem; }
    .nex-orbit-light { top: 25px; }
    .nex-orbit-climate { top: 12px; right: 0; }
    .nex-orbit-safety { bottom: 20px; }
    .nex-orbit-energy { right: 0; bottom: 55px; }
    .nex-device-card { top: 92px; width: 92%; }
    .nex-energy-value { font-size: 2.8rem; }
    .nex-energy-bars { height: 70px; }
    .nex-phone-card { top: 20px; width: 150px; }
    .nex-ops-card { top: 24px; width: 158px; padding: 15px; }
    .nex-ops-card h4 { font-size: .9rem; }
    .nex-ops-icon { width: 56px; height: 56px; margin: 15px auto; font-size: 1.2rem; border-radius: 16px; box-shadow: 0 0 0 7px #eaf4ff; }
    .nex-ops-stat { padding: 7px 0; font-size: .53rem; }
    .nex-phone-content { padding: 10px 12px 13px; }
    .nex-orbit { width: 65px; height: 65px; margin: 15px auto; box-shadow: 0 0 0 8px #eaf4ff, 0 0 0 9px #cfe4ff; }
    .nex-phone-stat { font-size: .55rem; }
    .nex-cloud-chip { left: 0; }
    .nex-alert-chip { right: 0; }
    .nex-cta { padding: 30px 24px; }
}
