/* NexTrade homepage V4 — cinematic editorial visual preview, scoped to homepage only */
html:has(.nx-home-v4){scroll-padding-top:78px}
body:has(.nx-home-v4) .top{position:absolute;top:0;left:0;right:0;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;z-index:50;transition:background .2s}
body:has(.nx-home-v4) .top .nav{max-width:1390px;height:88px}
body:has(.nx-home-v4) .top .logo-img{width:34px;height:34px}
body:has(.nx-home-v4) .top .nx-brand-wordmark{filter:brightness(0) invert(1)}
body:has(.nx-home-v4) .top .links>a:not(.lang),body:has(.nx-home-v4) .top .nx-nav-dropdown .nx-about-link,body:has(.nx-home-v4) .top .nx-submenu-toggle{color:rgba(255,255,255,.87)!important}
body:has(.nx-home-v4) .top .links>a:hover,body:has(.nx-home-v4) .top .links>a.active{color:white!important}
body:has(.nx-home-v4) .top .links>a.lang{color:#fff!important;border:1px solid #ffffff70!important;background:#ffffff0b!important;border-radius:2px;padding:9px 15px}
body:has(.nx-home-v4) .top .nx-nav-dropdown .nx-submenu{background:#fff!important}
body:has(.nx-home-v4) .top .nx-nav-dropdown .nx-submenu a{color:#123553!important}
body:has(.nx-home-v4) .top .toggle{background:#143753ba;color:#fff;border:1px solid #ffffff65}
body:has(.nx-home-v4) .top .links{gap:25px}
.nx-home-v4{--nx-v4-ink:#0d263b;--nx-v4-blue:#0a4269;--nx-v4-copper:#d89a57}
.nx-home-v4 .nx-hero.nx-v4-cover{background:#061b2d;position:relative;isolation:isolate;min-height:760px;min-height:100svh;max-height:none}
.nx-home-v4 .nx-v4-cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:brightness(.76) saturate(.86);z-index:-2}
.nx-home-v4 .nx-v4-cover-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,20,36,.85) 0%,rgba(5,26,44,.63) 33%,rgba(8,31,48,.14) 78%),linear-gradient(0deg,rgba(2,15,26,.93) 0%,transparent 35%,rgba(4,20,33,.38) 100%);z-index:-1}
.nx-home-v4 .nx-v4-cover-inner{max-width:1390px;min-height:760px;min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:60px;padding-top:160px;padding-bottom:30px}
.nx-home-v4 .nx-v4-cover-copy{max-width:830px;margin-bottom:auto;margin-top:auto;padding-top:80px;padding-bottom:24px}
.nx-home-v4 .nx-hero .nx-eyebrow{font-weight:650;letter-spacing:.25em;font-size:11px;color:#dcb383;margin-bottom:22px}
.nx-home-v4 .nx-hero h1{font-size:clamp(48px,5.7vw,88px);font-weight:670;line-height:1.13;letter-spacing:-.035em;color:#fff;margin:0 0 28px;text-wrap:balance}
.nx-home-v4 .nx-hero h1 em{font-style:normal;font-weight:300;font-family:Georgia,"Times New Roman",serif;letter-spacing:-.03em;color:#f7f8fa}
html[lang^="zh"] .nx-home-v4 .nx-hero h1 em{font-family:"PingFang SC","Noto Sans SC","Microsoft Yahei",sans-serif;font-weight:330}
.nx-home-v4 .nx-hero p{font-size:clamp(16px,1.3vw,19px);color:#e2e9ee;max-width:575px;line-height:1.85}
.nx-home-v4 .nx-hero-actions{margin-top:31px}
.nx-home-v4 .nx-v4-outline{color:#fff!important;border:1px solid #c8d5e0a6;background:#ffffff12;padding:13px 21px;border-radius:2px;font-weight:650;letter-spacing:.02em}
.nx-home-v4 .nx-v4-text-link{color:#f2f4f6;font-size:14px;font-weight:600;letter-spacing:.04em;padding:12px 6px}
.nx-home-v4 .nx-v4-cover-bottom{border-top:1px solid #c8d4dc5c;padding:22px 0 2px;display:flex;justify-content:space-between;gap:24px;align-items:center;color:#ecf1f5;font-size:10px;font-weight:650;letter-spacing:.18em}
.nx-home-v4 .nx-section{padding:clamp(88px,9vw,135px) 0}
.nx-home-v4 .nx-section .container,.nx-home-v4 .nx-closing .container{max-width:1320px}
.nx-home-v4 .nx-section-head{max-width:900px;margin-bottom:46px}
.nx-home-v4 .nx-section h2{font-size:clamp(34px,3.65vw,56px);font-weight:630;letter-spacing:-.03em;line-height:1.18;margin-bottom:22px}
.nx-home-v4 .nx-kicker{font-weight:700;letter-spacing:.25em;color:#387a9e;font-size:11px;margin-bottom:19px}
.nx-home-v4 .nx-section-head p{font-size:16px;line-height:1.9;max-width:770px}
.nx-home-v4 .nx-v4-services{background:#fdfdfc}
.nx-home-v4 .nx-v4-business-grid{gap:18px}
.nx-home-v4 .nx-v4-business-grid .nx-service-card{min-height:485px;border:0;border-radius:3px;box-shadow:none;position:relative;isolation:isolate;background:#113a56;display:flex;overflow:hidden}
.nx-home-v4 .nx-service-media{position:absolute;inset:0;height:100%;z-index:-2}
.nx-home-v4 .nx-service-media:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,22,38,.94) 0%,rgba(6,27,44,.55) 46%,rgba(4,27,43,.05) 100%)}
.nx-home-v4 .nx-service-media img{height:100%;width:100%;object-fit:cover;filter:saturate(.8);transition:transform .5s}
.nx-home-v4 .nx-service-content{margin-top:auto;padding:32px 29px 34px;color:#fff;min-height:0;gap:10px}
.nx-home-v4 .nx-service-content h3{color:#fff;font-size:clamp(24px,2.3vw,31px);font-weight:650}
.nx-home-v4 .nx-service-content p{color:#e7f0f5;font-size:14px;line-height:1.75;flex:initial;margin-bottom:10px}
.nx-home-v4 .nx-service-content a{color:#fff;font-weight:650;font-size:13px;letter-spacing:.03em;border-bottom:1px solid #dca671;padding-bottom:8px}
.nx-home-v4 .nx-service-card:hover .nx-service-media img{transform:scale(1.07)}
.nx-home-v4 .nx-v4-why{background:#eaf1f4!important}
.nx-home-v4 .nx-why-grid{grid-template-columns:minmax(0,.94fr) minmax(0,1fr);gap:clamp(40px,7vw,116px)}
.nx-home-v4 .nx-why-image{height:clamp(430px,45vw,580px);border-radius:3px;object-fit:cover}
.nx-home-v4 .nx-why-text h2{max-width:11em;font-weight:630}
.nx-home-v4 .nx-why-text p{font-size:16px;color:#4c6577}
.nx-home-v4 .nx-proof-list div{padding:16px 0;color:#213b52}
.nx-home-v4 .nx-proof-list b{background:transparent;font-size:18px;color:#c78b48}
.nx-home-v4 .nx-v4-work{background:white}
.nx-home-v4 .nx-scenes-grid{grid-template-columns:1.08fr 1fr .92fr;gap:18px}
.nx-home-v4 .nx-scene{border:0;border-radius:2px;background:#f3f6f6}
.nx-home-v4 .nx-scene img{height:285px;object-fit:cover}
.nx-home-v4 .nx-scene h3{margin:23px 25px 8px;font-size:19px;font-weight:690}
.nx-home-v4 .nx-scene p{margin:0 25px 26px;font-size:14px}
.nx-home-v4 .nx-scenes-footer{margin-top:30px}
.nx-home-v4 .nx-text-link{font-size:14px;border-color:#c7884c;color:#185479;text-decoration:none}
.nx-home-v4 .nx-v4-closing{background:#092842;color:white;padding:72px 0}
.nx-home-v4 .nx-closing h2{font-size:clamp(27px,3.1vw,43px);font-weight:600}
.nx-home-v4 .nx-closing a{border-radius:3px;background:transparent;color:#fff;border:1px solid #c3d4df}
@media(max-width:980px){
 body:has(.nx-home-v4) .top .nav{height:74px}
 .nx-home-v4 .nx-v4-cover-inner{min-height:740px}
 .nx-home-v4 .nx-v4-business-grid{gap:12px}
 .nx-home-v4 .nx-service-content{padding:23px}
 .nx-home-v4 .nx-service-content h3{font-size:23px}
 .nx-home-v4 .nx-v4-business-grid .nx-service-card{min-height:430px}
 .nx-home-v4 .nx-why-grid{gap:35px}
}
@media(max-width:830px){
 body:has(.nx-home-v4) .top .links{background:#fff;border:1px solid #dce8f0;border-radius:6px;padding:18px;box-shadow:0 20px 50px #102b4780;gap:9px}
 body:has(.nx-home-v4) .top .links>a:not(.lang),body:has(.nx-home-v4) .top .nx-nav-dropdown .nx-about-link,body:has(.nx-home-v4) .top .nx-submenu-toggle{color:#153853!important}
 body:has(.nx-home-v4) .top .links>a.lang{color:#153853!important;border:1px solid #c4d6e2!important}
}
@media(max-width:700px){
 .nx-home-v4 .nx-v4-cover-photo{object-position:61% center}
 .nx-home-v4 .nx-v4-cover-shade{background:linear-gradient(0deg,rgba(3,19,34,.96) 0%,rgba(5,27,44,.55) 75%,rgba(4,24,41,.6) 100%)}
 .nx-home-v4 .nx-v4-cover-inner{min-height:740px;min-height:100svh;padding-top:100px;padding-bottom:21px}
 .nx-home-v4 .nx-v4-cover-copy{padding-top:160px;padding-bottom:25px}
 .nx-home-v4 .nx-hero h1{font-size:clamp(37px,9.6vw,54px);line-height:1.17;margin-bottom:18px}
 .nx-home-v4 .nx-hero p{font-size:14px;line-height:1.9}
 .nx-home-v4 .nx-v4-cover-bottom{flex-direction:column;align-items:flex-start;gap:7px;padding-top:15px;font-size:9px}
 .nx-home-v4 .nx-v4-business-grid,.nx-home-v4 .nx-scenes-grid{grid-template-columns:1fr}
 .nx-home-v4 .nx-v4-business-grid .nx-service-card{min-height:415px}
 .nx-home-v4 .nx-service-content{padding:30px}
 .nx-home-v4 .nx-why-grid{grid-template-columns:1fr}
 .nx-home-v4 .nx-why-image{height:330px}
 .nx-home-v4 .nx-v4-why .nx-why-text h2{max-width:none}
 .nx-home-v4 .nx-scene img{height:245px}
 .nx-home-v4 .nx-section{padding:72px 0}
 .nx-home-v4 .nx-section h2{font-size:33px}
 .nx-home-v4 .nx-section-head{margin-bottom:28px}
 .nx-home-v4 .nx-v4-closing{padding:55px 0}
}
@media(prefers-reduced-motion:reduce){.nx-home-v4 .nx-service-media img{transition:none}}

/* V4 wins over V3's inherited split-hero grid at every viewport. */
.nx-home-v4 .nx-hero .container.nx-v4-cover-inner{display:flex;grid-template-columns:none;min-height:100svh;max-width:1390px;padding-top:150px;padding-bottom:30px;gap:55px;justify-content:space-between;align-items:stretch}
.nx-home-v4 .nx-hero .nx-v4-cover-copy{margin-top:auto;margin-bottom:auto;padding-top:60px}
@media(max-width:700px){
 .nx-home-v4 .nx-hero .container.nx-v4-cover-inner{display:flex;grid-template-columns:none;min-height:100svh;padding-top:105px;padding-bottom:18px;gap:24px}
 .nx-home-v4 .nx-hero .nx-v4-cover-copy{margin-top:auto;margin-bottom:auto;padding-top:90px}
}

/* V4.3 responsive and approved-image framing — homepage only */
.nx-home-v4 .nx-v4-business-grid .nx-service-card:nth-child(3) .nx-service-media img{object-position:25% center}
.nx-home-v4 .nx-service-card:hover .nx-service-media img{transform:scale(1.035)}
.nx-home-v4 .nx-service-card{min-width:0}
.nx-home-v4 .nx-service-content{min-width:0}
@media(min-width:701px) and (max-width:1180px){
 body:has(.nx-home-v4) .top .links{gap:12px}
 .nx-home-v4 .nx-service-content{padding:22px}
 .nx-home-v4 .nx-service-content h3{font-size:clamp(20px,2.2vw,27px)}
 .nx-home-v4 .nx-v4-business-grid{gap:12px}
}
@media(min-width:701px) and (max-width:920px){
 .nx-home-v4 .nx-v4-business-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nx-home-v4 .nx-v4-business-grid .nx-service-card{min-height:380px}
 .nx-home-v4 .nx-v4-business-grid .nx-service-card:last-child{grid-column:span 2}
 .nx-home-v4 .nx-v4-business-grid .nx-service-card:last-child .nx-service-media img{object-position:center 44%}
 .nx-home-v4 .nx-scenes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nx-home-v4 .nx-scene:last-child{grid-column:span 2}
}
@media(max-width:700px){
 .nx-home-v4 .nx-v4-business-grid .nx-service-card:nth-child(3) .nx-service-media img{object-position:35% center}
 .nx-home-v4 .nx-v4-business-grid .nx-service-card{min-height:400px}
 .nx-home-v4 .nx-v4-cover-photo{object-position:61% center}
}
@media(max-width:420px){
 .nx-home-v4 .nx-hero h1{font-size:clamp(32px,9.4vw,42px)}
 .nx-home-v4 .nx-v4-cover-copy{padding-top:50px}
 .nx-home-v4 .nx-section h2{font-size:clamp(29px,8vw,34px)}
 .nx-home-v4 .nx-service-content{padding:23px}
 .nx-home-v4 .nx-service-content h3{font-size:23px}
}
body:has(.nx-home-v4) .toggle{min-width:44px;min-height:44px;cursor:pointer}
.nx-home-v4 a:focus-visible,body:has(.nx-home-v4) .top button:focus-visible{outline:3px solid #e9a66d;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.nx-home-v4 .nx-service-media img{transition:none!important}}
