.page-products {
  --service-gap: 2.5rem;
  --node-size: 180px;
  --node-border-glow: 0 0 0 2px rgba(212, 175, 55, 0.2), 0 0 20px rgba(212, 175, 55, 0.08);
  --card-clip: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  --bg-dark: var(--color-primary, #0A1F44);
  --bg-light: var(--color-card-bg, #F0F0F0);
  --gold: var(--color-accent, #D4AF37);
  --green: var(--color-functional, #00FF88);
  --text-on-dark: var(--color-text-light, #FFFFFF);
  --text-on-light: var(--color-text-dark, #1A1A1A);
  --text-muted: var(--color-text-muted, #B0B0B0);
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  padding: 0.75rem 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.page-products .breadcrumb-item {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.page-products .breadcrumb-item + .breadcrumb-item::before {
  content: "／";
  padding: 0 0.5rem;
  color: var(--text-muted);
  opacity: 0.5;
}
.page-products .breadcrumb-item:hover,
.page-products .breadcrumb-item:focus-visible {
  color: var(--gold);
}
.page-products .breadcrumb-item--active {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- 章节共用 ---------- */
.page-products .section {
  padding: 2.5rem 1rem;
}
.page-products .container {
  max-width: var(--content-max, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}
.page-products .section__heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-products .section__heading-num {
  font-size: 1.5rem;
  opacity: 0.6;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.page-products .section__intro {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
  max-width: 720px;
}

/* ---------- 首屏深蓝背景 ---------- */
.page-products .service-overview {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}
.page-products .service-overview__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}
.page-products .service-overview__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 2rem;
}
.page-products .service-overview__img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 2.5rem auto 0;
  border-radius: var(--radius);
  box-shadow: var(--glow-gold);
  object-fit: cover;
}

/* ---------- 技能树 ---------- */
.page-products .skill-tree {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
  padding: 0.5rem 0;
}
.page-products .skill-tree__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--node-size);
  min-height: 150px;
  padding: 1.25rem 0.75rem;
  background: rgba(10, 31, 68, 0.7);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  clip-path: var(--card-clip);
  text-decoration: none;
  color: var(--text-on-dark);
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.page-products .skill-tree__node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.1rem;
  width: 1.2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.4;
  transform: translateY(-50%);
  pointer-events: none;
}
.page-products .skill-tree__node:last-child::after {
  display: none;
}
.page-products .skill-tree__node:hover,
.page-products .skill-tree__node:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--node-border-glow), 0 4px 24px rgba(212, 175, 55, 0.12);
  transform: translateY(-4px) scale(1.02);
}
.page-products .skill-tree__node:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.page-products .skill-tree__node-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: 0.08em;
}
.page-products .skill-tree__node-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 0.25rem;
}
.page-products .skill-tree__node-desc {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* ---------- 浅色章节（工具下载、季度归档） ---------- */
.page-products .tool-download,
.page-products .archive-service {
  background: var(--bg-light);
  color: var(--text-on-light);
}
.page-products .tool-download .section__heading,
.page-products .archive-service .section__heading {
  color: var(--bg-dark);
}
.page-products .tool-download .section__heading-num,
.page-products .archive-service .section__heading-num {
  color: var(--gold);
}

/* ---------- 深色章节（会员权益、字体订阅） ---------- */
.page-products .member-benefits,
.page-products .font-subscription {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.page-products .member-benefits .section__heading,
.page-products .font-subscription .section__heading {
  color: var(--gold);
}
.page-products .member-benefits .section__heading-num,
.page-products .font-subscription .section__heading-num {
  color: var(--text-muted);
  opacity: 0.7;
}
.page-products .member-benefits .section__intro,
.page-products .font-subscription .section__intro {
  color: var(--text-muted);
}

/* ---------- 工具下载 ---------- */
.page-products .tool-download__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.page-products .tool-download__img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}
.page-products .tool-download__text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}
.page-products .tool-download__text p {
  margin: 0 0 0.75rem;
}
.page-products .tool-download__btn {
  display: inline-block;
  background: var(--green);
  color: var(--bg-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(0, 255, 136, 0.15);
}
.page-products .tool-download__btn:hover,
.page-products .tool-download__btn:focus-visible {
  box-shadow: var(--glow-gold), 0 0 24px rgba(0, 255, 136, 0.2);
  transform: translateY(-2px);
  background: var(--gold);
  color: var(--bg-dark);
}
.page-products .tool-download__btn:focus-visible {
  outline: 2px solid var(--text-on-dark);
  outline-offset: 4px;
}

/* ---------- 会员权益 ---------- */
.page-products .member-benefits__icons {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  object-fit: cover;
}
.page-products .member-benefits__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.page-products .member-benefits__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: background var(--transition);
}
.page-products .member-benefits__item:hover {
  background: rgba(255, 255, 255, 0.1);
}
.page-products .member-benefits__item-icon {
  color: var(--green);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.page-products .member-benefits__item-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-on-dark);
}
.page-products .member-benefits__item-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  width: 100%;
  padding-left: 1.5rem;
}
.page-products .member-benefits__item-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--green);
  text-decoration: none;
  margin-left: auto;
  transition: color var(--transition);
}
.page-products .member-benefits__item-link:hover,
.page-products .member-benefits__item-link:focus-visible {
  color: var(--gold);
  text-decoration: underline;
}

