
.apr-page {
    --apr-blue: #0659d5;
    --apr-btn: #1c6fef;
    --apr-text: #333;
    --apr-line: #dbeefb;

    color: var(--apr-text);
    background: #fff;
    font-family: var(--font-normal);
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

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

.apr-page h1,
.apr-page h2,
.apr-page h3 {
    color: var(--apr-text);
    font-family: var(--font-bold);
    font-weight: 700;
}

.apr-page :where(p, h1, h2, h3, h4) { margin: 0; }
.apr-page img { display: block; max-width: 100%; }

.apr-container { width: 1200px; margin: 0 auto; }

.apr-section-title {
    font-size: 36px;
    line-height: 50px;
    text-align: center;
}

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

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

.apr-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
}

.apr-hero-inner {
    position: relative;
    width: 1080px;
    height: 100%;
    margin: 0 auto;
    padding-top: 117px;
}

.apr-page .apr-hero-title {
    color: #000;
    font-size: 62px;
    line-height: 76px;
    letter-spacing: 0;
}

.apr-page .apr-hero-desc {
    margin-top: 39px;
    font-size: 26px;
    line-height: 36px;
}

.apr-hero-btn {
    display: inline-flex;
    width: 214px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-top: 33px;
    color: #fff;
    font-family: var(--font-medium);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(90deg, #1c4ede 0%, #1f8ff7 100%);
    border-radius: 8px;
    transition: box-shadow .25s ease, transform .25s ease;
}

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

.apr-core {
    padding: 70px 0 97px;
    background: #fff url("../images/core-bg.png") center top / 100% 1010px no-repeat;
}

.apr-core-desc {
    width: 1000px;
    margin: 10px auto 0;
    font-size: 19.6px;
    line-height: 24px;
    text-align: center;
    color: #666666;
}

.apr-core-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
    margin-top: 66px;
}

