/* ============= 价格方案页面样式 ============= */
.price-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
}

.price-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(45, 181, 93, 0.05) 0%, rgba(66, 133, 244, 0.05) 100%);
    z-index: -1;
    border-radius: 30px;
}

.price-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.price-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2db55d, #4285F4);
    border-radius: 2px;
}

.price-header h1 {
    font-size: 42px;
    color: #222;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, #2db55d, #4285F4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.price-header .subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.price-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.price-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.price-card.featured {
    border-color: #2db55d;
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card.basic {
    opacity: 0.8;
}

.price-card.basic:hover {
    opacity: 1;
}

.price-card.basic .plan-btn {
    background: #f5f5f5;
    color: #666;
    box-shadow: none;
}

.price-card.basic .plan-btn:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.plan-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(90deg, #2db55d, #259a4f);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(45, 181, 93, 0.2);
    z-index: 1;
}

.plan-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.plan-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price .amount {
    font-size: 42px;
    font-weight: 700;
    color: #2db55d;
    line-height: 1;
    margin-bottom: 5px;
}

.price .period {
    font-size: 16px;
    color: #888;
    margin-top: 5px;
}

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

.plan-btn-top {
    display: inline-block;
    padding: 12px 30px;
    background: #f8f8f8;
    color: #555;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.plan-btn-top:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
}

.plan-features {
    flex: 1;
    margin-bottom: 30px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 10px;
    display: flex;
    align-items: center;
    color: #555;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 15px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li.disabled {
    color: #aaa;
}

.plan-feature-icon {
    margin-right: 15px;
    color: #2db55d;
    font-weight: bold;
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
}

.plan-features li.disabled .feature-icon {
    color: #ccc;
    background-color: rgba(200, 200, 200, 0.1);
}

.plan-action {
    text-align: center;
    margin-top: auto;
}

.plan-btn {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(90deg, #2db55d, #259a4f);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 181, 93, 0.2);
    width: 85%;
    letter-spacing: 1px;
}

.plan-btn:hover {
    background: linear-gradient(90deg, #259a4f, #1e8943);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 181, 93, 0.3);
}

.price-faq {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
}

.price-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2db55d, #4285F4);
    border-radius: 2px;
}

.price-faq h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #2db55d;
}

.faq-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

@media (max-width: 576px) {
    .price-container {
        padding: 0 15px;
        margin: 40px auto;
    }
    
    .price-header h1 {
        font-size: 32px;
    }
    
    .price-header .subtitle {
        font-size: 16px;
    }
    
    .price-card {
        padding: 35px 25px;
    }
    
    .plan-btn {
        width: 100%;
    }
    
    .price-faq h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .price-plans {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .price-card {
        padding: 25px 20px;
    }
    
    .count-selector {
        margin: 10px 0;
        flex-direction: column;
        gap: 8px;
    }
    
    .count-selector label {
        margin-bottom: 5px;
    }
    
    .count-select {
        width: 100%;
        min-width: auto;
    }
    
    .total-price-display {
        margin: 5px 0;
        padding: 10px;
        justify-content: center;
    }
}

/* 支付模态窗口样式 */
.payment-modal-content {
    padding: 24px;
    background: #fff;
    border-radius: 12px;
}

.payment-modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
    text-align: center;
}

.payment-details {
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.payment-label {
    color: #666;
}

.payment-value {
    font-weight: bold;
    color: #333;
}

.payment-methods h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.payment-method-options {
    display: flex;
    margin-bottom: 20px;
}

.payment-method {
    display: flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}

.payment-method input {
    margin-right: 8px;
}

.payment-actions {
    display: flex;
    justify-content: space-between;
}

.payment-actions button {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#confirm-payment-btn {
    background: #2db55d;
    color: white;
    flex: 2;
    margin-right: 10px;
}

#cancel-payment-btn {
    background: #f1f1f1;
    color: #333;
    flex: 1;
}

.payment-qrcode-wrapper {
    padding: 20px;
    text-align: center;
}

.payment-qrcode-placeholder {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-qrcode-placeholder img {
    max-width: 100%;
    max-height: 100%;
}

.payment-tip {
    color: #666;
    margin-top: 15px;
}

/* 价格详情样式 */
.price-detail {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
}

.total-price {
    color: #2db55d;
    font-weight: 600;
    margin-right: 8px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
}

/* 促销标签样式 */
.promotion-tag {
    display: inline-block;
    background: linear-gradient(90deg, #ff4d4f, #ff7875);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.2);
}

/* 年度会员特殊样式 */
.price-card.featured .plan-btn {
    background: linear-gradient(90deg, #2db55d, #259a4f);
    font-size: 16px;
    padding: 14px 30px;
    box-shadow: 0 4px 15px rgba(45, 181, 93, 0.3);
}

.price-card.featured .plan-btn:hover {
    background: linear-gradient(90deg, #259a4f, #1e8943);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 181, 93, 0.4);
}

/* 支付弹窗样式 */
.payment-confirm-wrapper {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.payment-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.payment-header i {
    font-size: 24px;
    color: #007bff;
    margin-right: 8px;
}

.payment-header h3 {
    display: inline-block;
    margin: 0;
    font-size: 18px;
    color: #333;
}

.payment-info {
    margin-bottom: 25px;
}

.payment-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.payment-info-item:last-child {
    border-bottom: none;
}

.payment-info-item.highlight {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
}

.info-label {
    color: #666;
    font-size: 14px;
}

.info-value {
    color: #333;
    font-weight: 500;
}

.info-value.price {
    color: #f5222d;
    font-size: 18px;
    font-weight: bold;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods h4 {
    margin: 0 0 15px;
    color: #333;
    font-size: 16px;
}

.payment-method-options {
    display: flex;
    gap: 15px;
}

.payment-method {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: #007bff;
}

.payment-method.selected {
    border-color: #007bff;
    background: #e7f3ff;
}

.payment-method input[type="radio"] {
    margin-right: 8px;
}

.method-icon {
    margin-right: 8px;
    font-size: 20px;
}

.method-icon .fa-alipay {
    color: #1677ff;
}

.method-icon .fa-weixin {
    color: #07c160;
}

/* 二维码弹窗样式 */
.payment-qrcode-wrapper {
    text-align: center;
}

.order-info {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-label {
    color: #666;
}

.order-value {
    color: #333;
    font-weight: 500;
}

.order-value.price {
    color: #f5222d;
    font-weight: bold;
}

.qrcode-container {
    margin: 20px 0;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
}

.qrcode-tip {
    color: #666;
    font-size: 14px;
}

.qrcode-tip i {
    margin-right: 5px;
    color: #007bff;
}

/* Layer弹窗自定义样式 */
.payment-layer .layui-layer-title {
    background: #259a4f;
    color: #fff;
    font-size: 16px;
}

.payment-layer .layui-layer-btn {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.payment-layer .layui-layer-btn a {
    padding: 8px 25px;
    font-size: 14px;
    border-radius: 4px;
    height: auto;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.payment-layer .layui-layer-btn .layui-layer-btn1 {
    background: linear-gradient(90deg, #2db55d, #259a4f);
    color: #fff;
}

.payment-layer .layui-layer-btn .layui-layer-btn0 {
    background-color: #f5f5f5;
    border-color: #d9d9d9;
    color: #666;
}

/* 按次购买样式 */
.count-selector {
    margin: 15px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.count-selector label {
    display: inline-block;
    margin: 0;
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

.count-select {
    width: auto;
    min-width: 80px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s;
}

.count-select:focus {
    outline: none;
    border-color: #2db55d;
    box-shadow: 0 0 0 2px rgba(45, 181, 93, 0.1);
}

.total-price-display {
    margin: 0;
    text-align: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.total-label {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.total-amount {
    color: #2db55d;
    font-size: 16px;
    font-weight: bold;
}