

.sec-page {
    background: #fff;
    color: #333;
    font-family: var(--font-normal);
}

.sec-page .sec-title {
    margin: 0;
    font-family: var(--font-bold);
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;
    letter-spacing: .5px;
    color: #333;
    text-align: center;
}

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

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

.sec-hero .container {
    position: relative;
    height: 100%;
}

.sec-hero-copy {
    padding: 149px 0 0 34px;
}

.sec-hero-title {
    margin: 0;
    font-family: var(--font-bold);
    font-size: 60px;
    font-weight: 700;
    line-height: 72px;
    letter-spacing: 1px;
    color: #000;
}

.sec-hero-desc {
    width: 760px;
    max-width: 100%;
    margin: 44px 0 0;
    font-family: var(--font-normal);
    font-size: 26px;
    line-height: 36px;
    color: #333;
}

.sec-hero-desc-sub {
    margin-top: 25px;
}

.sec-hero-btn {
    display: flex;
    width: 196px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-top: 74px;
    border-radius: 8px;
    background: linear-gradient(90deg, #1c4ede 0%, #1f95f9 100%);
    font-family: var(--font-medium);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.sec-hero-btn:hover {
    box-shadow: 0 10px 24px -10px rgba(28, 78, 222, .65);
    transform: translateY(-2px);
}

.sec-quick-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin: 104px 0 0;
    padding: 0;
    list-style: none;
}

.sec-quick-card {
    display: flex;
    height: 145px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 0;
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(44, 96, 143, .1);
    -webkit-backdrop-filter: blur(47px);
    backdrop-filter: blur(47px);
}

.sec-quick-icon {
    display: block;
    width: 36px;
    height: 36px;
}

.sec-quick-title {
    margin-top: 1px;
    font-family: var(--font-medium);
    font-size: 28px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 1px;
    color: #111;
}

.sec-quick-desc {
    font-family: var(--font-normal);
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    color: #666;
    white-space: nowrap;
}

.sec-services {
    padding: 90px 0 0;
    background: #fff;
}

.sec-services .sec-title {
    margin-bottom: 54px;
}

.sec-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sec-service-card {
    display: flex;
    height: 302px;
    flex-direction: column;
    overflow: hidden;
}

.sec-service-head {
    display: flex;
    height: 57px;
    flex: 0 0 57px;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #0659d5;
    border-radius: 10px 10px 0 0;
    font-family: var(--font-medium);
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .5px;
    color: #fff;
    white-space: nowrap;
}

.sec-service-head.is-sm { font-size: 29px; letter-spacing: 0; }
.sec-service-head.is-xs { font-size: 27px; letter-spacing: 0; }

.sec-service-body {
    padding: 13px 28px 20px;
}

.sec-service-body p {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    color: #333;
}

.sec-services .u-consult-wrap {
    margin-top: 49px;
}

.sec-scene {
    padding: 129px 0 92px;
    background: #fff;
}

.sec-scene .sec-title {
    margin-bottom: 49px;
}

.sec-scene-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sec-scene-card {
    display: flex;
    height: 186px;
    flex-direction: column;
    align-items: center;
    padding-top: 36px;
}

.sec-scene-icon {
    display: block;
    width: 90px;
    height: 90px;
}

.sec-scene-name {
    margin-top: 11px;
    font-family: var(--font-normal);
    font-size: 24px;
    font-weight: 400;
    line-height: 34px;
    color: #333;
    white-space: nowrap;
}

.sec-detect {
    min-height: 963px;
    padding: 84px 0 100px;
    background: #eaf4fd url("../images/detect-bg.png") center top / 100% 963px no-repeat;
}

.sec-detect .sec-title {
    margin-bottom: 65px;
}

.sec-detect-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 21px 20px;
}

.sec-detect-card {
    display: flex;
    height: 322px;
    grid-column: span 2;
    flex-direction: column;
    align-items: center;
    padding: 39px 33px 0;
    text-align: center;
}

.sec-detect-card:nth-child(4) { grid-column: 2 / span 2; }
.sec-detect-card:nth-child(5) { grid-column: 4 / span 2; }

