/* 全局重置 */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    /*font-family: "Microsoft YaHei", sans-serif;*/
}

main {
    width: 100%;
    overflow-x: hidden;
}

.content {
    width: 100%;
    overflow: hidden;
}

.content_bg {
    height: 540px;
    background-image: url('../images/product/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.content_white {
    background-color: #fff;
}

.content_blue {
    background: #F7F9FF;
}

/* 通用模块容器 */
.content .module {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content .module.module1 {
    padding-top: 168px;
    padding-bottom: 168px;
}

/* --- Module 1: Hero Section --- */
.module1 h1 {
    font-weight: 500;
    font-size: 44px;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.module1 p {
    max-width: 617px; 
    font-size: 18px;
    color: rgba(51, 51, 51, 0.8);
    line-height: 28px;
    margin-bottom: 40px;
}

.module1 .btn_wrap {
    display: flex;
    align-items: center;
}

.module1 button {
    width: 158px;
    height: 50px;
    background: #4671FE;
    border-radius: 4px;
    font-size: 16px;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.module1 .btn-outline {
    border: 1px solid #4671FE;
    background-color: transparent;
    color: #4671FE;
    margin-left: 12px;
}

.module1 button:hover {
    opacity: 0.9;
}

/* --- Common H2 --- */
.module h2 {
    font-weight: 600;
    font-size: 36px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 60px;
    text-align: center;
}

/* --- Module 2: Problems --- */
.module2 {
    height: auto; 
    padding-bottom: 80px;
}

.module2 .cont {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 448px;
}

.module2 .cont img { 
    width: 618px;
    height: 448px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: contain;
}

.module2 .cont .list {
    width: 334px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    gap: 40px;
    height: 448px;
}

.module2 .cont .list .item {
    display: flex;
    flex-direction: column;
}

.module2 .cont .list .item .title{
    font-weight: 600;
    font-size: 20px;
    color: #333333;
    margin-bottom: 8px;
}

.module2 .cont .list .item p {
    font-size: 14px;
    color: #666666;
    max-width: 260px; 
    line-height: 1.6;
}

.module2 .cont .left_list {
    align-items: flex-end;
    text-align: right;
}

.module2 .cont .left_list .item {
    align-items: flex-end;
}

.module2 .cont .left_list .item:nth-child(2) {
    margin-right: 74px; 
}

.module2 .cont .right_list .item:nth-child(2) {
    margin-left: 74px;
}

/* --- Module 3: Features (Zig-Zag Layout) --- */
.module3 {
    padding-bottom: 60px;
}

.module3 .cont {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/*.module3 .cont:has(.img_wrap:first-child) {*/
/*    flex-direction: row-reverse;*/
/*}*/

.module3 .cont .detail {
    flex: 1;
    min-width: 300px;
}

.module3 .cont .detail .title {
    font-weight: 600;
    font-size: 32px;
    color: #333333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.module3 .cont .detail .line {
    width: 126px;
    height: 3px;
    background: #4671FE;
    margin-bottom: 34px;
}

.module3 .cont .detail .list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.module3 .cont .detail .list .item {
    display: flex;
    align-items: center;
}

.module3 .cont .detail .list .item img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.module3 .cont .detail .list .item span {
    font-weight: 600;
    font-size: 16px;
    color: #333333;
}

.module3 .cont .detail p {
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    line-height: 24px;
    margin-bottom: 60px;
}

.module3 .cont .detail .btn_wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.module3 .cont .detail .btn_wrap .btn {
    width: 144px;
    height: 46px;
    background: #4671FE;
    border-radius: 4px;
    font-size: 16px;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}

.module3 .cont .detail .btn_wrap .btn-outline {
    border: 1px solid #4671FE;
    background-color: transparent;
    color: #4671FE;
}

.module3 .cont .img_wrap {
    flex: 2;
    min-width: 300px;
    max-width: 700px;
    height: auto;
}

.module3 .cont .img_wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Module 4: News --- */
.module4 {
    width: 100%;
    padding-bottom: 80px;
}

.module4 h5 {
    font-weight: 600;
    font-size: 20px;
    color: #333333;
    margin-bottom: 40px;
}

.module4 .list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 92px;
}

.module4 .list .item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    min-width: 0;
}

.module4 .list .item .date {
    width: 90px;
    height: 70px;
    border-radius: 4px;
    border: 1px solid #F0F0F0;
    padding: 7px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    box-sizing: border-box;
    margin-right: 14px;
    flex-shrink: 0;
}

.module4 .list .item .date span {
    font-weight: 600;
    font-size: 20px;
    color: #333333;
}

.module4 .list .item .date .year {
    font-weight: 400;
    font-size: 16px;
    color: #999999;
}

.module4 .list .item .item_detail {
    width: calc(100% - 90px - 14px);
    /* flex: 1;  */
    min-width: 0;
}

/* 新闻标题样式 - 支持 a 标签 */
.module4 .list .item .item_detail .title {
    font-weight: 500;
    font-size: 16px;
    color: #333333;
    line-height: 28px;
    margin-bottom: 4px;
}

/* 关键：为标题内的 a 标签添加样式 */
.module4 .list .item .item_detail .title a {
    text-decoration: none;
    color: inherit; /* 继承父元素颜色 #333333 */
    display: block;
    width: 100%;
    transition: color 0.3s ease;
    
    /* 单行省略 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover 效果 */
.module4 .list .item .item_detail .title a:hover {
    color: #4671FE;
}

.module4 .list .item .item_detail p {
    width: 100%;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    line-height: 24px;
    
    /* 多行省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================
   响应式媒体查询
   ========================================= */

/* 平板及中等屏幕 (<= 1024px) */
@media screen and (max-width: 1024px) {
    .module2 .cont img {
        display: none;
    }
    
    .module2 .cont {
        flex-direction: column;
        gap: 40px;
        min-height: auto;
    }

    .module2 .cont .list {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .module2 .cont .left_list .item {
        align-items: center;
    }

    .module3 .cont {
        flex-direction: column;
    }
    
    .module3 .cont:has(.img_wrap:first-child) {
        flex-direction: column;
    }

    .module3 .cont .detail {
        width: 100%;
        min-width: auto;
        text-align: center;
    }
    
    .module3 .cont .detail .line {
        margin: 0 auto 34px auto;
    }
    
    .module3 .cont .detail .list {
        justify-content: center;
    }
    
    .module3 .cont .detail .btn_wrap {
        justify-content: center;
    }

    .module3 .cont .img_wrap {
        width: 100%;
        max-width: 100%;
        margin-top: 30px;
    }
}

/* 手机屏幕 (<= 768px) */
@media screen and (max-width: 768px) {
    .content_bg {
        height: auto;
        padding: 60px 0;
    }

    .module1 h1 {
        font-size: 28px;
        text-align: center;
    }

    .module1 p {
        font-size: 14px;
        text-align: center;
        margin: 0 auto 30px auto;
    }
    
    .module1 button {
        margin: 0 auto;
    }

    .module h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .module2 .cont .list .item .title {
        font-size: 18px;
    }
    
    .module2 .cont .list .item p {
        font-size: 12px;
    }

    .module3 .cont .detail .title {
        font-size: 24px;
    }
    
    .module3 .cont .detail .list {
        flex-direction: column;
        gap: 10px;
    }

    .module4 .list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .module4 .list .item .item_detail .title {
        font-size: 15px;
    }
}