.page-products {
  --pg-gold: #D4AF37;
  --pg-deep: #0B3B47;
  --pg-teal: #1A6663;
  --pg-cream: #F4F1E6;
  --pg-ink: #1A1F22;
  --pg-slate: #3B4A4E;
  --pg-mist: #DCE3E1;
  --pg-warm: #C8C0A8;
  background: var(--pg-cream);
  color: var(--pg-ink);
  overflow-x: hidden;
}

/* 英雄区 */
.pg-products .pg-hero {
  position: relative;
  padding: 56px 0 72px;
  background: var(--pg-deep);
  color: var(--pg-cream);
  overflow: hidden;
}
.pg-products .pg-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.pg-products .pg-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
}
.pg-products .pg-hero__lead {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--pg-gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pg-products .pg-hero__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(244, 241, 230, 0.88);
  max-width: 46ch;
  margin-top: 20px;
}
.pg-products .pg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.pg-products .pg-hero__actions .button--primary {
  background: var(--pg-gold);
  color: var(--pg-ink);
  border: 1px solid var(--pg-gold);
}
.pg-products .pg-hero__actions .button--ghost {
  border: 1px solid rgba(244, 241, 230, 0.4);
  color: var(--pg-cream);
}
.pg-products .pg-hero__visual {
  position: relative;
  min-height: 220px;
  display: none;
}
.pg-products .pg-hero__shape {
  position: absolute;
}
.pg-products .pg-hero__shape--one {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pg-teal), var(--pg-deep));
  border: 2px solid rgba(212, 175, 55, 0.5);
  top: 10px;
  right: 20px;
}
.pg-products .pg-hero__shape--two {
  width: 96px;
  height: 96px;
  background: var(--pg-gold);
  border-radius: 6px;
  transform: rotate(45deg);
  bottom: 20px;
  left: 30px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
.pg-products .pg-hero__shape--three {
  width: 2px;
  height: 240px;
  background: linear-gradient(to bottom, var(--pg-gold), transparent);
  left: 48%;
  top: 0;
  transform: rotate(18deg);
}
.pg-products .pg-hero__shape--four {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  bottom: 10px;
  right: 30px;
}

/* 面包屑 */
.pg-products .breadcrumb {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 20px 24px 0;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--pg-slate);
}
.pg-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pg-products .breadcrumb a {
  color: var(--pg-slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.pg-products .breadcrumb a:hover {
  border-bottom-color: var(--pg-gold);
  color: var(--pg-deep);
}
.pg-products .breadcrumb [aria-current="page"] {
  color: var(--pg-deep);
  font-weight: 700;
}

/* 服务总览 */
.pg-products .pg-overview {
  padding: 72px 0;
  background: var(--pg-cream);
}
.pg-products .pg-overview .section-lead {
  max-width: 46ch;
}

.pg-products .pg-service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 44px;
}
.pg-products .pg-service-card {
  position: relative;
  border: 1px solid var(--pg-gold);
  border-radius: var(--radius);
  background: #fffdf6;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(6, 30, 36, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pg-products .pg-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(6, 30, 36, 0.14);
}
.pg-products .pg-service-card__icon {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
.pg-products .pg-service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.pg-products .pg-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pg-products .pg-service-card__body h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
  color: var(--pg-deep);
}
.pg-products .pg-service-card__body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--pg-slate);
  margin: 0;
}
.pg-products .pg-service-card .card__link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pg-teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}
.pg-products .pg-service-card .card__link:hover {
  border-bottom-color: var(--pg-gold);
  color: var(--pg-deep);
}

/* 下载区 */
.pg-products .pg-download {
  padding: 72px 0;
  background: var(--pg-mist);
}
.pg-products .pg-download .section-lead {
  max-width: 56ch;
}
.pg-products .pg-dl-meta {
  margin: 28px 0 20px;
  padding: 16px 20px;
  background: var(--pg-cream);
  border-left: 4px solid var(--pg-gold);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--pg-ink);
}
.pg-products .pg-dl-meta p {
  margin: 0;
}
.pg-products .pg-dl-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(6, 30, 36, 0.08);
}
.pg-products .pg-dl-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--pg-cream);
  font-family: var(--font-body);
}
.pg-products .pg-dl-table thead th {
  background: var(--pg-deep);
  color: var(--pg-cream);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 16px 20px;
  text-align: left;
  white-space: nowrap;
}
.pg-products .pg-dl-table tbody td {
  padding: 16px 20px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--pg-ink);
  vertical-align: middle;
  border-bottom: 1px solid rgba(60, 74, 78, 0.12);
}
.pg-products .pg-dl-table tbody tr:nth-child(even) {
  background: #eef0ea;
}
.pg-products .pg-dl-table tbody tr:nth-child(odd) {
  background: #faf9f2;
}
.pg-products .pg-dl-table tbody tr:hover {
  background: #f2ead0;
  transition: background 0.2s ease;
}
.pg-products .pg-dl-table tbody tr:last-child td {
  border-bottom: none;
}
.pg-products .pg-version-tag {
  display: inline-block;
  background: var(--pg-deep);
  color: var(--pg-gold);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.pg-products .pg-dl-table .button--small {
  padding: 8px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.pg-products .pg-dl-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
.pg-products .pg-dl-info-card {
  background: var(--pg-cream);
  border-radius: var(--radius);
  border: 1px solid rgba(60, 74, 78, 0.18);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pg-products .pg-dl-info-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}
.pg-products .pg-dl-info-card h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--pg-deep);
  margin: 0;
}
.pg-products .pg-dl-info-card p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--pg-slate);
  margin: 0;
}
.pg-products .pg-dl-info-card .button--ghost {
  align-self: flex-start;
  margin-top: 6px;
  border: 1px solid var(--pg-teal);
  color: var(--pg-teal);
}

