/* 版本对比页面样式 */

.version-comparison-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* 表格容器 */
.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

/* 对比表格 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.comparison-table thead {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.comparison-table th {
    padding: 25px 15px;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th:last-child {
    border-right: none;
}

.feature-column {
    width: 20%;
    text-align: left !important;
    font-size: 1rem;
}

.version-column {
    width: 20%;
}

.version-header h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.version-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 5px;
}

.version-badge.popular {
    background: #f39c12;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 表格主体 */
.comparison-table tbody tr {
    border-bottom: 1px solid #ecf0f1;
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

.comparison-table td {
    padding: 18px 15px;
    text-align: center;
    color: #2c3e50;
    font-size: 0.95rem;
}

.feature-name {
    text-align: left !important;
    font-weight: 600;
    color: #34495e;
}

/* 分类行 */
.category-row {
    background: linear-gradient(90deg, #e3f2fd 0%, #e1f5fe 100%);
}

.category-row td {
    padding: 15px;
    font-size: 1.05rem;
    color: #1976d2;
    font-weight: 700;
    text-align: left;
}

/* 特殊标记 */
.check {
    color: #27ae60;
    font-weight: 600;
}

.cross {
    color: #e74c3c;
    font-weight: 600;
}

/* 价格行 */
.price-row {
    background: #fff9e6;
}

.price-row td {
    padding: 25px 15px;
    font-size: 1.05rem;
}

.price-row strong {
    color: #e67e22;
    font-size: 1.2rem;
}

.price-row small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* 操作按钮行 */
.action-row {
    background: #f8f9fa;
}

.action-row td {
    padding: 25px 15px;
}

.btn-download {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-free {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
}

.btn-cloud {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-pro {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-custom {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 版本说明 */
.version-notes {
    margin-top: 50px;
}

.version-notes h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 700;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.note-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #3498db;
}

.note-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.note-card.highlight {
    border-top-color: #f39c12;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.note-card h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.note-card p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .version-comparison-section {
        padding: 40px 15px;
    }
    
    .section-header h1 {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .comparison-table-wrapper {
        border-radius: 8px;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
    
    .version-header h3 {
        font-size: 1.1rem;
    }
    
    .version-badge {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .btn-download {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .note-card {
        padding: 20px;
    }
    
    .version-notes h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-header h1 {
        font-size: 1.5rem;
    }
    
    .comparison-table {
        min-width: 800px;
    }
}
