

.agc-page {
    background: #fff;
}

.agc-page .u-section-title {
    font-family: var(--font-bold);
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;
    letter-spacing: 1px;
    color: #333;
}

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

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

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

.agc-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 214px;
}

.agc-hero-inner .container {
    padding-left: 32px;
}

.agc-hero-title {
    margin: 0;
    font-family: var(--font-bold);
    font-size: 59px;
    font-weight: 700;
    line-height: 72px;
    letter-spacing: 0;
    background: linear-gradient(90deg, #1c4ede 0%, #1f93f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.agc-hero-desc {
    margin: 22px 0 0;
    font-family: var(--font-normal);
    font-size: 26px;
    font-weight: 400;
    line-height: 40px;
    color: #333;
}

.agc-hero-tags {
    display: flex;
    width: 687px;
    height: 55px;
    align-items: center;
    justify-content: center;
    margin: 37px 0 0 -45px;
    padding: 0 0 0 11px;
    background: url("../images/hero-tags-bg.png") center / 100% 100% no-repeat;
    list-style: none;
}

.agc-hero-tag {
    font-family: var(--font-bold);
    font-size: 28px;
    font-weight: 700;
    line-height: 55px;
    color: #fff;
    white-space: nowrap;
}

.agc-hero-tag + .agc-hero-tag::before {
    content: "|";
    margin: 0 16px;
    font-family: var(--font-normal);
    font-weight: 400;
    color: rgba(255, 255, 255, .85);
}

.agc-hero-btn {
    display: flex;
    width: 214px;
    height: 55px;
    align-items: center;
    justify-content: center;
    margin-top: 61px;
    border-radius: 6px;
    background: linear-gradient(90deg, #1c4ede 0%, #1f93f9 100%);
    font-family: var(--font-bold);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    transition: filter .2s ease, transform .2s ease;
}

.agc-hero-btn:hover {
    color: #fff;
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.agc-overview {
    padding: 81px 0 75px;
    background:
        linear-gradient(90deg, #f6fcfe 0%, #f6fcfe 25%, #fafdff 62%, #ffffff 80%),
        #fff;
}

.agc-overview-card {
    position: relative;
    height: 244px;
    margin-top: 32px;
    padding: 43px 240px 0 40px;
    background: #fff;
}

.agc-overview-text {
    margin: 0;
    font-family: var(--font-normal);
    font-size: 24px;
    font-weight: 400;
    line-height: 38px;
    color: #333;
}

.agc-overview-img {
    position: absolute;
    top: 49px;
    right: 63px;
    width: 166px;
    height: 156px;
    object-fit: contain;
}

.agc-services {
    padding: 76px 0 83px;
    background: #fff;
}

.agc-service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 38px 30px;
    margin-top: 58px;
}

.agc-service-card {
    position: relative;
    width: 380px;
    height: 465px;
    padding: 34px 30px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfe 38%, #e9f7fd 100%);
}

.agc-service-card--wide {
    width: 585px;
    height: 387px;
}

.agc-service-title {
    margin: 0;
    font-family: var(--font-bold);
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
    color: #333;
    text-align: center;
}

.agc-service-text {
    margin: 8px 0 0;
    font-family: var(--font-normal);
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #333;
}

.agc-service-icon {
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 172px;
    height: 188px;
    transform: translateX(-50%);
    object-fit: contain;
    pointer-events: none;
}

.agc-service-card:nth-child(1) .agc-service-icon { left: 192px; transform: none; }
.agc-service-card:nth-child(2) .agc-service-icon { left: 189px; transform: none; }
.agc-service-card:nth-child(3) .agc-service-icon { left: 180px; bottom: 7px; transform: none; }
.agc-service-card:nth-child(4) .agc-service-icon { left: 353px; bottom: 10px; transform: none; }
.agc-service-card:nth-child(5) .agc-service-icon { left: 341px; bottom: 10px; transform: none; }

.agc-arch {
    padding: 33px 0 77px;
    background: #fafdff;
}

.agc-arch-grid {
    display: flex;
    gap: 30px;
    margin-top: 42px;
}

.agc-arch-card {
    position: relative;
    width: 380px;
    height: 354px;
    padding: 36px 18px 0 22px;
    overflow: hidden;
    background: #fff url("../images/arch-card-bg.png") center / 100% 100% no-repeat;
}

.agc-arch-title {
    margin: 0;
    font-family: var(--font-regular);
    font-size: 32px;
    font-weight: 400;
    line-height: 44px;
    color: #333;
    text-align: center;
}

.agc-arch-num {
    display: inline-block;
    margin-right: 18px;
    font-family: var(--font-bold);
    font-size: 40px;
    font-style: italic;
    font-weight: 700;
    line-height: 44px;
    background: linear-gradient(180deg, #a9daff 0%, #58b0fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2.3px rgba(160, 210, 255, .8);
    transform: scaleX(1.12);
    transform-origin: center center;
    color: transparent;
}

.agc-arch-text {
    margin: 15px 0 0;
    font-family: var(--font-normal);
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #333;
}

.agc-arch-arrow {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 85px;
    height: 85px;
    transform: translateX(-50%);
    object-fit: contain;
    pointer-events: none;
}

.agc-grade {
    padding: 60px 0 50px;
    background: #fff;
}

.agc-grade-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.agc-grade-card {
    width: 380px;
    height: 266px;
    padding: 24px 20px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6fcfe 40%, #e9f7fd 100%);
}

.agc-grade-head {
    display: flex;
    width: 341px;
    height: 69px;
    align-items: center;
    padding-left: 35px;
    background: url("../images/grade-head-bg.png") center / 100% 100% no-repeat;
    border-radius: 8px;
}

.agc-grade-name {
    font-family: var(--font-bold);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
}

.agc-grade-tag {
    display: flex;
    width: 132px;
    height: 41px;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
    background: linear-gradient(-47deg, #C4F4FB, #6BAFE9);
    border-radius: 10px;
    font-family: var(--font-medium);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
}

.agc-grade-tag--wide {
    width: 184px;
    background-image: url("../images/grade-tag-bg-wide.png");
}

.agc-grade-label {
    margin: 17px 0 0 10px;
    font-family: var(--font-bold);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #333;
}

.agc-grade-industries {
    margin: 16px 0 0 10px;
    font-family: var(--font-normal);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #333;
}

.agc-advantage {
    padding: 60px 0 41px;
    background: #fff;
}

.agc-adv-grid {
    display: flex;
    gap: 10px;
    margin-top: 35px;
}

.agc-adv-card {
    width: 232px;
    height: 282px;
    padding: 29px 12px 0;
    border: 1px solid #eaf4fe;
    text-align: center;
}

.agc-adv-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto;
    object-fit: contain;
}

.agc-adv-title {
    margin: 14px 0 0;
    font-family: var(--font-bold);
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
    color: #333;
}

.agc-adv-text {
    margin: 8px 0 0;
    font-family: var(--font-normal);
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #333;
}

.agc-flow {
    padding: 44px 0 76px;
    background: #fff url("../images/flow-bg.jpg") center top / 100% 390px no-repeat;
}

.agc-flow-list {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 57px 0 0;
    padding: 0;
    list-style: none;
}

.agc-flow-step {
    position: relative;
    width: 200px;
    text-align: center;
}

.agc-flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 58px;
    left: calc(50% + 58px);
    width: 109px;
    height: 5px;
    transform: translateY(-50%);
    background: #136eed;
    pointer-events: none;
}

.agc-flow-circle {
    position: relative;
    z-index: 1;
    display: flex;
    width: 116px;
    height: 116px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(63, 146, 240, .16);
}

.agc-flow-circle img {
    width: 58px;
    height: 48px;
    object-fit: contain;
}

.agc-flow-name {
    display: block;
    margin-top: 9px;
    font-family: var(--font-bold);
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    color: #333;
}

.agc-page .u-faq {
    padding: 81px 0 65px;
    background: #fff;
}

.agc-page .u-faq .u-faq-list {
    margin-top: 45px;
}

.agc-page .u-faq .u-faq-item {
    display: block;
    padding: 22px 40px 20px;
}

.agc-page .u-faq .u-faq-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.agc-page .u-faq .u-faq-icon {
    width: 30px;
    height: 34px;
    margin-top: 0;
    margin-left: 6px;
    object-fit: contain;
}

.agc-page .u-faq .u-faq-q {
    margin: 0;
    font-family: var(--font-bold);
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #333;
}

.agc-page .u-faq .u-faq-a {
    margin: 13px 0 0;
    padding-left: 48px;
    font-family: var(--font-normal);
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    color: #333;
}

.agc-cta {
    display: flex;
    height: 346px;
    align-items: flex-start;
    background: #26334d url("../images/cta-bg.jpg") center / cover no-repeat;
}

.agc-cta .container {
    padding-top: 88px;
    text-align: center;
}

.agc-cta-line {
    margin: 0;
    font-family: var(--font-bold);
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    color: #fff;
}

.agc-cta-line + .agc-cta-line {
    margin-top: 19px;
}

.agc-cta-btn {
    display: inline-flex;
    width: 214px;
    height: 55px;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    border-radius: 8px;
    background: #fff;
    font-family: var(--font-bold);
    font-size: 24px;
    font-weight: 700;
    color: #333;
    transition: transform .2s ease, box-shadow .2s ease;
}

.agc-cta-btn:hover {
    color: #1c4ede;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45);
}

@media (max-width: 1247px) {
    .agc-service-card {
        width: calc(33.333% - 20px);
        height: auto;
        min-height: 430px;
        padding-bottom: 190px;
    }

    .agc-service-card--wide {
        width: calc(50% - 15px);
        min-height: 380px;
    }

    .agc-service-card:nth-child(1) .agc-service-icon,
    .agc-service-card:nth-child(2) .agc-service-icon,
    .agc-service-card:nth-child(3) .agc-service-icon,
    .agc-service-card:nth-child(4) .agc-service-icon,
    .agc-service-card:nth-child(5) .agc-service-icon {
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);
    }

    .agc-overview-card {
        height: auto;
        min-height: 244px;
        padding-right: 220px;
    }

    .agc-arch-card {
        width: calc(33.333% - 20px);
        height: auto;
        min-height: 354px;
        padding-bottom: 90px;
    }

    .agc-arch-text br {
        display: none;
    }

    .agc-grade-card {
        width: calc(33.333% - 20px);
    }

    .agc-grade-head {
        width: 100%;
        padding-left: 24px;
    }

    .agc-grade-tag {
        font-size: 20px;
        margin-left: 12px;
    }

    .agc-adv-card {
        width: calc(20% - 8px);
    }

    .agc-flow-step {
        width: 18%;
    }

    .agc-flow-step:not(:last-child)::after {
        left: calc(50% + 58px);
        width: calc(100% - 116px + 25px);
    }
}

@media (max-width: 1080px) {
    .agc-service-grid {
        gap: 24px;
    }

    .agc-service-card {
        width: calc(50% - 12px);
        min-height: 400px;
    }

    .agc-service-card--wide {
        width: calc(50% - 12px);
    }

    .agc-service-text br,
    .agc-overview-text br {
        display: none;
    }

    .agc-overview-card {
        height: auto;
        padding: 32px;
    }

    .agc-overview-img {
        display: none;
    }

    .agc-arch-grid {
        flex-wrap: wrap;
    }

    .agc-arch-card {
        width: calc(50% - 15px);
    }

    .agc-grade-grid {
        flex-wrap: wrap;
    }

    .agc-grade-card {
        width: calc(50% - 15px);
    }

    .agc-adv-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .agc-adv-card {
        width: calc(33.333% - 8px);
    }

    .agc-flow-list {
        flex-wrap: wrap;
        gap: 30px 0;
        justify-content: flex-start;
    }

    .agc-flow-step {
        width: 20%;
    }

    .agc-flow-step::after {
        display: none;
    }

    .agc-flow-name {
        font-size: 24px;
        line-height: 34px;
    }

    .agc-cta {
        height: auto;
    }

    .agc-cta .container {
        padding: 56px 24px;
    }

    .agc-cta-line {
        font-size: 24px;
        line-height: 36px;
    }

    .agc-page .u-faq .u-faq-item {
        padding: 20px 26px;
    }

    .agc-page .u-faq .u-faq-q {
        font-size: 22px;
        line-height: 32px;
    }

    .agc-page .u-faq .u-faq-a {
        font-size: 17px;
        line-height: 28px;
        padding-left: 0;
    }
}

@media (max-width: 760px) {
    .agc-overview,
    .agc-services,
    .agc-arch,
    .agc-grade,
    .agc-advantage,
    .agc-flow,
    .agc-page .u-faq {
        padding-top: 48px;
        padding-bottom: 40px;
    }

    .agc-page .u-section-title {
        font-size: 26px;
        line-height: 38px;
    }

    .agc-service-grid {
        margin-top: 28px;
    }

    .agc-service-card,
    .agc-service-card--wide {
        width: 100%;
        min-height: 360px;
        padding: 26px 22px 170px;
    }

    .agc-service-title {
        font-size: 26px;
        line-height: 36px;
    }

    .agc-service-text {
        font-size: 17px;
        line-height: 28px;
    }

    .agc-arch-grid,
    .agc-grade-grid {
        margin-top: 26px;
    }

    .agc-arch-card,
    .agc-grade-card {
        width: 100%;
        min-height: 0;
        padding-bottom: 90px;
    }

    .agc-grade-card {
        height: auto;
        padding-bottom: 28px;
    }

    .agc-grade-head {
        height: 58px;
    }

    .agc-grade-name {
        font-size: 24px;
    }

    .agc-grade-tag {
        width: auto;
        height: 34px;
        padding: 0 16px;
        font-size: 16px;
        background-size: 100% 100%;
    }

    .agc-grade-label {
        font-size: 20px;
        line-height: 28px;
    }

    .agc-grade-industries,
    .agc-arch-text {
        font-size: 16px;
        line-height: 26px;
    }

    .agc-adv-grid {
        gap: 12px;
    }

    .agc-adv-card {
        width: calc(50% - 6px);
        height: auto;
        min-height: 220px;
        padding-bottom: 22px;
    }

    .agc-adv-title {
        font-size: 24px;
        line-height: 34px;
    }

    .agc-adv-text {
        font-size: 15px;
        line-height: 24px;
    }

    .agc-flow-list {
        gap: 20px 0;
    }

    .agc-flow-step {
        width: 33.333%;
    }

    .agc-flow-circle {
        width: 88px;
        height: 88px;
    }

    .agc-flow-circle img {
        width: 46px;
        height: 38px;
    }

    .agc-flow-name {
        margin-top: 8px;
        font-size: 18px;
        line-height: 28px;
    }

    .agc-cta-line {
        font-size: 18px;
        line-height: 30px;
    }

    .agc-cta-line + .agc-cta-line {
        margin-top: 8px;
    }

    .agc-cta-btn {
        width: 168px;
        height: 46px;
        margin-top: 26px;
        font-size: 18px;
    }
}

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

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

    .agc-hero-tag {
        font-size: calc(28px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(55px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

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