.membership-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.membership-container-with-margin {
    margin-top: 20px;
}

.membership-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ================================================================
   积分余额 + 充值入口卡片（与 ait-points-card / xhs 同款视觉）
   ================================================================ */
.membership-points-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto 48px;
    padding: 24px 32px;
    background: #1E3A8A;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.28);
    position: relative;
    overflow: hidden;
    text-align: left;
}
.membership-points-card::before,
.membership-points-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.16;
    background: #fff;
    pointer-events: none;
}
.membership-points-card::before { width: 180px; height: 180px; right: -50px; top: -60px; }
.membership-points-card::after  { width: 120px; height: 120px; right: 120px; bottom: -70px; }

.mpc-left  { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.mpc-icon  {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    font-size: 26px; line-height: 1;
    backdrop-filter: blur(4px);
}
.mpc-info          { display: flex; flex-direction: column; gap: 4px; }
.mpc-label         { font-size: 13px; color: rgba(255, 255, 255, 0.82); letter-spacing: 0.5px; }
.mpc-value         { display: flex; align-items: baseline; gap: 8px; }
.mpc-number        { font-size: 28px; font-weight: 700; color: #fff; line-height: 1.1; }
.mpc-unit          { font-size: 14px; color: rgba(255, 255, 255, 0.88); }
.mpc-detail        { font-size: 12.5px; color: rgba(255, 255, 255, 0.78); margin-top: 2px; }
.mpc-detail span   { color: #fff; font-weight: 600; }

.mpc-recharge-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #fff;
    color: #3B82F6;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.15);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.mpc-recharge-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.22);
    background: #F0F9FF;
    color: #1D4ED8;
}
.mpc-recharge-btn i { font-size: 15px; }

@media (max-width: 768px) {
    .membership-points-card { padding: 18px 20px; border-radius: 14px; }
    .mpc-icon  { width: 46px; height: 46px; font-size: 22px; }
    .mpc-number { font-size: 22px; }
    .mpc-unit   { font-size: 13px; }
    .mpc-detail { font-size: 12px; }
    .mpc-recharge-btn {
        width: 100%; justify-content: center;
        padding: 11px 18px; font-size: 14px;
    }
}

.membership-title {
    font-size: 36px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 16px;
}

.membership-subtitle {
    font-size: 18px;
    color: #64748B;
    margin-bottom: 32px;
}

.membership-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.feature-text {
    color: #1E3A8A;
    font-weight: 500;
}

.membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.plan-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #E2E8F0;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: #3B82F6;
}

.plan-card.popular {
    border-color: #3B82F6;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

.plan-card.popular::before {
    content: '推荐';
    position: absolute;
    top: -12px;
    right: 30px;
    background: #2563EB;
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

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

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 8px;
}

.plan-duration {
    font-size: 16px;
    color: #64748B;
    margin-bottom: 24px;
}

.plan-points {
    background: #059669;
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
}

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

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: #475569;
}

.plan-features li i {
    color: #10B981;
    margin-right: 12px;
    font-size: 18px;
}

.plan-features li .feature-title {
    font-weight: 500;
    margin-right: 8px;
}

.plan-features li .feature-desc {
    color: #64748B;
    font-size: 14px;
}

.plan-button {
    width: 100%;
    padding: 16px;
    background: #2563EB;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.plan-button:active {
    transform: translateY(0);
}

.faq-section {
    background: #F8FAFC;
    border-radius: 20px;
    padding: 40px;
}

.faq-title {
    font-size: 28px;
    font-weight: 700;
    color: #1E3A8A;
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.faq-question i {
    color: #3B82F6;
    margin-right: 12px;
}

.faq-answer {
    font-size: 16px;
    color: #64748B;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .membership-container {
        padding: 40px 20px;
    }
    .plan-features li{
        margin-bottom: 5px;
    }
    .plan-name{
        margin-bottom: 0px;
    }
    .plan-features{
        margin-bottom: 10px;
    }
    .plan-price{
        margin-bottom: 0px;
        font-size: 38px;
    }
    .plan-duration{
        margin-bottom: 10px;
    }
    .plan-points{
        margin-bottom: 10px;
    }
    .membership-title {
        font-size: 22px;
        margin-bottom: 5px;
    }
    .membership-header{
        margin-top: 30px;
    }
    .membership-subtitle{
        font-size: 14px;
        margin-bottom: 10px;
    }
    .plan-header{
        margin-bottom: 10px;
    }
    .membership-features {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        display: flex;
        align-content: space-between;
        justify-content: space-between;
        margin-bottom: 30px;
    }
    
    .membership-plans {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 15px;
    }
    .faq-title{
        margin-bottom: 10px;
    }
    .faq-answer{
        font-size: 13px;
    }
    .plan-card.popular {
        transform: none;
    }
    .faq-item{
        padding-bottom: 10px;
    }
    
    .plan-card {
        padding: 20px 20px;
    }
    
    .faq-section {
        padding: 30px 20px;
    }
}

/* 内联style属性提取 */
.mt-20 {
    margin-top: 20px;
}

.payment-modal-body {
    text-align: center;
    padding: 30px;
}

.payment-modal-title {
    margin-bottom: 20px;
}

.payment-qrcode-wrap {
    display: inline-block;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.payment-modal-tip {
    margin-top: 10px;
    color: #999;
    font-size: 14px;
}
