.page-products {
  --products-glow-violet: rgba(138, 43, 226, 0.1);
  --products-glow-orange: rgba(255, 92, 0, 0.08);
  --products-glow-copper: rgba(184, 115, 51, 0.16);
  position: relative;
  overflow-x: clip;
  background: var(--bg-void);
}

/* 首屏框景 */
.page-products .hero-frame {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 72px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-edge);
  background:
    linear-gradient(118deg, rgba(10, 10, 15, 0.96) 0%, rgba(10, 10, 15, 0.78) 42%, rgba(138, 43, 226, 0.22) 78%, rgba(255, 92, 0, 0.16) 100%),
    var(--bg-deep);
}

.page-products .hero-frame__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(120deg, transparent 0%, #000 40%, #000 100%);
  mask-image: linear-gradient(120deg, transparent 0%, #000 40%, #000 100%);
}

.page-products .hero-frame__emblem {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 220px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgba(245, 245, 247, 0.06);
  background: linear-gradient(135deg, rgba(255, 92, 0, 0.2), rgba(138, 43, 226, 0.2));
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.page-products .hero-frame__content {
  position: relative;
  z-index: 2;
  width: 100%;
  scroll-margin-top: 80px;
}

.page-products .breadcrumb {
  margin-bottom: 20px;
}

.page-products .display-title {
  font-size: 34px;
  line-height: 1.18;
  margin: 14px 0 0;
  letter-spacing: -0.02em;
}

.page-products .hero-frame__lead {
  max-width: 720px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.page-products .hero-frame__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
  max-width: 780px;
}

.page-products .hero-frame__metrics .metric-cell {
  background: rgba(18, 18, 27, 0.72);
  border: 1px solid var(--line-edge);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin: 0;
}

/* 页内服务索引 */
.page-products .service-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line-edge);
}

.page-products .service-track a {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--line-edge);
  border-radius: 999px;
  text-decoration: none;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.page-products .service-track a:hover,
.page-products .service-track a:focus-visible {
  color: var(--flame-orange);
  border-color: var(--flame-orange);
  background: rgba(255, 92, 0, 0.06);
}

/* 服务区块通用 */
.page-products .service-section {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  scroll-margin-top: 72px;
}

.page-products .service-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 58%;
  pointer-events: none;
  z-index: 0;
}

.page-products .service-section--subscribe {
  background: linear-gradient(160deg, var(--bg-deep) 0%, #120e1b 48%, var(--bg-void) 100%);
}

.page-products .service-section--subscribe::before {
  left: 0;
  background: linear-gradient(115deg, var(--products-glow-violet), transparent 78%);
  clip-path: polygon(0 0, 64% 0, 42% 100%, 0 100%);
}

.page-products .service-section--replay {
  background: linear-gradient(200deg, var(--bg-void) 0%, #191207 50%, var(--bg-deep) 100%);
}

.page-products .service-section--replay::before {
  right: 0;
  background: linear-gradient(255deg, var(--products-glow-orange), transparent 78%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 56% 100%);
}

.page-products .service-section--feedback {
  background: linear-gradient(160deg, var(--bg-deep) 0%, #17101b 48%, var(--bg-void) 100%);
}

.page-products .service-section--feedback::before {
  left: 0;
  width: 45%;
  background: linear-gradient(135deg, var(--products-glow-copper), transparent 76%);
  clip-path: polygon(0 0, 50% 0, 34% 100%, 0 100%);
}

.page-products .service-section--compare {
  background-color: var(--bg-void);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
}

.page-products .service-section--compare::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.page-products .service-section--access {
  background: linear-gradient(180deg, var(--bg-void), var(--bg-deep));
  border-top: 1px solid var(--line-edge);
}

.page-products .service-section__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-products .service-section__header {
  position: relative;
  z-index: 1;
}

.page-products .service-section__media {
  position: relative;
  z-index: 1;
}

.page-products .service-section__media .media-frame {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.page-products .service-section__intro {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.page-products .service-section__intro + .btn,
.page-products .service-section__header .btn {
  margin-top: 22px;
}

.page-products .section-title {
  margin: 12px 0 0;
}

/* 图片帧装饰 */
.page-products .media-frame {
  position: relative;
}

.page-products .media-flag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(10, 10, 15, 0.78);
  border: 1px solid var(--line-edge);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* 服务指标行 */
.page-products .service-section__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
  border-top: 1px dashed var(--line-edge);
  padding-top: 26px;
}

.page-products .service-section__stats .metric-cell {
  background: transparent;
  border: 0;
  border-left: 2px solid var(--line-edge);
  border-radius: 0;
  padding: 4px 0 4px 14px;
  margin: 0;
}

.page-products .service-section__stats .metric-cell__label {
  margin-top: 6px;
}

/* 订阅周期标签页 */
.page-products .subscribe-tabs {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  background: var(--bg-panel);
  border: 1px solid var(--line-edge);
  border-radius: var(--radius-lg);
  padding: 8px 8px 0;
}

.page-products .subscribe-tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}

.page-products .subscribe-tabs__labels {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line-edge);
}

.page-products .subscribe-tabs__label {
  flex: 1;
  margin-bottom: -1px;
  padding: 14px 12px 12px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: color var(--ease), background var(--ease);
  position: relative;
}

.page-products .subscribe-tabs__label:hover {
  color: var(--text-primary);
}

.page-products #tab-round:checked ~ .subscribe-tabs__labels .subscribe-tabs__label[for="tab-round"],
.page-products #tab-season:checked ~ .subscribe-tabs__labels .subscribe-tabs__label[for="tab-season"] {
  color: var(--text-primary);
  background: rgba(255, 92, 0, 0.06);
}

.page-products #tab-round:checked ~ .subscribe-tabs__labels .subscribe-tabs__label[for="tab-round"]::after,
.page-products #tab-season:checked ~ .subscribe-tabs__labels .subscribe-tabs__label[for="tab-season"]::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  background: var(--flame-orange);
}

