/* 价格与权益页（/pricing/）；规则限定在 .pr-page 内，避免影响其他页面 */
.pr-page {
    padding-top: var(--navbar-height, 64px);
    background: #fff;
    color: #1d2939;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.pr-page h1,
.pr-page h2,
.pr-page h3,
.pr-page p,
.pr-page ul,
.pr-page li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pr-page a {
    color: inherit;
    text-decoration: none;
}

/* ---------- 首屏 ---------- */
.pr-hero {
    padding: 40px 0 46px;
    border-bottom: 1px solid #eef4fd;
    background:
        radial-gradient(56% 70% at 92% 0%, rgba(198, 222, 255, .6) 0%, rgba(233, 243, 255, 0) 70%),
        radial-gradient(48% 60% at 0% 100%, rgba(214, 233, 255, .66) 0%, rgba(245, 250, 255, 0) 72%),
        linear-gradient(180deg, #f4f8ff 0%, #fbfdff 100%);
}

.pr-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9aa6b8;
}

.pr-crumb a {
    color: #7b8798;
    transition: color .2s ease;
}

.pr-crumb a:hover {
    color: #2f6bff;
}

.pr-crumb em {
    font-style: normal;
    color: #475467;
}

.pr-hero__title {
    margin-top: 16px;
    max-width: 960px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -.4px;
    color: #101828;
}

.pr-hero__desc {
    margin-top: 16px;
    max-width: 900px;
    font-size: 15.5px;
    line-height: 1.95;
    color: #667085;
}

.pr-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
    font-size: 13.5px;
    color: #7b8798;
}

.pr-hero__meta strong {
    font-size: 16px;
    font-weight: 700;
    color: #2f6bff;
}

.pr-hero__meta i {
    width: 1px;
    height: 12px;
    background: #d8e4f7;
}

.pr-hero__meta small {
    font-size: 12px;
    color: #9aa6b8;
}

/* ---------- 价格卡 ---------- */
.pr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 20px;
    margin-top: 40px;
}

.pr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px 26px;
    border: 1px solid #e8f0fb;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.pr-card:hover {
    border-color: #cfe0ff;
    box-shadow: 0 18px 34px rgba(47, 107, 255, .09);
}

.pr-card--best {
    border-color: #bcd4ff;
    background: linear-gradient(180deg, #f6faff 0%, #ffffff 58%);
    box-shadow: 0 22px 44px rgba(47, 107, 255, .12);
}

.pr-card__flag {
    position: absolute;
    top: 22px;
    right: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #2f6bff;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

.pr-card__name {
    font-size: 20px;
    font-weight: 700;
    color: #101828;
}

.pr-card__pos {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.7;
    color: #8b95a7;
}

.pr-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef4fd;
}

.pr-card__price em {
    font-style: normal;
    font-size: 17px;
    font-weight: 600;
    color: #2f6bff;
}

.pr-card__price strong {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    color: #101828;
}

.pr-card__price span {
    margin-left: 4px;
    font-size: 12.5px;
    color: #98a2b3;
}

/* 周期价格 */
.pr-periods {
    margin-top: 14px;
}

.pr-period {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 74px;
    align-items: center;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed #eef4fd;
    font-size: 13px;
}

.pr-period:last-child {
    border-bottom: 0;
}

.pr-period__name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475467;
}

.pr-period__name em {
    padding: 2px 6px;
    border-radius: 5px;
    background: #eef4ff;
    font-style: normal;
    font-size: 10.5px;
    font-weight: 700;
    color: #2f6bff;
}

.pr-period__price {
    text-align: right;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    color: #1d2939;
}

.pr-period__price del {
    margin-left: 6px;
    font-size: 11.5px;
    font-weight: 400;
    color: #b6bfcc;
}

.pr-period__day {
    text-align: right;
    font-size: 12px;
    white-space: nowrap;
    color: #98a2b3;
}

/* 权益 */
.pr-feats {
    margin-top: 18px;
    padding-top: 4px;
}

.pr-feats li {
    position: relative;
    padding-left: 20px;
    font-size: 13.5px;
    line-height: 1.95;
    color: #475467;
}

