.page-products {
  --ps-gold-soft: rgba(212, 175, 55, 0.12);
  --ps-gold-line: rgba(212, 175, 55, 0.42);
  --ps-panel-radius: 18px;
  background: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========== 首屏 Hero ========== */
.page-products .ps-hero {
  position: relative;
  padding: 42px 0 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 175, 55, 0.22) 0%, transparent 46%),
    linear-gradient(135deg, var(--color-dark-red) 0%, var(--color-ink) 48%, var(--color-ink) 100%);
  border-bottom: 1px solid var(--ps-gold-line);
  overflow: hidden;
}
.page-products .ps-hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: 14px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(212, 175, 55, 0.035),
    0 0 0 92px rgba(212, 175, 55, 0.018);
  pointer-events: none;
}
.page-products .ps-hero::after {
  content: "發";
  position: absolute;
  left: -24px;
  bottom: -18px;
  font-family: var(--font-heading);
  font-size: 190px;
  font-weight: 900;
  line-height: 1;
  color: rgba(212, 175, 55, 0.055);
  transform: rotate(-8deg);
  pointer-events: none;
}
.page-products .ps-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--color-gray);
  margin-bottom: 44px;
}
.page-products .ps-breadcrumb a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.page-products .ps-breadcrumb a:hover {
  color: var(--color-red);
}
.page-products .ps-breadcrumb-sep {
  color: rgba(212, 175, 55, 0.55);
}
.page-products .ps-breadcrumb-cur {
  color: var(--color-rice);
}
.page-products .ps-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: end;
}
.page-products .ps-hero-copy {
  position: relative;
  z-index: 1;
}
.page-products .ps-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-pill);
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.06);
}
.page-products .ps-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--color-white);
  text-shadow: 0 0 32px rgba(212, 175, 55, 0.22);
}
.page-products .ps-hero-lead {
  max-width: 560px;
  margin: 0;
  font-size: 15px;
  color: var(--color-rice);
  opacity: 0.88;
}
.page-products .ps-hero-tile {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}
.page-products .ps-dice {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #f6e9c8 0%, #d9bd72 100%);
  box-shadow:
    var(--shadow-gold),
    inset 0 0 0 3px var(--color-gold),
    0 14px 30px rgba(0, 0, 0, 0.5);
}
.page-products .ps-dice::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(200, 16, 46, 0.38);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}
.page-products .ps-dice-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-ink);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.18);
}
.page-products .ps-dice-dot:nth-child(1) {
  top: 18px;
  left: 18px;
}
.page-products .ps-dice-dot:nth-child(2) {
  top: 18px;
  right: 18px;
}
.page-products .ps-dice-dot:nth-child(3) {
  bottom: 18px;
  left: 18px;
}
.page-products .ps-dice-dot:nth-child(4) {
  bottom: 18px;
  right: 18px;
}
.page-products .ps-dice-fa {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-red);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.page-products .ps-hero-vert {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--color-gray);
  writing-mode: vertical-rl;
}
.page-products .ps-searchbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 740px;
  margin-top: 48px;
  padding: 12px;
  border: 1px solid var(--ps-gold-line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
}
.page-products .ps-search-input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 10, 0.55);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: box-shadow 0.25s var(--ease);
}
.page-products .ps-search-input::placeholder {
  color: var(--color-gray);
}
.page-products .ps-search-input:focus {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.4);
}
.page-products .ps-search-btn {
  flex-shrink: 0;
  border-radius: var(--radius-pill);
}
.page-products .ps-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 740px;
  margin: 18px 0 36px;
}
.page-products .ps-filter-pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--color-gray);
  text-decoration: none;
  transition: all 0.22s var(--ease);
}
.page-products .ps-filter-pill:hover,
.page-products .ps-filter-pill:focus {
  color: var(--color-white);
  border-color: var(--color-gold);
}
.page-products .ps-filter-pill.is-on {
  color: var(--color-ink);
  background: var(--color-gold);
  border-color: var(--color-gold);
  font-weight: 600;
}

