/* 解决方案页面特定样式 */
.solution-banner {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/dianlu2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-content h1 {
    color: white;
    font-size: 48px;
    margin: 0 0 20px 0;
    width: 100%;
    text-align: center;
}

.banner-content p {
    color: white;
    font-size: 20px;
    margin: 0;
    width: 100%;
    max-width: 600px;
    text-align: center;
    line-height: 1.6;
}

/* 流程展示 */
.solutions-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.solutions-overview .container {
    width: 90%;
    margin: 0 auto;
}

/* 解决方案详情部分 */
.solution-details {
    padding: 80px 0;
}

.solution-details .container {
    width: 80%;
    margin: 0 auto;
}

/* 流程展示部分 */
.process-flow {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    width: 100%;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 48px;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: #fff;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    color: #007bff;
}

/* 解决方案卡片 */
.solution-card {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.solution-image {
    flex: 1;
    min-height: 400px;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-content {
    flex: 1;
    padding: 40px;
}

.solution-features {
    margin-top: 20px;
    list-style: none;
}

.solution-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.solution-features li::before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .container {
        width: 90%; /* 移动端可以适当增加宽度 */
    }

    .solutions-overview .container,
    .solution-details .container {
        width: 90%;
    }

    .process-flow {
        flex-direction: column;
        gap: 40px;
    }

    .solution-card {
        flex-direction: column;
    }

    .solution-image {
        min-height: 250px;
    }

    .banner-content h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .solution-banner {
        height: 300px;
    }

    .banner-content {
        padding: 0 15px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .container {
        width: 92%; /* 更小屏幕上略微增加宽度 */
    }

    .solutions-overview .container,
    .solution-details .container {
        width: 92%;
    }
}

/* iOS Safari 特定支持 */
@supports (-webkit-touch-callout: none) {
    .banner-content {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
    }
}

/* 应用场景部分样式 */
.application-scenarios {
    padding: 80px 0;
    background: #ffffff;
}

/* 容器宽度调整 */
.application-scenarios .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
}

.application-scenarios h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.scenario-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.scenario-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.scenario-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.scenario-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scenario-card:hover .scenario-image img {
    transform: scale(1.05);
}

.scenario-content {
    padding: 25px;
}

.scenario-content h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.scenario-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.scenario-features {
    list-style: none;
    padding: 0;
}

.scenario-features li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    color: #555;
}

.scenario-features li::before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .application-scenarios {
        padding: 60px 0;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-desc {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .scenario-content {
        padding: 20px;
    }

    .scenario-content h3 {
        font-size: 20px;
    }

    .application-scenarios .container {
        width: 90%; /* 移动端保持一致的宽度 */
    }
}

@media (max-width: 480px) {
    .application-scenarios .container {
        width: 92%; /* 更小屏幕略微增加宽度 */
    }
}

/* 悬停效果 */
.scenario-card {
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
}

/* Process Flow 连接线动画 */
.process-flow {
    position: relative;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

/* Banner 文字动画 */
.banner-content h1 {
    animation: fadeInDown 1s ease;
}

.banner-content p {
    animation: fadeInUp 1s ease 0.3s both;
}

/* 定义动画关键帧 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .process-flow::before {
        display: none;
    }
    
    .scenario-card:hover {
        transform: translateY(-5px);
    }
} 