/* 版本对照区 */
.pg-products .pg-compare {
  padding: 72px 0;
  background: var(--pg-deep);
  color: var(--pg-cream);
}
.pg-products .pg-compare .section-head .eyebrow {
  color: var(--pg-gold);
}
.pg-products .pg-compare .section-title,
.pg-products .pg-compare h2 {
  color: var(--pg-cream);
}
.pg-products .pg-compare .section-lead {
  color: rgba(244, 241, 230, 0.8);
}
.pg-products .pg-compare__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 44px;
  align-items: center;
}
.pg-products .pg-compare-visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.pg-products .pg-compare-details h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--pg-gold);
  margin: 0 0 18px;
}
.pg-products .pg-compare-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pg-products .pg-compare-list li {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--pg-cream);
}
.pg-products .pg-compare-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--pg-gold);
  transform: rotate(45deg);
}
.pg-products .pg-compare-list strong {
  color: var(--pg-gold);
  font-weight: 700;
}
.pg-products .pg-compare-details > p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(244, 241, 230, 0.8);
  margin: 0 0 24px;
}
.pg-products .pg-compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.pg-products .pg-compare-actions .button--primary {
  background: var(--pg-gold);
  color: var(--pg-ink);
  border: 1px solid var(--pg-gold);
}
.pg-products .pg-compare-actions .button--ghost {
  color: var(--pg-cream);
  border: 1px solid rgba(244, 241, 230, 0.4);
}

/* 迁移引导 */
.pg-products .pg-migrate {
  padding: 72px 0;
  background: var(--pg-cream);
}
.pg-products .pg-migrate .section-lead {
  max-width: 56ch;
}
.pg-products .pg-migrate__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  margin-top: 44px;
  align-items: center;
}
.pg-products .pg-step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.pg-products .pg-step-item {
  position: relative;
  padding: 0 0 24px 44px;
}
.pg-products .pg-step-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pg-deep);
  border: 2px solid var(--pg-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}
.pg-products .pg-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 34px;
  width: 2px;
  height: calc(100% - 28px);
  background: linear-gradient(to bottom, var(--pg-gold), rgba(212, 175, 55, 0.2));
}
.pg-products .pg-step-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--pg-gold);
}
.pg-products .pg-step-item h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--pg-deep);
  margin: 4px 0 6px;
}
.pg-products .pg-step-item p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--pg-slate);
  margin: 0;
}
.pg-products .pg-migrate-visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(6, 30, 36, 0.2);
}
.pg-products .pg-migrate-note {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--pg-slate);
  text-align: center;
}

/* 全宽横幅 */
.pg-products .pg-banner {
  padding: 72px 0;
  background: var(--pg-teal);
  color: var(--pg-cream);
  text-align: center;
}
.pg-products .pg-banner .eyebrow {
  color: var(--pg-gold);
}
.pg-products .pg-banner h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  color: var(--pg-cream);
  margin: 8px 0 16px;
}
.pg-products .pg-banner p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(244, 241, 230, 0.86);
  max-width: 60ch;
  margin: 0 auto 28px;
}
.pg-products .pg-banner .button--primary {
  background: var(--pg-gold);
  color: var(--pg-ink);
  border: 1px solid var(--pg-gold);
}

/* 桌面端 */
@media (min-width: 768px) {
  .pg-products .pg-hero {
    padding: 72px 0 96px;
  }
  .pg-products .pg-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 440px;
  }
  .pg-products .pg-hero__title {
    font-size: 3.2rem;
  }
  .pg-products .pg-hero__lead {
    font-size: 1.35rem;
  }
  .pg-products .pg-hero__visual {
    display: block;
    min-height: 320px;
  }
  .pg-products .pg-service-cards {
    grid-template-columns: repeat(6, 1fr);
  }
  .pg-products .pg-service-card--wide {
    grid-column: span 4;
  }
  .pg-products .pg-service-card--narrow {
    grid-column: span 2;
  }
  .pg-products .pg-service-card {
    flex-direction: column;
    gap: 24px;
    padding: 36px 32px;
  }
  .pg-products .pg-service-card--wide {
    flex-direction: row;
    align-items: flex-start;
  }
  .pg-products .pg-service-card--narrow .pg-service-card__body {
    flex: 1;
  }
  .pg-products .pg-dl-info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pg-products .pg-compare__layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  .pg-products .pg-migrate__layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

@media (min-width: 1024px) {
  .pg-products .pg-hero__inner {
    min-height: 480px;
  }
  .pg-products .pg-compare__layout {
    gap: 72px;
  }
  .pg-products .pg-migrate__layout {
    gap: 72px;
  }
}
