/* ============================================================
   page-mac-mini-jiage.css — 对比矩阵布局 · 纯净体验
   ============================================================ */

#page-taocan-xiangqing a.pxp-link,
#page-taocan-xiangqing .pxp-plan__cta,
#page-taocan-xiangqing .pxp-cta a {
  text-decoration: none;
}

#page-taocan-xiangqing .pxp-inline:hover {
  text-decoration: underline;
}

/* ── Sticky top period bar (no hero) ── */
.pxm-sticky-top {
  position: sticky;
  top: var(--nav-height, 4rem);
  z-index: 200;
  margin: 0 -1.5rem 1.5rem;
  padding: 0 1.5rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.97) 0%, rgba(248, 250, 252, 0.88) 70%, transparent 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.pxm-sticky-top__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.pxm-sticky-top__h1 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.pxm-sticky-top__sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0.125rem 0 0;
}

.pxp-period-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  margin: 0;
}

.pxp-period-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 9999px;
  background: rgba(241, 245, 249, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pxp-period {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: #64748b;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.pxp-period:hover:not(.pxp-period--active) {
  color: #334155;
  background: rgba(255, 255, 255, 0.5);
}

.pxp-period--active {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.pxp-period-note {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #64748b;
}

.pxp-period-note i {
  width: 0.875rem;
  height: 0.875rem;
  color: #2563eb;
}

/* ── Section layout ── */
.pxm-section {
  max-width: 72rem;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.pxm-section__head {
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 3px solid #2563eb;
}

.pxm-section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.pxm-section__desc {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.pxm-footnote {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin: 0.875rem 0 0;
}

.pxm-footnote--center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  text-align: center;
}

/* ── Comparison matrix table ── */
.pxm-matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pxm-matrix {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.pxm-matrix__corner {
  width: 22%;
  padding: 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.pxm-matrix__col {
  width: 39%;
  padding: 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.pxm-matrix__col--pro {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.45) 0%, transparent 100%);
}

.pxm-matrix thead .pxp-plan {
  padding: 1.25rem 1.5rem 1rem;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
}

.pxm-matrix tbody th[scope="row"] {
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  border-bottom: 1px solid rgba(241, 245, 249, 0.95);
  vertical-align: middle;
}

.pxm-matrix tbody th[scope="row"] i {
  width: 0.875rem;
  height: 0.875rem;
  color: #2563eb;
  vertical-align: -0.125rem;
  margin-right: 0.375rem;
}

.pxm-matrix tbody td {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: #475569;
  border-bottom: 1px solid rgba(241, 245, 249, 0.95);
  vertical-align: middle;
}

.pxm-matrix__cta-row th,
.pxm-matrix__cta-row td {
  border-bottom: none;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/* Plan elements inside matrix */
.pxp-plan__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pxp-plan__tier {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.25rem;
}

.pxp-plan__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.pxp-plan__config {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0.125rem 0 0.75rem;
}

.pxp-plan__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.pxp-plan__currency {
  font-size: 1rem;
  font-weight: 700;
  color: #2563eb;
}

.pxp-plan__amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: #0f172a;
  transition: opacity 0.15s ease;
}

.pxp-plan__amount.pxp-price-flash {
  opacity: 0.35;
}

.pxp-plan__per {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
}

.pxp-plan__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.pxp-plan__tag {
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.95);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
}

.pxp-plan__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #2563eb;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 6px 20px -8px rgba(37, 99, 235, 0.55);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pxp-plan__cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.pxp-plan--pro .pxp-plan__cta {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  box-shadow: 0 6px 24px -8px rgba(99, 102, 241, 0.5);
}

/* ── Addon inline rows ── */
.pxm-addon-rows {
  overflow: hidden;
}

.pxm-addon-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(241, 245, 249, 0.95);
}

.pxm-addon-row:last-child {
  border-bottom: none;
}

.pxp-addon__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: #eff6ff;
  color: #2563eb;
  flex-shrink: 0;
}

.pxp-addon__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.125rem;
}

.pxp-addon__desc {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}

.pxp-addon__price {
  display: flex;
  align-items: baseline;
  gap: 0.125rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.pxp-addon__plus {
  color: #94a3b8;
  font-size: 0.8125rem;
}

.pxp-addon__currency {
  color: #2563eb;
  font-size: 0.8125rem;
}

.pxp-addon__amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  transition: opacity 0.15s ease;
}

.pxp-addon__amount.pxp-price-flash {
  opacity: 0.35;
}

.pxp-addon__per {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Horizontal timeline ── */
.pxm-timeline {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1rem;
  position: relative;
}

.pxm-timeline::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #2563eb 100%);
  opacity: 0.25;
  pointer-events: none;
}

.pxm-timeline__node {
  flex: 1 0 14rem;
  min-width: 14rem;
  padding: 0 0.75rem 0 0;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
}

.pxp-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2563eb;
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  position: relative;
  z-index: 1;
}

.pxp-step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.375rem;
}

.pxp-step p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* ── Map-style dot grid ── */
.pxm-map {
  position: relative;
  min-height: 16rem;
  padding: 1.5rem;
  overflow: hidden;
}

.pxm-map__canvas {
  position: absolute;
  inset: 0;
  color: #2563eb;
  pointer-events: none;
}

.pxm-map__grid {
  width: 100%;
  height: 100%;
}

