/* ===== 产品中心专属样式 ===== */
.page-products {
  --prd-orange: #FF6A00;
  --prd-orange-soft: #FF8C42;
  --prd-night: #1A1A2E;
  --prd-slate: #2D2D44;
  --prd-silver: #C0C0C0;
  --prd-cyan: #00B4D8;
  --prd-border: rgba(192, 192, 192, 0.26);
  --prd-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 30px 30px;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

/* ===== Hero ===== */
.page-products .product-hero {
  padding: 28px 0 20px;
}

.page-products .product-hero__crumb {
  margin-bottom: 24px;
}

.page-products .product-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-products .product-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--prd-orange);
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-products .product-hero .kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient-fire);
}

.page-products .product-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5.5vw, 46px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 14px 0 16px;
  text-transform: uppercase;
}

.page-products .product-hero__lead {
  max-width: 720px;
  color: var(--prd-silver);
  font-size: 15px;
  line-height: 1.75;
  border-left: 3px solid var(--prd-orange);
  padding-left: 16px;
  margin: 0;
}

.page-products .product-hero__stats {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-products .product-hero__stat {
  background: rgba(45, 45, 68, 0.85);
  border: 1px solid var(--prd-border);
  border-left: 2px solid var(--prd-orange);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .product-hero__stat .data-readout {
  font-family: var(--font-data);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--prd-orange);
}

.page-products .product-hero__stat .data-readout small {
  font-size: 13px;
  color: var(--prd-silver);
  margin-left: 2px;
}

.page-products .product-hero__stat .data-label {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--prd-silver);
  letter-spacing: 0.04em;
}

.page-products .product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-products .product-hero__note {
  flex-basis: 100%;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--prd-silver);
  padding: 10px 14px;
  background: rgba(0, 180, 216, 0.08);
  border-left: 2px solid var(--prd-cyan);
}

/* ===== 主布局 ===== */
.page-products .product-layout {
  padding-top: 8px;
  padding-bottom: 64px;
}

.page-products .product-layout__main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-products .product-section-head {
  margin-bottom: 24px;
}

.page-products .section-heading {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
  margin: 6px 0 8px;
  color: #fff;
  text-transform: uppercase;
}

.page-products .section-subhead {
  max-width: 720px;
  margin: 0;
  color: var(--prd-silver);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== 版本总览 Bento ===== */
.page-products .product-bento {
  gap: 20px;
}

.page-products .product-bento__card {
  position: relative;
  overflow: hidden;
  background: var(--prd-slate);
  border: 1px solid var(--prd-border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--prd-shadow);
}

.page-products .product-bento__card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, transparent 48%, var(--prd-orange) 50%);
  opacity: 0.9;
}

.page-products .product-bento__card--new {
  border-top: 3px solid var(--prd-orange);
}

.page-products .product-bento__card--old {
  border-top: 3px solid var(--prd-silver);
}

.page-products .product-bento__card--stable {
  border-top: 3px solid var(--prd-cyan);
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.08) 0%, rgba(26, 26, 46, 0) 42%),
    var(--prd-slate);
}

.page-products .product-bento__media {
  background: #18182a;
  border-bottom: 1px solid rgba(192, 192, 192, 0.14);
}

.page-products .product-bento__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 220;
  object-fit: cover;
}

.page-products .product-bento__media--old img {
  aspect-ratio: 280 / 200;
  filter: grayscale(0.6) contrast(0.9);
}

.page-products .product-bento__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-products .product-bento__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.page-products .product-bento__head h3 {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}

.page-products .product-bento__head .tag {
  margin-top: 2px;
}

.page-products .product-bento__tagline {
  margin: 5px 0 0;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--prd-silver);
}

.page-products .product-bento__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #d8d8e2;
}

.page-products .product-bento__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .product-bento__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #d8d8e2;
}

.page-products .product-bento__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--prd-orange);
  transform: rotate(45deg);
}

.page-products .product-bento__metric {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(192, 192, 192, 0.24);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-products .product-bento__metric .data-readout {
  font-family: var(--font-data);
  font-size: 22px;
  font-weight: 700;
  color: var(--prd-orange);
}

.page-products .product-bento__meta {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.page-products .product-bento__meta div {
  background: rgba(26, 26, 46, 0.6);
  padding: 12px;
  border-left: 2px solid var(--prd-silver);
}

.page-products .product-bento__meta .data-label {
  display: block;
  font-size: 12px;
}

.page-products .product-bento__value {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--prd-fog);
  margin-top: 4px;
}

.page-products .product-bento__body--row {
  flex-direction: column;
  gap: 18px;
}

.page-products .product-bento__stable-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 功能对比 ===== */
.page-products .product-compare {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-products .product-compare__media {
  background: rgba(26, 26, 46, 0.55);
  border: 1px solid var(--prd-border);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.page-products .product-compare__media img {
  aspect-ratio: 360 / 240;
  object-fit: cover;
  max-height: 260px;
}

.page-products .product-compare__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--prd-border);
  background: rgba(26, 26, 46, 0.55);
}

.page-products .product-compare-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .product-compare-table th,
.page-products .product-compare-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(192, 192, 192, 0.16);
}

