    .tests-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    .test-card {
        background: white;
        border: none;
        border-radius: 16px;
        padding: 32px;
        transition: all 0.3s ease;
        color: inherit;
        display: flex;
        flex-direction: column;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
        height: 100%; /* 确保所有卡片高度一致 */
    }

    .test-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    }

    .test-card h4 {
        font-size: 1.375rem;
        font-weight: 700;
        color: #1f2937;
        margin: 0 0 16px 0;
        line-height: 1.4;
        min-height: 3.85rem; /* 固定高度，约2-3行 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .test-card p {
        color: #6b7280;
        font-size: 14px;
        line-height: 1.6;
        margin: 0 0 15px 0;
    }

    .test-card .meta {
        color: #9ca3af;
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .test-card .version-comparison {
        background: linear-gradient(135deg, #f8f9fa 0%, #f1f5f9 100%);
        border-radius: 12px;
        padding: 16px;
        margin: 20px 0;
        font-size: 14px;
    }
    
    .test-card .version-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
        padding: 4px 0;
    }
    
    .test-card .version-item:last-child {
        margin-bottom: 0;
    }
    
    .test-card .version-label {
        color: #6b7280;
        font-weight: 500;
        min-width: 60px;
    }
    
    .test-card .version-meta {
        color: #374151;
        flex: 1;
        text-align: right;
        margin-right: 8px;
    }
    
    .test-card .version-btn {
        position: relative;
    }
    
    .test-card .version-btn .price-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        color: white;
        font-size: 10px;
        font-weight: 500;
        padding: 3px 6px;
        border-radius: 10px;
        line-height: 1.2;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        white-space: nowrap;
        z-index: 10;
        pointer-events: none;
    }
    
    .test-card .version-btn.professional .price-badge {
        background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    }

    .test-card .version-btn.trial .price-badge {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    }
    
    .test-card .version-buttons {
        display: flex;
        gap: 8px;
        margin-top: auto; /* 使用 auto 将按钮推到底部 */
        flex-wrap: nowrap;
        width: 100%;
        align-items: stretch;
    }
    
    .test-card .version-btn {
        flex: 1;
        padding: 10px 8px;
        border: none;
        border-radius: 8px;
        background: #ffffff;
        color: #374151;
        font-size: 13px;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        position: relative;
        min-height: 40px;
        box-sizing: border-box;
    }
    
    .test-card .version-btn:hover {
        background: #f8f9fa;
        color: #667eea;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }
    
    .test-card .version-btn.trial {
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        color: #2563eb;
    }
    
    .test-card .version-btn.standard {
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        color: #d97706;
    }
    
    .test-card .version-btn.professional {
        background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
        color: #7c3aed;
    }
    
    .test-card .version-btn.locked {
        background: #f9fafb;
        border-color: #e5e7eb;
        color: #9ca3af;
        cursor: not-allowed;
        position: relative;
    }
    
    .test-card .version-btn.locked::after {
        content: '🔒';
        margin-left: 4px;
    }
