/* 技术优势页面样式 - 遵循项目设计规范 */
.collapsible-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.main-image-wrapper {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .main-image-wrapper {
        height: 280px;
    }
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.overlay-title {
    color: white;
    font-size: 2.2rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .overlay-title {
        font-size: 1.8rem;
    }
    .image-overlay {
        padding: 1.8rem;
    }
}

.collapsible-panels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.panel.active {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.panel-header {
    padding: 1.2rem 1.5rem;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.panel.active .panel-header {
    background-color: #2c6ecb;
    color: white;
}

.panel-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.panel-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    color: #555;
    transition: all 0.3s ease;
}

.panel.active .panel-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.panel-content {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.panel-content p {
    padding: 0 1.5rem;
    margin: 0;
    color: #555;
    line-height: 1.8;
}

.panel.active .panel-content p {
    padding: 1.5rem;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translate3d(0, 30px, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.fadeIn {
    animation-name: fadeIn;
}

.slideInUp {
    animation-name: slideInUp;
}

/* 装饰元素 */
.panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #2c6ecb;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.panel.active::before {
    transform: scaleY(1);
}
