/* 会员权益页面样式 */

.container-large {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 套餐切换区域 */
.pricing-toggle-section {
    padding: 40px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

/* 套餐切换 */
.plan-toggle {
    display: inline-flex;
    background: #fff;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    padding: 12px 30px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.toggle-btn:hover:not(.active) {
    color: #1e293b;
}

.discount-badge {
    background: #ef4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* 套餐卡片 */
.pricing-plans {
    padding: 60px 0 80px;
    background: #f8fafc;
}

.pricing-plans .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 100%;
}

.plan-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.plan-card.recommended {
    border-color: #8b5cf6;
    transform: scale(1.05);
}

.plan-card.recommended:hover {
    transform: scale(1.05) translateY(-8px);
}

.recommend-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* 套餐头部 */
.plan-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 25px;
}

.plan-name {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 15px 0;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 40px;
    font-weight: 700;
    color: #1e293b;
}

.price-period {
    font-size: 16px;
    color: #64748b;
}

.plan-desc {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* 套餐功能列表 */
.plan-features {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.feature-item {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item.disabled {
    opacity: 0.4;
}

.feature-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
}

.feature-icon.check {
    background: #d1fae5;
    color: #10b981;
}

.feature-item.disabled .feature-icon {
    background: #f1f5f9;
    color: #cbd5e1;
}

.feature-item span:nth-child(2) {
    flex: 1;
}

.feature-limit {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* 套餐按钮 */
.plan-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-free .plan-btn,
.btn-current {
    background: #f1f5f9;
    color: #64748b;
}

.plan-basic .plan-btn {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
}

.plan-premium .plan-btn,
.plan-btn-premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
}

.plan-vip .plan-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.plan-btn:not(.btn-current):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* 常见问题 */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 25px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 50%;
    font-size: 20px;
    color: #64748b;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background: #f97316;
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-top: 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, #9a3412 0%, #ea580c 100%);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 35px 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 15px 35px;
    background: #fff;
    color: #9a3412;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* 响应式 */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plan-card.recommended {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-toggle {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .toggle-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ==================== 功能对比表格 ==================== */
.comparison-table-section {
    padding: 80px 0;
    background: #fff;
}

.comparison-table-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 1000px;
}

.comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.comparison-table thead th {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

.comparison-table thead th:last-child {
    border-right: none;
}

.comparison-table thead .feature-column {
    text-align: left;
    width: 200px;
    min-width: 200px;
}

.comparison-table thead .plan-column {
    min-width: 120px;
}

.comparison-table thead .plan-name-cell {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.comparison-table thead .plan-price-cell {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 400;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody td {
    padding: 18px 15px;
    text-align: center;
    font-size: 14px;
    color: #4a5568;
}

.comparison-table tbody .feature-name-cell {
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    background: #f7fafc;
}

.comparison-table tbody .feature-value-cell {
    font-weight: 500;
}

.comparison-table .check-icon {
    color: #10b981;
    font-size: 20px;
    font-weight: 700;
}

.comparison-table .cross-icon {
    color: #cbd5e0;
    font-size: 18px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .comparison-table {
        min-width: 900px;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 15px 10px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .comparison-table-section {
        padding: 60px 0;
    }
    
    .comparison-table-section .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .table-wrapper {
        margin: 0 -20px;
        border-radius: 0;
    }
}

/* ==================== 表格操作按钮 ==================== */
.comparison-table tbody .action-row {
    background: #f8fafc;
}

.comparison-table tbody .action-row td {
    padding: 25px 15px;
}

.comparison-table tbody .action-cell {
    padding: 20px 15px;
}

.btn-table-action {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-table-action.btn-register {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.btn-table-action.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-table-action.btn-upgrade {
    background: linear-gradient(135deg, #ff6600 0%, #ff8833 100%);
    color: #fff;
}

.btn-table-action.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-table-action.btn-current {
    background: #e2e8f0;
    color: #64748b;
    cursor: not-allowed;
}

.btn-table-action.btn-current:hover {
    transform: none;
    box-shadow: none;
}

