
.hci-page {
    --hci-blue: #1d75ea;
    --hci-ink: #000;
    --hci-text: #4d4d4d;
    --hci-muted: #4b4b4c;
    --hci-soft: #f7fafd;
    --hci-line: #e5e5e5;

    color: var(--hci-text);
    background: #fff;
    font-family: var(--font-normal);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.hci-page *,
.hci-page *::before,
.hci-page *::after { box-sizing: border-box; }

.hci-page h1,
.hci-page h2,
.hci-page h3,
.hci-page h4 {
    margin-top: 0;
    color: var(--hci-ink);
    font-family: var(--font-medium);
    font-weight: 500;
}

.hci-page p { margin-top: 0; }
.hci-page img { display: block; max-width: 100%; }
.hci-page ul { margin: 0; padding: 0; list-style: none; }

.hci-container { width: 1200px; max-width: calc(100% - 48px); margin: 0 auto; }

.hci-section-head { margin: 0 0 54px 0px; }
.hci-section-head h2 {
    margin-bottom: 8px;
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: -.4px;
}
.hci-section-head p {
    margin-bottom: 0;
    color: var(--hci-muted);
    font-size: 20px;
    line-height: 1.6;
}
.hci-section-title {
    margin: 0 0 101px 0px;
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: .2px;
}

/* 首屏 banner：宽度始终 100vw，按 1920 × 580 设计比例，内容等比缩放；
   字号在桌面/平板上按档位放大后，盒子允许长高，保证文案不被裁切 */
.hci-hero {
    position: relative;
    overflow: hidden;
    background: #eef4fb;
    width: 100%;
    container-type: inline-size;
    min-height: calc(100vw * 580 / 1920);
    height: auto;
}

.hci-hero > * {
    --cqw-length: 100cqw; /* 先按容器宽度解析成 px 再进 atan2，避免部分浏览器跨单位返回 0 */
    --hero-scale: tan(atan2(var(--cqw-length), 1920px)); /* hero 实际宽度 / 1920 */
    zoom: var(--hero-scale);
}

.hci-hero-bg {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.hci-hero-inner { position: relative; height: 580px; }
.hci-hero-copy { margin-left: 0px; padding-top: 194px; max-width: 900px; }
.hci-hero-copy h1 {
    margin-bottom: 17px;
    font-size: 47px;
    line-height: 1.4;
    letter-spacing: -.5px;
}
.hci-hero-copy p {
    margin-bottom: 0;
    color: #0b0b0b;
    font-family: var(--font-medium);
    font-size: 24px;
    line-height: 1.4;
}

.hci-quick-wrap { position: relative; z-index: 2; margin-top: -70px; }

.hci-page .quick-grid { --quick-gap: 17px; }
.hci-page .quick-card { --quick-arrow-right: 15px; padding-top: 28px; }
.hci-page .quick-card-desc { margin-top: 13px; }

.hci-what {
    position: relative;
    z-index: 1;
    margin-top: -50px;
    padding: 167px 0 142px;
    background: var(--hci-soft);
}
.hci-what-body { position: relative; margin-left: 0px; }
.hci-what-points {
    display: grid;
    grid-template-columns: repeat(2, 284px);
    gap: 24px 20px;
}
.hci-what-point {
    display: flex;
    height: 70px;
    align-items: center;
    justify-content: center;
    color: var(--hci-text);
    font-family: var(--font-medium);
    font-size: 16px;
    padding-left: 8px;
    line-height: 1.5;
    white-space: nowrap;
    background: #fff;
    border-radius: 8px;
}

.hci-what-diagram {
    position: absolute;
    top: -23px;
    left: 616px;
    width: 686px;
    max-width: none;
    height: 300px;
}

.hci-functions { padding: 100px 0 126px; background: #fff; }
.hci-feature-grid {
    display: grid;
    width: 1197px;
    max-width: none;
    margin-left: -13px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 31px 30px;
}
.hci-feature-card {
    display: flex;
    height: 259px;
    flex-direction: column;
    align-items: center;
    padding: 39px 30px 0;
    text-align: center;
    background: #fff;
    border: 1px solid var(--hci-line);
    border-radius: 10px;
}
.hci-feature-card.hci-feature-wide {
    grid-row: span 2;
    height: 549px;
    padding-top: 147px;
}
.hci-feature-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}
.hci-feature-card h3 {
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 1.4;
}
.hci-feature-card li {
    color: var(--hci-text);
    font-size: 16px;
    line-height: 28px;
}

.hci-value {
    min-height: 940px;
    padding-top: 100px;
    background: #f7fbff url("../images/value-background.png") center top / 1920px 940px no-repeat;
}
.hci-value-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 30px;
}
.hci-value-intro { margin-top: -6px; }
.hci-value-intro h2 {
    margin-bottom: 8px;
    margin-left: 0px;
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: -.4px;
}
.hci-value-intro p {
    margin-bottom: 0;
    margin-left: 0px;
    color: var(--hci-muted);
    font-size: 20px;
    line-height: 1.6;
}
.hci-value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.hci-value-card {
    height: 189px;
    padding: 30px 40px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(47, 90, 123, .04);
    transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.hci-value-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.4;
    transition: color .25s ease;
}
.hci-value-card p {
    margin-bottom: 0;
    color: var(--hci-text);
    font-size: 16px;
    line-height: 28px;
    transition: color .25s ease;
}
.hci-value-card p span { display: block; white-space: nowrap; }

.hci-value-card.is-highlight { background: var(--hci-blue); box-shadow: 0 10px 26px rgba(29, 117, 234, .18); }
.hci-value-card.is-highlight h3,
.hci-value-card.is-highlight p { color: #fff; }
.hci-value-card:not(.is-highlight):hover {
    background: var(--hci-blue);
    box-shadow: 0 14px 30px rgba(32, 111, 219, .2);
    transform: translateY(-2px);
}
.hci-value-card:not(.is-highlight):hover h3,
.hci-value-card:not(.is-highlight):hover p { color: #fff; }

.hci-faq {
    min-height: 608px;
    padding: 103px 0 60px;
    background: #fff url("../images/faq-background.png") center bottom / 1920px 596px no-repeat;
}
.hci-faq .hci-section-head { margin-bottom: 50px; }
.hci-faq-list { width: 640px; max-width: 100%; padding-left: 20px; }
.hci-faq-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 46px;
}
.hci-faq-question { display: flex; align-items: center; gap: 11px; min-width: 0; }
.hci-faq-question img { flex: 0 0 16px; width: 16px; height: 16px; }
.hci-faq-question span { color: var(--hci-text); font-size: 16px; line-height: 1.5; }
.hci-faq-link {
    display: inline-flex;
    width: 113px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    color: var(--hci-blue);
    font-size: 16px;
    line-height: 1.5;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.hci-faq-link:hover { color: #1765df; }
.hci-faq-link img { width: 25px; height: 18px; }

@media (max-width: 1300px) {
    .hci-section-head,
    .hci-section-title,
    .hci-what-body { margin-left: 0; }
    .hci-value-intro h2,
    .hci-value-intro p { margin-left: 0; }
    .hci-feature-grid { width: 100%; margin-left: 0; }

    .hci-what-diagram {
        position: static;
        width: 100%;
        max-width: 686px;
        height: auto;
        margin: 40px auto 0;
    }
}

@media (max-width: 1180px) {
    .hci-feature-grid { gap: 20px; }
    .hci-feature-card { padding-right: 22px; padding-left: 22px; }
    .hci-value-layout { grid-template-columns: 300px minmax(0, 1fr); }
    .hci-value-card { padding-right: 30px; padding-left: 30px; }
}

@media (max-width: 1100px) {

    .hci-value { min-height: 0; padding-bottom: 80px; background: var(--hci-soft); }
    .hci-value-layout { grid-template-columns: 1fr; gap: 40px; }
    .hci-what { padding-bottom: 100px; }
}

@media (max-width: 980px) {
    .hci-br { display: none; }
    .hci-quick-wrap { margin-top: -90px; }
    .hci-what { padding-top: 120px; }
    .hci-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hci-feature-card.hci-feature-wide { grid-row: auto; height: 259px; padding-top: 39px; }
    .hci-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .hci-what-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .hci-what-point { font-size: 14px; white-space: normal; text-align: center; padding: 0 8px; }
    .hci-feature-grid { grid-template-columns: 1fr; }
    .hci-feature-card,
    .hci-feature-card.hci-feature-wide { height: auto; min-height: 220px; padding: 32px 24px 30px; }
    .hci-value-grid { grid-template-columns: 1fr; gap: 16px; }
    .hci-value-card { height: auto; padding: 24px 22px 26px; }
    .hci-value-card p span { white-space: normal; }
    .hci-faq-list { padding-left: 0; }
    .hci-faq-row { align-items: flex-start; flex-direction: column; gap: 6px; padding: 12px 0 14px; }
    .hci-faq { background-image: none; }
}

@media (max-width: 600px) {
    .hci-container { max-width: calc(100% - 32px); }
    .hci-section-head { margin-bottom: 28px; }
    .hci-section-title { margin-bottom: 36px; }
    .hci-section-head h2,
    .hci-section-title,
    .hci-value-intro h2 { font-size: 27px; }
    .hci-section-head p,
    .hci-value-intro p { font-size: 16px; }
    .hci-quick-wrap { margin-top: -64px; }
    .hci-what { padding: 92px 0 64px; }
    .hci-functions { padding: 56px 0 64px; }
    .hci-value { padding-top: 60px; padding-bottom: 56px; }
    .hci-value-card h3,
    .hci-feature-card h3 { font-size: 19px; }
    .hci-value-card p,
    .hci-feature-card li { font-size: 15px; }
    .hci-faq { padding: 56px 0; }
    .hci-faq-row { padding: 10px 0; }
    .hci-faq-question span,
    .hci-faq-link { font-size: 15px; }
    .hci-faq-link img { width: 22px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .hci-value-card,
    .hci-value-card h3,
    .hci-value-card p { transition: none; }
}

/* 桌面/平板：首屏文案比例系数 = max(--hero-typo 断点档位, --hero-scale)。
   视口 ≤ 1920 时取断点档位（小屏字号比设计值略大，避免字太小）；
   > 1920（宽屏 / 浏览器缩小页面）时取 hero 缩放比，字号严格跟着 banner 等比放大，
   这样滚轮缩放时「字 / 按钮 / 背景图」的比例保持不变。 */
@media (min-width: 1024px) {
    .hci-hero-copy h1 {
        font-size: calc(47px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .hci-hero-copy p {
        font-size: calc(24px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }
}
