/* 全局页面基础重置 */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", PingFang SC, sans-serif;
}
ul,li{
    list-style: none;
}
body{
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 外层主容器 */
.af-main{
    width: 100%;
    padding: 40px 20px;
}
.af-container100{
    max-width: 1200px;
    margin: 0 auto;
}

/* 顶部banner标题区域 */
#price-banner{
    text-align: center;
    padding: 45px 20px;
    background: linear-gradient(135deg,#4080ff,#6699ff);
    border-radius: 16px;
    margin-bottom: 40px;
}
#price-banner-content{
    color: #ffffff;
    font-weight: 600;
    font-size: 40px;
}

/* 会员套餐外层大容器 */
.pricing-contrast{
    width: 100%;
}
.pricing-contrast-list{
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 38px;
}

/* 单个会员卡片通用样式 */
.pricing-contrast-item{
    width: 310px;
    min-height: 360px;
    background: #fff;
    border-radius: 14px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
/* 卡片悬浮上浮效果 */
.pricing-contrast-item:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* 热销角标（年度VIP） */
.vip_icon.hot{
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
}
.vip_icon.hot::after{
    content: "推荐";
    position: absolute;
    top: 18px;
    right: -22px;
    width: 90px;
    height: 26px;
    line-height: 26px;
    background-color: #ff4d4f;
    color: #fff;
    text-align: center;
    font-size: 13px;
    transform: rotate(45deg);
}

/* 套餐标题 */
.pricing-contrast-item h3{
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}
/* 三套套餐标题区分颜色 */
.personal h3{color: #666;}
.gold h3{color: #e6a23c;}
.platinum h3{color: #4080ff;}

/* 价格区域 */
.price{
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.price strong{
    font-size: 38px;
    font-weight: 700;
}
/* 价格色彩区分 */
.personal .price strong{color: #666;}
.gold .price strong{color: #e6a23c;}
.platinum .price strong{color: #4080ff;}

/* 特权列表区域 */
.contrast-list{
    margin-bottom: 32px;
}
.item-text{
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 15px;
    color: #555;
}
.item-text .icon{
    width: 18px;
    height: 18px;
    margin-right: 10px;
    display: inline-block;
}
/* 勾选/叉号图标样式 */
.icon.not-include{
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4d4f'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>") no-repeat center;
    background-size: contain;
}
/* 如需开通会员显示对勾，替换上面svg：%2300b42a */

/* 购买按钮盒子 */
.price-button-box{
    text-align: center;
}
.buy-btn{
    width: 100%;
    height: 46px;
    line-height: 46px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s;
    color: #fff;
}
/* 三套按钮色彩区分 */
.personal .buy-btn{
    background-color: #909399;
}
.personal .buy-btn:hover{
    background-color: #797c82;
}
.gold .buy-btn{
    background-color: #e6a23c;
}
.gold .buy-btn:hover{
    background-color: #cf9436;
}
.platinum .buy-btn{
    background-color: #4080ff;
}
.platinum .buy-btn:hover{
    background-color: #3370e6;
}

/* 底部VIP购买声明区域 */
.cta{
    width: 800px;
    margin: 40px auto 0;
    padding: 30px 35px;
    background-color: #2c3644;
    border-radius: 12px;
}
.cta h4{
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 500;
}
.cta p{
    color: #c9cdd4;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* 适配小屏幕自适应 */
@media screen and (max-width: 1100px) {
    .pricing-contrast-list{
        gap: 20px;
    }
    .pricing-contrast-item{
        width: 280px;
    }
    .cta{
        width: 95%;
    }
}
@media screen and (max-width: 768px) {
    .pricing-contrast-list{
        flex-direction: column;
        align-items: center;
    }
    .pricing-contrast-item{
        width: 90%;
    }
    #price-banner-content{
        font-size: 28px;
    }
}


/* 支付弹窗遮罩 */
.pay-popup-mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

/* 支付弹窗容器 */
.pay-popup-box {
    width: 420px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* 顶部标题栏 */
.pay-popup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 56px;
    border-bottom: 1px solid #f0f0f0;
}

.pay-popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.pay-popup-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 22px;
    color: #999;
    text-decoration: none;
    border-radius: 50%;
    transition: 0.2s;
}

.pay-popup-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

/* 弹窗主体 */
.pay-popup-body {
    padding: 30px 24px 24px;
    text-align: center;
}

/* 二维码区域 */
.pay-qrcode-box {
    width: 280px;
    height: 280px;
    margin: 0 auto 24px;
    padding: 12px;
    background: #f7f9fc;
    border-radius: 12px;
}

.pay-qrcode-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* 提示文字 */
.pay-tip {
    margin-bottom: 24px;
}

.pay-tip p {
    margin: 0 0 8px;
    font-size: 16px;
    color: #333;
}

.pay-tip-small {
    font-size: 13px;
    color: #999;
}

/* 支付方式 */
.pay-method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #065f46;
    font-size: 15px;
    font-weight: 500;
}

.pay-method img {
    width: 24px;
    height: 24px;
}

/* 响应式 */
@media screen and (max-width: 480px) {
    .pay-popup-box {
        width: 90%;
    }

    .pay-qrcode-box {
        width: 240px;
        height: 240px;
    }
}
