.page-products {
  --pd-gold: #E3B44F;
  --pd-sand: #D29A4C;
  --pd-red: #8F1D2C;
  --pd-navy: #18273D;
  --pd-ink-2: #12121A;
  --pd-ivory: #F4F1E8;
  --pd-line: rgba(227, 180, 79, 0.28);
  background: var(--c-ink);
  color: var(--c-ivory);
}

/* ===== Hero ===== */
.page-products .products-hero {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}
.page-products .products-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--pd-gold), var(--pd-red));
}
.page-products .products-hero .breadcrumb {
  margin-bottom: 1.5rem;
}
.page-products .products-hero__inner {
  display: grid;
  gap: 2rem;
}
.page-products .products-hero__text .section-kicker {
  margin-bottom: 0.5rem;
}
.page-products .products-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--c-ivory);
}
.page-products .products-hero__lead {
  color: var(--c-mist);
  margin: 0;
  max-width: 34em;
  line-height: 1.7;
}
.page-products .products-hero__path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--pd-ink-2), rgba(11, 11, 16, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--pd-gold);
  padding: 1.25rem 1.4rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.page-products .path-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
}
.page-products .path-step__num {
  color: var(--pd-gold);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
}
.page-products .path-step__text {
  color: var(--c-ivory);
  font-size: 0.85rem;
  white-space: nowrap;
}
.page-products .path-arrow {
  flex-shrink: 0;
  line-height: 0;
}

/* ===== 各区块标题 ===== */
.page-products .section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.page-products .section-kicker {
  color: var(--pd-gold);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  margin: 0;
}
.page-products .section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--c-ivory);
}
.page-products .section-heading__note,
.page-products .section-heading__lead {
  color: var(--c-mist);
  margin: 0;
  max-width: 42em;
  line-height: 1.7;
}

/* ===== 仪表板 ===== */
.page-products .dashboard-section {
  padding-bottom: 2.25rem;
}
.page-products .dashboard-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.page-products .stat-card {
  position: relative;
  padding: 1.4rem 1.5rem;
  margin: 0;
  border-top: 2px solid var(--pd-red);
  background: linear-gradient(160deg, var(--pd-ink-2), rgba(11, 11, 16, 0.9));
  overflow: hidden;
}
.page-products .stat-card::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  right: -18px;
  width: 72px;
  background: repeating-linear-gradient(-55deg, transparent 0 8px, rgba(227, 180, 79, 0.05) 8px 16px);
  transform: skewX(-18deg);
}
.page-products .stat-card .metric {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--pd-gold);
  margin-bottom: 0.35rem;
}
.page-products .stat-card__label {
  display: block;
  color: var(--c-ivory);
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.page-products .stat-card__note {
  color: var(--c-mist);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== 筛选标签 ===== */
.page-products .filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 2.5rem;
}
.page-products .filter-tabs .tag {
  padding: 0.45rem 1.2rem;
  color: var(--c-mist);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.page-products .filter-tabs .tag:hover {
  color: var(--pd-gold);
  border-color: var(--pd-gold);
}
.page-products .filter-tabs .tag.is-active {
  color: #0B0B10;
  background: var(--pd-gold);
  border-color: var(--pd-gold);
}

/* ===== 桌面计划 ===== */
.page-products .desktop-plan {
  padding-bottom: 3rem;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 26px 26px;
}
.page-products .desktop-plan__layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.page-products .plan-card-list {
  display: grid;
  gap: 1.25rem;
}
.page-products .plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.5rem 1.5rem 1.75rem;
  background: linear-gradient(155deg, rgba(18, 18, 26, 0.96), rgba(11, 11, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--pd-red);
}
.page-products .plan-card--quarter {
  border-left-color: var(--pd-gold);
}
.page-products .plan-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.page-products .plan-card__header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--c-ivory);
  margin: 0;
}
.page-products .plan-card__tag {
  background: rgba(143, 29, 44, 0.95);
  color: var(--c-ivory);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.7rem;
}
.page-products .plan-card__tag--gold {
  background: var(--pd-gold);
  color: #0B0B10;
}
.page-products .plan-card__points {
  color: var(--c-mist);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}