.pr-feats li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 2px;
    width: 9px;
    height: 5px;
    border-left: 2px solid #2f6bff;
    border-bottom: 2px solid #2f6bff;
    transform: rotate(-45deg);
    opacity: .85;
}

.pr-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    margin-top: auto;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    transition: all .2s ease;
}

.pr-card .pr-btn {
    margin-top: auto;
}

.pr-card .pr-feats {
    margin-bottom: 16px;
}

.pr-card__note {
    margin-bottom: 26px;
    font-size: 12.5px;
    line-height: 1.8;
    color: #98a2b3;
}

.pr-btn--primary {
    background: #2f6bff;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(47, 107, 255, .22);
}

.pr-btn--primary:hover {
    background: #1f5cf0;
}

.pr-btn--ghost {
    border: 1px solid #d5e4ff;
    background: #fff;
    color: #2f6bff !important;
}

.pr-btn--ghost:hover {
    border-color: #2f6bff;
}

.pr-hint {
    margin-top: 18px;
    font-size: 12.5px;
    line-height: 1.85;
    color: #a4aebd;
}

/* 只有两档时用两列，卡片更宽，价格周期不至于挤在一起 */
.pr-grid--two {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* 宽卡里周期改为三列小卡，避免名称与价格之间被拉出大片空白 */
.pr-grid--two .pr-periods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.pr-grid--two .pr-period {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 13px 14px;
    border: 1px solid #eef4fd;
    border-radius: 12px;
    background: #fbfdff;
}

.pr-grid--two .pr-period:last-child {
    border: 1px solid #eef4fd;
}

.pr-grid--two .pr-period--best,
.pr-grid--two .pr-period--best:last-child {
    border-color: #c9dcff;
    background: #f5faff;
}

.pr-grid--two .pr-period__name {
    font-size: 12.5px;
    gap: 5px;
}

.pr-grid--two .pr-period__price {
    font-size: 17px;
    line-height: 1.3;
}

.pr-grid--two .pr-period__day {
    min-width: 0;
    text-align: left;
    font-size: 11.5px;
}

/* ---------- 权益对比表 ---------- */
.pr-matrix {
    padding: 60px 0 0;
}

.pr-matrix__wrap {
    margin-top: 24px;
    border: 1px solid #e8f0fb;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.pr-matrix__table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.pr-matrix__table thead th:first-child {
    width: 30%;
}

.pr-matrix__table thead th:nth-child(2),
.pr-matrix__table thead th:nth-child(3) {
    width: 35%;
}

.pr-matrix__table th,
.pr-matrix__table td {
    padding: 14px 24px;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
    border-bottom: 1px solid #f2f7fd;
}

.pr-matrix__table thead th {
    padding-top: 15px;
    padding-bottom: 15px;
    background: #f8fbff;
    font-size: 13px;
    font-weight: 600;
    color: #667085;
    white-space: nowrap;
}

.pr-matrix__table tbody th {
    font-weight: 500;
    color: #344054;
}

.pr-matrix__table tbody tr:last-child th,
.pr-matrix__table tbody tr:last-child td {
    border-bottom: 0;
}

.pr-matrix__table tbody tr:hover th,
.pr-matrix__table tbody tr:hover td {
    background: #fbfdff;
}

.pr-matrix__table .is-best {
    background: #f7faff;
}

.pr-matrix__table thead .is-best {
    color: #2f6bff;
}

.pr-matrix__table tbody tr:hover .is-best {
    background: #f2f8ff;
}

.pr-matrix__yes {
    color: #1d2939;
    font-weight: 500;
}

.pr-matrix__no {
    color: #b6bfcc;
}

/* ---------- 按次加量包 ---------- */
.pr-packs {
    padding: 60px 0 0;
}

.pr-packs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.pr-pack {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 18px;
    border: 1px solid #e8f0fb;
    border-radius: 16px;
    background: #fff;
}

.pr-pack__head h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1d2939;
}

.pr-pack__head p {
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.75;
    color: #98a2b3;
}

