/* ============================================================
   pages.css v2 — 定价页 / 案例页 / 对比页专属样式
   设计语言与全局 style.css 联动，全部使用主题变量
   ============================================================ */

/* ---------- 定价卡片 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .32s ease, border-color .28s ease, box-shadow .28s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: 0 24px 56px rgba(0,0,0,.34), 0 0 0 1px var(--accent-soft);
}

/* 推荐高亮卡 */
.price-card.hl {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px var(--accent-soft), 0 28px 64px rgba(0,0,0,.38);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface2) 100%);
}
.price-card.hl::before {
  content: "";
  position: absolute;
  top: -1px; left: 20px; right: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 0 0 4px 4px;
}

.price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 14px var(--accent-glow);
  letter-spacing: .2px;
}

.price-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -.2px;
}

.price-best {
  display: inline-block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 4px 12px;
  border-radius: 999px;
}

.price-foot {
  margin: 26px auto 0;
  max-width: 780px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}

.price-price {
  font-size: 38px;
  font-weight: 800;
  color: var(--txt);
  margin: 12px 0 6px;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.price-unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}

.price-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
  margin-bottom: 20px;
}

.price-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.price-feat {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--txt);
  line-height: 1.52;
}

.price-feat .pf-mark {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.price-feat.yes .pf-mark { background: var(--ok-soft); color: var(--ok); }
.price-feat.no .pf-mark { background: rgba(128,128,128,.18); color: var(--muted2); }
.price-feat.no { color: var(--muted); opacity: .75; }

.price-cta { width: 100%; text-align: center; }

/* ---------- 定价功能对比矩阵 ---------- */
.cmp-group { margin-bottom: 32px; }
.cmp-group-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 10px;
  letter-spacing: -.2px;
}

.cmp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.price-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.price-compare-table th,
.price-compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.price-compare-table tr:last-child td { border-bottom: none; }

.price-compare-table th:first-child,
.price-compare-table td.cmp-label {
  text-align: left;
  color: var(--txt);
  font-weight: 600;
}

.price-compare-table thead th {
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid var(--line);
  background: var(--surface2);
  font-size: 13px;
  letter-spacing: .3px;
}

.price-compare-table tbody td:not(.cmp-label) { color: var(--muted2); }

.price-compare-table .cmp-cell.on {
  color: var(--ok);
  font-weight: 700;
}

.price-compare-table .cmp-cell.off {
  color: var(--muted2);
  opacity: .55;
}

/* ---------- 案例卡片 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: transform .32s ease, border-color .28s ease, box-shadow .28s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: 0 24px 56px rgba(0,0,0,.34), 0 0 0 1px var(--accent-soft);
}

.case-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.case-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  flex: 0 0 46px;
}

.case-icon svg { width: 23px; height: 23px; }

.case-industry { font-size: 18px; font-weight: 700; color: var(--txt); letter-spacing: -.2px; }

.case-summary {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
  margin-bottom: 16px;
}

.case-narrative {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}

.case-block {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-border);
  border-radius: 10px;
  padding: 14px 16px;
}

.case-block-pain {
  border-left-color: var(--warn-border);
  background: var(--warn-soft);
}

.case-block-sol {
  border-left-color: var(--ok-border);
  background: var(--ok-soft);
}

.case-block-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: none;
  color: var(--accent);
  margin-bottom: 6px;
}

.case-block-pain .case-block-label { color: var(--warn); }
.case-block-sol .case-block-label { color: var(--ok); }

.case-block-text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--txt);
  margin: 0;
  white-space: normal;
  word-break: normal;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.case-tag {
  font-size: 12.5px;
  color: var(--accent2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 500;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.case-result { text-align: center; }

.cr-val {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cr-label { font-size: 12px; color: var(--muted); margin-top: 3px; font-weight: 500; }

.case-note {
  max-width: 920px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted2);
  background: var(--bg2);
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 16px 20px;
}

/* ---------- 客户证言 ---------- */
.testi-title {
  text-align: center;
  font-size: 24px;
  font-weight: 720;
  color: var(--txt);
  margin-bottom: 26px;
  letter-spacing: -.3px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 28px 26px 32px;
  position: relative;
  transition: border-color var(--transition);
}
.testi-card:hover { border-color: var(--accent-border); }

.testi-quote {
  color: var(--txt);
  font-size: 15px;
  line-height: 1.78;
}
.testi-by {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.testi-by::before {
  content: "— ";
  color: var(--muted2);
}

.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  left: 14px;
  font-size: 48px;
  line-height: 1;
  color: var(--accent-border);
  font-family: Georgia, "Times New Roman", serif;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .price-grid,
  .case-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .price-price { font-size: 32px; }
  .case-results { gap: 8px; }
  .cr-val { font-size: 18px; }
  .cr-label { font-size: 11px; }
  .price-card { padding: 26px 22px; }
  .case-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .price-card,
  .case-card { transition: none; }
  .price-card:hover,
  .case-card:hover { transform: none; }
}

/* ---------- 联系表单样式 ---------- */
.contact-form-wrap {
  max-width: 640px;
  margin: 64px auto 0;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group--full {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--txt2);
}
.form-input {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg2);
  color: var(--txt);
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-input::placeholder {
  color: var(--muted);
}
.form-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}
@media (max-width: 600px) {
  .contact-form-wrap {
    padding: 28px 20px;
    margin: 40px 16px 0;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

 
 