

.ai-page {
    background: #fff;
    overflow-x: hidden;
}


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


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

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

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

.ai-hero-body {
    position: relative;
    z-index: 1;
    padding-top: 134px;
}

.ai-hero-copy {
    padding-left: 32px;
}

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

.ai-hero-desc {
    max-width: 720px;
    margin: 38px 0 0;
    font-family: var(--font-normal);
    font-size: 26px;
    line-height: 36px;
    color: #4d4d4d;
}

.ai-hero-points {
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
}

.ai-hero-points li {
    position: relative;
    padding-left: 53px;
    font-family: var(--font-normal);
    font-size: 26px;
    line-height: 36px;
    color: #4d4d4d;
}

.ai-hero-points li + li {
    margin-top: 12px;
}

.ai-hero-points img {
    position: absolute;
    top: 7px;
    left: 0;
    width: 28px;
    height: 28px;
}

.ai-hero-points b {
    color: #1c6fef;
    font-family: var(--font-bold);
    font-size: 48px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: .5px;
    vertical-align: baseline;
}

.ai-hero-btn {
    display: inline-flex;
    width: 214px;
    margin-left: 3px;
    height: 55px;
    align-items: center;
    justify-content: center;
    margin-top: 44px;
    background: linear-gradient(90deg, #1c4ede 0%, #1f94f9 100%);
    border-radius: 10px;
    font-family: var(--font-medium);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px -12px rgba(30, 90, 240, .7);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.ai-hero-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -14px rgba(30, 90, 240, .8);
    filter: saturate(1.08);
}


.ai-quick-grid {
    display: grid;
    margin-top: 72px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ai-quick-card {
    position: relative;
    display: block;
    height: 145px;
    padding: 21px 19px 0;
    overflow: hidden;
    background-color: rgba(226, 241, 254, .55);
    background-image: repeating-linear-gradient(90deg,
        rgba(255, 255, 255, .55) 0, rgba(255, 255, 255, .55) 3px,
        rgba(255, 255, 255, 0) 3px, rgba(255, 255, 255, 0) 6px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(44, 96, 143, .08);
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.ai-quick-card:hover {
    background-color: rgba(255, 255, 255, .82);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -16px rgba(78, 162, 255, .55);
}

.ai-quick-icon {
    display: block;
    width: auto;
    height: 26px;
}

.ai-quick-title {
    display: block;
    margin-top: 9px;
    font-family: var(--font-medium);
    font-size: 30px;
    font-weight: 500;
    line-height: 42px;
    color: #333;
    white-space: nowrap;
}

.ai-quick-desc {
    display: block;
    margin-top: 1px;
    font-family: var(--font-normal);
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #666;
    white-space: nowrap;
}


.ai-matrix {
    padding: 70px 0 79px;
    background: #fff;
}

.ai-matrix-grid {
    display: grid;
    margin-top: 54px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 21px 20px;
}

.ai-matrix-card {
    height: 418px;
    padding: 31px 31px 0;
    overflow: hidden;
    text-align: center;
}

.ai-matrix-iconbox {
    display: flex;
    height: 120px;
    align-items: center;
    justify-content: center;
}

.ai-matrix-icon {
    height: 75px;
    width: auto;
}

.ai-matrix-card-title {
    margin: 15px 0 0;
    font-family: var(--font-medium);
    font-size: 30px;
    font-weight: 500;
    line-height: 42px;
    color: #333;
    white-space: nowrap;
}

.ai-matrix-card-desc {
    margin: 15px 0 0;
    font-family: var(--font-normal);
    font-size: 20px;
    line-height: 30px;
    color: #666;
    text-align: left;
}

.ai-matrix .u-consult-wrap {
    margin-top: 59px;
}


.ai-scene {
    position: relative;
    height: 783px;
    padding-top: 61px;
    overflow: hidden;
    background: #fff url("../images/scene-bg.png") center top / 1920px auto no-repeat;
}

.ai-scene .container {
    position: relative;
}

.ai-scene .ai-title {
    margin-bottom: 75px;
}

.ai-scene-cols {
    display: flex;
    justify-content: space-between;
    padding-left: 17px;
}

.ai-scene-col {
    display: flex;
    width: 396px;
    flex-direction: column;
    gap: 19px;
}

.ai-scene-card {
    height: 130px;
    padding: 13px 43px 0;
}

.ai-scene-card h3 {
    margin: 0;
    font-family: var(--font-medium);
    font-size: 30px;
    font-weight: 500;
    line-height: 42px;
    color: #333;
    white-space: nowrap;
}

.ai-scene-card p {
    margin: 4px 0 0;
    font-family: var(--font-normal);
    font-size: 20px;
    line-height: 30px;
    color: #666;
}


.ai-scene-pills {
    position: absolute;
    top: 716px;
    right: 0;
    left: 0;
    height: 28px;
    pointer-events: none;
}

.ai-pill {
    position: absolute;
    top: 0;
    font-family: var(--font-medium);
    font-size: 28px;
    font-weight: 500;
    line-height: 28px;
    color: #1a1a1a;
    white-space: nowrap;
    transform: translateX(-50%);
}


.ai-adv {
    padding: 71px 0 60px;
    background: #f7f9ff;
}

.ai-adv .ai-title {
    margin-bottom: 64px;
}

.ai-adv-panel {
    position: relative;
    width: 1200px;
    max-width: 100%;
    height: 644px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 44px -28px rgba(64, 130, 220, .35);
}

.ai-adv-panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ai-adv-body {
    position: relative;
    padding: 55px 0 0 40px;
}

.ai-adv-heading {
    margin: 0;
    font-family: var(--font-medium);
    font-size: 30px;
    font-weight: 500;
    line-height: 42px;
    color: #333;
}

.ai-adv-sub {
    margin: 11px 0 0;
    font-family: var(--font-normal);
    font-size: 20px;
    line-height: 30px;
    color: #666;
}

.ai-adv-grid {
    display: grid;
    margin-top: 46px;
    grid-template-columns: 336px 336px;
    row-gap: 30px;
}

.ai-adv-item-title {
    display: flex;
    align-items: center;
    margin: 0;
    font-family: var(--font-medium);
    font-size: 24px;
    font-weight: 500;
    line-height: 34px;
    color: #333;
}

.ai-adv-item-title img {
    width: auto;
    height: 28px;
    flex: 0 0 auto;
    margin-right: 10px;
}

.ai-adv-item p {
    width: 243px;
    margin: 8px 0 0 38px;
    font-family: var(--font-normal);
    font-size: 20px;
    line-height: 30px;
    color: #666;
}

.ai-adv .u-consult-wrap {
    margin-top: 57px;
}


.ai-value {
    padding: 61px 0 82px;
    background: #fff;
}

.ai-value .ai-title {
    margin-bottom: 50px;
}

.ai-value-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.ai-value-card {
    height: 182px;
    padding-top: 32px;
    overflow: hidden;
    text-align: center;
}

.ai-value-iconbox {
    display: flex;
    height: 82px;
    align-items: center;
    justify-content: center;
}

.ai-value-icon {
    width: auto;
    height: auto;
    max-height: 82px;
}

.ai-value-label {
    margin: 18px 0 0;
    font-family: var(--font-normal);
    font-size: 24px;
    font-weight: 400;
    line-height: 34px;
    color: #333;
    white-space: nowrap;
}


.ai-algo {
    position: relative;
    padding: 61px 0 72px;
    overflow: hidden;
    background: #f7f9ff;
}

.ai-algo .ai-title {
    margin-bottom: 47px;
}

.ai-algo-inner {
    position: static;
}

.ai-check-list {
    margin: 0;
    padding: 0 0 0 25px;
    list-style: none;
}

.ai-check-list li {
    display: flex;
    align-items: center;
    font-family: var(--font-normal);
    font-size: 20px;
    line-height: 36px;
    color: #333;
    white-space: nowrap;
}

.ai-check-list img {
    width: 20px;
    height: 17px;
    flex: 0 0 auto;
    margin-right: 21px;
}

.ai-algo-illust {
    position: absolute;
    top: 169px;
    left: calc(50% + 80px);
    width: 642px;
    height: 436px;
    pointer-events: none;
}

.ai-big-btn {
    display: flex;
    width: 578px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin: 84px auto 0;
    background: #1c6fef;
    border-radius: 10px;
    font-family: var(--font-medium);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ai-big-btn:hover {
    color: #fff;
    background: #1760ce;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -16px rgba(28, 111, 239, .8);
}


.ai-model {
    position: relative;
    height: 962px;
    padding-top: 60px;
    overflow: hidden;
    background: #fff url("../images/model-bg.png") center top / 1919px auto no-repeat;
}

.ai-model .ai-title {
    margin-bottom: 46px;
}

.ai-model .ai-big-btn {
    margin-top: 53px;
}


.ai-law {
    position: relative;
    height: 594px;
    padding-top: 54px;
    overflow: hidden;
    background: #fff url("../images/law-bg.png") center top / 1919px auto no-repeat;
}

.ai-law .ai-title {
    margin-bottom: 62px;
}

.ai-law-list {
    margin: 0;
    padding: 0 0 0 16px;
    list-style: none;
}

.ai-law-list li {
    position: relative;
    padding-left: 29px;
    font-family: var(--font-normal);
    font-size: 25px;
    line-height: 48px;
    color: #333;
    white-space: nowrap;
}

.ai-law-list li::before {
    position: absolute;
    top: 20px;
    left: 0;
    width: 10px;
    height: 10px;
    background: #1c6fef;
    border-radius: 50%;
    content: "";
}


@media (max-width: 1260px) {
    .ai-matrix-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ai-matrix-card {
        height: auto;
        padding-bottom: 31px;
    }
}

@media (max-width: 1100px) {
    .ai-value-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ai-scene-cols {
        padding-left: 0;
        gap: 20px;
    }
    .ai-scene-col {
        width: 100%;
    }
    .ai-scene-pills {
        display: none;
    }
    .ai-algo-illust,
    .ai-model,
    .ai-law {
        background-size: cover;
    }
    .ai-algo-illust {
        opacity: .28;
        left: auto;
        right: 0;
    }
    .ai-adv-panel {
        height: auto;
    }
    .ai-adv-panel-bg {
        object-fit: cover;
    }
    .ai-adv-body {
        padding: 40px 32px;
    }
    .ai-adv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }
}

@media (max-width: 800px) {
    .ai-page .ai-title {
        font-size: 26px;
    }
    .ai-matrix-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ai-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ai-check-list li,
    .ai-law-list li {
        white-space: normal;
    }
    .ai-algo,
    .ai-model,
    .ai-law {
        height: auto;
        padding-bottom: 60px;
    }
    .ai-algo-illust {
        display: none;
    }
    .ai-big-btn {
        width: 100%;
        font-size: 18px;
    }
    .ai-adv-grid {
        grid-template-columns: 1fr;
    }
    .ai-adv-item p {
        width: auto;
    }
    .ai-scene {
        height: auto;
        padding-bottom: 60px;
        background-size: cover;
    }
}

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

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

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

    .ai-hero-points li {
        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));
    }

    .ai-hero-points b {
        font-size: calc(48px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(36px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

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