/* ========== 解决方案详情页样式 ========== */

/* 方案banner */
.solution-banner {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #0c2461 0%, #00aaff 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    /* banner一开始就可见，不透明 */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.solution-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}
.solution-banner.community::before {
    background-image: url('../images/banner/community.jpg');
}
.solution-banner.office::before {
    background-image: url('../images/banner/office.jpg');
}
.solution-banner.factory::before {
    background-image: url('../images/banner/factory.jpg');
}
.solution-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}
.solution-banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
    color: #ffffff !important;
    /* 大标题飞入动画：从左向右飞入，初始状态透明靠左 */
    opacity: 0;
    animation: flyIn 1s ease forwards;
}
.solution-banner-content p {
    font-size: 20px;
    opacity: 0;
    color: #ffffff !important;
    letter-spacing: 2px;
    /* 副标题延迟飞入 */
    animation: flyIn 1s ease 0.3s forwards;
}

/* 飞入动画 */
@keyframes flyIn {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1 !important;
        transform: translateX(0);
    }
}

/* 方案概述 */
.solution-overview {
    background: #fff !important;
    border-radius: 12px;
    padding: 50px 40px;
    margin-bottom: 50px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    /* 页面载入直接显示，保证一开始就能看见 */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
}
.solution-overview h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00aaff;
    position: relative;
}
.solution-overview .lead {
    font-size: 18px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}
.solution-overview p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 核心优势 */
.solution-advantages {
    margin-bottom: 50px;
    /* 直接可见 */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.solution-advantages h2 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 35px;
    text-align: center;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.advantage-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    /* 全部直接可见，只保留交互动画 */
    opacity: 1 !important;
    visibility: visible !important;
}
.advantage-card:hover {
    transform: translateY(-8px);
    border-color: #00aaff;
    box-shadow: 0 12px 30px rgba(0, 170, 255, 0.25);
}
.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #00aaff 0%, #0c2461 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.advantage-icon i {
    font-size: 36px;
    color: #fff;
}
.advantage-card h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}
.advantage-card p {
    color: #ffffff;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
    opacity: 0.95;
}

.advantage-card {
    background: linear-gradient(135deg, #00aaff 0%, #0c2461 100%);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    /* 全部直接可见，只保留交互动画 */
    opacity: 1 !important;
    visibility: visible !important;
}
.advantage-card:hover {
    transform: translateY(-8px);
    border-color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 170, 255, 0.4);
}

/* 系统组成 */
.solution-systems {
    background: #fff !important;
    border-radius: 12px;
    padding: 50px 40px;
    margin-bottom: 50px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    /* 直接可见 */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.solution-systems h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 35px;
    text-align: center;
}
.system-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.system-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 25px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}
.system-item:hover {
    background: #eef6ff;
    transform: translateX(8px);
}
.system-number {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #00aaff 0%, #0c2461 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}
.system-content h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
}
.system-content p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* 方案效果图 */
.solution-gallery {
    background: #fff !important;
    border-radius: 12px;
    padding: 50px 40px;
    margin-bottom: 50px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    /* 直接可见 */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.solution-gallery h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 35px;
    text-align: center;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 170, 255, 0.25);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* 项目流程 */
.solution-process {
    background: #fff !important;
    border-radius: 12px;
    padding: 50px 40px;
    margin-bottom: 50px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    /* 直接可见 */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.solution-process h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 35px;
    text-align: center;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}
.process-step {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
}
.process-step:hover {
    background: #eef6ff;
    transform: translateY(-5px);
}
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00aaff 0%, #0c2461 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 15px;
}
.process-step h4 {
    font-size: 18px;
    color: #222;
    margin-bottom: 10px;
}
.process-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 常见问题 */
.solution-faq {
    background: #fff !important;
    border-radius: 12px;
    padding: 50px 40px;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    /* 直接可见 */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.solution-faq h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 35px;
    text-align: center;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    padding: 20px 25px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.faq-question:hover {
    background: #eef6ff;
}
.faq-question h4 {
    font-size: 17px;
    color: #222;
    margin: 0;
}
.faq-question i {
    color: #00aaff;
    transition: transform 0.3s ease;
}
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 300px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* ========== 解决方案列表页样式 ========== */
.solution-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 1;
}
.solution-card:hover {
    transform: translateY(-8px);
    border-color: #00aaff;
    box-shadow: 0 12px 30px rgba(0, 170, 255, 0.25);
}
.solution-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}
.solution-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.solution-card:hover .solution-card-image img {
    transform: scale(1.05);
}
.solution-card-content {
    padding: 30px;
}
.solution-card-content h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 15px;
}
.solution-card-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}
.solution-card-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #00aaff 0%, #0c2461 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    transition: all 0.3s ease;
}
.solution-card-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.4);
    transform: translateY(-2px);
}

/* ========== 响应式适配 ========== */
@media (max-width: 992px) {
    .solution-banner {
        height: 300px;
    }
    .solution-banner-content h1 {
        font-size: 32px;
    }
    .solution-banner-content p {
        font-size: 16px;
    }
    .solution-overview,
    .solution-systems,
    .solution-gallery,
    .solution-process,
    .solution-faq {
        padding: 30px 20px;
    }
    .solution-overview h2 {
        font-size: 26px;
    }
    .system-item {
        flex-direction: column;
        gap: 15px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .solution-banner {
        height: 220px;
    }
    .solution-banner-content h1 {
        font-size: 24px;
    }
    .solution-overview h2 {
        font-size: 22px;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
}