.pr-pack__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.pr-pack__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 12px 13px;
    border: 1px solid #eef4fd;
    border-radius: 12px;
    background: #fbfdff;
    font-size: 12.5px;
}

.pr-pack__item--best {
    border-color: #c9dcff;
    background: #f5faff;
}

.pr-pack__title {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #475467;
}

.pr-pack__title em {
    padding: 2px 5px;
    border-radius: 5px;
    background: #eef4ff;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    color: #2f6bff;
}

.pr-pack__price {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1d2939;
}

.pr-pack__price del {
    margin-left: 5px;
    font-size: 11px;
    font-weight: 400;
    color: #b6bfcc;
}

.pr-pack__unit {
    text-align: left;
    font-size: 11.5px;
    color: #98a2b3;
}

.pr-packs__notes {
    margin-top: 16px;
}

.pr-packs__notes li {
    position: relative;
    padding-left: 14px;
    font-size: 12.5px;
    line-height: 1.9;
    color: #a4aebd;
}

.pr-packs__notes li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cfd9e8;
}

/* ---------- 通用区块标题 ---------- */
.pr-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.pr-head h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    color: #101828;
}

.pr-head p {
    font-size: 14px;
    color: #98a2b3;
}

/* ---------- 怎么选 ---------- */
.pr-choose {
    padding: 56px 0 0;
}

.pr-choose__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.pr-choose__item {
    display: flex;
    flex-direction: column;
    padding: 24px 22px 22px;
    border: 1px solid #eef4fd;
    border-radius: 16px;
    background: #f8fbff;
}

.pr-choose__item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1d2939;
}

.pr-choose__item p {
    flex: 1;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.85;
    color: #8b95a7;
}

.pr-choose__item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: #2f6bff;
}

.pr-choose__item a em {
    font-style: normal;
    transition: transform .2s ease;
}

.pr-choose__item a:hover em {
    transform: translateX(3px);
}

/* ---------- 购买说明 ---------- */
.pr-notes {
    padding: 48px 0 0;
}

.pr-notes__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 10px 40px;
    margin-top: 20px;
}

.pr-notes__list li {
    position: relative;
    padding-left: 16px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #667085;
}

.pr-notes__list li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c3d6f5;
}

/* ---------- 常见问题 ---------- */
.pr-faq {
    padding: 48px 0 0;
}

.pr-faq__list {
    margin-top: 20px;
    border-top: 1px solid #eef4fd;
}

.pr-faq__item {
    border-bottom: 1px solid #eef4fd;
}

.pr-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    font-size: 15px;
    font-weight: 600;
    color: #1d2939;
    cursor: pointer;
    list-style: none;
}

.pr-faq__item summary::-webkit-details-marker {
    display: none;
}

.pr-faq__item summary::after {
    content: "+";
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: #98a2b3;
}

.pr-faq__item[open] summary::after {
    content: "−";
}

.pr-faq__item p {
    padding: 0 40px 18px 2px;
    font-size: 13.5px;
    line-height: 1.9;
    color: #667085;
}

/* ---------- 底部入口 ---------- */
.pr-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 56px 0 0;
    padding: 32px 38px;
    border: 1px solid #e2eeff;
    border-radius: 20px;
    background: linear-gradient(120deg, #eef5ff 0%, #f7fbff 58%, #fff 100%);
}

.pr-cta h2 {
    font-size: 23px;
    font-weight: 700;
    color: #101828;
}

.pr-cta p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #7b8798;
}

.pr-cta__btns {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.pr-cta .pr-btn {
    width: auto;
    margin-top: 0;
    padding: 0 26px;
}

.pr-note {
    margin: 22px 0 80px;
    font-size: 12.5px;
    line-height: 1.85;
    color: #a4aebd;
}

/* ---------- 窄屏兜底 ---------- */
@media (max-width: 1200px) {
    .pr-grid,
    .pr-choose__grid,
    .pr-packs__grid {
        grid-template-columns: 1fr;
    }

    .pr-matrix__wrap {
        overflow-x: auto;
    }

    .pr-matrix__table {
        min-width: 520px;
    }

    .pr-notes__list {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }

    .pr-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
