﻿/* 通用部分样式 */
section {
    padding: var(--section-padding);
}

section h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
    font-weight: 600;
}

section h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.indexTitle{
    width:100%;
    height: auto;overflow: hidden;
    position: relative;
    padding-bottom: 30px;
    z-index: 1;
}
.indexTitle h2{
    line-height: 40px;
    font-size: 40px;
    font-weight: bold;
    color: var(--text-color);
}
.indexTitle h5{
    position: absolute;
    width:100%;
    top:25px;
    left: 0;
    line-height: 40px;
    font-weight: bold;
    text-transform: uppercase;
    color:#ddd;
    opacity: 0.5;
    font-size: 40px;
    z-index: -1;
}

/* 核心痛点-项目匹配区样式 */
.pain-points {
    background-color: var(--background-color);
    height: auto;overflow: hidden;
}
        /* 左侧导航 */
        .sidebar {
            width: 20%;
            display: inline-block;
            padding: 20px 0;
        }
        
        .nav-item {
            padding: 0 10px;
            margin-bottom: 25px;
        }
        
        .nav-link {
            display: block;
            padding: 20px;
            background-color: #fff;
            border-radius: 10px;
            text-decoration: none;
            color: #333;
            transition: all 0.3s ease;
            position: relative;
            border-left: 4px solid transparent;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        
        /* 导航箭头 */
        .nav-link::after {
            content: '→';
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            font-weight: bold;
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .nav-link:hover::after {
            opacity: 0.7;
            right: 15px;
        }
        
        .nav-link.active::after {
            content: '→';
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            font-weight: bold;
            opacity: 1;
            color: #fff;
        }
        
        .nav-link:hover {
            background-color: #f0f7ff;
            transform: translateX(5px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .nav-link.active {
            background:linear-gradient(45deg,#ff0037,#ff502c);
            color: #fff;
            box-shadow: 0 4px 12px rgba(255, 77, 79, 0.2);
        }
        .nav-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 8px;
        }
        
        /* 右侧内容 */
        .content {
            float: right;
            width:72%;
            padding: 10px 3%;
            position: relative;
        }
        
        .content-section {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        .content-section.active {
            display: block;
        }
        
        .section-header {
            margin-bottom: 20px;
        }
        
        .section-title {
            font-size: 28px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }
        
        .section-desc {
            font-size: 16px;
            color: #666;
            line-height: 1.6;
        }
        
        .content-body {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        
        .content-image {
            flex: 0 0 50%;
            position: relative;
        }
        
        .content-image img {
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
            transition: transform 0.3s ease;
        }
        
        .content-image img:hover {
            transform: scale(1.02);
        }
        
        .content-text {
            flex: 1;
        }
        
        .feature-list {
            list-style: none;
        }
        
        .feature-item {
            padding: 15px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .feature-icon {
            width: 40px;
            height: 40px;
            background-color: #ff4d4f;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 18px;
        }
        
        .feature-content h4 {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
            color: #333;
        }
        
        .feature-content p {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 直播中动画 */
        @keyframes pulse {
            0% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.5;
                transform: scale(1.2);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .sidebar {
                width: 100%;
                border-right: none;
                border-bottom: 1px solid #e0e0e0;
                padding: 20px 1%;
            }
            
            .nav-menu {
                display: flex;
                gap: 15px;
                overflow-x: auto;
                padding-bottom: 10px;
            }
            
            .nav-item {
                flex: 0 0 250px;
                margin-bottom: 0;
                padding: 0;
            }
            
            .content {
                width:96%;
                padding: 30px 2%;
            }
            
            .content-body {
                flex-direction: column;
                text-align: center;
            }
            
            .content-image {
                flex: 0 0 100%;
            }
        }
        
        @media (max-width: 768px) {
            .content {
                width:96%;
                padding: 20px 2%;
            }
            
            .section-title {
                font-size: 24px;
            }
            
            .nav-link {
                padding: 15px;
            }
            
            .nav-title {
                font-size: 16px;
            }
            
            .nav-desc {
                font-size: 12px;
            }
            
            /* 响应式标题 */
            .header-content {
                padding: 0 30px;
            }
            
            .main-title {
                font-size: 28px;
                letter-spacing: 1px;
            }
        }
        
        @media (max-width: 480px) {
            .main-title {
                font-size: 24px;
                letter-spacing: 0.5px;
            }
            
            .main-title::after {
                width: 80px;
                height: 3px;
                bottom: -8px;
            }
        }


/* 核心痛点-项目匹配区样式--旧版 */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pain-point-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.pain-point-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-bottom: 3px solid var(--primary-dark);
}

.pain-point-header h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.pain-point-content {
    padding: 20px;
}

.pain-point-project,
.pain-point-result {
    margin-bottom: 15px;
}

.pain-point-project h5,
.pain-point-result h5 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.pain-point-project p,
.pain-point-result p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}


/*解决方案*/
.solutionContainer{
    width:100%;
    height: auto;overflow: hidden;
    margin:40px auto;
}
.solutionContainer .layui-tabs-header{
    height: auto;
    background-color: #fff;
    border-radius: 10px;
}
.solutionContainer .layui-tabs-header li{
    padding: 20px 0;
    width:33.33%;
    border: 0;
    font-size: 18px;
    transition: all 0.3s ease;
}
.solutionContainer .layui-tabs-body{
    padding:0;
}
.solutionContainer .layui-tabs-header .layui-this, .layui-tabs-header li:hover{
    font-size: 18px;
    background:linear-gradient(45deg,#ff0037,#ff502c);
    color: #Fff;
    border: 0;
    border-radius: 10px;
}
.solutionContainer .layui-tabs-card > .layui-tabs-header .layui-this::after{
    display: none;
}
.layui-tabs-bar .layui-icon{
    line-height: 70px;
}
.solutionList{
    width:94%;
    height: auto;overflow: hidden;
    background-color: #fff;
    padding:40px 3%;
    border-radius: 10px;
    margin-top:20px;
}
.solutionPic{
    width:35%;float: left;
    margin-right: 5%;
}
.solutionPic img{
    width: 100%;
    border-radius: 10px;
    transition: all 0.5s;
}
.solutionPic img:hover{
    transform: scale(1.02);
}
.solutionWord{
    width:60%;float: left;
}

/* 场景化解决方案样式 */
.scenario-solutions {
    background-color: var(--secondary-color);
}

.section-description {
    width:100%;
    height: auto;overflow: hidden;
    line-height: 30px;
    color: var(--light-text);
    font-size: 16px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.scenario-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.scenario-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.scenario-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-bottom: 3px solid var(--primary-dark);
}

.scenario-header h4 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.scenario-content {
    padding: 20px;
}

.scenario-pain-point,
.scenario-solution,
.scenario-result {
    margin-bottom: 20px;
}

.scenario-pain-point h5,
.scenario-solution h5,
.scenario-result h5 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-light);
    padding-bottom: 5px;
}

.scenario-pain-point p,
.scenario-solution p,
.scenario-result p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.scenario-solution p {
    line-height: 1.6;
}

.scenario-result {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .solutionContainer .layui-tabs-header li{
        width:180px;
        font-size: 16px;
        background-color: #Fff;
    }
    .solutionPic{
        width:100%;
        margin-right: 0;
    }
    .solutionWord{
        width:100%;
        margin-top:20px;
    }
}


/* 项目快速预览区样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-item h4 {
    padding: 15px 15px 10px;
    text-align: center;
    color: var(--text-color);
    font-size: 16px;
    margin: 0;
}

.service-item p {
    padding: 0 15px 15px;
    text-align: center;
    color: var(--light-text);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}


  /* 联系表单样式 */
  .contact-form-section {
    padding: var(--section-padding);
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 250px;
}
.form-group span{
    color:#f00;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 98%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: transparent;
}

.form-group select{
    width: 100%;
    box-sizing:content-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 20px;
    padding:0px 30px;
    border: 0;
    border-radius: 5px;
    color:#fff;
    height: 40px;line-height: 40px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}
.contact-form button:hover{
    background-color: var(--primary-dark);
}

