.page-products {
  --pd-gold: #D4AF37;
  --pd-gold-light: #FCE68A;
  --pd-red: #8B0000;
  --pd-card-bg: rgba(255, 255, 255, 0.03);
  --pd-card-border: rgba(212, 175, 55, 0.25);
  background: var(--color-black);
  color: var(--color-body);
  overflow-x: hidden;
}

.page-products .pd-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pd-gold);
  margin: 0 0 0.75rem;
}

.page-products .pd-section-tag::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--pd-gold);
  flex-shrink: 0;
}

.page-products .section__title {
  margin-bottom: 0.75rem;
}

/* ===== Hero ===== */
.page-products .pd-hero {
  position: relative;
  padding: 2rem 0 4rem;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(212, 175, 55, 0.16), transparent 46%),
    linear-gradient(120deg, transparent 55%, rgba(139, 0, 0, 0.35) 55%);
  overflow: hidden;
}

.page-products .pd-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-products .pd-hero__breadcrumb {
  margin-bottom: 1.75rem;
}

.page-products .pd-hero__kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--pd-gold);
  text-transform: uppercase;
  border-left: 2px solid var(--pd-gold);
  padding-left: 0.75rem;
  margin: 0 0 1.25rem;
}

.page-products .pd-hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  line-height: 1.06;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin: 0 0 1.5rem;
}

.page-products .pd-hero__accent {
  display: block;
  color: transparent;
  background: linear-gradient(120deg, var(--pd-gold), var(--pd-gold-light), var(--pd-gold));
  background-size: 80% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

.page-products .pd-hero__lead {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 34em;
  margin: 0 0 2rem;
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-products .pd-hero__badge {
  position: relative;
  width: 100%;
  max-width: 9.5rem;
  padding: 1rem 1.25rem 1.1rem;
  border-top: 2px solid var(--pd-gold);
  border-right: 2px solid var(--pd-gold);
  border-bottom: 2px solid var(--pd-gold);
  margin-left: auto;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), transparent 70%);
}

.page-products .pd-hero__badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-products .pd-hero__badge-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--pd-gold);
}

.page-products .pd-hero__badge-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--color-silver);
  margin-top: 0.35rem;
  line-height: 1.6;
}

.page-products .pd-hero__edge {
  position: absolute;
  top: -0.75rem;
  right: -0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

/* ===== 访问方式 ===== */
.page-products .pd-access {
  position: relative;
  padding: 4.5rem 0;
  background: linear-gradient(160deg, rgba(139, 0, 0, 0.15), transparent 40%);
}

.page-products .pd-access__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.page-products .pd-access__head {
  margin-bottom: 2.25rem;
}

.page-products .pd-step-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-products .pd-step-tree::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  bottom: 1.2rem;
  left: 1.75rem;
  width: 1px;
  background: linear-gradient(180deg, var(--pd-gold), rgba(212, 175, 55, 0.2));
}

.page-products .pd-step-tree__item {
  position: relative;
  padding-bottom: 1.5rem;
}

.page-products .pd-step-tree__item:last-child {
  padding-bottom: 0;
}

.page-products .pd-step-tree__item::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1.15rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #0B0B0F;
  border: 2px solid var(--pd-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
  z-index: 1;
}

.page-products .pd-step {
  margin-left: 3.5rem;
  background: var(--pd-card-bg);
  border: 1px solid var(--pd-card-border);
  border-radius: 4px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.page-products .pd-step[open] {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.05);
}

.page-products .pd-step__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-sans);
}

.page-products .pd-step__head::-webkit-details-marker {
  display: none;
}

.page-products .pd-step__num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--pd-gold);
  min-width: 2.5rem;
}

.page-products .pd-step__label {
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.page-products .pd-step__desc {
  padding: 0 1.25rem 1rem 3.5rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-products .pd-access__media {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.page-products .pd-access__img {
  width: min(230px, 65vw);
  height: auto;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--pd-card-border);
  box-shadow: var(--shadow-gold);
  object-fit: cover;
}

.page-products .pd-access__media figcaption {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
}

/* ===== 核心功能 ===== */
.page-products .pd-features {
  position: relative;
  padding: 4.5rem 0;
}

.page-products .pd-features__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.page-products .pd-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-products .pd-feature-card {
  position: relative;
  padding: 1.5rem;
  background: var(--pd-card-bg);
  border: 1px solid var(--pd-card-border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.page-products .pd-feature-card:hover {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-4px);
}

.page-products .pd-feature-card__index {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.5);
  margin-bottom: 1.25rem;
}

.page-products .pd-feature-card__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
}

.page-products .pd-feature-card__desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.page-products .pd-features__media {
  margin: 3rem 0 0;
}

.page-products .pd-features__media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--pd-card-border);
}

/* ===== 版本演进 ===== */
.page-products .pd-versions {
  padding: 4.5rem 0;
  background: var(--color-black-soft);
}

