/* VIP页面样式 - 类似CSDN风格 */

/* 页面布局 - 固定页脚在底部 */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.vip-plans {
    flex: 1;
}

/* 导航栏样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #fc5531;
    cursor: pointer;
}

.header .nav {
    display: flex;
    gap: 30px;
}

.header .nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.header .nav a:hover {
    color: #fc5531;
}

.header .nav a.vip-link {
    color: #ff9800;
    font-weight: 600;
}

.vip-plans {
    padding: 30px 0 20px;
    background: #f5f5f5;
}

.vip-plans .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    font-size: 26px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.page-subtitle {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
}

/* 套餐卡片网格 - 横向布局 */
.plans-grid {
    display: flex;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
    justify-content: center;
    padding: 10px 0;
}

/* 卡片样式 */
.plan-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 40px;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #e4e4e4;
    flex: 1;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.plan-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #fc5531;
}

/* 选中的卡片 */
.plan-card.active {
    border: 2px solid #fc5531;
    background: linear-gradient(to bottom, #fff5f3 0%, #fff 100%);
    box-shadow: 0 4px 12px rgba(252, 85, 49, 0.2);
}

/* 角标 */
.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 600;
}

/* 套餐名称 */
.plan-name {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

/* 价格样式 */
.plan-price {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-symbol {
    font-size: 18px;
    color: #fc5531;
    font-weight: 600;
}

.price-num {
    font-size: 32px;
    font-weight: bold;
    color: #fc5531;
}

.price-unit {
    font-size: 16px;
    color: #999;
}

/* 支付区域 */
.payment-section {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.payment-amount {
    margin-bottom: 20px;
}

.amount-symbol {
    font-size: 24px;
    color: #fc5531;
    font-weight: 600;
}

.amount-num {
    font-size: 48px;
    font-weight: bold;
    color: #fc5531;
}

/* 支付按钮 */
.btn-pay {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    background: #fc5531;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(252, 85, 49, 0.3);
}

.btn-pay:hover {
    background: #e64a2e;
    box-shadow: 0 6px 16px rgba(252, 85, 49, 0.4);
    transform: translateY(-2px);
}

.btn-pay:active {
    transform: translateY(0);
}

/* VIP权益介绍 - 简化版 */
.vip-benefits-simple {
    padding: 30px 0;
    background: #fff;
}

.vip-benefits-simple .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-simple-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.benefit-simple-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s;
}

.benefit-simple-item:hover {
    background: #fff5f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 85, 49, 0.1);
}

.benefit-simple-icon {
    font-size: 32px;
}

.benefit-simple-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 页脚样式 */
footer {
    background: #fff;
    border-top: 1px solid #e4e4e4;
    padding: 20px 0;
    margin-top: 20px;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .footer-bottom {
    text-align: center;
}

footer .footer-bottom p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

footer .footer-bottom a {
    color: #fc5531;
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-bottom a:hover {
    color: #e64a2e;
    text-decoration: underline;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .header .container {
        height: 50px;
        padding: 0 15px;
    }

    .header .logo {
        font-size: 20px;
    }

    .header .nav {
        gap: 15px;
    }

    .header .nav a {
        font-size: 14px;
    }

    .vip-plans {
        padding: 20px 0 15px;
    }

    .page-title {
        font-size: 22px;
    }

    .page-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .plans-grid {
        flex-direction: column;
        max-width: 300px;
        gap: 15px;
        margin-bottom: 25px;
    }

    .plan-card {
        padding: 25px 30px;
    }

    .plan-name {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .price-num {
        font-size: 28px;
    }

    .price-symbol {
        font-size: 16px;
    }

    .price-unit {
        font-size: 14px;
    }

    .amount-num {
        font-size: 40px;
    }

    .amount-symbol {
        font-size: 20px;
    }

    .btn-pay {
        font-size: 16px;
        padding: 12px;
    }

    .vip-benefits-simple {
        padding: 20px 0;
    }

    .benefits-simple-grid {
        gap: 15px;
        padding: 0 15px;
    }

    .benefit-simple-item {
        padding: 12px 20px;
    }

    .benefit-simple-icon {
        font-size: 28px;
    }

    .benefit-simple-text {
        font-size: 14px;
    }

    footer {
        padding: 15px 0;
        margin-top: 15px;
    }

    footer .footer-bottom p {
        font-size: 12px;
    }
}
