/* 套餐及定价页面样式 */

.pricing-section {
    background-color: #fafafa;
    padding: 80px 20px;
    min-height: 100vh;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 标题区域 */
.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: 48px;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 16px;
}

.pricing-subtitle {
    font-size: 16px;
    color: #d32f2f;
    margin-bottom: 24px;
}

.trial-btn {
    background: #ffffff;
    border: 2px solid #333;
    padding: 10px 22px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.trial-btn:hover {
    background: #333;
    color: #ffffff;
}

/* 选项卡 */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 4px;
    border-radius: 6px;
    background: #f5f5f5;
}

.tab-btn {
    flex: 1;
    padding: 10px 20px;
    background: transparent;
    border: none;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 4px;
}

.tab-btn.active {
    background: #ffffff;
    color: #333;
    font-weight: 500;
}

.discount-tag {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

/* 定价卡片容器 */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

/* 定价卡片 */
.pricing-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 28px 22px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.pricing-card.featured {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 最受欢迎标签 */
.popular-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 29px;
    background: #2c2c2c;
    color: #fba180;
    padding: 6px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
    margin: -1px -1px 0 -1px;
}

/* 基础版标签 */
.popular-badge.basic-badge {
    background: #f9f4ed;
    color: transparent;
    border-bottom: 1px solid #f9f4ed;
}

/* 豪华版标签 */
.popular-badge.premium-badge {
    background: #f9f4ed;
    color: transparent;
    border-bottom: 1px solid #f9f4ed;
}

/* 卡片标题 */
.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    margin-top: 24px;
}

.card-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* 价格区域 */
.price-wrapper {
    display: flex;
    align-items: baseline;
    margin-bottom: 6px;
}

.currency {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-right: 2px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.decimal {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-right: 6px;
}

.period {
    font-size: 12px;
    color: #666;
}

.billing-note {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

/* 立即购买按钮 */
.purchase-btn {
    width: 100%;
    background: #fba180;
    color: #222;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.purchase-btn:hover {
    background: #ff8a65;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 138, 101, 0.3);
}

/* 功能列表 */
.features {
    border-top: 1px solid #e8e8e8;
    padding-top: 20px;
}

.features-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    margin-top: 0;
}

.features-title:not(:first-child) {
    margin-top: 18px;
}

.platform-fee {
    font-size: 12px;
    color: #666;
    margin-bottom: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .pricing-title {
        font-size: 36px;
    }

    .pricing-tabs {
        max-width: 100%;
    }

    .tab-btn {
        font-size: 14px;
        padding: 12px 16px;
    }

    .pricing-section {
        padding: 60px 20px;
    }
}