.page-products .pd-versions__head {
  margin-bottom: 2rem;
}

.page-products .pd-versions__scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  margin-right: -1rem;
  margin-left: -1rem;
  padding-left: 1rem;
  padding-right: 0.5rem;
}

.page-products .pd-version-track {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .pd-version-card {
  position: relative;
  scroll-snap-align: start;
  width: 260px;
  flex: 0 0 260px;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pd-card-border);
  border-top: 3px solid rgba(212, 175, 55, 0.4);
  border-radius: 6px;
}

.page-products .pd-version-card--current {
  background: linear-gradient(150deg, rgba(139, 0, 0, 0.35), rgba(212, 175, 55, 0.12));
  border-color: rgba(212, 175, 55, 0.55);
  border-top-color: var(--pd-gold);
  box-shadow: var(--shadow-gold);
}

.page-products .pd-version-card__year {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--pd-gold);
  margin-bottom: 0.5rem;
}

.page-products .pd-version-card__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-silver);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.page-products .pd-version-card p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin: 0;
}

.page-products .pd-versions__media {
  margin: 2.5rem 0 0;
}

.page-products .pd-versions__media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--pd-card-border);
}

/* ===== 安全守护 ===== */
.page-products .pd-security {
  padding: 4.5rem 0;
  background: linear-gradient(110deg, transparent 0%, transparent 40%, rgba(139, 0, 0, 0.25) 40%, rgba(139, 0, 0, 0.25) 100%);
}

.page-products .pd-security__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.page-products .pd-security__media {
  margin: 0;
  order: 1;
}

.page-products .pd-security__media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--pd-card-border);
}

.page-products .pd-security__content {
  order: 2;
}

.page-products .pd-security__lead {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

.page-products .pd-security__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .pd-security__list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-body);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.page-products .pd-security__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 0.75rem;
  height: 0.75rem;
  border-top: 1px solid var(--pd-gold);
  border-right: 1px solid var(--pd-gold);
  transform: rotate(45deg);
}

/* ===== 用户场景 ===== */
.page-products .pd-scene {
  padding: 4.5rem 0;
}

.page-products .pd-scene__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.page-products .pd-scene__lead,
.page-products .pd-scene__body {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.page-products .pd-scene__body {
  margin: 1rem 0 1.75rem;
}

.page-products .pd-scene__media {
  margin: 0;
}

.page-products .pd-scene__media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--pd-card-border);
}

/* ===== CTA ===== */
.page-products .pd-cta {
  padding: 4.5rem 0 5rem;
}

.page-products .pd-cta__inner {
  position: relative;
  padding: 3rem 1.5rem;
  background:
    linear-gradient(115deg, rgba(139, 0, 0, 0.6) 0%, rgba(139, 0, 0, 0.25) 40%, rgba(212, 175, 55, 0.08) 100%),
    var(--color-black-soft);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  text-align: center;
}

.page-products .pd-cta__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--pd-gold), transparent);
}

.page-products .pd-section-tag--light {
  color: var(--pd-gold-light);
}

.page-products .pd-cta__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.2;
  color: #ffffff;
  margin: 0.5rem 0 1rem;
}

.page-products .pd-cta__lead {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(230, 230, 230, 0.8);
  max-width: 32em;
  margin: 0 auto 1.75rem;
}

.page-products .pd-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-products .pd-cta__ghost {
  border-color: rgba(230, 230, 230, 0.45);
  color: #ffffff;
}

/* ===== 媒体查询 ===== */
@media (min-width: 768px) {
  .page-products .pd-access__layout {
    grid-template-columns: 1fr 300px;
  }

  .page-products .pd-features__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .pd-scene__layout,
  .page-products .pd-security__layout {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .pd-features__head {
    flex-direction: row;
    align-items: flex-end;
  }

  .page-products .pd-cta__inner {
    padding: 4.25rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .page-products .pd-hero {
    padding: 3rem 0 6rem;
  }

  .page-products .pd-hero__inner {
    grid-template-columns: 1fr auto;
  }

  .page-products .pd-hero__content {
    max-width: 720px;
  }

  .page-products .pd-features__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-products .pd-feature-card:nth-child(1),
  .page-products .pd-feature-card:nth-child(4) {
    grid-column: span 7;
  }

  .page-products .pd-feature-card:nth-child(2),
  .page-products .pd-feature-card:nth-child(3) {
    grid-column: span 5;
  }

  .page-products .pd-feature-card:nth-child(5),
  .page-products .pd-feature-card:nth-child(6) {
    grid-column: span 6;
  }

  .page-products .pd-versions__scroll {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .page-products .pd-versions,
  .page-products .pd-security,
  .page-products .pd-scene,
  .page-products .pd-features {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .page-products .pd-security__media img {
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .page-products .pd-feature-card,
  .page-products .pd-step,
  .page-products .pd-version-card,
  .page-products .pd-cta__inner {
    transition: none;
  }
}
