﻿/* ============================================================================
 * 人力资源 · 产品演示页  ·  demo.css
 * ----------------------------------------------------------------------------
 * 依赖 /crm/css/crm-theme.css 与 /hr/css/hr-theme.css（提供墨色·纸白令牌、
 * wb-* 工作台块、hr-table、组织架构图等真实页面组件）。
 * 本文件只做两件事：
 *   1. 演示页外壳：导航、Hero、窗口、区块、手机、模块清单、页脚；
 *   2. 把真实壳层（hr-app / hr-side / hr-view）塞进演示窗口里并锁住高度。
 * ==========================================================================*/

.hs-body {
    background: var(--crm-bg);
    color: var(--crm-ink);
    -webkit-font-smoothing: antialiased;
}

.hs-wrap {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------------------------------------------------------------------
 * 1. 顶部导航
 * -------------------------------------------------------------------------*/
.hs-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(248, 248, 247, .88);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--crm-line);
}

.hs-nav-in {
    height: 62px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.hs-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--crm-ink);
}

.hs-brand:hover { color: var(--crm-ink); }

.hs-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--crm-ink);
    color: #fff;
    display: grid;
    place-items: center;
    flex: none;
}

.hs-brand-mark svg { width: 17px; height: 17px; }

.hs-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.hs-brand-text strong { font-size: 14.5px; font-weight: 600; }
.hs-brand-text small {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--crm-faint);
    margin-top: 2px;
}

.hs-nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }

.hs-nav-links a {
    font-size: 13px;
    color: var(--crm-muted);
    padding: 6px 11px;
    border-radius: 8px;
    transition: background .16s ease, color .16s ease;
}

.hs-nav-links a:hover { background: #efefec; color: var(--crm-ink); }

.hs-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hs-nav-cta .hs-btn { height: 34px; }

/* ---------------------------------------------------------------------------
 * 2. 按钮
 * -------------------------------------------------------------------------*/
.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid var(--crm-line);
    background: #fff;
    color: var(--crm-ink);
    font-size: 13.5px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: transform .16s, box-shadow .16s, background .16s, border-color .16s;
}

.hs-btn:hover {
    border-color: #d8d8d3;
    box-shadow: var(--crm-shadow-1);
    color: var(--crm-ink);
}

.hs-btn-primary {
    background: var(--crm-ink);
    border-color: var(--crm-ink);
    color: #fff;
}

.hs-btn-primary:hover {
    background: #2c2c32;
    border-color: #2c2c32;
    color: #fff;
    box-shadow: var(--crm-shadow-2);
}

.hs-btn-ghost { background: transparent; }

/* ---------------------------------------------------------------------------
 * 3. Hero
 * -------------------------------------------------------------------------*/
.hs-hero { padding: 66px 0 38px; }

.hs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--crm-faint);
}

.hs-eyebrow::before { content: ""; width: 22px; height: 1px; background: #cfcfca; }

.hs-hero h1 {
    margin: 18px 0 0;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.16;
    letter-spacing: -.035em;
    font-weight: 600;
    max-width: 800px;
    color: var(--crm-ink);
}

.hs-hero h1 em { font-style: normal; color: var(--crm-muted); }

.hs-lede {
    margin-top: 18px;
    max-width: 640px;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--crm-muted);
}

.hs-hero-actions { margin-top: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.hs-chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }

.hs-chip {
    font-size: 11.8px;
    color: var(--crm-muted);
    background: #fff;
    border: 1px solid var(--crm-line);
    border-radius: 999px;
    padding: 4px 11px;
}

.hs-hero-stats {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--crm-line);
}

