/* 首页视觉与性能增强；依赖现有 Bootstrap 栅格，不隐藏任何 SEO 正文。 */
:root {
    --xh-primary: #f36f21;
    --xh-primary-light: #ff9f62;
    --xh-ink: #182033;
    --xh-muted: #667085;
    --xh-line: #e9edf4;
    --xh-surface: #f7f9fc;
    --xh-navy: #0c1324;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { color: var(--xh-ink); background: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(243,111,33,.35); outline-offset: 3px; }

/* 不以加载动画遮挡首屏，页面内容可立即绘制。 */
#loading, .top-search { display: none !important; }

nav.navbar.bootsnav.no-background.white {
    min-height: 72px;
    padding: 10px 0;
    border: 0;
}
nav.navbar.bootsnav .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 6px 15px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.2px;
}
nav.navbar.bootsnav .navbar-brand:hover,
nav.navbar.bootsnav .navbar-brand:focus { color: #fff; }
nav.navbar.bootsnav .navbar-brand img { position: static; width: 38px !important; height: 38px !important; object-fit: cover; border-radius: 11px; box-shadow: 0 5px 18px rgba(0,0,0,.18); }
nav.navbar.bootsnav ul.nav > li > a { padding: 16px 11px; font-size: 14px; font-weight: 600; }
nav.navbar.bootsnav ul.nav > li:last-child > a {
    margin-left: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 999px;
    transform: translateY(6px);
}
nav.navbar.bootsnav.no-background.white.xh-nav-scrolled { background: rgba(10,15,28,.94); backdrop-filter: blur(14px); }

.home {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    background-position: center;
}
.home .overlay {
    background:
        radial-gradient(circle at 75% 30%, rgba(247,121,46,.23), transparent 32%),
        linear-gradient(105deg, rgba(7,11,23,.94) 0%, rgba(9,15,29,.86) 48%, rgba(9,15,29,.55) 100%);
}
.home .main_home {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 140px 15px 110px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.home .home_text { max-width: 700px; }
.home_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px 13px;
    color: #ffd9c2;
    background: rgba(247,121,46,.13);
    border: 1px solid rgba(255,174,125,.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.home_eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff995b; box-shadow: 0 0 0 5px rgba(255,153,91,.14); }
.home_text h1 { max-width: 720px; font-size: clamp(38px,5vw,68px); line-height: 1.14; letter-spacing: -1.5px; }
.home_text h1 em { color: #ff995b; font-style: normal; }
.home_text .home_sub { max-width: 720px; margin-top: 24px; font-size: 16px; line-height: 1.9; }
.home_badges { display: flex; flex-wrap: wrap; gap: 9px; }
.home_text .home_badges span { margin: 0; padding: 7px 13px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.home_btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px !important; }
.home_btns a.btn { margin: 0; min-width: 144px; }
.home_btns .home_guide { margin-left: 8px; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 600; text-decoration: none; }
.home_btns .home_guide span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.home_btns .home_guide:hover { color: #fff; }
.home_btns .home_guide:hover span { transform: translateX(3px); }

.home_console {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 24px;
    background: rgba(15,22,39,.72);
    box-shadow: 0 30px 80px rgba(0,0,0,.36);
    backdrop-filter: blur(16px);
}
.home_console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(135deg,rgba(255,255,255,.17),transparent 45%); pointer-events: none; }
.console_top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.console_top strong { font-size: 15px; }
.console_status { display: inline-flex; align-items: center; gap: 7px; color: #9ee6b5; font-size: 12px; }
.console_status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #55d982; box-shadow: 0 0 0 5px rgba(85,217,130,.12); }
.console_flow { padding: 22px 0 14px; }
.console_step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; position: relative; padding-bottom: 19px; }
.console_step:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 1px; background: rgba(255,255,255,.16); }
.console_num { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: #fff; background: linear-gradient(135deg,var(--xh-primary),var(--xh-primary-light)); border-radius: 10px; font-size: 13px; font-weight: 800; }
.console_step b { display: block; margin: 1px 0 4px; color: #fff; font-size: 14px; }
.console_step span { color: rgba(255,255,255,.58); font-size: 12.5px; line-height: 1.6; }
.console_url { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; color: #cbd5e1; background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 12px; }
.console_url b { color: #75e0a7; font-family: inherit; font-weight: 600; }

.xh-proofbar { position: relative; z-index: 3; margin-top: -37px; }
.xh-proofbar__inner { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; background: #fff; border: 1px solid var(--xh-line); border-radius: 18px; box-shadow: 0 18px 50px rgba(22,32,51,.11); }
.xh-proof { padding: 22px 18px; text-align: center; }
.xh-proof + .xh-proof { border-left: 1px solid var(--xh-line); }
.xh-proof b { display: block; color: var(--xh-ink); font-size: 19px; font-weight: 800; }
.xh-fact b { color: #c84f0a; }
.xh-proof span { color: var(--xh-muted); font-size: 12.5px; }

#scene, #advantage, #faq, #about, #cbrand { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.scene { padding-top: 34px; }
.service_item { position: relative; }
.service_item h3 { font-size: 17px; font-weight: 800; color: var(--xh-ink); margin: 16px 0 0; }
.advantage .xh-adv-grid > .col-md-4 { display: flex; margin-bottom: 26px; }
.advantage .service_item { width: 100%; }
.service_item::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg,var(--xh-primary),var(--xh-primary-light)); transform: scaleX(0); transition: transform .28s; }
.service_item:hover::after { transform: scaleX(1); }

.xh-cta { position: relative; overflow: hidden; padding: 72px 0; color: #fff; background: var(--xh-navy); }
.xh-cta::before { content: ""; position: absolute; width: 380px; height: 380px; right: -80px; top: -180px; border-radius: 50%; background: rgba(247,121,46,.16); filter: blur(2px); }
.xh-cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.xh-cta h2 { margin: 0 0 12px; color: #fff; font-size: clamp(25px,3vw,38px); font-weight: 800; }
.xh-cta p { max-width: 680px; margin: 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.8; }
.xh-cta .btn { flex: 0 0 auto; padding: 14px 28px; border: 0; border-radius: 999px; background: linear-gradient(90deg,var(--xh-primary),var(--xh-primary-light)); color: #fff; font-weight: 800; box-shadow: 0 12px 30px rgba(247,121,46,.3); }

.xh-platforms { padding: 54px 0; background: #fff; }
.xh-platforms__title { margin-bottom: 26px; color: var(--xh-muted); text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.xh-platforms__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.xh-platform { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; color: #344054; background: var(--xh-surface); border: 1px solid var(--xh-line); border-radius: 12px; font-size: 14px; font-weight: 700; }
.xh-platform::before { content: "✓"; color: var(--xh-primary); font-weight: 900; }
.scrollup { border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.2); }

@media (max-width: 991px) {
    nav.navbar.bootsnav .navbar-header { float: none; }
    nav.navbar.bootsnav .navbar-toggle { display: block; margin-top: 7px; }
    nav.navbar.bootsnav .navbar-collapse { display: none !important; float: none !important; clear: both; max-height: calc(100vh - 72px); overflow-y: auto; border: 0; box-shadow: none; }
    nav.navbar.bootsnav .navbar-collapse.in { display: block !important; }
    nav.navbar.bootsnav .navbar-nav { float: none !important; margin: 8px -15px 0; }
    nav.navbar.bootsnav .navbar-nav > li { float: none; }
    nav.navbar.bootsnav .navbar-nav > li > a { padding: 12px 18px; }
    nav.navbar.bootsnav ul.nav > li:last-child > a { margin: 5px 16px 14px; transform: none; text-align: center; }
    .home .main_home {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        padding-top: 124px;
        padding-bottom: 90px;
    }
}

@media (max-width: 767px) {
    nav.navbar.bootsnav.no-background.white { min-height: 64px; padding: 6px 0; }
    nav.navbar.bootsnav .navbar-brand { height: 50px; font-size: 15px; }
    nav.navbar.bootsnav .navbar-brand img { width: 34px !important; height: 34px !important; }
    .home {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
    }
    .home .main_home {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        padding: 112px 20px 78px;
    }
    .home_text h1 { font-size: clamp(35px,10vw,48px); letter-spacing: -1px; }
    .home_text .home_sub { font-size: 14.5px; line-height: 1.8; }
    .home_btns { display: grid; grid-template-columns: 1fr 1fr; }
    .home_btns .home_guide { grid-column: 1 / -1; margin: 4px 0 0; text-align: center; }
    .home_console { padding: 17px; border-radius: 18px; }
    .xh-proofbar { margin-top: -25px; }
    .xh-proofbar__inner { grid-template-columns: 1fr 1fr; }
    .xh-proof:nth-child(3) { border-left: 0; border-top: 1px solid var(--xh-line); }
    .xh-proof:nth-child(4) { border-top: 1px solid var(--xh-line); }
    .xh-proof { padding: 16px 10px; }
    .xh-proof b { font-size: 16px; }
    .scene { padding-top: 24px; }
    .xh-cta { padding: 52px 0; }
    .xh-cta__inner { display: block; text-align: center; }
    .xh-cta p { margin: 0 auto 24px; }
    .xh-platforms { padding: 42px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
