﻿
/* 主视觉区 */
.main-bg {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.main-content {
    width: 78%;
    margin: 0 auto;
    padding-top: 90px;
    text-align: center;
}
.main-btn {
    margin: 6vh;
}
.main-title {
    font-family: 'Source Han Sans CN', sans-serif; /* 字体 */
    font-size: 60px;
    font-weight: 700;
    color: #1B1F31;
    line-height: 1.6;
}

    .main-title .blue {
        font-size: 48px; /* 字体大小 */
        color: #002F41; /* 备用颜色 */
        background: linear-gradient(0deg, #1B4EA0 0.12%, #2A9FD1 100%); /* 渐变背景 */
        -webkit-background-clip: text; /* 仅裁剪文字部分 */
        -webkit-text-fill-color: transparent; /* 填充文字为透明 */
    }



/* 弈绘2D 区 */
.feature-section {
    width: 74%;
    margin: 25vh auto;
    display: flex;
    justify-content: space-between;
}

.feature-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 10vh;
    align-items: flex-start;
}

.feature-title {
    font-size: 48px;
    font-weight: 700;
    color: #002F41;
}
    .feature-title p {
        font-size: 24px;
        font-weight: 400;
        opacity: 0.6;
        margin-bottom: 3vh;
    }

.feature-desc {
    font-size: 18px;
    color: #002F41;
    text-align:left;
}


.feature-img {
    width: 85vh;
    min-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .feature-img img {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 4px 18px rgba(36,169,255,0.12);
    }



/* 合作伙伴 区 */
.partner-section {
    width: 74%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    align-items:center;
}

.partner-title {
    font-size: 48px;
    font-weight: 700;
    color: #1B1F31;
    margin-bottom: 4vh;
}

.partner-logos {
    width: 100%;
    height: 20vh;
    margin: 0 auto;
    display: flex; /* 水平排列图片 */
    align-items: center;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
    overflow: hidden;
    position: relative;
}
    .partner-logos img {
        width: 36vh;
        min-width:120px;
        height: 9vh;
        min-height:30px;
        object-fit: contain;
        position: absolute;
    }
        .partner-logos img:hover {
            filter: none;
        }

/* 数据统计 区 */
.stat-section {
    width: 80%;
    margin: 0 auto ;
    text-align: center;
}

.stat-title {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 48px; /* 字体大小 */
    color: #002F41; /* 备用颜色 */
    background: linear-gradient(145deg, #1B4EA0 0.12%, #2A9FD1 100%); /* 渐变背景 */
    -webkit-background-clip: text; /* 仅裁剪文字部分 */
    -webkit-text-fill-color: transparent; /* 填充文字为透明 */
}

.stat-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 10vh;
    gap: 10px;
}

.stat-block {
    flex: 1;
    font-size: 30px;
    font-weight: 700;
    color: #002F41;
}
    .stat-block p {
        font-size: 18px;
        opacity: 0.4;
        margin-top: 4px;
    }
    .stat-block small {
        font-size: 20px;
        margin-left: 6px;
        color: #2A9FD1;
        font-weight: normal;
    }

.gradient-text {
    font-size: 60px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif; /* 字体 */
    background: linear-gradient(145deg, #1B4EA0 20%, #2A9FD1 100%);  /*渐变背景 */
    -webkit-background-clip: text; /* 仅裁剪文字部分 */
    -webkit-text-fill-color: transparent; /* 填充文字为透明 */
}


.stat-network {
    width: 100%;
}

.case-bg {
    width: 100%;
    height: 80vh;
    margin-top: 15vh;
    position: relative;
    overflow: hidden;
}

.case-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.case-first-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-second-img {
    position: absolute;
    top: 0;
    left: 30%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* 旋转 180° */

}

.case-title {
    width: 70vh;
    min-width:550px;
    height: 35vh;
    margin-left:14%;
    z-index: 1;
    display: flex;
    align-items: center;
}
    .case-title h1 {
        font-weight: 700;
        color: #127CBE;
        font-size: 48px;
        margin-bottom:3vh;
        font-family: 'Roboto', sans-serif; /* 字体 */
        background: linear-gradient(0deg, #1B4EA0 0.12%, #2A9FD1 100%); /* 渐变背景 */
        -webkit-background-clip: text; /* 仅裁剪文字部分 */
        -webkit-text-fill-color: transparent; /* 填充文字为透明 */
    }

    .case-desc {
        font-size: 24px;
        line-height: 1.6;
        color: #002F41;
        opacity: 0.4;
    }

.case-logo-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #002F41;
    opacity: 0.6;
}

.case-logo-carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 86%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 40px;
}


.case-logo-client {
    width: 82%;
    height: 68px;
    margin: 0 auto;
    display: flex; /* 水平排列图片 */
    align-items: center;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
    overflow: hidden;
    position: relative;
}
    .case-logo-client img {
        width: 180px;
        object-fit: contain;
        position: absolute;
    }

/* 新闻 区 */
.news-section {
    width: 74%;
    margin: 0 auto;
}

.news-title {
    font-size: 48px;
    font-weight: 700;
    color: #1B1F31;
    text-align: center;
    margin: 8vh 0;
}
    .news-title h1 {
        font-size: 60px;
        font-weight: 700;
        color: #18396b;
        text-align: left;
    }

    .news-title h2 {
        font-size: 48px;
        font-weight: 700;
        color: #18396b;
        text-align: left;
    }

.news-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between; /* 水平平均分布 */
    gap:36px;
}

.news-card {
    min-width: 300px;
    width: 50vh;
    height: 45vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(120,160,200,0.09);
    margin-bottom:36px;
}

.news-img {
    display: block;
    justify-content:center;
    width: 92%;
    height:65%;
    margin: 2vh;
    border-radius: 16px;
    object-fit: cover;
}

.news-content {
    padding: 0 2vh;
}

.news-title-card {
    font-size: 18px;
    font-weight: 700;
    color: #1B1F31;
    height: 56px;
}

.news-date {
    font-size: 14px;
    color: #88A;
    float: right;
    opacity: 0.6;
    margin-top: 2vh;
}

.news-btn-area {
    text-align: center;
}

.news-btn {
    background: none;
    color: #127CBE;
    border: 1.5px solid #127CBE;
    border-radius: 24px;
    padding: 8px 34px;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background .15s, color .15s;
}

    .news-btn img {
        height: 16px;
    }

    .news-btn:hover {
        background: #127CBE;
        color: #fff;
    }

.more {
    text-align: center;
    margin: 42px 0;
}

    .more a {
        color: #218dff;
        font-size: 16px;
        letter-spacing: 1px;
    }

        .more a:hover {
            text-decoration: underline;
        }

/* 底部 CTA */
.bottom-cta {
    width: 74%;
    padding: 10vh 0;
    text-align: center;
    border-radius: 20px;
    margin: 8vh auto;
}

.bottom-cta-title {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 28px;
}


.bottom-cta-btn {
    margin-top: 38px;
    background-color: #fff; /* 背景颜色改为白色 */
    border: none;
    border-radius: 28px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background .2s, color .2s; /* 添加颜色过渡效果 */
}
    .bottom-cta-btn span {
        color: #002F41; /* 备用颜色 */
        background: linear-gradient(0deg, #1B4EA0 0.12%, #2A9FD1 100%); /* 渐变背景 */
        -webkit-background-clip: text; /* 仅裁剪文字部分 */
        -webkit-text-fill-color: transparent; /* 填充文字为透明 */
    }
    .bottom-cta-btn img {
        height: 24px;
        display: inline-block;
    }

    .bottom-cta-btn:hover {
        color: blue; /* 字体颜色改为白色 */
        background-color:floralwhite
    }

.carousel-container {
    position: relative;
    margin: 20vh auto;
    width: 100%;
    max-width: 160vh;
}

.main-rotate-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    height: 40vh;
    position: relative;

}

    .main-rotate-row img {
        width: 30%;
        height: 30vh;
        border-radius: 12px;
        background: #e8f3fa;
        object-fit: contain;
        box-shadow: 0 2px 14px rgba(80,160,200,0.13);
        transition: all 0.5s ease;
        position: absolute;
        cursor: pointer;
    }

        .main-rotate-row img.active {
            width: 75%;
            height: 64vh;
            z-index: 10;
            transform: scale(1.1);
            box-shadow: 0 8px 20px rgba(80,160,200,0.3);
            left: 50%;
            transform: translateX(-50%) scale(1.1);
        }

        .main-rotate-row img.prev {
            width: 55%;
            height: 50vh;
            z-index: 5;
            left: 30%;
            transform: translateX(-50%);
            opacity: 0.8;
        }

        .main-rotate-row img.next {
            width: 55%;
            height: 50vh;
            z-index: 5;
            right: 30%;
            transform: translateX(50%);
            opacity: 0.8;
        }

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8vh;
    height: 8vh;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 20;
    border: none;
    font-size: 20px;
    color: #333;
    overflow: hidden;
    padding: 0;
}
    .nav-button img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .nav-button:hover {
        background-color: rgba(232, 243, 250, 0.9);
    }