.page-products .plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.page-products .plan-price-num {
  font-size: 2.4rem;
  line-height: 1;
}
.page-products .plan-card__unit {
  color: var(--c-mist);
  font-size: 0.95rem;
}
.page-products .plan-card__features {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1.3rem;
  padding: 0;
}
.page-products .plan-card__features li {
  position: relative;
  padding-left: 1rem;
  color: var(--c-mist);
  font-size: 0.875rem;
  line-height: 1.55;
}
.page-products .plan-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  background: var(--pd-gold);
  transform: rotate(45deg);
}
.page-products .plan-card__copy {
  margin-top: auto;
}
.page-products .desktop-plan__figure {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  align-items: start;
}

/* ===== 新手娱乐局代币套餐 ===== */
.page-products .starter-set {
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  padding-block: 2.5rem 3rem;
  background: linear-gradient(170deg, var(--pd-navy) 0%, #12121A 70%);
}
.page-products .starter-set .section-title {
  color: var(--c-paper);
}
.page-products .starter-set .section-heading__lead,
.page-products .starter-set__note {
  color: rgba(244, 241, 232, 0.76);
}
.page-products .starter-set__content {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
}
.page-products .starter-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.page-products .starter-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.4rem;
  background: rgba(11, 11, 16, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.page-products .starter-card--featured {
  position: relative;
  background: linear-gradient(150deg, rgba(227, 180, 79, 0.16), rgba(11, 11, 16, 0.88) 45%);
  border-color: rgba(227, 180, 79, 0.55);
}
.page-products .starter-card__label {
  display: inline-block;
  align-self: flex-start;
  color: var(--pd-sand);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  background: rgba(227, 180, 79, 0.12);
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.7rem;
}
.page-products .starter-card h3 {
  font-family: var(--font-serif);
  color: var(--c-paper);
  font-size: 1.5rem;
  margin: 0 0 0.45rem;
}
.page-products .starter-card__points {
  color: rgba(255, 252, 245, 0.8);
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}
.page-products .starter-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.page-products .starter-card__price .metric {
  font-size: 2.3rem;
  color: var(--pd-gold);
  line-height: 1;
}
.page-products .starter-card__unit {
  color: var(--c-paper);
}
.page-products .starter-card__valid {
  color: var(--c-mist);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.page-products .starter-card__features {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 1.2rem;
  display: grid;
  gap: 0.35rem;
}
.page-products .starter-card__features li {
  color: rgba(244, 241, 232, 0.8);
  font-size: 0.875rem;
  padding-left: 0.9rem;
  position: relative;
}
.page-products .starter-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--pd-sand);
  transform: rotate(45deg);
}
.page-products .starter-card__copy {
  margin-top: auto;
}
.page-products .starter-set__figure {
  margin: 0;
  align-self: center;
}
.page-products .starter-set__note {
  font-size: 0.875rem;
  margin: 1.5rem 0 0;
  line-height: 1.6;
}

/* ===== 升段位费用参考 ===== */
.page-products .rank-fee {
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  padding-block: 2.5rem 3rem;
  background: var(--pd-ivory);
  color: #16161D;
}
.page-products .rank-fee .section-kicker {
  color: var(--pd-red);
}
.page-products .rank-fee .section-title {
  color: #0B0B10;
}
.page-products .rank-fee .section-heading__lead {
  color: #3A3A46;
}
.page-products .rank-fee__layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.page-products .rank-fee__figure {
  margin: 0;
}
.page-products .rank-fee__table-area {
  min-width: 0;
  display: grid;
  gap: 1rem;
}
.page-products .rank-fee__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page-products .rank-fee__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--c-paper);
}
.page-products .rank-fee__table th {
  background: var(--pd-navy);
  color: #FFFCF5;
  text-align: left;
  font-weight: 600;
  padding: 0.85rem 1rem;
  white-space: nowrap;
  border-bottom: 2px solid var(--pd-gold);
}
.page-products .rank-fee__table td {
  border-bottom: 1px solid rgba(11, 11, 16, 0.1);
  color: #16161D;
  padding: 0.9rem 1rem;
  vertical-align: middle;
}
.page-products .rank-fee__table tbody th {
  background: rgba(24, 39, 61, 0.06);
  font-weight: 700;
  white-space: nowrap;
}
.page-products .rank-fee__table tbody tr {
  transition: background-color var(--dur) var(--ease);
}
.page-products .rank-fee__table tbody tr:hover {
  background-color: rgba(227, 180, 79, 0.12);
}
.page-products .rank-fee__table .cell-mark {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #8C6A1E;
}
.page-products .rank-fee__table .copy-btn {
  display: inline-block;
  background: none;
  border: none;
  border-bottom: 1px dashed rgba(140, 106, 30, 0.5);
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.page-products .rank-fee__table .copy-btn:hover {
  border-bottom-color: var(--pd-red);
}
.page-products .rank-fee__note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.9rem 1rem;
  background: rgba(143, 29, 44, 0.09);
  border-left: 3px solid var(--pd-red);
  color: #4A1018;
  font-size: 0.875rem;
  line-height: 1.65;
}
.page-products .rank-fee__note-mark {
  font-weight: 700;
  color: var(--pd-red);
  flex-shrink: 0;
}
.page-products .rank-fee__faq {
  justify-self: start;
  color: var(--c-gold-ink);
  border-color: var(--c-gold-ink);
}