.hs-hstat { padding: 18px 0 4px; border-right: 1px solid var(--crm-line-2); }
.hs-hstat:last-child { border-right: 0; }
.hs-hstat strong {
    display: block;
    font-size: 27px;
    letter-spacing: -.03em;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.hs-hstat span { display: block; margin-top: 3px; font-size: 12px; color: var(--crm-faint); }

/* ---------------------------------------------------------------------------
 * 4. 演示窗口
 * -------------------------------------------------------------------------*/
.hs-window-wrap { padding: 10px 0 20px; }

.hs-window {
    border-radius: 18px;
    border: 1px solid #e2e2dd;
    background: #fff;
    box-shadow: 0 40px 80px -40px rgba(24, 24, 27, .35), 0 6px 18px rgba(24, 24, 27, .05);
    overflow: hidden;
}

.hs-chrome {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background: #fbfbfa;
    border-bottom: 1px solid var(--crm-line);
}

.hs-dot { width: 9px; height: 9px; border-radius: 50%; background: #e3e3de; }
.hs-dot:nth-child(2) { background: #e9e5dc; }
.hs-dot:nth-child(3) { background: #e0e7e2; }

.hs-url {
    margin-left: 10px;
    flex: 1;
    max-width: 440px;
    height: 24px;
    border-radius: 6px;
    background: #f2f2ef;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    font-size: 11px;
    color: var(--crm-faint);
}

.hs-url svg { width: 11px; height: 11px; }

.hs-chrome-tag {
    margin-left: auto;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--crm-faint);
}

.hs-screen { display: none; }
.hs-screen.is-on { display: block; }

/* ---- 4.1 把真实壳层锁进窗口 ---- */
.hs-win .hr-app {
    position: relative;
    height: 800px;
    min-height: 0;
    overflow: hidden;
    background: var(--crm-bg);
}

/* 侧栏必须留在 flex 流里：原来改成 absolute 后 hr-main 从 x=0 开始，
   正文整块钻到导航底下，看起来就是"导航和正文重叠" */
.hs-win .hr-side {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    height: auto;
    align-self: stretch;
    flex: 0 0 var(--hr-side-w);
    z-index: 1;
}

.hs-win .hr-main { height: 800px; min-width: 0; overflow: hidden; }

.hs-win .hr-top { position: relative; top: auto; }

.hs-win .hr-view {
    height: calc(800px - var(--hr-top-h));
    min-height: 0;
    overflow-y: auto;
    padding: 12px 14px 20px;
}

.hs-win .hr-view::-webkit-scrollbar { width: 6px; }
.hs-win .hr-view::-webkit-scrollbar-thumb { background: #dcdcd8; border-radius: 3px; }

.hs-win .hr-nav-item,
.hs-win .hr-quick-card,
.hs-win .wb-kpi,
.hs-win .wb-tab,
.hs-win .crm-btn { cursor: default; }

.hs-win .hr-search input { pointer-events: none; }
.hs-win .hr-nav { overflow: hidden; }
.hs-win .hr-progress,
.hs-win .hr-skeleton,
.hs-win .hr-toast { display: none !important; }

/* 页面标题条：窗口里的二级页 */
.hs-page-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hs-page-head h2 { font-size: 15px; font-weight: 700; margin: 0; }
.hs-page-head span { font-size: 11.5px; color: var(--crm-faint); }

/* ---- 4.2 窗口里的组织架构图 ---- */
.hs-org {
    --hr-oc-line: #dcdcd6;
    padding: 12px 6px 18px;
    overflow: hidden;
    background: #fff;
    background-image: radial-gradient(circle at 1px 1px, #f0f0ec 1px, transparent 0);
    background-size: 16px 16px;
    border: 1px solid var(--crm-line);
    border-radius: var(--crm-r);
}

/* 缩到窗口放得下：1410 的树宽 × .64 ≈ 900，正好落在正文宽度里，不再两边被裁 */
.hs-org .hr-oc-tree { zoom: .64; }

.hs-org-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 12px 0;
    font-size: 11px;
    color: var(--crm-muted);
}

.hs-org-hint i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: -1px;
    border: 1px solid var(--crm-line);
}

.hs-org-hint i.is-dept { background: var(--crm-brand); border-color: var(--crm-brand); }
.hs-org-hint i.is-posit { background: var(--crm-cyan); border-color: var(--crm-cyan); }
.hs-org-hint i.is-epm { background: #8a6746; border-color: #8a6746; }

/* ---- 4.3 窗口里的简易统计图 ---- */
.hs-bars { display: flex; flex-direction: column; gap: 9px; }

.hs-bar-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 78px;
    align-items: center;
    gap: 10px;
}

.hs-bar-row .lb { font-size: 11.5px; color: var(--crm-ink-2); }

.hs-bar-track {
    position: relative;
    height: 14px;
    border-radius: 4px;
    background: var(--crm-sink);
    overflow: hidden;
}

.hs-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 4px;
    background: var(--crm-brand);
}

.hs-bar-fill.is-soft { background: #b9c4d8; }
.hs-bar-fill.is-amber { background: var(--crm-amber); }
.hs-bar-fill.is-ok { background: var(--crm-ok); }

.hs-bar-row .vv {
    font-size: 11px;
    color: var(--crm-muted);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* 屏幕切换器 */
.hs-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 22px 0 0;
    flex-wrap: wrap;
}

.hs-tab {
    height: 34px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid var(--crm-line);
    background: #fff;
    color: var(--crm-muted);
    font-size: 12.8px;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: background .16s, color .16s, border-color .16s;
}

.hs-tab:hover { border-color: #d6d6d1; color: var(--crm-ink); }
.hs-tab.is-on { background: var(--crm-ink); border-color: var(--crm-ink); color: #fff; }
.hs-tab svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------------------
 * 5. 区块
 * -------------------------------------------------------------------------*/
.hs-section { padding: 76px 0 10px; }

.hs-section-head { max-width: 700px; margin-bottom: 30px; }
.hs-section-head h2 {
    font-size: clamp(22px, 2.6vw, 29px);
    letter-spacing: -.03em;
    margin: 12px 0 0;
    color: var(--crm-ink);
}
.hs-section-head p { margin: 12px 0 0; font-size: 13.6px; line-height: 1.85; color: var(--crm-muted); }

.hs-grid { display: grid; gap: 14px; }
.hs-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hs-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hs-card {
    background: #fff;
    border: 1px solid var(--crm-line);
    border-radius: var(--crm-r);
    padding: 18px 18px 16px;
    transition: box-shadow .18s, transform .18s, border-color .18s;
}

.hs-card:hover { box-shadow: var(--crm-shadow-2); border-color: #e0e0db; }

.hs-card-ico {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--crm-sink);
    border: 1px solid var(--crm-line);
    color: var(--crm-ink-2);
}

.hs-card-ico svg { width: 16px; height: 16px; }
.hs-card h3 { margin: 13px 0 0; font-size: 14.2px; font-weight: 600; color: var(--crm-ink); }
.hs-card p { margin: 7px 0 0; font-size: 12.4px; line-height: 1.75; color: var(--crm-muted); }
.hs-card ul { margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.hs-card li {
    font-size: 11.8px;
    color: var(--crm-muted);
    display: flex;
    gap: 7px;
    align-items: flex-start;
    list-style: none;
}
.hs-card li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cfcfca;
    margin-top: 6px;
    flex: none;
}

/* 流程条 */
.hs-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--crm-line);
    border-radius: var(--crm-r);
    overflow: hidden;
    background: #fff;
}

.hs-flow-step { padding: 20px 18px; border-right: 1px solid var(--crm-line-2); }
.hs-flow-step:last-child { border-right: 0; }
.hs-flow-step em {
    font-style: normal;
    font-size: 10.5px;
    letter-spacing: .12em;
    color: var(--crm-faint);
}
.hs-flow-step strong { display: block; margin-top: 8px; font-size: 13.6px; color: var(--crm-ink); }
.hs-flow-step p { margin: 6px 0 0; font-size: 11.8px; line-height: 1.7; color: var(--crm-muted); }

/* 生命周期阶段链 */
.hs-stages {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--crm-line);
    border-radius: var(--crm-r);
    overflow: hidden;
    background: #fff;
    margin-top: 14px;
}

.hs-stage { flex: 1; padding: 15px 14px; border-right: 1px solid var(--crm-line-2); }
.hs-stage:last-child { border-right: 0; }
.hs-stage span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--crm-faint);
}
.hs-stage span i { width: 6px; height: 6px; border-radius: 50%; background: #cfcfca; }
.hs-stage strong { display: block; margin-top: 7px; font-size: 13px; color: var(--crm-ink); }
.hs-stage p { margin: 4px 0 0; font-size: 11.5px; color: var(--crm-faint); line-height: 1.65; }

/* 交接清单样张 */
.hs-check {
    border: 1px solid var(--crm-line);
    border-radius: var(--crm-r);
    background: #fff;
    overflow: hidden;
}

.hs-check-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--crm-line-2);
    background: var(--crm-sink);
}

