* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* 容器界面 */
.vip-container {
    background: linear-gradient(to bottom, #e6f0ff, #ffffff);
    width: 100%;
    padding: 60px 0;
}

.vip-section {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.vip-section h1 {
    font-size: 60px;
    color: #333;
    font-weight: normal;
    margin-bottom: 10px;
}

.vip-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    /* margin-bottom: 20px; */
}

.feature-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    /* flex: 1 1 calc(33.333% - 20px); */
    /* max-width: calc(33.333% - 20px); */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

.feature-item b {
    color: red;
    font-weight: bold;
}

.vip-button {
    background: linear-gradient(262deg, #212F5A 0%, #4A4D85 100%);
    box-shadow: 0px 4px 4px 0px rgba(34, 46, 89, 0.2);
    color: #FFF0CA;
    top: 16px;
    display: block;
    text-align: center;
    margin: 20px auto;
    font-size: 26px;
    position: relative;
    width: 300px;
    height: 60px;
    line-height: 60px;
    border-radius: 30px;
    cursor: pointer;
    border: none;
}

.vip-button:hover {
    box-shadow: 0px 8px 8px 0px rgba(34, 46, 89, 0.2);
}


/* 卡片区域 */
.pricing-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* padding: 20px; */
}

.pricing-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 40%;
    padding: 20px;
    text-align: center;
    border: 2px solid #fff;
}

.pricing-container .pricing-card:hover {
    border: 2px solid #e67e22;
    cursor: pointer;
}

.pricing-card b {
    color: red;
}

.card-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.price {
    font-size: 28px;
    color: #e67e22;
    margin-bottom: 10px;
}

.original-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.upgrade-button {
    background: linear-gradient(262deg, #212F5A 0%, #4A4D85 100%);
    box-shadow: 0px 4px 4px 0px rgba(34, 46, 89, 0.2);
    color: #FFF0CA;
    display: block;
    line-height: 40px;
    text-align: center;
    margin: 20px auto;
    font-size: 14px;
    position: relative;
    width: 200px;
    height: 40px;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    transition: width 0.5s linear;
}

.upgrade-button:hover {
    width: 250px;
    height: 45px;
    line-height: 45px;
}

.benefits {
    border-top: 1px solid #ccc;
    margin-top: 15px;
    padding-top: 15px;
}

.benefits strong {
    color: red;
}

.benefits {
    text-align: left;
    margin-bottom: 15px;
}

.benefits h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.benefits ul {
    list-style: none;
}

.benefits li {
    background-color: #fff3e2;
}

.benefits li {
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
    padding: 3px;
}

.benefits li span.new {
    background-color: #e67e22;
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 3px;
    margin-left: 5px;
}
.myInfoes{
    width:50%;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px rgba(34, 46, 89, 0.2);
    color: #FFF0CA !important;
    margin:30px auto;
    background: #234a74;
    padding:10px;
    text-align: center;
}

/* 选项权限 */
.features2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.features2 .feature-item2 {
    text-align: center;
    margin: 10px;
    flex: 1 1 100px;
}

.features2 .feature-item2 img {
    width: 50px;
    height: 50px;
}

.features2 .feature-item2 p {
    font-size: 14px;
    color: #000;
}

.bgwhite {
    /* 背景白色 */
    background: #fff;
}

.comparison-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}

