/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav a:hover, .nav a.active {
    color: #1890ff;
}

.nav a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1890ff;
}

/* Banner区域 */
.banner {
    padding: 160px 0 100px;
    background: #4285f4;
    overflow: hidden;
    position: relative;
    color: #fff;
}

.banner .container {
    position: relative;
    z-index: 2;
}

.banner-content {
    max-width: 600px;
}

.banner-content h1 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content h2 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 25px;
    opacity: 0.9;
}

.banner-content p {
    
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.8;
    font-weight: normal; /* 明确设置为不加粗 */
}

.banner-icons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
}

.banner-icons img {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.banner-icons .icon-1 {
    width: 120px;
    top: 20%;
    right: 10%;
}

.banner-icons .icon-2 {
    width: 100px;
    top: 40%;
    right: 30%;
    animation-delay: 0.5s;
}

.banner-icons .icon-3 {
    width: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 业务介绍 */
.business-intro {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.business-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path-to-background-pattern.png') repeat;
    opacity: 0.05;
}

.section-subtitle {
    text-align: center;
    font-size: 24px;
    color: #666;
    margin-bottom: 50px;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 1px;
    
}

.intro-text {
    flex: 1;
}

.intro-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: normal; /* 明确设置为不加粗 */
}

.intro-images {
    flex: 1;
}

.building-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 特色模块 */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    background-image: url('../../images/homePage/Group 1435.png');
    background-size: cover;
    /* 关键属性 */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* 为内容层建立定位上下文 */
    overflow: hidden;
    /* 隐藏背景图溢出部分 */
    padding: 40px;
    /* 增加内边距 */
    border-radius: 8px;
    /* 圆角效果 */
    color: white;
    /* 文字颜色 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* 阴影 */
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {

    flex-shrink: 0;
    margin-right: 30px;
}

.feature-icon img {
    width: 100px;
    height: 100px;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    font-weight: normal; /* 明确设置为不加粗 */
}
/* @media(max-width:1200px){
    .feature-list{
        grid-template-columns:  repeat(1, 1fr);
    } 
}
@media(max-width:992px){
    .feature-list{
        grid-template-columns:  repeat(2, 1fr);
    } 
} */
@media(max-width:768px){
    .feature-content h3{
        font-size: 19px;
    } 
}

/* 应用场景 */
.scenarios {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.scenarios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path-to-pattern.png') repeat;
    opacity: 0.05;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    margin: 0 auto;
    max-width: 1000px;
}

.scenario-item {
    grid-column: span 4;
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.scenario-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.scenario-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.scenario-item:hover img {
    transform: scale(1.1);
}

.scenario-item span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

/* 应用场景网格 */
.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.application-item {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.application-item:hover {
    border-color: #1890ff;
    color: #1890ff;
}

/* 核心优势 */
.advantages {
    padding: 100px 0;
    background: #f8f9fa;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0 auto;
    max-width: 1000px;
}

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.advantage-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.advantage-item:hover img {
    transform: scale(1.1);
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.advantage-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 底部 */
.footer {
    background: #2f3640;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    grid-column: span 3;
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .scenario-grid,
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .footer-col {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .banner-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .banner-icons {
        display: none;
    }
    
    .intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-images {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .section-title h4
    {
        font-size: 19px ;
    }
    .advantage-item{
        padding: 0px 0px;
    }
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .nav {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .banner {
        padding: 120px 0 60px;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .banner-content h2 {
        font-size: 20px !important; 
    }

    .section-title {
        font-size: 19px !important;
    }

    .scenario-grid,
    .advantage-grid,
    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .footer-col {
        grid-column: span 12;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .feature-icon {
        margin: 0 0 20px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item,
.scenario-item,
.advantage-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 新增的动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.scenario-item:hover img,
.advantage-item:hover img {
    animation: pulse 1s infinite;
} 

.core-functions1 {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.function-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.function-item:hover {
    transform: translateY(-5px);
    border-color: #1890ff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.function-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 100px;
    margin-top: 10px;
}
@media(max-width:1200px){
    .function-grid{
        grid-template-columns:  repeat(4, 1fr);
    } 
}
@media(max-width:992px){
    .function-grid{
        grid-template-columns:  repeat(3, 1fr);
    } 
}
@media(max-width:768px){
    .function-grid{
        grid-template-columns:  repeat(4, 1fr);
        gap: 20px;
    } 
    .function-item{
        padding: 10px 10px;
    }
}

/* 客户案例 */
.customer-cases {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.case-item {
    padding-left: 90px; /* 给图片预留空间，防止文字重叠 */
    margin-bottom: 30px; /* 可选：调整间距 */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.case-image {
    position: absolute;/* 绝对定位*/
    left: 10px;
    top:10px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.case-content {
    width: 100%;
    padding: 40px;
}

.case-content h4 {
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    color: #efe8e8;
    width: 366px;
    height: 36px;
    line-height: normal;
    background: linear-gradient(90deg, rgba(77, 135, 207, 0) 0%, #4D87CF 48%, rgba(77, 135, 207, 0) 100%);
    border-radius: 0px 0px 0px 0px;
    
}

.case-content .case-type {
    color: #1890ff;
    font-size: 16px;
    margin-bottom: 20px;
    display: block;
}

.case-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: normal; /* 明确设置为不加粗 */
}

.case-content .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-tag {
    padding: 6px 15px;
    background: #f5f5f5;
    border-radius: 4px;
    color: #666;
    font-size: 13px;
}

@media (max-width: 1200px) {
    .case-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-item {
        flex-direction: column;
    }
    
    .case-image,
    .case-content {
        width: 100%;
    }
    
    .case-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .case-content {
        padding: 30px 20px;
    }
    
    .case-content h4 {
        font-size: 16px;
        width: auto;
        height: 28px;
    }
}

/* 图片模板样式优化 */
.template-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.template-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.template-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.template-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.template-content {
    padding: 20px;
    background: #fff;
}

.template-content h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.template-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.template-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: rgba(24,144,255,0.9);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .case-grid,
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .case-grid,
    .template-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.advantage2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 0 auto;
    max-width: 1000px;
}
.advantage2-item{
    text-align: center; /* 文字居中 */
    background-color: transparent; /* 设置背景透明 */
    border: 1px solid white; /* 设置白色边框 */
    padding: 15px; /* 可选：添加内边距 */
    border-radius: 5px; /* 可选：添加圆角 */
}
.advantage2-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.advantage2-item img {
    display: block; /* 让图片变成块级元素，方便 margin 自动居中 */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.advantage2-item:hover img {
    transform: scale(1.1);
}

.advantage2-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.advantage2-item p {
    font-size: 14px;
    color: #ddcece;
    line-height: 1.8;
}
@media(max-width:1200px){
    .advantage2-grid{
        grid-template-columns:  repeat(4, 1fr);
    } 
}
@media(max-width:992px){
    .advantage2-grid{
        grid-template-columns:  repeat(2, 1fr);
    } 
}
@media(max-width:768px){
    .advantage2-grid{
        grid-template-columns:  repeat(2, 1fr);
    } 
}