.hs-check-head strong { font-size: 13px; }
.hs-check-head span { font-size: 11.5px; color: var(--crm-faint); }
.hs-check-head em {
    margin-left: auto;
    font-style: normal;
    font-size: 11.5px;
    color: var(--crm-ok);
    font-variant-numeric: tabular-nums;
}

.hs-check-body { padding: 8px 10px 12px; display: flex; flex-direction: column; gap: 2px; }

.hs-check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--crm-ink-2);
}

.hs-check-item:hover { background: var(--crm-sink); }

.hs-check-box {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1px solid #d6d6d0;
    background: #fff;
    flex: none;
    display: grid;
    place-items: center;
    color: #fff;
}

.hs-check-box svg { width: 10px; height: 10px; }
.hs-check-item.is-done .hs-check-box { background: var(--crm-ok); border-color: var(--crm-ok); }
.hs-check-item.is-done span { color: var(--crm-faint); text-decoration: line-through; }
.hs-check-item em {
    margin-left: auto;
    font-style: normal;
    font-size: 10.5px;
    color: var(--crm-faint);
    border: 1px solid var(--crm-line);
    border-radius: 5px;
    padding: 1px 6px;
}

.hs-progress {
    height: 4px;
    border-radius: 4px;
    background: var(--crm-line-2);
    overflow: hidden;
    margin: 0 16px 12px;
}

