/* ==================== 价格方案（全屏内嵌样式） ==================== */
.pricing-section {
    display: none;
    padding: 80px 0 60px;
    min-height: calc(100vh - 64px);
    background: #0d0f15;
}
.pricing-section.show { display: block; }

.pricing-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Tabs — 匹配目标：选中态亮色背景高亮 */
.pricing-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    background: #1a1e2e;
    border-radius: 10px;
    overflow: hidden;
    padding: 4px;
}
.pricing-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: all .25s ease;
    background: transparent;
}
.pricing-tab:hover { color: #d1d5db; }
.pricing-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

/* Grid — 目标是3列，宽松间距 */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pricing-cards.fade-out { opacity: 0; transition: opacity .15s ease; }
.pricing-cards.fade-in { opacity: 1; transition: opacity .25s ease; }
.pricing-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #6b7280;
    font-size: 14px;
}

/* Card — 放大卡片，匹配目标 */
.pricing-card {
    background: #141824;
    border: 1px solid #22263a;
    border-radius: 14px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pricing-card:hover {
    border-color: #3b3580;
    box-shadow: 0 8px 32px rgba(60, 50, 140, .12);
    transform: translateY(-2px);
}
.pricing-card.popular {
    border-color: #5549c4;
    background: linear-gradient(180deg, #18163a, #141824);
}
.pricing-card.popular::before {
    content: '热门';
    position: absolute;
    top: -1px;
    left: 20px;
    transform: translateY(-50%);
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #6b57e8;
    border-radius: 99px;
}

.pricing-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #f0f0f2;
    margin-bottom: 4px;
}
.pricing-card-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Price — 放大价格文字 */
.pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 4px;
}
.pricing-currency {
    font-size: 18px;
    font-weight: 700;
    color: #f0f0f2;
}
.pricing-amount {
    font-size: 36px;
    font-weight: 800;
    color: #f0f0f2;
    line-height: 1;
}
.pricing-unit {
    font-size: 14px;
    color: #9ca3af;
    margin-left: 4px;
}
.pricing-original {
    margin-left: 8px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: line-through;
}

.pricing-hint {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 14px;
    line-height: 1.4;
}

/* Quota bar — 加大内边距 */
.pricing-quota-bar {
    display: none !important;
}
.pricing-quota-bar b { color: #a78bfa; font-weight: 700; }

/* Features — 加大字体和行高 */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    color: #a8adc0;
    line-height: 1.5;
}
.pricing-features li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #34d399;
    width: 15px;
    height: 15px;
}

/* Button — 加大按钮 */
.pricing-subscribe-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #6b57e8, #7565e0);
    color: #fff;
    margin-top: auto;
    transition: all .25s;
}
.pricing-subscribe-btn:hover {
    background: linear-gradient(135deg, #7565e0, #8075e8);
    box-shadow: 0 6px 20px rgba(107, 87, 232, .35);
}
.pricing-subscribe-btn:disabled { opacity: .45; cursor: not-allowed; }
.pricing-subscribe-btn.applied {
    background: #1e2230;
    color: #6b7280;
    cursor: default;
}

/* Responsive */
@media (max-width: 960px) {
    .pricing-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .pricing-wrap { padding: 0 24px; }
}
@media (max-width: 640px) {
    .pricing-section { padding: calc(var(--nav-h) + 24px) 0 40px; }
    .pricing-wrap { padding: 0 16px; }
    .pricing-cards { grid-template-columns: 1fr; gap: 14px; }
    .pricing-amount { font-size: 30px; }
    .pricing-card { padding: 20px 18px; }
}
