/* ==================== 
   价格页面样式
   ==================== */

/* 价格Hero区域 */
.pricing-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #E6F5FF 0%, #FFFFFF 100%);
    text-align: center;
}

.pricing-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.pricing-hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* 计费切换 */
.billing-toggle {
    display: inline-flex;
    background: white;
    padding: 4px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.billing-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.billing-btn.active {
    background: var(--gradient-primary);
    color: white;
}

.discount-badge {
    background: #10B981;
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
}

/* 价格方案 */
.pricing-plans {
    padding: 80px 0;
    background: var(--bg-white);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* 方案卡片 */
.plan-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.plan-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.plan-description {
    font-size: 16px;
    color: var(--text-secondary);
}

.plan-price {
    text-align: center;
    margin-bottom: 32px;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    vertical-align: top;
}

.price-amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li.disabled {
    color: var(--text-light);
}

.plan-features i {
    font-size: 18px;
}

.plan-features .fa-check {
    color: var(--success-color);
}

.plan-features .fa-times {
    color: var(--text-light);
}

.plan-btn {
    width: 100%;
    padding: 16px;
    text-align: center;
}

/* FAQ */
.pricing-faq {
    padding: 80px 0 120px;
    background: var(--bg-gray);
}

.faq-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-gray);
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .pricing-hero-title {
        font-size: 36px;
    }
    
    .billing-toggle {
        flex-direction: column;
        width: 100%;
    }
    
    .billing-btn {
        width: 100%;
        justify-content: center;
    }
}