.sec-detect-icon {
    display: block;
    width: 122px;
    height: 102px;
}

.sec-detect-name {
    margin: 21px 0 0;
    font-family: var(--font-medium);
    font-size: 30px;
    font-weight: 500;
    line-height: 42px;
    color: #333;
}

.sec-detect-desc {
    margin: 13px 0 0;
    font-size: 20px;
    line-height: 30px;
    color: #666;
}

.sec-advantage {
    padding: 56px 0 108px;
    background-color: #fff;
    background-image: url("../images/adv-band.png"), url("../images/adv-wave.png");
    background-position: center top, center 284px;
    background-size: 100% 284px, 100% 447px;
    background-repeat: no-repeat, no-repeat;
}

.sec-advantage-title {
    margin: 0 0 41px;
    font-family: var(--font-bold);
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;
    letter-spacing: 0;
    color: #fff;
    text-align: center;
}

.sec-advantage-panel {
    position: relative;
    width: 1114px;
    height: 476px;
    margin: 0 auto;
    background: #fff url("../images/adv-panel.png") center / 100% 100% no-repeat;
}

.sec-advantage-badge {
    position: absolute;
    top: -41px;
    right: -17px;
    z-index: 3;
    width: 109px;
    height: 122px;
}

.sec-advantage-stats {
    position: absolute;
    top: 0;
    left: 0;
    width: 584px;
    height: 100%;
}

.sec-adv-stat {
    position: absolute;
    width: 380px;
    text-align: center;
    transform: translateX(-50%);
}

.sec-adv-stat:nth-child(1) { top: 90px; left: 128px; }
.sec-adv-stat:nth-child(2) { top: 90px; left: 412px; }
.sec-adv-stat:nth-child(3) { top: 283px; left: 128px; }
.sec-adv-stat:nth-child(4) { top: 283px; left: 412px; }

.sec-adv-stat-num {
    display: block;
    font-family: var(--font-bold);
    font-size: 60px;
    font-weight: 700;
    line-height: 64px;
    letter-spacing: 1px;
    color: #0659d5;
    white-space: nowrap;
}

.sec-adv-stat-label {
    display: block;
    margin-top: 3px;
    font-family: var(--font-bold);
    font-size: 30px;
    font-weight: 500;
    line-height: 42px;
    color: #333;
    white-space: nowrap;
}

.sec-advantage-cards {
    position: absolute;
    top: 54px;
    right: 23px;
    display: grid;
    width: 507px;
    grid-template-columns: repeat(2, 245px);
    gap: 24px 17px;
}

.sec-advantage-card {
    display: flex;
    height: 176px;
    flex-direction: column;
    padding: 23px 25px 0 22px;
    border-bottom: 6px solid #0659d5;
}

.sec-advantage-icon {
    display: block;
    width: 28px;
    height: 28px;
}

.sec-advantage-card h3 {
    margin: 10px 0 0;
    font-family: var(--font-medium);
    font-size: 25px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: .5px;
    color: #333;
    white-space: nowrap;
}

.sec-advantage-card p {
    margin: 13px 0 0;
    font-family: var(--font-normal);
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    color: #666;
}

.sec-flow {
    padding: 92px 0 149px;
    background: #fff;
}

.sec-flow .sec-title {
    margin-bottom: 60px;
}

.sec-flow-list {
    position: relative;
    height: 316px;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--common-box-shadow);
    list-style: none;
}

.sec-flow-step {
    position: absolute;
    top: 47px;
    width: 220px;
    text-align: center;
    transform: translateX(-50%);
}

.sec-flow-step:nth-child(1) { left: 130px; }
.sec-flow-step:nth-child(2) { left: 364px; }
.sec-flow-step:nth-child(3) { left: 599px; }
.sec-flow-step:nth-child(4) { left: 833px; }
.sec-flow-step:nth-child(5) { left: 1068px; }

