@font-face {
    font-family: 'NumberFont';
    src: url('../fonts/number.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.main-content {
    padding: 25px;
}

/* .header样式 */
.header {
    background: linear-gradient(135deg, #786ef8 0%, rgb(120 110 248 / 80%) 100%);
    padding: 10px;
    border-radius: 10px;
    position: relative;
}

.header h1 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3px;
    color: #fff;
}

.header p {
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 1.1em;
    margin-bottom: 1.5em;
}

.header p span {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(255, 169, 0);
    padding: 0 2px;
}

.pricing-section {
    margin-top: 1.5em;
}

.pricing-section .section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0eeff;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.pricing-section .section-title .pay-type{
    margin-left: auto;
    cursor: pointer;
    margin-right: 5px;
    border-bottom: solid 1px rgb(90 77 248 / 100%);
}

.pricing-section .section-title .pay-type a{
    font-size: 19px;
    border-bottom: solid 1px rgb(90 77 248 / 100%);
    padding-bottom: 1px;
}

.pricing-section .section-title svg {
    margin-right: 8px;
    color: #786ef8;
    width: 30px;
    transform: translateY(2px);
}

.pricing-section .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(120, 110, 248, 0.15);
}

.points-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
}

.points-label {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #786ef8;
    margin-bottom: 8px;
}

.price-cny {
    font-size: 1.2rem;
    margin-right: 5px;
    vertical-align: 1px;
}

.unit-price {
    color: #7e7d95;
    font-size: 1rem;
    margin-bottom: 10px;
    padding: 8px 18px;
    background: #f6f5ff;
    border-radius: 10px;
}

.unit-price span{
    color: #ff6e6e;
    padding: 0 3px;
    font-family: NumberFont;
    font-size: 1.05em;
}

.bonus-points {
    color: #27ae60;
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.bonus-points svg {
    margin-right: 5px;
}

.value-per-point {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #7f8c8d;
    text-align: center;
    padding-top: 15px;
    border-top: 1px dashed #e9e7ff;
    width: 100%;
}

.recommend-tag {
    position: absolute;
    top: 14px;
    right: -25px;
    transform: rotate(45deg);
    background: linear-gradient(to right, #fc8522, #fb27a2);
    color: #fff;
    font-size: 14px;
    text-align: center;
    min-width: 105px;
    line-height: 25px;
    pointer-events: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.pricing-faq {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pricing-faq .faq-item {
    padding: 0 32px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    cursor: pointer;
}

.pricing-faq .faq-item:hover {
    background-color: #eeeeff;
}

.pricing-faq .faq-item .faq-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.pricing-faq .faq-item .faq-tab h3 {
    font-size: 17px;
    margin-bottom: 0;
    color: #2c3e50;
}

.pricing-faq .faq-item:hover .faq-tab h3 {
    color: rgb(113 104 208);
}

.pricing-faq .faq-item:hover .faq-tab svg{
    color: rgb(96 86 201);
}

.pricing-faq .faq-con {
    display: none;
}

.pricing-faq > .active .faq-con {
    display: block;
}

.pricing-faq .faq-con p {
    font-size: 15px;
    font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #494c50;
}

.pricing-faq .faq-item:hover .faq-con p {
    color: rgb(106 97 204);
}

@media (max-width: 768px) {
    .main-content {
        padding: 12px;
    }

    .main-content ul {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px;
    }

    .main-content ul li {
        width: calc(50% - 10px);
        margin-bottom: 0;
    }
}