.page-products #tab-round:focus-visible ~ .subscribe-tabs__labels .subscribe-tabs__label[for="tab-round"],
.page-products #tab-season:focus-visible ~ .subscribe-tabs__labels .subscribe-tabs__label[for="tab-season"] {
  outline: 2px solid var(--flame-orange);
  outline-offset: -2px;
}

.page-products .subscribe-tabs__panels {
  padding: 24px 6px 10px;
}

.page-products .subscribe-tabs__panel {
  display: none;
  margin: 0;
}

.page-products .subscribe-tabs__panel p {
  margin: 12px 0 0;
  line-height: 1.8;
  color: var(--text-secondary);
}

.page-products #tab-round:checked ~ .subscribe-tabs__panels #panel-round,
.page-products #tab-season:checked ~ .subscribe-tabs__panels #panel-season {
  display: block;
  animation: fh-products-fade-in 280ms var(--ease-smooth);
}

@keyframes fh-products-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-products .service-feature-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .service-feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-products .service-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--flame-orange), var(--volt-violet));
  transform: rotate(45deg);
}

/* 回看片源手风琴 */
.page-products .source-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 48px;
}

.page-products .source-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-edge);
  border-radius: var(--radius-md);
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.page-products .source-card:hover,
.page-products .source-card:focus-within,
.page-products .source-card[open] {
  border-color: var(--copper-amber);
  background: var(--bg-raised);
  transform: translateX(4px);
}

.page-products .source-card__summary {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
}

.page-products .source-card__summary::-webkit-details-marker {
  display: none;
}

.page-products .source-card__index {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 18px;
  color: var(--flame-orange);
  letter-spacing: 0.02em;
}

.page-products .source-card__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
}

.page-products .source-card__hint {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
}

.page-products .source-card__detail {
  padding: 14px 20px 18px 66px;
  border-top: 1px dashed var(--line-edge);
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 14px;
}

.page-products .source-card__detail p {
  margin: 0;
}

/* 反馈流程步骤 */
.page-products .feedback-steps {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .feedback-steps li {
  position: relative;
  background: rgba(18, 18, 27, 0.65);
  border-left: 3px solid var(--volt-violet);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 20px 20px 72px;
}

.page-products .feedback-steps li .subsection-title {
  margin: 0 0 6px;
}

.page-products .feedback-steps li p {
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
  color: var(--text-secondary);
}

.page-products .feedback-steps__num {
  position: absolute;
  left: 16px;
  top: 18px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: rgba(138, 43, 226, 0.45);
}

/* 反馈提交指引 */
.page-products .feedback-guide {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  border: 1px dashed var(--line-edge);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  background: rgba(18, 18, 27, 0.45);
}

.page-products .feedback-guide__summary {
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  list-style: none;
}

.page-products .feedback-guide__summary::-webkit-details-marker {
  display: none;
}

.page-products .feedback-guide__body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-edge);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.page-products .feedback-guide__body .btn {
  margin-top: 12px;
}

/* 服务对比 */
.page-products .compare-table__wrapper {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  border: none;
  background: transparent;
}

.page-products .compare-table {
  width: 100%;
  border-collapse: collapse;
}

.page-products .compare-table thead {
  display: none;
}

.page-products .compare-table tbody {
  display: grid;
  gap: 14px;
}

.page-products .compare-table tr {
  display: block;
  border: 1px solid var(--line-edge);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  padding: 6px 16px 12px;
  transition: border-color var(--ease);
}

