.comparison-table {
    padding: 30px 0;
    background-color: #f5f8fc;
    text-align: center;
}

.table-container {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 30px;
    background: white;
    border: none;
}

/* 添加移动端横向滚动 */
@media screen and (max-width: 768px) {
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-container table {
        min-width: 600px; /* 确保表格有最小宽度 */
    }
    .table-container th,
    .table-container td {
        font-size: 15px;
    }

    /* 设置功能介绍列的最小宽度 */
    .table-container th:nth-child(2),
    .table-container td:nth-child(2) {
        min-width: 120px;

 
    }

    .table-container td:nth-child(3) {
        border-right:1px solid #ffb1b1 !important;
    }

    .table-container td:nth-child(4) {
        border-right:1px solid #ffb1b1 !important;
    }
}

.table-container table {
    border-collapse: collapse;
    width: 100%;
    border: none;
}

.table-container thead th {
    background-color: #e40404;
    color: white;
    font-weight: 600;
    padding: 15px;
    text-align: center;
    /* border: none; */
    border-left: 1px solid #e40404 !important;
    border-right: 1px solid #e40404 !important;
    border-top: 1px solid #e40404 !important;
}

.table-container thead th:first-child,
.table-container thead th:nth-child(2) {
    background-color: #8f0202;
    text-align: left;
}

.table-container tbody tr:nth-child(even) {
    background-color: #f6f6f6;
}

.table-container tbody td {
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    border-left: 1px solid #e8ebeb !important;
    border-right: 1px solid #e8ebeb !important;
}

.table-container tbody tr:last-child td {
    border-bottom: none;
}

.table-container td:nth-child(3) {
    border-right:1px solid #ffb1b1 !important;
}

.table-container td:nth-child(4) {
    border-right:1px solid #ffb1b1 !important;
}

/* 扁平化高亮样式 */
.highlight-col {
    background-color: #ffe7e6 !important;
    border-left: 1px solid #0066cc !important;
    border-right: 1px solid #0066cc !important;
}

/* 表头高亮样式 */
thead th.highlight-col {
    background-color: #005bb9 !important;
    border-top: 1px solid #0066cc !important;
}

/* 表格行高亮 */
.highlight-row {
    background-color: #fff7b3 !important;
}

/* 美化对勾和横杠 */
.check-mark {
    color: #0066cc;
    font-weight: bold;
    text-align: center;
}

.dash {
    color: #aaa;
    text-align: center;
}

/* 功能描述列样式 */
.feature-description {
    color: #666;
    font-size: 1rem;
}

/* 钻石版高亮 */
td.highlight {
    font-weight: bold;
    color: #0066cc;
}

/* 比较表格标题样式 */
.comparison-table h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0066cc;
    text-align: center;
}

/* 用户比较卡片扁平化 */
.user-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.user-comparison-item {
    background: white;
    border-radius: 4px;
    padding: 25px;
    border: 1px solid #e8e8e8;
}

.user-comparison-item h3 {
    color: #0066cc;
    margin-bottom: 5px;
}

.highlight-item {
    border: 2px solid #0066cc;
    position: relative;
}

.highlight-item:before {
    content: '推荐';
    position: absolute;
    top: -10px;
    right: 20px;
    background: #0066cc;
    color: white;
    padding: 2px 10px;
    border-radius: 2px;
    font-size: 0.8rem;
}

/* 表格注释美化 */
.table-note {
    color: #666;
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}