/* static/pages.css
 *
 * 站点的 styles.css 是手写 CSS（开头的 @tailwind 指令没有经过编译，
 * 浏览器会直接忽略），所以静态内容页不能依赖 Tailwind class。
 * 这里给 /about /contact /privacy /business 这类内容页提供一套独立样式，
 * 全部以 .pg- 前缀命名，避免和首页/文章页的既有规则互相污染。
 */

.pg-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.pg-hero {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 36px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pg-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #eef3f9;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.pg-h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.pg-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.pg-h2 {
  font-size: 20px;
  margin: 36px 0 14px;
  color: #1a1a1a;
  padding-left: 11px;
  border-left: 4px solid var(--color-primary);
  line-height: 1.3;
}

.pg-h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: #1a1a1a;
}

.pg-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}

.pg-card + .pg-card {
  margin-top: 14px;
}

.pg-p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 12px;
}

.pg-p:last-child {
  margin-bottom: 0;
}

.pg-list {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: #444;
}

.pg-list li {
  margin-bottom: 6px;
}

.pg-list li:last-child {
  margin-bottom: 0;
}

/* ---- 数据条：用真实可核对的数字建立信任，不放编造的流量 ---- */
.pg-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.pg-stat {
  background: #f7f9fb;
  border-radius: 10px;
  padding: 14px 16px;
}

.pg-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.pg-stat-label {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
  line-height: 1.5;
}

/* ---- 报价卡 ---- */
.pg-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.pg-plan {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: var(--border-radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.pg-plan-featured {
  border: 2px solid var(--color-primary);
  position: relative;
}

.pg-plan-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.pg-plan-name {
  font-size: 15px;
  color: #666;
  margin-bottom: 8px;
}

.pg-price {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
}

.pg-price-unit {
  font-size: 13px;
  font-weight: 400;
  color: #888;
  margin-left: 3px;
}

.pg-plan-desc {
  font-size: 13px;
  color: #777;
  margin: 8px 0 14px;
  line-height: 1.6;
}

.pg-plan ul {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #444;
  flex: 1;
}

.pg-plan li {
  margin-bottom: 5px;
}

/* ---- 按钮 ---- */
.pg-btn {
  display: inline-block;
  text-align: center;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.pg-btn:hover {
  opacity: 0.85;
}

.pg-btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.pg-btn-ghost {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #c8d6e5;
}

.pg-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ---- 流程 ---- */
.pg-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pg-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 40px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #444;
}

.pg-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef3f9;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-steps li:last-child {
  padding-bottom: 0;
}

.pg-steps strong {
  color: #1a1a1a;
}

/* ---- 表格 ---- */
.pg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 14px;
}

.pg-table th,
.pg-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eceff3;
  vertical-align: top;
}

.pg-table th {
  color: #666;
  font-weight: 600;
  background: #f7f9fb;
  width: 34%;
}

.pg-table tr:last-child th,
.pg-table tr:last-child td {
  border-bottom: none;
}

/* ---- 联系卡片 / 提示 ---- */
.pg-contact {
  background: #f7f9fb;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
}

.pg-contact a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.pg-contact a:hover {
  text-decoration: underline;
}

.pg-note {
  font-size: 12.5px;
  color: #888;
  line-height: 1.7;
  margin-top: 18px;
}

.pg-hr {
  border: none;
  border-top: 1px solid #e8ebef;
  margin: 28px 0;
}

/* 注意：文章页底部的 .post-cta 与页脚的 .footer-* 规则放在 styles.css 里，
 * 因为那两处出现在**所有**页面上（首页、文章页、标签页），而这些页面并不加载
 * 本文件。pages.css 只负责 /about /contact /privacy /business 这类内容页。 */

@media (max-width: 600px) {
  .pg-wrap {
    padding: 18px 14px 40px;
  }
  .pg-hero {
    padding: 26px 20px;
  }
  .pg-h1 {
    font-size: 24px;
  }
  .pg-card {
    padding: 20px 18px;
  }
  .pg-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
