  .pricing-hero { text-align: center; margin: 32px 0 16px; }
  .pricing-hero h1 {
    font-size: 32px; font-weight: 700; color: #111;
    margin: 0 0 8px; letter-spacing: -0.5px;
  }
  .pricing-hero p { color: #666; font-size: 15px; margin: 10; }

  .pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;   /* 强制行内所有卡片等高(按钮才能水平对齐) */
    align-items: stretch;
    gap: 20px; margin: 12px 0;
  }
  @media (max-width: 300px) {
    .pricing-grid { grid-template-columns: 1fr; }
  }

  .plan-card {
    position: relative; background: #fff;
    border: 1px solid #e5e5e5; border-radius: 10px;
    padding: 22px 10px 76px;  /* 下 padding 76px 留给 position:absolute 的 CTA 按钮 */
    min-height: 400px;          /* 由 height:400px !important 改 min-height,让 grid-auto-rows:1fr 接管等高,
                                   内容多了卡片自动长高,不再被 CTA 盖住 */
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  }
  .plan-card--featured {
    border: 2px solid #16a34a;                              /* 鲜绿边框,与 trial-callout / 权益卡同色系 */
    box-shadow: 0 6px 24px rgba(22,163,74,0.10);           /* 绿色阴影 */
  }
  .plan-card__badge {
    position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%);
    background: #166534; color: #fff;                       /* 深绿标签,层级低于 trial-callout 鲜绿 CTA */
    font-size: 11px; font-weight: 600;
    padding: 4px 12px; border-radius: 999px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(22,101,52,0.25);            /* 深绿阴影 */
  }
  .plan-card__name {
    font-size: 18px; font-weight: 600; color: #111;
    margin: 0 0 4px;
  }
  .plan-card__tagline {
    font-size: 13px; color: #888; margin: 0 0 20px;
  }
  .plan-card__price {
    margin-bottom: 10px; padding-bottom: 20px;  /* margin-bottom 20→10: 与 ⚡ "学习记录管理"之间的间距收紧 */
    border-bottom: 1px solid #f0f0f0;
  }
  .plan-card__price-amount {
    font-size: 36px; font-weight: 700; color: #111; line-height: 1;
  }
  .plan-card__price-amount .currency {
    font-size: 18px; font-weight: 500; color: #555; margin-right: 2px;
  }
  .plan-card__price-period {
    font-size: 13px; color: #888; margin-left: 6px;
  }
  .plan-card__price-monthly {
    display: inline;        /* 改为行内元素,跟在价格后面不换行 */
    font-size: 12px; color: #2563eb;
    margin-left: 6px;
  }
  .plan-card__features {
    list-style: none; padding: 0; margin: 0 0 24px;
  }
  .plan-card__features li {
    font-size: 14px; color: #444; line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 0px;   /* 给 ✓ 预留空间 */
    text-indent: -15px;   /* ✓ 凸出到 li 左边外,文字左边缘与价格对齐 */
  }
  .plan-card__features li::before {
    content: "✓"; color: #16a34a; font-weight: 700;
    margin-right: 4px;
  }
  .plan-card__cta,
  .plan-card__cta:visited,
  .plan-card__cta:hover,
  .plan-card__cta:focus,
  .plan-card__cta:active {
    position: absolute;
    left: 24px; right: 24px; bottom: 28px;
    display: block;
    padding: 12px 0; text-align: center;
    background: #f5f5f5;
    color: #000 !important;       /* 统一黑色,覆盖任何 hover/focus/visited 颜色变化 */
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 14px; font-weight: 600;
    border: 1px solid #e5e5e5; box-sizing: border-box;
  }
  .plan-card__cta:hover { background: #ebebeb; }
  .plan-card--featured .plan-card__cta {
    background: #f5f5f5;          /* Pro 也改成浅灰背景,与 Basic/Plus 一致 */
    color: #000 !important;       /* 黑字统一 */
    border-color: #16a34a;        /* 鲜绿边框,与卡片边框一致 */
    border-width: 2px;
  }
  .plan-card--featured .plan-card__cta:hover { background: #ebebeb; }

  .compare-table {
    width: 100%; border-collapse: collapse;
    margin: 32px 0; font-size: 14px;
    background: #fff; border: 1px solid #e5e5e5;
    border-radius: 8px; overflow: hidden;
  }
  .compare-table th,
  .compare-table td {
    padding: 12px 16px; text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }
  .compare-table th { background: #fafafa; font-weight: 600; color: #333; }
  .compare-table th.featured-col { background: #2563eb; color: #fff; }
  .compare-table td.featured-col { background: #f8fbff; }
  .compare-table td:first-child {
    text-align: left; font-weight: 500; color: #333;
  }
  .compare-table tr:last-child td { border-bottom: none; }
  .check { color: #16a34a; font-weight: 700; }
  .dash  { color: #ccc; }


  .pricing-cta {
    text-align: center;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff; padding: 32px 24px;
    border-radius: 10px; margin: 32px 0;
  }
  .pricing-cta h2 { color: #fff; margin: 0 0 8px; font-size: 22px; }
  .pricing-cta p {
    color: rgba(255,255,255,0.85);
    margin: 0 0 16px; font-size: 14px;
  }
  .pricing-cta a {
    display: inline-block; background: #fff; color: #2563eb;
    padding: 10px 24px; border-radius: 6px;
    font-weight: 600; text-decoration: none; font-size: 14px;
  }

  /* ===== 订阅二维码弹窗 ===== */
  .pricing-modal {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
  }
  .pricing-modal.show {
    display: flex;
  }
  .pricing-modal__card {
    position: relative;
    background: #fef6dd;        /* 淡黄色背景(对齐参考图风格) */
    border-radius: 12px;
    padding: 18px 22px 14px;    /* 整体缩小 30% */
    text-align: center;
    max-width: 284px;           /* 320 × 0.7 */
    width: 100%;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.25);
    animation: pricingModalIn 0.18s ease-out;
  }
  @keyframes pricingModalIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
  }
  .pricing-modal__close {
    position: absolute;
    top: 4px; right: 8px;
    background: none; border: none;
    font-size: 18px; line-height: 1;  /* 26 × 0.7 */
    color: #999; cursor: pointer;
    padding: 3px 6px;
    border-radius: 3px;
  }
  .pricing-modal__close:hover {
    color: #333; background: rgba(0,0,0,0.05);
  }
  .pricing-modal__title {
    font-size: 17px !important;           /* 店铺字体 */
    font-weight: 600;
    color: #333;
    margin: 4px 0 8px;
  }
  .pricing-modal__plan {
    display: inline-flex; align-items: baseline; gap: 4px;
    background: #fff;
    border: 1px solid #f0d68a;
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 8px;
  }
  .pricing-modal__plan-name {
    font-size: 13px;             /* 订阅basic 字体*/
    color: #8b6914;
    font-weight: 600;
  }
  .pricing-modal__plan-price {
    font-size: 13px;            /* 价格字体 */
    color: #111;
    font-weight: 700;
  }
  .pricing-modal__qr {
    display: block;
    width: 154px;               /* 220 × 0.7 */
    height: 154px;
    margin: 0 auto 6px;
    background: #fff;
    border: 6px solid #fff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  }
  .pricing-modal__hint {
    font-size: 14px;             /* 扫描支付字体 */
    color: #8b6914;
    margin: 2px 0 2px;
    text-align: center !important;   /* 覆盖 hugo-book 的 .book-article p { text-align: justify } */
  }

  .pricing-modal__note {
    font-size: 13px;
    color: #999;
    margin: 8px 0 0;
    text-align: center !important; /* 备注字体 */
    line-height: 1.4;
  }


  /* ===== 权益对比表下方注释(纯灰色小字,无背景) ===== */
  .pricing-notes {
    margin: 6px 0 32px;
  }
  .pricing-notes__item {
    font-size: 12px;
    color: #888;
    line-height: 1.;
    margin: 0 0 0px;
    text-align: left !important;   /* 覆盖 hugo-book 的 .book-article p { justify } */
  }
  .pricing-notes__item:last-child {
    margin-bottom: 0;
  }

  /* ===== 权益数量标签(右上偏中,红色小字) ===== */
  .pricing-tag {
    color: #dc2626;            /* 红色 */
    font-size: 10px;           /* 缩小字体 */
    font-weight: 700;
    margin-left: 2px;
    line-height: 1;
    vertical-align: 1px;      /* 略上移,不再完全对角 */
  }

  .sup-tag {
    color: #2563eb;            /* 灰色 */
    font-size: 9.2px;           /* 缩小字体 */
    font-weight: 700;
    margin-left: 2px;
    line-height: 1;
    vertical-align: 1px;      /* 略上移,不再完全对角 */
  }

/* ============ 注册 trial callout(hero 与 grid 之间) ============ */
.trial-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 15px 24px;
  margin: -6px 0 18px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
}
.trial-callout__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 50%;
  font-size: 22px;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.12);
}
.trial-callout__body { min-width: 0; }
.trial-callout__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600; color: #166534;
  margin: 0 0 4px;
}
.trial-callout__title .trial-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #16a34a; color: #fff;
  font-size: 11px; font-weight: 600;
  border-radius: 999px; letter-spacing: 0.5px;
}
.trial-callout__desc {
  font-size: 13px; color: #4a5568; margin: 0; line-height: 1.5;
}
.trial-callout__cta,
.trial-callout__cta:visited,
.trial-callout__cta:hover,
.trial-callout__cta:focus,
.trial-callout__cta:active {
  display: inline-block;
  padding: 10px 20px;
  background: #16a34a; color: #fff !important;
  border: none;
  border-radius: 6px;
  font-size: 14px; font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.trial-callout__cta:hover { background: #15803d; }
.trial-callout__cta:active { transform: translateY(1px); }

@media (max-width: 640px) {
  .trial-callout {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }
  .trial-callout__cta {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* ===== 功能权益(顶部,⚡ 蓝色,与下方资源权益视觉分组) ===== */
.plan-card__features li.plan-card__feature::before {
  /* 选择器从 .plan-card__feature::before (特异性 0,1,1) 升到
     .plan-card__features li.plan-card__feature::before (特异性 0,2,2),
     才能压过 .plan-card__features li::before (0,1,2) 的默认 content:"✓" */
  content: "\26A1\fe0e" !important;  /* ⚡ + U+FE0E 强制文本呈现;再 !important 防被任何 .plan-card__features li::before 抢占 */
  color: #2563eb !important;          /* 蓝色,与下方 ✓ 绿色 #16a34a 区分 */
  font-weight: 700;
  font-size: 1.05em;                  /* 略放大,与 ✓ 视觉权重接近 */
  margin-right: 5px;                  /* 略宽,补偿 ⚡ 与 ✓ 字符宽度差 */
}
/* 第一条资源项加顶部 border + padding,与上方功能权益之间形成分隔线 */
.plan-card__feature + li {
  margin-top: 1px;          /* 14px → 1px,与上方 ⚡ 学习记录管理 之间的间距缩小 */
  padding-top: 8px;         /* 14px → 8px,首条资源项与上方分隔线的间距缩小 */
  border-top: 1px solid #f0f0f0;
}

/* ===== 订阅权益展示区(标题与三档价格卡片之间,独立样式不影响价格卡片) =====
   方案 A:去除外层边框/背景/内边距/圆角,只保留 margin 作分组间距,
   3 张子卡片直接呈现(视觉权重交给子卡片本身)。 */
.subscription-value {
  margin: 28px 0 24px;             /* 仅作分组间距,不再有背景/边框/padding */
}

.subscription-value__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.subscription-value__item {
  min-width: 0;
  padding: 15px 12px;
  background: #fff;                /* 与 plan-card 中性白一致 */
  border: 1px solid #EAE7DF;       /* 暖灰边框,白底轻量信息卡,避免与下方价格卡片争夺注意力 */
  border-radius: 13px;
  overflow: hidden;                /* 包含 float 的图标 */
}

.subscription-value__icon {
  float: left;                     /* 经典 float 图文混排 */
  margin: 2px 13px 0 0;            /* 与 h3 baseline 对齐 + 右侧间距 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #16a34a;                  /* 与 trial-callout 主色一致 */
  background: #dcfce7;             /* trial-callout #bbf7d0 的更浅版 */
  border-radius: 11px;
}

.subscription-value__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.subscription-value__item h3 {
  margin: 0 0 0px;                 /* 与 p 的间距 */
  color: #292b27;                  /* 暂保留深墨绿 text */
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.subscription-value__item p {
  margin: 0;
  color: #77766e;                  /* 暂保留灰褐 muted */
  font-size: 13px;
  line-height: 1.85;
}

@media (max-width: 680px) {
  .subscription-value {
    margin: 20px 0 24px;
    padding: 20px 16px;
    border-radius: 15px;
  }
  .subscription-value__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .subscription-value__item {
    padding: 16px;
  }

  .subscription-value__icon {
    margin: 2px 13px 0 0;
  }

  .subscription-value__item h3 {
    margin: 0 0 5px;
    font-size: 15px;
  }

  .subscription-value__item p {
    font-size: 13px;
  }
}