.page-products .compare-table tr:hover {
  border-color: var(--copper-amber);
}

.page-products .compare-table th,
.page-products .compare-table td {
  padding: 8px 4px;
  vertical-align: top;
}

.page-products .compare-table td {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.page-products .compare-table td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-products .compare-table td:first-child {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.page-products .compare-table td:first-child::before {
  color: var(--flame-orange);
}

.page-products .compare-table__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-products .compare-visual {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-edge);
}

.page-products .compare-note {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--copper-amber);
  line-height: 1.8;
  font-size: 14px;
}

/* 接入方式 */
.page-products .access-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}

.page-products .access-steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.page-products .access-steps li {
  position: relative;
  margin: 0 0 24px 20px;
  padding-left: 32px;
}

.page-products .access-steps li:last-child {
  margin-bottom: 0;
}

.page-products .access-steps__num {
  position: absolute;
  left: -20px;
  top: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--flame-orange);
  color: var(--flame-orange);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 14px;
}

.page-products .access-steps p {
  margin: 0;
  line-height: 1.8;
  font-size: 14px;
  color: var(--text-secondary);
}

.page-products .access-layout__support {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-products .support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line-edge);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color var(--ease), transform var(--ease);
}

.page-products .support-card:hover {
  border-color: var(--copper-amber);
  transform: translateY(-2px);
}

.page-products .support-card__tag {
  margin: 0;
  font-family: var(--font-title);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--copper-amber);
}

.page-products .support-card .subsection-title {
  margin: 4px 0 0;
}

.page-products .support-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-products .support-card .btn {
  margin-top: 6px;
}

.page-products .support-card__contact {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--flame-orange);
  word-break: break-all;
}

/* 平板以上 */
@media (min-width: 760px) {
  .page-products .hero-frame {
    min-height: 620px;
    padding: 88px 0 64px;
  }

  .page-products .hero-frame__emblem {
    font-size: 300px;
    right: -20px;
  }

  .page-products .hero-frame__metrics {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .page-products .display-title {
    font-size: 52px;
  }

  .page-products .service-section {
    padding: 88px 0 72px;
  }

  .page-products .service-section__stats {
    gap: 20px;
    margin-top: 56px;
    padding-top: 30px;
  }

  .page-products .source-card__summary {
    padding: 20px 24px;
  }

  .page-products .source-card__detail {
    padding: 16px 24px 20px 74px;
  }

  .page-products .feedback-steps {
    gap: 16px;
  }

  .page-products .compare-table__wrapper {
    overflow-x: auto;
    border: 1px solid var(--line-edge);
    border-radius: var(--radius-md);
    background: var(--bg-panel);
  }

  .page-products .compare-table thead {
    display: table-header-group;
  }

  .page-products .compare-table tbody {
    display: table-row-group;
    gap: 0;
  }

  .page-products .compare-table tr {
    display: table-row;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .page-products .compare-table th,
  .page-products .compare-table td {
    display: table-cell;
    padding: 14px 18px;
  }

  .page-products .compare-table td {
    border-bottom: 1px solid var(--line-edge);
  }

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

  .page-products .compare-table td::before {
    display: none;
  }

  .page-products .compare-table th {
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--line-edge);
  }

  .page-products .compare-table tbody tr:hover {
    background: rgba(138, 43, 226, 0.05);
  }

  .page-products .compare-table td:first-child {
    font-size: 15px;
  }

  .page-products .access-layout__support {
    gap: 16px;
  }
}

/* 桌面布局 */
@media (min-width: 900px) {
  .page-products .service-section__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .page-products .service-section__grid--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .page-products .service-section__grid--reverse .service-section__media {
    order: -1;
  }

  .page-products .service-section__stats {
    gap: 24px;
    margin-top: 64px;
    padding-top: 32px;
  }

  .page-products .feedback-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-products .feedback-steps li {
    border-left: none;
    border-top: 3px solid var(--volt-violet);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 24px 22px 22px;
  }

  .page-products .feedback-steps__num {
    position: static;
    display: inline-block;
    margin-bottom: 14px;
  }

  .page-products .access-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
  }

  .page-products .service-track {
    flex-wrap: nowrap;
  }

  .page-products .display-title {
    font-size: 58px;
    max-width: 1000px;
  }
}

/* 大屏细节 */
@media (min-width: 1080px) {
  .page-products .display-title {
    font-size: 72px;
  }

  .page-products .hero-frame__lead {
    font-size: 18px;
  }

  .page-products .service-section__intro {
    font-size: 17px;
  }

  .page-products .hero-frame__emblem {
    font-size: 340px;
  }
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .page-products,
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
