﻿/* 页面内容样式 */
.page-banner {
    height: 500px;
    background: url('http://www.cander.cn/image/website/banner.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}


.banner-content {
    position: relative;
    z-index: 1;
    color: white;
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: left;
    animation: fadeIn 1s ease;
}

    .banner-content h1 {
        font-size: 48px;
        margin-bottom: 20px;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    }

    .banner-content p {
        font-size: 20px;
        max-width: 700px;
        line-height: 40px;
    }


.solution-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

    .solution-section:nth-child(even) {
        background: #f9f9f9;
    }

.solution-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.solution-text {
    flex: 1;
    min-width: 300px;
}

.solution-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

    .solution-image img {
        max-width: 100%;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transition: transform 0.5s ease;
    }

        .solution-image img:hover {
            transform: scale(1.03);
        }

.solution-text h3 {
    font-size: 28px;
    color: #262626;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

    .solution-text h3:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: #34A853;
    }

.solution-text p {
    margin-bottom: 20px;
    color: #5a5a5a;
    font-size: 16px;
    line-height: 1.8;
}

/* 新增：解决方案全宽文本区域的标题样式 */
.solution-text-full h3 {
    font-size: 28px;
    color: #262626;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

    .solution-text-full h3:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: #34A853;
    }

/* 新增：解决方案全宽文本区域的段落样式 */
.solution-text-full p {
    margin-bottom: 20px;
    color: #5a5a5a;
    font-size: 16px;
    line-height: 1.8; /* 增加行间距 */
}

.feature-list {
    margin: 25px 0;
}

    .feature-list li {
        margin-bottom: 12px;
        display: flex;
        align-items: flex-start;
        padding: 8px 0;
    }

    .feature-list i {
        color: #34A853;
        margin-right: 15px;
        margin-top: 5px;
        font-size: 18px;
    }

    .feature-list strong {
        color: #2c3e50;
    }

.stat-box {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 30px 0;
    border-left: 4px solid #34A853;
}

    .stat-box h4 {
        color: #2c3e50;
        margin-bottom: 15px;
        font-size: 18px;
    }

.process-comparison {
    margin: 40px 0;
}

.process-title {
    font-size: 22px;
    color: #262626;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .process-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: #34A853;
    }

.process-list {
    margin-bottom: 30px;
}

    .process-list li {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        padding: 10px;
        border-radius: 6px;
        background: #f9f9f9;
    }

    .process-list.traditional li {
        border-left: 4px solid #ff4d4f;
    }

    .process-list.modern li {
        border-left: 4px solid #52c41a;
    }

.process-icon {
    margin-right: 15px;
    font-size: 20px;
    min-width: 24px;
    text-align: center;
}

.traditional .process-icon {
    color: #ff4d4f;
}

.modern .process-icon {
    color: #52c41a;
}

.solution-actions {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

/* 统一解决方案布局 */
.solution-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.solution-text-full {
    width: 100%;
    margin-bottom: 15px; /* 添加底部间距 */
}

.solution-comparison {
    width: 100%;
    display: flex;
    gap: 30px;
    margin: 20px 0;
    border-radius: 9px;
    border: 1px solid #34A853;
    padding: 20px;
}

    .solution-comparison > div {
        flex: 1;
        min-width: 300px;
    }

.solution-details {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 20px; /* 添加上部间距 */
}

.solution-features {
    flex: 1;
    min-width: 300px;
}

.solution-image-container {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

    .solution-image-container img {
        max-width: 100%;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transition: transform 0.5s ease;
    }

        .solution-image-container img:hover {
            transform: scale(1.03);
        }

/* 新增视频容器样式 */
.solution-video-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #000;
    aspect-ratio: 9/16;
}

.solution-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

    .video-controls.hidden {
        opacity: 0;
        pointer-events: none;
    }

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(52, 168, 83, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: transform 0.2s ease, background 0.2s ease;
}

    .play-btn:hover {
        transform: scale(1.1);
        background: rgba(52, 168, 83, 1);
    }

.video-playing .play-btn i::before {
    content: "\f28c"; /* 暂停图标 */
}

/* 响应式设计 */
@media (max-width: 992px) {
    .solution-content {
        gap: 40px;
    }

    .solution-comparison {
        flex-direction: column;
    }

    .solution-details {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 32px;
    }

    .page-banner p {
        font-size: 18px;
    }

    .solution-content {
        flex-direction: column;
    }

    .solution-text, .solution-image {
        flex: 1 1 100%;
    }

    .solution-actions {
        flex-direction: column;
    }

    .nav-menu > li {
        width: auto;
        margin-left: 15px;
    }

    .solution-comparison > div {
        min-width: 100%;
    }

    .solution-features, .solution-image-container {
        min-width: 100%;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