.hs-progress i { display: block; height: 100%; background: var(--crm-ok); border-radius: 4px; }

/* 对比条（转正前 / 后） */
.hs-compare {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hs-cmp {
    background: #fff;
    border: 1px solid var(--crm-line);
    border-radius: var(--crm-r);
    padding: 16px 18px;
}

.hs-cmp .lb { font-size: 11.5px; color: var(--crm-faint); }
.hs-cmp .now { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.hs-cmp .now b { font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hs-cmp .now s {
    text-decoration: none;
    font-size: 12px;
    color: var(--crm-faint);
    font-variant-numeric: tabular-nums;
}
.hs-cmp .now em {
    margin-left: auto;
    font-style: normal;
    font-size: 11.5px;
    color: var(--crm-ok);
    font-weight: 600;
}
.hs-cmp .trk { height: 4px; border-radius: 4px; background: var(--crm-line-2); margin-top: 12px; overflow: hidden; }
.hs-cmp .trk i { display: block; height: 100%; background: var(--crm-brand); border-radius: 4px; }

/* AI 对话 */
.hs-ai {
    border: 1px solid var(--crm-line);
    border-radius: var(--crm-r);
    background: #fff;
    overflow: hidden;
}

.hs-ai-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--crm-line-2);
    background: var(--crm-sink);
    font-size: 12.5px;
    font-weight: 600;
}

.hs-ai-head .mk {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: var(--crm-brand);
    color: #fff;
    display: grid;
    place-items: center;
}

.hs-ai-head .mk svg { width: 12px; height: 12px; }
.hs-ai-head em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--crm-faint); font-weight: 400; }

.hs-ai-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }

.hs-bubble {
    max-width: 92%;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.8;
}

.hs-bubble.is-q {
    align-self: flex-end;
    background: var(--crm-brand);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.hs-bubble.is-a {
    background: var(--crm-sink);
    border: 1px solid var(--crm-line-2);
    color: var(--crm-ink-2);
    border-bottom-left-radius: 4px;
}

.hs-bubble.is-a b { color: var(--crm-ink); }
.hs-bubble ol { margin: 8px 0 0; padding-left: 18px; }
.hs-bubble li { margin-top: 4px; }

/* 移动端 */
.hs-mobile { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 46px; align-items: center; }

.hs-phone {
    width: 300px;
    height: 612px;
    border-radius: 40px;
    background: #fff;
    border: 1px solid #e0e0db;
    box-shadow: 0 40px 70px -40px rgba(24, 24, 27, .4);
    padding: 10px;
    margin: 0 auto;
    position: relative;
}

.hs-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 22px;
    border-radius: 0 0 14px 14px;
    background: #fff;
    z-index: 2;
}

.hs-phone-screen {
    height: 100%;
    border-radius: 32px;
    background: var(--crm-bg);
    overflow: hidden;
    border: 1px solid var(--crm-line-2);
    position: relative;
}