.page-products .product-compare-table thead th {
  font-family: var(--font-head);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(255, 106, 0, 0.12);
}

.page-products .product-compare-table thead th:nth-child(2) {
  background: rgba(255, 106, 0, 0.08);
}

.page-products .product-compare-table thead th:nth-child(3) {
  background: rgba(192, 192, 192, 0.06);
}

.page-products .product-compare-table th.product-compare-table__dim,
.page-products .product-compare-table td.product-compare-table__dim {
  color: var(--prd-silver);
  font-weight: 400;
  width: 22%;
}

.page-products .product-compare-table tbody th {
  font-weight: 400;
  color: var(--prd-silver);
  background: rgba(26, 26, 46, 0.35);
}

.page-products .product-compare-table tbody td:nth-child(2) {
  border-left: 2px solid rgba(255, 106, 0, 0.55);
  background: rgba(255, 106, 0, 0.035);
  color: #F0F0F5;
}

.page-products .product-compare-table tbody td:nth-child(3) {
  border-left: 1px dashed rgba(192, 192, 192, 0.3);
  background: rgba(45, 45, 68, 0.25);
  color: #C0C0C0;
}

.page-products .product-compare-table tbody tr:hover td {
  background: rgba(255, 106, 0, 0.09);
}

.page-products .product-compare-table tbody tr:last-child th,
.page-products .product-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .product-compare-table .data-readout {
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--prd-orange);
  font-size: 16px;
}

.page-products .product-compare__note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--prd-silver);
  line-height: 1.7;
  padding: 14px 16px;
  border-left: 3px solid var(--prd-cyan);
  background: rgba(0, 180, 216, 0.07);
}

/* 旧版激活时的对比表强调 */
html[data-version="old"] .page-products .product-compare-table thead th:nth-child(2) {
  background: rgba(255, 106, 0, 0.04);
}

html[data-version="old"] .page-products .product-compare-table thead th:nth-child(3) {
  background: rgba(0, 180, 216, 0.2);
}

html[data-version="old"] .page-products .product-compare-table tbody td:nth-child(2) {
  background: rgba(255, 106, 0, 0.015);
}

html[data-version="old"] .page-products .product-compare-table tbody td:nth-child(3) {
  border-left: 2px solid rgba(0, 180, 216, 0.6);
  background: rgba(0, 180, 216, 0.05);
}

/* ===== 收费明细 ===== */
.page-products .product-pricing {
  padding-top: 40px;
  padding-bottom: 40px;
  background:
    linear-gradient(150deg, rgba(26, 26, 46, 0.7) 0%, rgba(45, 45, 68, 0.25) 62%),
    var(--prd-slate);
  border-left: 3px solid var(--prd-orange);
}

.page-products .product-pricing__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-products .product-pricing__text p {
  font-size: 14px;
  line-height: 1.75;
  color: #D8D8E2;
  margin: 0 0 18px;
}

.page-products .product-pricing__steps {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: prdStep;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .product-pricing__steps li {
  counter-increment: prdStep;
  position: relative;
  padding: 12px 14px 12px 46px;
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(192, 192, 192, 0.16);
  font-size: 14px;
  color: #F0F0F5;
}

.page-products .product-pricing__steps li::before {
  content: counter(prdStep, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--prd-orange);
}

.page-products .product-pricing__contact {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: rgba(26, 26, 46, 0.85);
  border-radius: 10px;
  border-left: 3px solid var(--prd-orange);
  margin-bottom: 10px;
}

.page-products .product-pricing__contact .data-label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.page-products .product-pricing__phone,
.page-products .product-pricing__mail {
  margin: 0;
  font-family: var(--font-data);
  font-size: 17px;
  color: #fff;
  word-break: break-all;
}

.page-products .product-pricing__note {
  font-size: 13px;
  color: var(--prd-silver);
  margin: 0;
}

.page-products .product-pricing__media {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(26, 26, 46, 0.55);
  border: 1px solid var(--prd-border);
  padding: 20px;
}

.page-products .product-pricing__media img {
  aspect-ratio: 200 / 130;
  object-fit: cover;
  max-width: 220px;
}

/* ===== 服务保障 ===== */
.page-products .product-guarantee {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-products .product-guarantee__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-products .product-guarantee__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .product-guarantee__item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(192, 192, 192, 0.24);
}

.page-products .product-guarantee__item:first-child {
  padding-top: 0;
}

.page-products .product-guarantee__num {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 106, 0, 0.55);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  color: var(--prd-orange);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.page-products .product-guarantee__item:hover .product-guarantee__num {
  background: var(--prd-orange);
  color: #fff;
  transform: rotate(-6deg);
}

.page-products .product-guarantee__body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  color: #fff;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-products .product-guarantee__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #C0C0C0;
}