/* ===== 选型三步提示 ===== */
.page-products .steps-path {
  padding-block: 2.5rem 3rem;
}
.page-products .steps-path__figure {
  margin: 0 auto 2rem;
  max-width: 800px;
}
.page-products .steps-path__list {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.page-products .steps-path__list li {
  position: relative;
  background: linear-gradient(155deg, rgba(18, 18, 26, 0.96), rgba(11, 11, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--pd-red);
  padding: 1.75rem 1.5rem;
}
.page-products .steps-path__num {
  display: block;
  font-family: var(--font-serif);
  color: var(--pd-gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.page-products .steps-path__list h3 {
  font-family: var(--font-serif);
  color: var(--c-ivory);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}
.page-products .steps-path__list p {
  color: var(--c-mist);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 1.1rem;
}

/* ===== 底部 CTA ===== */
.page-products .products-cta {
  position: relative;
  display: grid;
  gap: 1.5rem;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  padding-block: 2.5rem;
  overflow: hidden;
  background: linear-gradient(160deg, #1B1B26 0%, var(--pd-navy) 55%, #6E1622 140%);
}
.page-products .products-cta__figure {
  margin: 0;
}
.page-products .products-cta__figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.page-products .products-cta .section-title {
  color: var(--c-paper);
}
.page-products .products-cta p {
  color: rgba(255, 252, 245, 0.78);
  max-width: 34em;
}
.page-products .products-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* ===== 通用图片与动效 ===== */
.page-products .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-products .img-frame figcaption {
  margin-top: 0.6rem;
  color: var(--c-mist);
  font-size: 0.8rem;
  line-height: 1.5;
}
.page-products .starter-set .img-frame figcaption,
.page-products .products-cta .img-frame figcaption {
  color: rgba(244, 241, 232, 0.6);
}
.page-products .rank-fee .img-frame figcaption {
  color: #4A4A58;
}
.page-products [data-reveal] {
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .page-products [data-reveal] {
    transition: none;
  }
}
.page-products #desktop-plan,
.page-products #starter-set,
.page-products #rank-fee {
  scroll-margin-top: 1rem;
}

/* ===== 平板断点 ===== */
@media (min-width: 640px) {
  .page-products .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-products .starter-set__content {
    grid-template-columns: 1fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
  }
  .page-products .steps-path__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* ===== 桌面断点 ===== */
@media (min-width: 1024px) {
  .page-products .products-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    align-items: end;
  }
  .page-products .dashboard-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-products .section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 2rem;
  }
  .page-products .desktop-plan__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: 2rem;
  }
  .page-products .desktop-plan__figure {
    position: sticky;
    top: 2rem;
    align-self: start;
  }
  .page-products .starter-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .page-products .rank-fee__layout {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: start;
  }
  .page-products .rank-fee__figure {
    position: sticky;
    top: 2rem;
  }
  .page-products .products-cta {
    grid-template-columns: 0.45fr 1fr;
    align-items: center;
    gap: 2rem;
  }
  .page-products .products-cta__figure {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .page-products .products-cta__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
  }
  .page-products .products-cta__content {
    position: relative;
    z-index: 1;
    grid-column: 2;
  }
}
