/* 主容器样式 */
.feature-contrast-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin: 20px 0;
    border: 1px solid #eaeaea;
}

.feature-contrast-row {
    display: flex;
    align-items: stretch;
    position: relative;
    margin: 0;
}

/* 列样式 */
.advantages-contrast-col, .disadvantages-contrast-col {
    padding: 20px 30px;
    flex: 1;
}

.advantages-contrast-section h5, .disadvantages-contrast-section h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid;
    display: flex;
    align-items: center;
    gap: 8px;
}

.advantages-contrast-section h5 {
    color: #28a745;
    border-bottom-color: rgba(40, 167, 69, 0.2);
}

.disadvantages-contrast-section h5 {
    color: #dc3545;
    border-bottom-color: rgba(220, 53, 69, 0.2);
}

/* 图标样式 */
.icon-contrast-plus, .icon-contrast-minus {
    font-style: normal;
    font-weight: bold;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.icon-contrast-plus {
    background: #28a745;
    color: white;
}

.icon-contrast-minus {
    background: #dc3545;
    color: white;
}

/* 列表样式 - 修改类名避免冲突 */
.contrast-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contrast-list li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
}

.contrast-list li:hover {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
}

.contrast-list li:last-child {
    border-bottom: none;
}

/* 自定义图标 */
.check-contrast-icon, .cross-contrast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

.check-contrast-icon::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
}

.cross-contrast-icon::before {
    content: "✕";
    color: #dc3545;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
}

/* 垂直分割线 */
.vertical-contrast-divider {
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #e0e0e0 10%, 
        #e0e0e0 90%, 
        transparent 100%);
    margin: 0 20px;
    position: relative;
    flex-shrink: 0;
}

.vertical-contrast-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #6c757d;
    border-radius: 50%;
    opacity: 0.6;
}

/* 响应式设计 */
@media (max-width: 991.98px) {
    .feature-contrast-row {
        flex-direction: column;
    }
    
    .vertical-contrast-divider {
        width: 100%;
        height: 2px;
        margin: 20px 0;
        background: linear-gradient(to right, 
            transparent 0%, 
            #e0e0e0 20%, 
            #e0e0e0 80%, 
            transparent 100%);
    }
    
    .vertical-contrast-divider::before {
        width: 8px;
        height: 8px;
        top: 50%;
        left: 50%;
    }
    
    .advantages-contrast-col, .disadvantages-contrast-col {
        padding: 20px 15px;
    }
    
    .feature-contrast-box {
        padding: 20px 15px;
    }
}

/* 动画效果 */
.contrast-list li {
    animation: fadeInUpContrast 0.5s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.contrast-list li:nth-child(1) { animation-delay: 0.1s; }
.contrast-list li:nth-child(2) { animation-delay: 0.2s; }
.contrast-list li:nth-child(3) { animation-delay: 0.3s; }
.contrast-list li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUpContrast {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 保留原有的 section-title 样式，但添加更具体的选择器 */
.feature-contrast-box .section-title {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}