.bento-card:nth-child(4) .bento-icon { background: var(--marker-yellow); }

.bento-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px;}
.bento-card p { font-size: 18px; color: var(--ink-light); }

/* ==================== 定价页 · 购买向导布局 ==================== */
.pricing-section { padding-bottom: 120px; }

.pricing-hero {
    text-align: center;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.pricing-hero h2 { margin-bottom: 12px; }
.pricing-lead {
    font-size: 18px;
    color: var(--ink-light);
    line-height: 1.6;
    margin: 0;
}

/* 桌面：左配置 + 右粘性机型；移动：周期/地区 → 机型 → 加购 */
.pricing-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1120px;
    margin: 0 auto;
}
.pricing-flow-top { order: 0; }
.pricing-plans-sticky { order: 1; }
.pricing-addons-wrap { order: 2; }

@media (min-width: 960px) {
    .pricing-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) min(400px, 38%);
        grid-template-areas:
            "flow plans"
            "addons plans";
        gap: 28px 40px;
        align-items: start;
    }
    .pricing-flow-top { grid-area: flow; order: unset; }
    .pricing-plans-sticky { grid-area: plans; order: unset; position: sticky; top: 88px; }
    .pricing-addons-wrap { grid-area: addons; order: unset; }
}

/* 步骤条 */
.flow-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 36px;
}
.flow-step:last-child { margin-bottom: 0; }
.step-badge {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    background: var(--marker-yellow);
    border: var(--border-width) solid var(--ink);
    border-radius: 50%;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.12);
}
.step-badge-soft {
    background: #e8e8e8;
    font-size: 22px;
    line-height: 1;
}
.flow-step-body { flex: 1; min-width: 0; }
.flow-step-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.optional-tag {
    font-size: 14px;
    font-weight: 700;
    padding: 2px 10px;
    background: var(--marker-blue);
    border: 2px solid var(--ink);
    border-radius: 999px;
}
.flow-step-desc {
    font-size: 15px;
    color: var(--ink-light);
    line-height: 1.55;
    margin: 0 0 16px 0;
}

/* 计费周期 */
.billing-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    background: #fff;
    border: var(--border-width) solid var(--ink);
    border-radius: var(--sketch-radius-2);
    padding: 10px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
}
.toggle-btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding: 12px 14px;
    border: none;
    background: transparent;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-light);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--sketch-radius-3);
}
@media (min-width: 520px) {
    .toggle-btn { flex: 1 1 auto; min-width: 88px; }
}
.toggle-btn.active {
    background: var(--marker-yellow);
    color: var(--ink);
    border: 2px solid var(--ink);
}

/* 数据中心芯片 */
.dc-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.dc-chip {
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: var(--border-width) solid var(--ink);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.08);
}
.dc-chip:hover { transform: translateY(-1px); }
.dc-chip.is-active {
    background: var(--marker-blue);
    box-shadow: 3px 3px 0 var(--ink);
}
.dc-status {
    margin: 14px 0 0 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-light);
}
.dc-status.is-ok { color: var(--ink); }

/* 数据中心 · 地区速览（填补空白、随选择变化） */
.dc-detail-panel {
    margin-top: 20px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    color: var(--ink);
}
.dc-detail-empty {
    padding: 22px 22px 26px;
    text-align: center;
}
.dc-detail-empty-visual {
    max-width: 280px;
    margin: 0 auto 12px;
    color: var(--ink-light);
}
.dc-placeholder-svg { display: block; width: 100%; height: auto; }
.dc-detail-empty-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px 0;
}
.dc-detail-empty-text {
    font-size: 15px;
    color: var(--ink-light);
    line-height: 1.6;
    margin: 0 0 16px 0;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.dc-detail-empty-hints {
    text-align: left;
    max-width: 380px;
    margin: 0 auto;
    padding-left: 1.1em;
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.65;
}
.dc-detail-empty-hints li { margin-bottom: 6px; }

.dc-detail-filled {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 20px 24px;
    padding: 20px 22px 22px;
    align-items: start;
}
@media (max-width: 600px) {
    .dc-detail-filled {
        grid-template-columns: 1fr;
    }
    .dc-detail-visual { max-width: 260px; margin: 0 auto; }
}
.dc-map-svg {
    display: block;
    width: 100%;
    height: auto;
    color: var(--ink);
}
.dc-map-pin circle:first-child { fill: var(--marker-pink); }
.dc-detail-body { min-width: 0; }
.dc-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.dc-detail-tag {
    font-size: 13px;
    font-weight: 800;
    padding: 4px 12px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--marker-yellow);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.12);
}
.dc-detail-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.25;
}
.dc-detail-desc {
    font-size: 15px;
    color: var(--ink-light);
    line-height: 1.6;
    margin: 0 0 14px 0;
}
.dc-detail-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin: 0 0 12px 0;
    padding: 14px 16px;
    background: rgba(0,0,0,0.04);
    border: 2px dashed var(--ink-light);
    border-radius: var(--sketch-radius-3);
}
@media (max-width: 480px) {
    .dc-detail-stats { grid-template-columns: 1fr; }
}
.dc-detail-stat { margin: 0; }
.dc-detail-stat dt {
    font-size: 12px;
    font-weight: 800;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}