.hs-phone-top {
    padding: 30px 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hs-phone-top strong { font-size: 12.5px; }
.hs-phone-top svg { width: 15px; height: 15px; color: var(--crm-muted); }

.hs-phone-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 14px 0; }
.hs-phone-kpi { background: #fff; border: 1px solid var(--crm-line); border-radius: 10px; padding: 10px 11px; }
.hs-phone-kpi span { display: block; font-size: 10.5px; color: var(--crm-faint); }
.hs-phone-kpi strong { font-size: 19px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.hs-phone-list { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }

.hs-phone-item {
    background: #fff;
    border: 1px solid var(--crm-line);
    border-radius: 10px;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.hs-phone-item b { font-size: 12px; font-weight: 500; display: block; color: var(--crm-ink); }
.hs-phone-item small { font-size: 10.5px; color: var(--crm-faint); display: block; margin-top: 2px; }
.hs-phone-item em {
    margin-left: auto;
    font-style: normal;
    font-size: 10.5px;
    color: var(--crm-muted);
    border: 1px solid var(--crm-line);
    border-radius: 6px;
    padding: 2px 7px;
}

.hs-phone-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 54px;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--crm-line);
    border-radius: 0 0 32px 32px;
    display: flex;
}

.hs-phone-nav span {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 9.5px;
    color: var(--crm-faint);
}

.hs-phone-nav span.is-on { color: var(--crm-ink); }
.hs-phone-nav svg { width: 14px; height: 14px; }

/* 模块清单 */
.hs-modules {
    border: 1px solid var(--crm-line);
    border-radius: var(--crm-r);
    background: #fff;
    overflow: hidden;
}

.hs-module-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 130px;
    gap: 18px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--crm-line-2);
    align-items: baseline;
}

.hs-module-row:last-child { border-bottom: 0; }
.hs-module-row strong { font-size: 13.2px; font-weight: 600; color: var(--crm-ink); }
.hs-module-row p { margin: 0; font-size: 12.1px; color: var(--crm-muted); line-height: 1.7; }
.hs-module-row span { font-size: 11.2px; color: var(--crm-faint); text-align: right; }

/* CTA + 页脚 */
.hs-cta {
    margin: 74px 0 0;
    border-radius: var(--crm-r-lg);
    background: var(--crm-ink);
    color: #fff;
    padding: 44px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.hs-cta h2 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.03em; margin: 0; color: #fff; }
.hs-cta > div:first-child { flex: 1 1 460px; min-width: 0; }
.hs-cta > div:last-child { flex: 0 0 auto; }
.hs-cta p { margin: 9px 0 0; font-size: 13px; color: rgba(255, 255, 255, .62); max-width: 560px; line-height: 1.8; }
.hs-cta .hs-btn { background: #fff; border-color: #fff; color: var(--crm-ink); }
.hs-cta .hs-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.hs-cta .hs-btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.hs-foot {
    padding: 30px 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.hs-foot p { margin: 0; font-size: 11.8px; color: var(--crm-faint); }
.hs-foot a { color: var(--crm-muted); }

/* ---------------------------------------------------------------------------
 * 6. 断点
 * -------------------------------------------------------------------------*/
@media (max-width: 1080px) {
    /* 窄屏不再整块隐藏：窗口保持 1220 的桌面排版，整体等比缩到容器宽度，
       demo.js 里的 fitWindow() 负责算缩放比并把多出来的高度收掉 */
    .hs-window-wrap { overflow: hidden; }
    .hs-window { width: 1220px; transform-origin: top left; will-change: transform; }
    .hs-tabs { margin-top: 16px; gap: 5px; }
    .hs-tab { height: 30px; padding: 0 11px; font-size: 12px; }
    .hs-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-g3 { grid-template-columns: 1fr; }
    .hs-flow { grid-template-columns: 1fr; }
    .hs-flow-step { border-right: 0; border-bottom: 1px solid var(--crm-line-2); }
    .hs-mobile { grid-template-columns: 1fr; gap: 30px; }
    .hs-stages { flex-wrap: wrap; }
    .hs-stage { flex: 1 1 45%; border-bottom: 1px solid var(--crm-line-2); }
    .hs-compare { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .hs-wrap { padding: 0 16px; }
    .hs-nav-links { display: none; }
    .hs-hero { padding: 40px 0 26px; }
    .hs-hero-stats { grid-template-columns: 1fr 1fr; }
    .hs-hstat:nth-child(2) { border-right: 0; }
    .hs-hstat { border-bottom: 1px solid var(--crm-line-2); padding-bottom: 14px; }
    .hs-section { padding: 52px 0 6px; }
    .hs-g4, .hs-g2 { grid-template-columns: 1fr; }
    .hs-module-row { grid-template-columns: 1fr; gap: 4px; }
    .hs-module-row span { text-align: left; }
    .hs-cta { padding: 28px 22px; }
    .hs-phone { width: 280px; height: 574px; }
    .hs-bar-row { grid-template-columns: 60px minmax(0, 1fr) 66px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