/* =====================================================
   H5 移动端专属适配（<=768px）
   rem 基准由 Site.Master 中 JS 动态设置：
     1rem = w / 750 * 75 px
     375屏 → 1rem ≈ 37.5px | 414屏 → 1rem ≈ 41.4px
   PC 端视口 > 768px 不受影响
   ===================================================== */
@media (max-width: 768px) {

    /* ========== 锁定 rem 基准为 CSS calc（覆盖 JS 动态设置，消除刷新波动） ========== */
    html {
        font-size: calc(100vw / 10) !important; /* 375px宽 → 1rem=37.5px, 与 JS 计算结果一致 */
    }

    body {
        overflow-x: hidden;
        width: 100%;
        -webkit-text-size-adjust: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* ========== main-bg（Hero背景容器—iOS布局稳定） ========== */
    .main-bg {
        min-height: 10rem;
        overflow: visible;
    }

    /* ========== 全局按钮 ========== */
    .main-btn {
        font-size: 0.32rem;
        padding: 0.18rem 0.4rem;
        border-radius: 0.6rem;
        gap: 0.12rem;
        white-space: nowrap;
    }
    .main-btn img {
        height: 0.36rem;
    }

    /* ========== main-content / main-title（首屏Hero） ========== */
    .main-content {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        padding: 0.6rem 0 0.6rem;
        box-sizing: border-box;
    }
    /* iOS地址栏补偿：确保底部“免费试用”按钮不被地址栏遮挡 */
    .main-content .main-btn {
        margin-bottom: 0.6rem;
    }

    .main-title {
        font-size: 0.52rem;
        line-height: 1.4;
        text-align: center;
    }

    .main-title .blue {
        font-size: 0.42rem;
    }

    /* ========== carousel-container（主轮播） ========== */
    .carousel-container {
        width: 92%;
        max-width: 92%;
        margin: 0.1rem auto;
    }

    .main-rotate-row {
        height: 5rem;
        min-height: 4.8rem;
        contain: layout style;
    }

    .main-rotate-row img {
        width: 80%;
        height: 3.2rem;
    }

    .main-rotate-row img.active {
        width: 92%;
        height: 4.5rem;
        transform: translateX(-50%) scale(1.05);
    }

    .main-rotate-row img.prev {
        width: 72%;
        height: 3.6rem;
        left: 22%;
        opacity: 0.7;
    }

    .main-rotate-row img.next {
        width: 72%;
        height: 3.6rem;
        right: 22%;
        opacity: 0.7;
    }

    /* ========== 通用 nav-button ========== */
    .nav-button {
        width: 0.72rem;
        height: 0.72rem;
        min-width: 32px;
        min-height: 32px;
        border-radius: 50%;
    }
    .nav-button img {
        width: 80%;
        height: 80%;
        object-fit: contain;
    }

    /* ========== feature-section（产品特性） ========== */
    .feature-section {
        width: 90%;
        max-width: 90%;
        margin: 0.4rem auto;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        box-sizing: border-box;
    }

    .feature-info {
        width: 100%;
        margin-right: 0;
        align-items: center;
        text-align: center;
    }

    .feature-title {
        font-size: 0.56rem;
        text-align: center;
    }

    .feature-title p {
        font-size: 0.34rem;
        margin-bottom: 0.2rem;
        text-align: center;
    }

    .feature-desc {
        font-size: 0.32rem;
        text-align: center;
        line-height: 1.7;
    }

    .feature-img {
        width: 100%;
        min-width: unset;
        margin-top: 0.2rem;
    }

    /* ========== stat-section（数据统计） ========== */
    .stat-section {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        padding: 0.2rem 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .stat-title {
        font-size: 0.42rem;
        text-align: center;
        margin-bottom: 0.2rem;
    }

    .stat-title p {
        display: inline;
    }

    .stat-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 0.15rem;
        gap: 0.3rem 0;
    }

    .stat-block {
        width: 48%;
        box-sizing: border-box;
        font-size: 0.32rem;
        text-align: center;
        padding: 0.1rem 0;
    }

    .stat-block p {
        font-size: 0.32rem;
    }

    .stat-block small {
        font-size: 0.32rem;
    }

    .gradient-text {
        font-size: 0.52rem;
        display: block;
    }

    .stat-network {
        display: none;
    }

    /* ========== partner-section（合作伙伴） ========== */
    .partner-section {
        width: 90%;
        max-width: 90%;
        margin: 0.3rem auto;
        box-sizing: border-box;
    }

    .partner-title {
        font-size: 0.42rem;
        margin-bottom: 0.3rem;
        text-align: center;
    }

    /* 移动端只展示第一组合作伙伴，其余隐藏 */
    div[name="partner-logos-2"],
    div[name="partner-logos-3"] {
        display: none !important;
    }

    .partner-logos {
        height: auto !important;
        min-height: 0.5rem;
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.24rem 0.36rem;
        padding: 0.1rem 0;
        overflow: visible;
    }

    .partner-logos img {
        display: inline-block !important;
        position: static !important;
        width: 2.6rem;
        min-width: 0;
        max-width: 3.0rem;
        height: 1.1rem;
        min-height: 0;
        max-height: 1.3rem;
        object-fit: contain;
        margin: 0 !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        opacity: 0.85 !important;
        flex-shrink: 0;
    }

    /* ========== case-bg（客户案例） ========== */
    .case-bg {
        height: auto !important;
        min-height: 4rem;
        margin-top: 0.3rem;
        padding: 0.3rem 0;
        position: relative;
        overflow: hidden;
    }

    .case-content {
        padding: 0 5%;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }

    .case-first-img,
    .case-second-img {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        opacity: 0.18;
        z-index: 1;
    }

    .case-title {
        width: 90%;
        min-width: unset;
        height: auto;
        margin-left: 5%;
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.78);
        padding: 0.24rem 0.28rem;
        border-radius: 0.12rem;
        box-shadow: 0 0.04rem 0.12rem rgba(0, 51, 102, 0.08);
        position: relative;
        z-index: 2;
    }

    .case-title h1 {
        font-size: 0.44rem;
        font-weight: 800;
        margin-bottom: 0.18rem;
        text-align: center;
        line-height: 1.3;
    }

    .case-desc {
        font-size: 0.32rem;
        line-height: 1.7;
        color: #2a3340;
        opacity: 0.85;
    }

    .case-logo-desc {
        font-size: 0.32rem;
        line-height: 1.6;
        color: #2a3340;
        opacity: 0.85;
    }

    .case-logo-carousel {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 92%;
        margin: 0.3rem auto 0.1rem;
        gap: 0.2rem;
        z-index: 2;
    }

    .case-logo-client {
        height: auto;
        min-height: 0.7rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .case-logo-client img {
        display: inline-block !important;
        width: 1.6rem;
        height: 0.8rem;
        object-fit: contain;
        margin: 0.06rem 0.1rem !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        position: static !important;
        opacity: 0.85 !important;
    }

    /* 移动端 case-logo-carousel 内的 nav-button */
    .case-logo-carousel .nav-button {
        width: 0.6rem;
        height: 0.6rem;
        min-width: 28px;
        min-height: 28px;
    }

    /* ========== news-section（公司新闻） ========== */
    .news-section {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .news-title {
        font-size: 0.42rem;
        margin: 0.4rem 0 0.3rem;
        text-align: center;
    }

    .news-row {
        flex-direction: column;
        gap: 0.2rem;
    }

    .news-card {
        width: 100%;
        min-width: unset;
        height: auto;
        margin-bottom: 0.2rem;
        box-sizing: border-box;
    }

    .news-img {
        width: calc(100% - 0.32rem);
        height: 5.0rem;
        margin: 0.16rem;
        border-radius: 0.16rem;
    }

    .news-content {
        padding: 0 0.2rem 0.24rem;
    }

    .news-title-card {
        font-size: 0.32rem;
        height: auto;
        line-height: 1.5;
    }

    .news-date {
        font-size: 0.32rem;
        margin-top: 0.1rem;
    }

    .news-btn-area {
        padding: 0.3rem 0;
        text-align: center;
    }

    /* ========== bottom-cta（底部CTA） ========== */
    .bottom-cta {
        width: 90%;
        max-width: 90%;
        margin: 0.4rem auto;
        padding: 0.5rem 0;
        box-sizing: border-box;
        text-align: center;
        border-radius: 0.3rem;
    }

    .bottom-cta-title {
        font-size: 0.32rem;
        margin-bottom: 0.2rem;
        padding: 0 0.2rem;
    }

    .bottom-cta-btn {
        margin-top: 0.2rem;
        padding: 0.16rem 0.4rem;
        font-size: 0.32rem;
        border-radius: 0.6rem;
    }

    .bottom-cta-btn img {
        height: 0.36rem;
    }
}

/* =====================================================
   H5 小屏（<=480px）补充缩小
   ===================================================== */
@media (max-width: 480px) {

    .main-title {
        font-size: 0.8rem;
    }

    .main-title .blue {
        font-size: 0.8rem;
    }

    .main-btn {
        font-size: 0.5rem;
        margin: 0.6rem 0.36rem;
    }
    .main-btn img {
        height: 0.32rem;
    }

    .feature-title {
        font-size: 0.6rem;
    }

    .feature-title p {
        font-size: 0.5rem;
    }

    .feature-desc {
        font-size: 0.4rem;
    }

    .stat-title {
        font-size: 0.38rem;
    }

    .stat-block {
        font-size: 0.32rem;
    }

    .stat-block p {
        font-size: 0.32rem;
    }

    .gradient-text {
        font-size: 0.46rem;
    }

    .partner-title {
        font-size: 0.36rem;
    }

    .partner-logos img {
        width: 2.2rem;
        height: 1.0rem;
    }

    .case-title h1 {
        font-size: 0.38rem;
    }

    .case-desc {
        font-size: 0.32rem;
        line-height: 1.65;
    }

    .case-logo-desc {
        font-size: 0.32rem;
    }

    .case-logo-client img {
        width: 1.4rem;
        height: 0.7rem;
    }

    .news-title {
        font-size: 0.38rem;
    }

    .news-title-card {
        font-size: 0.32rem;
    }

    .bottom-cta-title {
        font-size: 0.32rem;
    }

    .bottom-cta-btn {
        font-size: 0.32rem;
        padding: 0.14rem 0.36rem;
    }
}