/* ---------- 季度归档 ---------- */
.page-products .archive-service__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.page-products .archive-service__text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}
.page-products .archive-service__text p {
  margin: 0 0 0.75rem;
}
.page-products .archive-service__link {
  color: var(--bg-dark);
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--transition);
}
.page-products .archive-service__link:hover,
.page-products .archive-service__link:focus-visible {
  color: var(--gold);
}
.page-products .archive-service__img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

/* ---------- 字体订阅 ---------- */
.page-products .font-subscription__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.page-products .font-subscription__img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--glow-gold);
  object-fit: cover;
}
.page-products .font-subscription__text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  text-align: center;
}
.page-products .font-subscription__text p {
  margin: 0 0 0.75rem;
}
.page-products .font-subscription__link {
  color: var(--green);
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--transition);
}
.page-products .font-subscription__link:hover,
.page-products .font-subscription__link:focus-visible {
  color: var(--gold);
}

/* ========== 平板 ≥ 640px ========== */
@media screen and (min-width: 640px) {
  .page-products .section {
    padding: 3rem 1.5rem;
  }
  .page-products .service-overview__title {
    font-size: 2.6rem;
  }
  .page-products .section__heading {
    font-size: 2.2rem;
  }
  .page-products .skill-tree {
    gap: 1.5rem;
  }
  .page-products .skill-tree__node {
    width: 160px;
    min-height: 140px;
  }
  .page-products .member-benefits__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-products .tool-download__content {
    flex-direction: row;
    align-items: center;
  }
  .page-products .tool-download__img {
    width: 55%;
    max-width: 600px;
  }
  .page-products .tool-download__text {
    width: 45%;
  }
  .page-products .archive-service__content {
    flex-direction: row;
    align-items: center;
  }
  .page-products .archive-service__text {
    width: 60%;
  }
  .page-products .archive-service__img {
    width: 40%;
    max-width: 320px;
  }
  .page-products .font-subscription__content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  .page-products .font-subscription__img {
    width: 55%;
  }
  .page-products .font-subscription__text {
    width: 45%;
    text-align: left;
  }
}

/* ========== 桌面 ≥ 1024px ========== */
@media screen and (min-width: 1024px) {
  .page-products .section {
    padding: 4rem 2rem;
  }
  .page-products .service-overview__title {
    font-size: 3rem;
  }
  .page-products .section__heading {
    font-size: 2.5rem;
  }
  .page-products .skill-tree {
    gap: 2rem;
    justify-content: center;
  }
  .page-products .skill-tree__node {
    width: var(--node-size);
    min-height: 150px;
  }
  .page-products .skill-tree__node::after {
    right: -1.6rem;
    width: 1.6rem;
  }
  .page-products .member-benefits__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-products .member-benefits__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .page-products .member-benefits__item-desc {
    width: auto;
    padding-left: 0;
  }
  .page-products .member-benefits__item-link {
    margin-left: 0;
  }
  .page-products .tool-download__img {
    width: 50%;
    max-width: 700px;
  }
  .page-products .tool-download__text {
    width: 50%;
  }
  .page-products .archive-service__text {
    width: 55%;
  }
  .page-products .archive-service__img {
    width: 45%;
    max-width: 400px;
  }
  .page-products .font-subscription__img {
    width: 50%;
  }
  .page-products .font-subscription__text {
    width: 50%;
  }
}

/* ========== 大屏 ≥ 1280px ========== */
@media screen and (min-width: 1280px) {
  .page-products .section {
    padding: 5rem 2rem;
  }
  .page-products .skill-tree {
    gap: 2.5rem;
  }
  .page-products .skill-tree__node::after {
    right: -2rem;
    width: 2rem;
  }
}