.sec-flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 58px;
    left: calc(50% + 57px);
    width: 113px;
    height: 22px;
    margin-top: -11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='22' viewBox='0 0 160 22' preserveAspectRatio='none'%3E%3Cpath d='M0 11h126' stroke='%232f6fef' stroke-width='7'/%3E%3Cpath d='M124 1l28 10-28 10z' fill='%232f6fef'/%3E%3C/svg%3E")
        center / 100% 22px no-repeat;
    pointer-events: none;
}

.sec-flow-num {
    display: flex;
    width: 115px;
    height: 115px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 5px solid transparent;
    border-radius: 50%;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(205deg, #1a5ed2 10%, #d6e6fb 92%) border-box;
    font-family: var(--font-bold);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
    color: #1a56c4;
}

.sec-flow-name {
    margin: 13px 0 0;
    font-family: var(--font-normal);
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    color: #333;
}

.sec-page .u-honors {
    padding: 55px 0 2px;
}

.sec-partners {
    margin-top: 0;
    background: #fff;
}

.sec-page .section-partners {
    padding-bottom: 88px !important;
}

.sec-page .partner-group {
    margin-top: 33px;
}

.sec-page .section-head-only + .partner-group {
    margin-top: 47px;
}

.sec-page .partner-group-title {
    margin-bottom: 27px;
}

@media (max-width: 1279px) {
    .sec-quick-list {
        margin-top: 60px;
    }

    .sec-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sec-scene-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sec-detect-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sec-detect-card:nth-child(4),
    .sec-detect-card:nth-child(5) {
        grid-column: span 2;
    }

    .sec-advantage-panel {
        width: 100%;
        height: auto;
        padding: 40px 24px;
        background-size: cover;
    }

    .sec-advantage-stats {
        position: static;
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .sec-adv-stat {
        position: static;
        width: auto;
        transform: none;
    }

    .sec-advantage-cards {
        position: static;
        width: 100%;
        margin-top: 32px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sec-advantage-card {
        height: auto;
        min-height: 176px;
    }

    .sec-flow-list {
        height: auto;
        padding: 40px 0 44px;
    }

    .sec-flow-step {
        position: static;
        width: 20%;
        transform: none;
    }

    .sec-flow-step:not(:last-child)::after {
        content: none;
    }

    .sec-flow-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .sec-flow-name {
        font-size: 22px;
        line-height: 30px;
    }
}

@media (max-width: 760px) {
    .sec-page .sec-title {
        font-size: 26px;
        line-height: 38px;
    }

    .sec-quick-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sec-quick-card {
        height: auto;
        min-height: 130px;
        padding: 18px 16px;
    }

    .sec-quick-title {
        font-size: 22px;
        line-height: 32px;
    }

    .sec-quick-desc {
        font-size: 16px;
        line-height: 24px;
    }

    .sec-service-grid {
        grid-template-columns: 1fr;
    }

    .sec-service-card {
        height: auto;
    }

    .sec-service-head {
        font-size: 26px;
    }

    .sec-service-head.is-sm,
    .sec-service-head.is-xs {
        font-size: 24px;
    }

    .sec-scene-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sec-detect {
        min-height: 0;
        padding: 56px 0 60px;
        background-size: cover;
    }

    .sec-detect-grid {
        grid-template-columns: 1fr;
    }

    .sec-detect-card,
    .sec-detect-card:nth-child(4),
    .sec-detect-card:nth-child(5) {
        height: auto;
        grid-column: auto;
        padding-bottom: 30px;
    }

    .sec-adv-stat-num {
        font-size: 44px;
        line-height: 50px;
    }

    .sec-adv-stat-label {
        font-size: 22px;
        line-height: 32px;
    }

    .sec-advantage-cards {
        grid-template-columns: 1fr;
    }

    .sec-advantage-card h3 {
        font-size: 22px;
    }

    .sec-flow-step {
        width: 100%;
        margin-bottom: 26px;
    }

    .sec-partners {
        margin-top: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sec-hero-btn,
    .sec-hero-btn:hover {
        transform: none;
        transition: none;
    }
}

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

    .sec-hero-desc {
        font-size: calc(26px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(36px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .sec-hero-btn {
        font-size: calc(22px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }
}
