
.asa-page {
    --asa-blue: #0659d5;
    --asa-blue-bright: #1f93f9;
    --asa-title: #333;
    --asa-text: #333;
    --asa-line: #d9ecff;

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

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

.asa-page h1,
.asa-page h2,
.asa-page h3 {
    margin-top: 0;
    color: var(--asa-title);
    font-family: var(--font-bold);
    font-weight: 700;
}

.asa-page p { margin-top: 0; }
.asa-page img { display: block; max-width: 100%; }

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

.asa-center-title {
    margin: 0 0 60px;
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: -.4px;
    text-align: center;
}

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

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

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

.asa-hero-inner { position: relative; height: 634px; }

.asa-hero-content {
    width: 1070px;
    max-width: calc(100% - 48px);
    height: 100%;
    margin: 0 auto;
    padding-top: 120px;
}

.asa-hero h1 {
    margin-bottom: 0;
    color: #000;
    font-size: 64px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.asa-page .asa-hero-desc {
    max-width: 620px;
    margin: 35px 0 0;
    color: #333;
    font-size: 24px;
    line-height: 37px;
}

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

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

.asa-intro { padding-top: 70px; background: #fff; }

.asa-intro-grid {
    display: grid;
    grid-template-columns: 372px minmax(0, 1fr);
    gap: 91px;
    align-items: start;
}

.asa-intro-media { margin: 85px 0 0; }

.asa-intro-media img {
    width: 239px;
    height: 226px;
    margin-left: auto;
}

.asa-intro-copy h2 {
    margin: 0 0 48px;
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: -.4px;
}

.asa-intro-copy {
    max-width: 688px;
}

.asa-intro-copy p {
    margin: 0;
    font-size: 20px;
    line-height: 32px;
}

.asa-intro-copy p + p { text-indent: 2em; }

.asa-basis { padding: 85px 0 68px; background: #fff; }

.asa-basis .asa-center-title { margin-bottom: 27px; }

.asa-basis-grid {
    display: grid;
    grid-template-columns: 403px minmax(0, 1fr);
    gap: 91px;
    align-items: center;
}

.asa-basis-media { margin: 0; }

.asa-basis-media img {
    width: 403px;
    height: 269px;
}

.asa-basis-copy {
    max-width: 650px;
    margin: 0;
    font-size: 20px;
    line-height: 32px;
}

.asa-cases {
    height: 442px;
    overflow: hidden;
    background: #eef7ff url("../images/cases-background.png") center top / cover no-repeat;
}

.asa-cases .asa-container { padding-top: 66px; }

.asa-cases .asa-center-title { margin-bottom: 60px; }

.asa-case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.asa-case-card {
    display: flex;
    height: 163px;
    width: 580PX;
    align-items: flex-start;
    padding: 42px 34px;
    color: var(--asa-text);
    font-size: 20px;
    line-height: 32px;
    background: linear-gradient(-3deg, #FEFFFE, #ECF7FD);
    border: 1px solid rgba(255, 255, 255, .96);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow)
}

.asa-case-card p,
.asa-content-card p { margin: 0; }

.asa-scenes { padding: 84px 0 90px; background: #fff; }

.asa-scenes .asa-center-title { margin-bottom: 60px; }

.asa-scene-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 20px;
}

.asa-scene-card {
    display: flex;
    grid-column: span 2;
    min-height: 266px;
    align-items: center;
    flex-direction: column;
    padding: 14px 26px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--asa-line);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow)
}

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

.asa-scene-icon {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    margin: 0 0 9px;
}

.asa-scene-card p {
    margin: 0;
    color: var(--asa-text);
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}

.asa-content {
    min-height: 847px;
    padding: 70px 0 68px;
    background: #eff8ff url("../images/content-background.png") center top / cover no-repeat;
}

.asa-content .asa-center-title { margin-bottom: 55px; }

.asa-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.asa-content-card {
    display: flex;
    min-height: 184px;
    align-items: flex-start;
    padding: 32px 20px 28px;
    color: var(--asa-text);
    font-size: 20px;
    line-height: 32px;
    background: linear-gradient(-3deg, #FEFFFE, #ECF7FD);
    border: 1px solid rgba(200, 230, 255, .72);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.asa-advantages { padding: 72px 0 98px; background: #fff; }

.asa-advantages .asa-center-title { margin-bottom: 52px; }

.asa-advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.asa-advantage-card {
    overflow: hidden;
    background: linear-gradient(-3deg, #FEFFFE, #ECF7FD);
    border: 1px solid #d7ecff;
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.asa-page .asa-advantage-head {
    display: flex;
    height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #fff;
    font-family: var(--font-bold);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    background: var(--asa-blue);
}

.asa-advantage-body {
    position: relative;
    min-height: 148px;
    padding: 12px 20px 20px;
}

.asa-advantage-copy {
    position: relative;
    z-index: 2;
    max-width: 250px;
    margin: 0;
    color: var(--asa-text);
    font-size: 20px;
    line-height: 32px;
}

.asa-advantage-icon {
    position: absolute;
    right: 14px;
    top: 32px;
    width: 90px;
    height: 90px;
}

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

    .asa-intro-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 52px; }

    .asa-intro-media { margin-top: 66px; }

    .asa-intro-media img { width: 220px; height: auto; }

    .asa-basis-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 52px; }

    .asa-basis-media img { width: 340px; height: auto; }

    .asa-center-title { font-size: 32px; }

    .asa-intro-copy h2 { font-size: 32px; }

    .asa-page,
    .asa-intro-copy p,
    .asa-basis-copy,
    .asa-case-card,
    .asa-scene-card p,
    .asa-content-card,
    .asa-advantage-copy { font-size: 18px; line-height: 30px; }

    .asa-page .asa-advantage-head { font-size: 25px; }
}

@media (max-width: 980px) {
    .asa-intro-grid { grid-template-columns: 1fr; gap: 28px; }

    .asa-intro-media { margin-top: 0; }

    .asa-intro-media img { width: 200px; margin: 0; }

    .asa-intro-copy h2 { margin-bottom: 28px; }

    .asa-basis { padding: 64px 0 56px; }

    .asa-basis-grid { grid-template-columns: 1fr; gap: 28px; }

    .asa-basis-media { order: 1; }

    .asa-basis-media img { width: 100%; max-width: 403px; margin: 0 auto; }

    .asa-basis-copy { order: 2; }

    .asa-cases { height: auto; padding: 60px 0 64px; }

    .asa-cases .asa-container { padding-top: 0; }

    .asa-cases .asa-center-title { margin-bottom: 40px; }

    .asa-case-card { height: auto; min-height: 140px; padding: 30px 28px; }

    .asa-scenes { padding: 60px 0 64px; }

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

    .asa-scene-card,
    .asa-scene-card:nth-child(4),
    .asa-scene-card:nth-child(5) { grid-column: auto; }

    .asa-content { min-height: 0; padding: 60px 0 64px; }

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

    .asa-content-card { min-height: 0; padding: 30px 28px; }

    .asa-advantages { padding: 60px 0 64px; }

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

@media (max-width: 760px) {
    .asa-center-title { margin-bottom: 34px; font-size: 27px; }

    .asa-intro { padding-top: 52px; }

    .asa-intro-copy h2 { font-size: 27px; }

    .asa-intro-copy p { font-size: 16px; line-height: 28px; }

    .asa-cases { padding: 48px 0 52px; }

    .asa-case-grid { grid-template-columns: 1fr; gap: 18px; }

    .asa-scenes { padding: 48px 0 52px; }

    .asa-scene-grid { grid-template-columns: 1fr; gap: 18px; }

    .asa-scene-card { min-height: 0; padding: 22px 22px 26px; }

    .asa-scene-icon { width: 96px; height: 96px; flex-basis: 96px; }

    .asa-scene-card p { font-size: 16px; line-height: 28px; }

    .asa-content { padding: 48px 0 52px; }

    .asa-content-grid { grid-template-columns: 1fr; gap: 18px; }

    .asa-content-card { padding: 26px 24px; font-size: 16px; line-height: 28px; }

    .asa-advantages { padding: 48px 0 52px; }

    .asa-advantage-grid { grid-template-columns: 1fr; gap: 18px; }

    .asa-page .asa-advantage-head { height: 62px; font-size: 23px; }

    .asa-advantage-copy { max-width: none; padding-right: 100px; font-size: 16px; line-height: 28px; }

    .asa-advantage-icon { width: 76px; height: 76px; right: 14px; bottom: 12px; }
}

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

    .asa-center-title { font-size: 24px; }

    .asa-intro-copy h2 { font-size: 24px; }

    .asa-intro-media img { width: 160px; }

    .asa-basis-copy { font-size: 16px; line-height: 28px; }

    .asa-case-card { font-size: 16px; line-height: 28px; }

    .asa-page .asa-advantage-head { font-size: 21px; }

    .asa-advantage-copy { padding-right: 88px; }

    .asa-advantage-icon { width: 66px; height: 66px; }
}

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

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

    .asa-page .asa-hero-desc {
        font-size: calc(24px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(37px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

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