.pxm-map__zone {
  stroke: none;
}

.pxm-map__arc {
  fill: none;
  stroke: rgba(37, 99, 235, 0.18);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  stroke-linecap: round;
}

.pxm-map__nodes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.pxm-map__cluster {
  padding: 0;
  background: transparent;
  border: none;
}

.pxp-region h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.pxp-region__pills,
.pxm-map__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: flex-start;
  min-height: 0;
}

.pxp-region__pill,
.pxm-map__dot {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.25);
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  box-shadow: 0 4px 16px -6px rgba(37, 99, 235, 0.2);
  white-space: nowrap;
}

.pxm-map__pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
  animation: pxm-pulse 2s ease-in-out infinite;
}

@keyframes pxm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ── Notes strip ── */
.pxm-notes-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.pxp-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
}

.pxp-note__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: #eff6ff;
  color: #2563eb;
  flex-shrink: 0;
}

.pxp-note strong {
  display: block;
  font-size: 0.8125rem;
  color: #0f172a;
  margin-bottom: 0.125rem;
}

.pxp-note span {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
}

/* ── Horizontal feature boxes ── */
.pxm-hbox-stack {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pxm-hbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.72);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pxm-hbox:hover {
  box-shadow: 0 12px 40px -16px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
}

.pxm-hbox__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  flex-shrink: 0;
}

.pxm-hbox__icon--blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
}

.pxm-hbox__icon--violet {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
}

.pxm-hbox__icon--emerald {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
}

.pxm-hbox__icon--amber {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
}

.pxm-hbox__icon--rose {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  color: #e11d48;
}

.pxm-hbox__icon i {
  width: 1.5rem;
  height: 1.5rem;
}

.pxm-hbox__body {
  flex: 1 1 16rem;
  min-width: 0;
}

.pxm-hbox__eyebrow {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.25rem;
}

.pxm-hbox__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.375rem;
}

.pxm-hbox__desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.pxm-hbox__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pxm-hbox__tag {
  padding: 0.3rem 0.625rem;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.95);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.pxm-hbox__stat {
  text-align: right;
  flex-shrink: 0;
}

.pxm-hbox__stat-val {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

.pxm-hbox__stat-label {
  display: block;
  font-size: 0.6875rem;
  color: #94a3b8;
  margin-top: 0.125rem;
}

/* Wide split box (two-column inside one card) */
.pxm-hbox-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.pxm-hbox-split__col {
  padding: 1.5rem 1.75rem;
}

.pxm-hbox-split__col + .pxm-hbox-split__col {
  border-left: 1px solid rgba(226, 232, 240, 0.8);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.35) 0%, transparent 100%);
}

.pxm-hbox-split__label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.pxm-hbox-split__label--pro {
  color: #7c3aed;
}

.pxm-hbox-split__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.pxm-hbox-split__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pxm-hbox-split__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.45;
}

.pxm-hbox-split__list i {
  width: 0.875rem;
  height: 0.875rem;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.pxm-hbox-split__col--pro .pxm-hbox-split__list i {
  color: #7c3aed;
}

/* Included services grid inside one horizontal box */
.pxm-hbox-includes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.pxm-hbox-includes__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(241, 245, 249, 0.95);
}

.pxm-hbox-includes__item:last-child {
  border-right: none;
}

.pxm-hbox-includes__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #eff6ff;
  color: #2563eb;
}

.pxm-hbox-includes__ico i {
  width: 1.125rem;
  height: 1.125rem;
}

.pxm-hbox-includes__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.pxm-hbox-includes__hint {
  font-size: 0.6875rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

/* ── CTA band ── */
.pxm-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(239, 246, 255, 0.75) 100%);
}

.pxm-cta-band__btn {
  width: auto;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .pxm-notes-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pxm-map__nodes {
    grid-template-columns: 1fr;
  }

  .pxm-hbox-includes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pxm-hbox-includes__item:nth-child(2) {
    border-right: none;
  }

  .pxm-hbox-includes__item:nth-child(1),
  .pxm-hbox-includes__item:nth-child(2) {
    border-bottom: 1px solid rgba(241, 245, 249, 0.95);
  }
}

@media (max-width: 767px) {
  .pxm-sticky-top__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .pxp-period-bar {
    align-items: stretch;
  }

  .pxp-period-tabs {
    justify-content: center;
  }

  .pxm-notes-strip {
    grid-template-columns: 1fr;
  }

  .pxm-cta-band {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .pxm-cta-band__btn {
    width: 100%;
  }

  .pxm-hbox {
    flex-direction: column;
    align-items: flex-start;
  }

  .pxm-hbox__stat {
    text-align: left;
  }

  .pxm-hbox-split {
    grid-template-columns: 1fr;
  }

  .pxm-hbox-split__col + .pxm-hbox-split__col {
    border-left: none;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
  }

  .pxm-hbox-includes {
    grid-template-columns: 1fr;
  }

  .pxm-hbox-includes__item {
    border-right: none;
    border-bottom: 1px solid rgba(241, 245, 249, 0.95);
    flex-direction: row;
    text-align: left;
    padding: 1rem 1.25rem;
  }

  .pxm-hbox-includes__item:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pxp-plan__cta:hover {
    transform: none;
  }

  .pxm-hbox:hover {
    transform: none;
  }

  .pxm-map__pulse {
    animation: none;
  }
}