h1 {
    color: #2b2b2b;
    font-size: 24px;
    margin-bottom: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.comparison-table th {
    background-color: #f5f5f5;
    color: #333;
    font-size: 16px;
}

.comparison-table td {
    color: #666;
    font-size: 14px;
}

.comparison-table td span {
    display: block;
    margin-top: 5px;
    color: #ff0000;
}

.disclaimer {
    color: #333;
    font-size: 14px;
    margin: 20px 0;
}

.disclaimer b,
.comparison-table b {
    color: red;
}

/* 优惠券部分 */
.coupon-container {
    text-align: center;
    padding: 20px;
}

h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.coupons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.coupon {
    display: flex;
    width: 100%;
    max-width: 300px;
    margin: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.coupon-left {
    background-color: #ff4d4f;
    color: #fff;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.amount {
    font-size: 24px;
    margin: 0;
    color:#fff;
}

.coupon-right {
    background-color: #fff;
    color: #333;
    width: 60%;
    padding: 10px;
    text-align: left;
}

.coupon-right p {
    margin: 5px 0;
    font-size: 12px;
}

.status {
    color: #ff4d4f;
    font-weight: bold;
}

/* 大会员课程 */
.course-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: #333;
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

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

.course-section {
    margin-bottom: 20px;
}

.course-section h2 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.course-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.course-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
    overflow: hidden;
    flex: 1 1 calc(33% - 20px);
    margin: 10px;
    padding-bottom: 10px;
}

.course-card img {
    width: 100%;
    height: auto;
}

.course-card h3 {
    color: #333;
    font-size: 16px;
    margin: 10px 0;
}

.course-card p {
    color: #666;
    font-size: 14px;
    margin: 5px 10px;
}

.price {
    color: #ff4d4f !important;
    font-weight: bold;
    margin: 10px 0;
}

.price span {
    color: #999;
    text-decoration: line-through;
    font-weight: normal;
    font-size:14px;
}

.tag {
    color: #ff4d4f;
    font-weight: bold;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    h1 {
        font-size: 28px;
    }

    .note {
        font-size: 14px;
    }

    .course-section h2 {
        font-size: 24px;
    }
    .course-card h3 {
        font-size: 18px;
    }

    .course-card p {
        font-size: 16px;
    }
}

/* 分页样式代码 */
.pagination-container {
    text-align: center;
}

.pagination {
    display: inline-block;
    padding: 0;
    list-style: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-top: 40px;
}

.page-item {
    display: inline;
}

.page-link {
    color: #007bff;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.page-link:hover {
    background-color: #ddd;
}

.page-item.active .page-link {
    color: white;
    background-color: #007bff;
}

/* 常见问题 */
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.faq-container h1 {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-container .icon {
    font-size: 28px;
    color: #f90;
    margin-right: 10px;
}

.faq-container .faq {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.faq-container .faq-item {
    width: 100%;
    margin-bottom: 20px;
}

.faq-container h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.faq-container p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 弹窗 */
.modal2 {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    overflow: hidden;
    position: fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index: 1000;
}

.modal2-header {
    /* display: flex;
    justify-content: space-between; */
    align-items: center;
    padding: 10px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.modal2-header .avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.modal2-header .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right:20px;
    top:10px;
}

.modal2-body {
    padding: 0px 20px;
    text-align: center;
}

h1 {
    font-size: 24px;
    color: #333;
}

.membership-plan {
    border: 2px solid #000;
    padding: 0px 32px;
    margin: 10px 0;
    position: relative;
    display: inline-block;
    text-align: center;
    margin-left: 10px;
    border-radius: 10px;
}
.membership-plan:hover,
.active2{
    border: 2px solid #ff4d4f;
}
.plan-header {
    font-size: 18px;
    color: #ff4d4f;
}

.plan-price {
    font-size: 24px;
    color: #ff4d4f;
}

.plan-discount {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff4d4f;
    color: #fff;
    padding: 5px;
    border-radius: 50%;
    font-size: 12px;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.tabs2 {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.tab-button {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background-color: #f7f7f7;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-button.active {
    background-color: #ff4d4f;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.price {
    font-size: 24px;
    color: #ff4d4f;
}

.wallet-balance {
    font-size: 14px;
    color: #999;
}

.pay-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.pay-button:hover {
    background-color: #0056b3;
}

.modal2-footer {
    padding: 10px 20px;
    background-color: #f7f7f7;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* 列表展示 */
.containerb {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
}
.cardb {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(20% - 20px);
    box-sizing: border-box;
    overflow: hidden;
    margin:10px;
    padding-bottom: 10px;
}
.cardb img {
    width: 100%;
    height: 190px;
}
.cardb-content {
    padding: 10px;
}
.cardb-title {
    font-size: 15px;
    margin: 0 0 10px;
}
.cardb-price {
    color: #ff5722;
    margin: 10px 0;
}
.cardb-old-price {
    text-decoration: line-through;
    color: #999;
}
.cardb-membership {
    background-color: #ff9800;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}
.cardb .tag{
    border: 1px solid #ff2832;
    color: #ff2832 !important;
    background-color: #ffedee;
    font: 16px/36px "Microsoft Yahei";
    overflow: hidden;
    padding: 0 15px;
    border-radius: 3px;
    text-decoration: none;
}

@media screen and (max-width: 1024px) {
    .cardb {
        flex: 1 1 calc(50% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .cardb {
        flex: 1 1 calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .cardb {
        flex: 1 1 calc(100% - 20px);
    }
    
    .course-card{
        flex: 1 1 calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    .modal2 {
        width: 95%;
    }

    .tabs2 {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .faq-item {
        width: 48%;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 32px;
    }

    .faq-item {
        width: 48%;
    }

    h2 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .page-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 32px;
    }

    .note {
        font-size: 16px;
    }

    .course-section h2 {
        font-size: 28px;
    }

    .course-card h3 {
        font-size: 20px;
    }

    .course-card p {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 28px;
    }

    .amount {
        font-size: 28px;
    }

    .coupon-right p {
        font-size: 12px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 32px;
    }

    .amount {
        font-size: 32px;
    }

    .coupon-right p {
        font-size: 14px;
    }
}


@media (min-width: 768px) {
    h1 {
        font-size: 28px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 20px;
    }

    .comparison-table th {
        font-size: 18px;
    }

    .comparison-table td {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 32px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 25px;
    }

    .comparison-table th {
        font-size: 20px;
    }

    .comparison-table td {
        font-size: 14px;
    }
}


/* 响应式处理 */
@media (min-width: 768px) {
    .feature-item {
        flex: 1 1 150px;
    }

    .feature-item img {
        width: 70px;
        height: 70px;
    }

    .feature-item p {
        font-size: 16px;
    }
    
}

@media (min-width: 1024px) {
    .feature-item {
        flex: 1 1 200px;
    }

    .feature-item img {
        width: 90px;
        height: 90px;
    }

    .feature-item p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .feature-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .pricing-card {
        width: 45%;
    }
    #vipLi,
    #wechatLi,
    #bakLi{
        display: none;
    }
    .indexLeftNav, .indexRightNav{
        top:70%;
    }
}

@media (max-width: 480px) {
    .feature-item {
        flex: 1 1 100%;
    }

    .vip-section h1 {
        font-size: 20px;
    }

    .vip-section p {
        font-size: 16px;
    }

    .vip-button {
        width: 100%;
        font-size: 18px;
    }

    .pricing-card {
        width: 90%;
    }
    .features2 .feature-item2 p{
        font-size: 12px;
    }
}