.dc-detail-stat dd {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}
.dc-detail-footnote {
    font-size: 12px;
    color: var(--ink-light);
    line-height: 1.5;
    margin: 0;
    padding-top: 4px;
    border-top: 1px dashed rgba(0,0,0,0.15);
}

/* 右侧机型栏 */
.sticky-inner {
    padding: 24px 22px;
    background: #fff;
}
.plans-aside-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px 0;
}
.plans-aside-hint {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.pricing-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-card {
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.pricing-card.pricing-card--selected {
    background: #fff9ec;
    box-shadow: 10px 10px 0 var(--ink);
    transform: translate(-2px, -2px);
}
.popular-badge {
    display: inline-block;
    background: var(--marker-pink);
    color: var(--ink);
    padding: 4px 12px;
    border: 2px solid var(--ink);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
    width: max-content;
    transform: rotate(-2deg);
    box-shadow: 2px 2px 0 var(--ink);
}

.p-header {
    border-bottom: 2px dashed var(--ink-light);
    padding-bottom: 16px;
    margin-bottom: 14px;
}
.plan-name {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 6px 0;
}
.product-subtitle { font-size: 14px; color: var(--ink-light); margin: 0; }

.price-display-compact {
    display: flex;
    align-items: baseline;
    margin-top: 12px;
    flex-wrap: wrap;
}
.price-display-compact .price-currency { font-size: 22px; font-weight: 700; }
.price-display-compact .price-amount { font-size: 44px; font-weight: 800; line-height: 1; }
.price-display-compact .price-period { font-size: 15px; color: var(--ink-light); margin-left: 6px; }

.feature-list-compact {
    flex: 0;
    margin: 0 0 16px 0;
    padding: 0;
    list-style: none;
}
.feature-list-compact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.4;
}
.feature-list-compact li:last-child { margin-bottom: 0; }
.feature-list-compact i {
    color: var(--ink);
    fill: var(--marker-green);
    margin-right: 8px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 4px;
}
.plan-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.plan-total-label { font-size: 14px; color: var(--ink-light); }
.plan-total-num { font-size: 26px; font-weight: 800; }

.btn-plan {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 800;
}
.btn-plan-popular { background: var(--marker-pink); }

/* 加购区 */
.flow-step-addons { margin-top: 8px; }
.pricing-addons-wrap .addon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
}
@media (min-width: 640px) {
    .pricing-addons-wrap .addon-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.addon-item {
    padding: 18px;
    cursor: pointer;
    background: #fff;
    transition: var(--transition);
}
.addon-item:hover { transform: translateY(-2px); }
.addon-item.selected {
    background: #e6f7ff;
    border-color: var(--ink);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

.addon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}
.addon-item strong { font-size: 17px; font-weight: 800; color: var(--ink); }
.addon-desc {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.45;
    margin: 0 0 12px 0;
}
.addon-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}
.addon-currency { font-size: 15px; margin-right: 2px; }
.addon-period { font-size: 14px; font-weight: 700; color: var(--ink-light); }

.checkbox {
    width: 26px;
    height: 26px;
    border: 2.5px solid var(--ink);
    border-radius: 4px 8px 3px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: #fff;
    flex-shrink: 0;
}
.addon-item.selected .checkbox { background: var(--marker-blue); }

/* 多支付方式选择（与 FOSSBilling 网关列表一致，常见：Stripe + 彩虹易支付） */
body.pay-method-modal-open { overflow: hidden; }

.pay-method-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.pay-method-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.4);
    cursor: pointer;
}
.pay-method-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 28px 24px 22px;
    background: var(--paper);
}
.pay-method-modal-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
    text-align: center;
}
.pay-method-modal-lead {
    font-size: 15px;
    color: var(--ink-light);
    line-height: 1.5;
    margin: 0 0 20px;
    text-align: center;
}
.pay-method-modal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.pay-method-option {
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    cursor: pointer;
    font: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    background: #fff;
}
.pay-method-option-ico {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--ink);
}
.pay-method-option-ico img,
.pay-method-option-ico svg {
    display: block;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
}
.pay-method-option-textcol {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.pay-method-option:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}
.pay-method-option-main {
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
}
.pay-method-option-sub {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-light);
}
.pay-method-cancel {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 4px;
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}