.page-products .product-guarantee__media {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid var(--prd-border);
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-products .product-guarantee__media img {
  aspect-ratio: 240 / 260;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--prd-orange);
  max-width: 260px;
}

/* ===== 粘性侧边栏 ===== */
.page-products .product-layout__aside {
  margin-top: 40px;
}

.page-products .product-sidebar__card {
  background: rgba(45, 45, 68, 0.92);
  border: 1px solid rgba(255, 106, 0, 0.42);
  padding: 24px;
  box-shadow: var(--prd-shadow);
  position: relative;
  overflow: hidden;
}

.page-products .product-sidebar__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-fire);
}

.page-products .product-sidebar__head .kicker {
  color: var(--prd-orange);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-products .product-sidebar__head h2 {
  font-family: var(--font-head);
  font-size: 24px;
  color: #fff;
  margin: 8px 0 10px;
  text-transform: uppercase;
}

.page-products .product-sidebar__head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--prd-silver);
}

.page-products .product-sidebar__toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0 16px;
  padding: 4px;
  background: rgba(26, 26, 46, 0.9);
  border-radius: 8px;
}

.page-products .product-sidebar__btn {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 12px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--prd-silver);
  cursor: pointer;
  transition: all 0.25s ease;
}

.page-products .product-sidebar__btn--new {
  background: var(--gradient-fire);
  color: #fff;
}

.page-products .product-sidebar__btn--old {
  border-color: rgba(192, 192, 192, 0.3);
}

html[data-version="old"] .page-products .product-sidebar__btn--new {
  background: transparent;
  color: var(--prd-silver);
  border-color: rgba(192, 192, 192, 0.3);
}

html[data-version="old"] .page-products .product-sidebar__btn--old {
  background: var(--gradient-fire);
  color: #fff;
  border-color: transparent;
}

.page-products .product-sidebar__panel {
  background: rgba(26, 26, 46, 0.65);
  border-left: 2px solid var(--prd-silver);
  padding: 16px;
  margin-bottom: 18px;
}

.page-products .product-sidebar__panel--new {
  border-left-color: var(--prd-orange);
}

html[data-version="old"] .page-products .product-sidebar__panel--new {
  display: none;
}

.page-products .product-sidebar__panel--old {
  display: none;
}

html[data-version="old"] .page-products .product-sidebar__panel--old {
  display: block;
  border-left-color: var(--prd-cyan);
}

.page-products .product-sidebar__panel-title {
  margin: 0 0 10px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--prd-orange);
}

html[data-version="old"] .page-products .product-sidebar__panel-title {
  color: var(--prd-cyan);
}

.page-products .product-sidebar__panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .product-sidebar__panel-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #C0C0C0;
}

.page-products .product-sidebar__panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--prd-orange);
}

html[data-version="old"] .page-products .product-sidebar__panel-list li::before {
  background: var(--prd-cyan);
}

.page-products .product-sidebar__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .product-sidebar__actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.page-products .product-sidebar__textlink {
  color: var(--prd-cyan);
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  padding: 6px 0;
}

.page-products .product-sidebar__textlink:hover {
  color: var(--prd-orange-soft);
}

.page-products .product-sidebar__meta {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(192, 192, 192, 0.3);
  font-size: 12px;
  color: var(--prd-silver);
  line-height: 1.6;
}

/* ===== 响应式布局 ===== */
@media (min-width: 720px) {
  .page-products .product-hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .product-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .page-products .product-hero__note {
    flex-basis: auto;
    margin-left: auto;
    padding: 8px 12px;
  }

  .page-products .product-bento__body--row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-products .product-bento__stable-copy {
    flex: 1;
  }

  .page-products .product-bento__stable-actions {
    flex-direction: column;
    flex: 0 0 auto;
    min-width: 180px;
  }

  .page-products .product-pricing__grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 28px;
    align-items: start;
  }

  .page-products .product-pricing__media {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-products .product-guarantee__grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 36px;
    align-items: start;
  }

  .page-products .product-guarantee__media {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

@media (min-width: 960px) {
  .page-products .product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
  }

  .page-products .product-layout__aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    margin-top: 0;
    min-width: 0;
  }

  .page-products .product-overview,
  .page-products .product-compare,
  .page-products .product-pricing,
  .page-products .product-guarantee {
    padding-top: 28px;
  }
}

.page-products {
  --prd-fog: var(--color-fog);
}