/* ========== 通用章节头 ========== */
.page-products .ps-section {
  padding: 76px 0;
}
.page-products .ps-sechead {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 34px;
}
.page-products .ps-sechead-center {
  justify-content: center;
  text-align: center;
}
.page-products .ps-index {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 3px 13px;
  border: 1px solid var(--ps-gold-line);
  border-radius: var(--radius-pill);
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--color-gold);
}
.page-products .ps-sechead-text h2 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--color-white);
}
.page-products .ps-sechead-text p {
  margin: 0;
  color: var(--color-gray);
  font-size: 14px;
}

/* ========== 服务总览 ========== */
.page-products .ps-overview {
  background:
    linear-gradient(180deg, var(--color-ink) 0%, #140f07 100%);
  border-bottom: 1px solid var(--ps-gold-line);
}
.page-products .ps-overview-figure {
  margin: 0 0 42px;
  border-radius: var(--ps-panel-radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
}
.page-products .ps-overview-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.page-products .ps-roomwall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.page-products .ps-room {
  perspective: 900px;
}
.page-products .ps-room:nth-child(3n + 1) {
  transform: translateY(3px);
}
.page-products .ps-room:nth-child(3n + 2) {
  transform: translateY(-3px);
}
.page-products .ps-room-inner {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  transform-style: preserve-3d;
  transition: transform 0.38s var(--ease);
}
.page-products .ps-room:hover .ps-room-inner,
.page-products .ps-room:focus-within .ps-room-inner {
  transform: rotateY(180deg);
}
.page-products .ps-room-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-md);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: center;
}
.page-products .ps-room-front {
  border: 2px solid var(--color-gold);
  background: linear-gradient(145deg, #f5e6c3 0%, #d9bd72 100%);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.42),
    inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  color: var(--color-ink);
}
.page-products .ps-room-front::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(200, 16, 46, 0.32);
  border-radius: calc(var(--radius-md) - 5px);
  pointer-events: none;
}
.page-products .ps-room-glyph {
  font-family: var(--font-heading);
  font-size: clamp(34px, 8vw, 52px);
  font-weight: 900;
  line-height: 1;
  color: var(--color-red);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.page-products .ps-room-front h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
}
.page-products .ps-room-front .chip,
.page-products .ps-room-back .chip {
  margin-top: 2px;
}
.page-products .ps-room-back {
  background: linear-gradient(160deg, #191613 0%, var(--color-dark-red) 100%);
  border: 1px solid var(--ps-gold-line);
  transform: rotateY(180deg);
  color: var(--color-rice);
}
.page-products .ps-room-back p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.page-products .ps-chip-gold {
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

/* ========== 机型适配清单 ========== */
.page-products .ps-compat {
  background:
    radial-gradient(circle at 10% 0%, rgba(74, 14, 14, 0.55) 0%, transparent 45%),
    linear-gradient(180deg, var(--color-ink) 0%, #120d08 100%);
  border-bottom: 1px solid var(--ps-gold-line);
}
.page-products .ps-compat-panel {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 22px;
}
.page-products .ps-compat-figure {
  margin: 0 0 26px;
  border-radius: var(--ps-panel-radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.page-products .ps-compat-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.page-products .ps-compat-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.page-products .ps-compat-search {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border: 1px solid var(--ps-gold-line);
  border-radius: var(--radius-md);
  background: rgba(10, 10, 10, 0.62);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: box-shadow 0.25s var(--ease);
}
.page-products .ps-compat-search:focus {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.32);
}
.page-products .ps-compat-search::placeholder {
  color: var(--color-gray);
}
.page-products .ps-compat-count {
  font-size: 13px;
  color: var(--color-gray);
}
.page-products .ps-compat-count b {
  color: var(--color-gold);
  font-family: var(--font-data);
}
.page-products .ps-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ps-gold-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}
.page-products .ps-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}
.page-products .ps-table th {
  padding: 14px 16px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--color-gold);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.page-products .ps-table td {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-rice);
}
.page-products .ps-table td:first-child {
  font-family: var(--font-data);
  color: var(--color-white);
}
.page-products .ps-table tbody tr {
  transition: background 0.2s var(--ease);
}
.page-products .ps-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.08);
}
.page-products .ps-compat-tip {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--color-gray);
}
.page-products .ps-compat-tip a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px dotted var(--color-gold);
}
.page-products .ps-compat-tip a:hover {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

/* ========== 下载中心 ========== */
.page-products .ps-download {
  padding-top: 0;
  padding-bottom: 0;
}
.page-products .ps-download-banner {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ps-gold-line);
  border-bottom: 1px solid var(--ps-gold-line);
}
.page-products .ps-download-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.page-products .ps-download-content {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}
.page-products .ps-download-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 38px;
}
.page-products .ps-download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 24px;
  background: linear-gradient(155deg, rgba(20, 18, 14, 0.92) 0%, rgba(74, 14, 14, 0.82) 100%);
  border: 1px solid var(--ps-gold-line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.page-products .ps-download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45), var(--shadow-gold);
}
.page-products .ps-ver {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-gold);
  color: var(--color-ink);
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}
.page-products .ps-download-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-white);
}
.page-products .ps-download-card p {
  margin: 0;
  font-size: 14px;
  color: var(--color-gray);
}
.page-products .ps-ver-note {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--color-gray);
}
.page-products .ps-dl-btn {
  position: relative;
  margin-top: auto;
}
.page-products .ps-dl-pop {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 5;
  width: 230px;
  padding: 12px 14px;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  background: #14100a;
  color: var(--color-rice);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  pointer-events: none;
}
.page-products .ps-dl-btn:hover .ps-dl-pop,
.page-products .ps-dl-btn:focus .ps-dl-pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ========== 服务特色 ========== */
.page-products .ps-features {
  background:
    linear-gradient(120deg, var(--color-dark-red) 0%, var(--color-ink) 58%);
  border-bottom: 1px solid var(--ps-gold-line);
}
.page-products .ps-features-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.page-products .ps-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-products .ps-feature-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.24);
}
.page-products .ps-feature-item:last-child {
  border-bottom: 0;
}
.page-products .ps-feature-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ps-gold-line);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-gold);
}
.page-products .ps-feature-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--color-white);
}
.page-products .ps-feature-body p {
  margin: 0;
  font-size: 14px;
  color: var(--color-gray);
}
.page-products .ps-features-figure {
  margin: 0;
  border-radius: var(--ps-panel-radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  transform: rotate(0.6deg);
}
.page-products .ps-features-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ========== 技术支持 ========== */
.page-products .ps-support {
  background:
    radial-gradient(circle at 90% 90%, rgba(212, 175, 55, 0.08) 0%, transparent 42%),
    var(--color-ink);
}
.page-products .ps-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.page-products .ps-support-figure {
  margin: 0;
  border-radius: var(--ps-panel-radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
}
.page-products .ps-support-figure::after {
  content: "TECH SUPPORT";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 10, 0.72);
  color: var(--color-gold);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.page-products .ps-support-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.page-products .ps-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}
.page-products .ps-contact-card {
  padding: 24px;
  border: 1px solid var(--ps-gold-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}
.page-products .ps-contact-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-gold);
}
.page-products .ps-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-products .ps-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-products .ps-contact-list span {
  font-size: 13px;
  color: var(--color-gray);
}
.page-products .ps-contact-list b {
  font-family: var(--font-data);
  font-size: 15px;
  color: var(--color-rice);
  word-break: break-all;
}
.page-products .ps-contact-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(212, 175, 55, 0.24);
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-gray);
}

/* ========== 响应式增强 ========== */
@media (min-width: 560px) {
  .page-products .ps-searchbar {
    flex-direction: row;
    align-items: center;
  }
  .page-products .ps-compat-toolbar {
    flex-direction: row;
    align-items: center;
  }
  .page-products .ps-contact-list li {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
  }
}

@media (min-width: 720px) {
  .page-products .ps-roomwall {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .page-products .ps-download-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .page-products .ps-hero-grid {
    grid-template-columns: 1fr 220px;
  }
  .page-products .ps-roomwall {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-products .ps-download-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-products .ps-features-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
  }
  .page-products .ps-support-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
  }
  .page-products .ps-section {
    padding: 96px 0;
  }
}