.apr-core-card {
    height: 560px;
    overflow: hidden;
    background: linear-gradient(-3deg, #FEFFFE, #ECF7FD);
    border: 1px solid #d6eafb;
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.apr-page .apr-core-name {
    display: flex;
    height: 57px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    background: var(--apr-blue);
}

.apr-core-text {
    padding: 16px 10px 0 20px;
    font-size: 20px;
    line-height: 32px;
}

.apr-func { padding: 62px 0 48px; }

.apr-func-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.apr-func-card {
    height: 313px;
    padding-top: 33px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--apr-line);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.apr-func-icon { width: 140px; height: 140px; margin: 0 auto; }

.apr-page .apr-func-name {
    margin: 21px 12px 0;
    font-family: var(--font-normal);
    font-size: 26px;
    font-weight: 400;
    line-height: 32px;
}

.apr-advantage { padding: 50px 0 95px; }

.apr-advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 46px;
}

.apr-advantage-card {
    height: 254px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d6eafb;
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.apr-page .apr-advantage-name {
    display: flex;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    background: var(--apr-blue);
}

.apr-advantage-body {
    position: relative;
    height: 194px;
    padding: 17px 28px 0;
}

.apr-advantage-text {
    position: relative;
    z-index: 2;
    font-size: 20px;
    line-height: 24px;
}

.apr-advantage-no {
    position: absolute;
    bottom: 23px;
    left: 32px;
    color: #0659D5;
    font-family: var(--font-bold);
    font-size: 59px;
    font-weight: 700;
    line-height: 1;
    font-style: italic;
    opacity: 0.1;
}

.apr-advantage-icon {
    position: absolute;
    right: 38px;
    bottom: 13px;
    width: 90px;
    height: 90px;
}

.apr-advantage .apr-hotline { margin-top: 61px; }

.apr-hotline {
    display: flex;
    width: 634px;
    height: 52px;
    align-items: stretch;
    margin: 56px auto 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #9cbdf8;
    border-radius: 13px;
}

.apr-hotline-label {
    display: flex;
    flex: 1;
    align-items: center;
    padding-left: 59px;
    font-size: 18px;
    line-height: 1;
}

.apr-hotline-label b {
    margin-left: 10px;
    font-family: var(--font-bold);
    font-size: 31px;
    font-weight: 700;
    line-height: 1;
}

.apr-hotline-btn {
    display: flex;
    width: 206px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-medium);
    font-size: 23px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    background: var(--apr-btn);
}

@media (max-width: 1248px) {
    .apr-container { width: auto; max-width: calc(100% - 48px); }
}

@media (max-width: 1100px) {
    .apr-page { font-size: 18px; }

    .apr-section-title { font-size: 32px; line-height: 46px; }

    .apr-core { padding: 56px 0 64px; background-size: 100% 1010px; }

    .apr-core-desc { font-size: 17px; line-height: 26px; }

    .apr-core-grid { gap: 16px; margin-top: 44px; }

    .apr-core-card { height: auto; }

    .apr-page .apr-core-name { height: 50px; font-size: 26px; }

    .apr-core-text { padding: 14px 18px 24px; font-size: 17px; line-height: 28px; }

    .apr-hotline { margin-top: 40px; }

    .apr-hotline-label { padding-left: 30px; font-size: 16px; }

    .apr-hotline-label b { margin-left: 8px; font-size: 27px; }

    .apr-hotline-btn { width: 170px; font-size: 20px; }

    .apr-func { padding: 56px 0 56px; }

    .apr-func-grid { gap: 14px; margin-top: 36px; }

    .apr-func-card { height: 260px; padding-top: 32px; }

    .apr-func-icon { width: 110px; height: 110px; }

    .apr-page .apr-func-name { margin: 10px 10px 0; font-size: 20px; line-height: 26px; }

    .apr-advantage { padding: 44px 0 60px; }

    .apr-advantage-grid { gap: 16px; margin-top: 34px; }

    .apr-advantage-card { height: 230px; }

    .apr-page .apr-advantage-name { height: 52px; font-size: 26px; }

    .apr-advantage-body { height: 176px; padding: 14px 18px 0; }

    .apr-advantage-text { font-size: 17px; line-height: 24px; }

    .apr-advantage-no { left: 18px; font-size: 40px; }

    .apr-advantage-icon { right: 18px; width: 76px; height: 76px; }

    .apr-advantage .apr-hotline { margin-top: 44px; }
}

@media (max-width: 980px) {
    .apr-core-grid { grid-template-columns: 1fr; }

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

    .apr-func-card { height: auto; min-height: 240px; padding: 30px 16px; }

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

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

    .apr-core { padding: 44px 0 48px; }

    .apr-core-desc { font-size: 15px; line-height: 24px; }

    .apr-core-grid { gap: 16px; margin-top: 32px; }

    .apr-page .apr-core-name { height: 46px; font-size: 22px; }

    .apr-core-text { font-size: 15px; line-height: 26px; }

    .apr-hotline { width: 100%; max-width: 420px; margin-top: 32px; }

    .apr-hotline-label { padding-left: 14px; font-size: 14px; }

    .apr-hotline-label b { margin-left: 6px; font-size: 22px; }

    .apr-hotline-btn { width: 130px; font-size: 17px; }

    .apr-func { padding: 44px 0 48px; }

    .apr-func-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }

    .apr-func-card { min-height: 0; padding: 24px 16px; }

    .apr-func-icon { width: 96px; height: 96px; }

    .apr-page .apr-func-name { font-size: 18px; line-height: 26px; }

    .apr-advantage { padding: 40px 0 48px; }

    .apr-advantage-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }

    .apr-advantage-card { height: auto; }

    .apr-page .apr-advantage-name { height: 48px; font-size: 22px; }

    .apr-advantage-body { height: auto; min-height: 170px; padding: 14px 16px 16px; }

    .apr-advantage-text { padding-right: 90px; font-size: 15px; line-height: 24px; }

    .apr-advantage-no { font-size: 34px; }

    .apr-advantage-icon { right: 14px; bottom: 10px; width: 68px; height: 68px; }
}

@media (max-width: 600px) {
    .apr-container { max-width: calc(100% - 32px); }

    .apr-section-title { font-size: 22px; }

    .apr-hotline-label { font-size: 13px; }

    .apr-hotline-label b { font-size: 20px; }

    .apr-hotline-btn { width: 110px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .apr-hero-btn { transition: none; }
}

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

    .apr-page .apr-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));
    }

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