.page-products {
  --products-gold-glow: rgba(201, 162, 39, 0.12);
  --products-orange-line: rgba(255, 107, 74, 0.55);
  --products-grid-gap: 20px;
  position: relative;
}

.page-products .container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

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

.page-products .section--alt {
  background:
    linear-gradient(120deg, rgba(18, 33, 66, 0.72) 0%, rgba(10, 20, 40, 0.92) 70%),
    radial-gradient(circle at 85% 20%, var(--products-gold-glow) 0%, transparent 42%);
  border-block: 1px solid var(--border-fine);
}

.page-products .section-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.page-products .section-kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.page-products .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.04;
  margin: 0;
  max-width: 760px;
}

.page-products .section-index {
  position: absolute;
  top: -14px;
  right: 0;
  font-family: var(--font-mono);
  font-size: clamp(3.8rem, 10vw, 6.4rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 162, 39, 0.28);
  pointer-events: none;
  z-index: 0;
}

.page-products .breadcrumb {
  margin-block: 18px 32px;
}

.page-products .breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.page-products .breadcrumb a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-products .breadcrumb a:hover {
  border-color: var(--gold-bright);
}

/* ===== Hero ===== */
.products-hero {
  position: relative;
  padding-block: 10px 56px;
  overflow: hidden;
}

.products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(27, 47, 88, 0.35) 52%, transparent 100%);
  clip-path: polygon(38% 0, 100% 0, 92% 100%, 28% 100%);
  z-index: 0;
  pointer-events: none;
}

.products-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.products-hero__content {
  max-width: 720px;
  padding-top: 18px;
}

.products-hero__kicker {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.products-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  line-height: 1.06;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

.products-hero__lead {
  color: var(--text-secondary);
  font-size: 1.06rem;
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 620px;
}

.products-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.products-hero__visual {
  position: relative;
  border-radius: 14px;
}

.products-hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-fine);
  box-shadow: var(--shadow-soft);
}

.products-hero__glow {
  position: absolute;
  bottom: -24px;
  right: -10px;
  width: 55%;
  height: 42px;
  background: linear-gradient(90deg, transparent, var(--products-orange-line));
  filter: blur(26px);
  opacity: 0.6;
  border-radius: 999px;
  pointer-events: none;
}

/* ===== Scenes ===== */
.scenes-section {
  position: relative;
}

.scenes-intro {
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.scenes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--products-grid-gap);
}

.scene-card {
  --card-bg: rgba(18, 33, 66, 0.72);
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-fine);
  border-radius: 14px;
  padding: 22px 20px 20px;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
  overflow: hidden;
}

.scene-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 180, 212, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.scene-card:hover {
  border-color: rgba(201, 162, 39, 0.46);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.scene-card--offset {
  margin-top: 0;
}

.scene-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.scene-card__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.scene-card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-bright);
  letter-spacing: 0.12em;
}

.scene-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.scene-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 14px;
}

.scene-card__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.scene-card__list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.9;
}

.scene-card__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
}

.scene-card__list a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 199, 97, 0.32);
  transition: border-color 0.2s ease;
}

.scene-card__list a:hover {
  border-color: var(--gold-bright);
}

.scene-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Guide ===== */
.guide-section {
  position: relative;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.guide-main {
  position: relative;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 6px 14px;
  border: 1px solid rgba(201, 162, 39, 0.42);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-bright);
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}

.guide-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(228, 199, 97, 0.7);
}

.guide-lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 640px;
}

.guide-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.guide-features article {
  border: 1px solid var(--border-fine);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(10, 20, 40, 0.55);
}

.guide-features h3 {
  font-size: 1.02rem;
  margin: 0 0 6px;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.guide-features p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.guide-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.guide-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-fine);
  box-shadow: var(--shadow-soft);
}

.guide-visual__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(10, 20, 40, 0.82);
  border: 1px solid var(--border-fine);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(4px);
}

.guide-visual__caption span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-visual__caption strong {
  font-size: 0.88rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

/* ===== Entry Index ===== */
.index-section {
  position: relative;
}

.index-intro {
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.7;
  margin: 0 0 26px;
}

.index-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.index-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-fine);
  border-radius: 12px;
  background: rgba(18, 33, 66, 0.5);
}

.index-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.index-table th,
.index-table td {
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.index-table th {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(10, 20, 40, 0.6);
  position: sticky;
  top: 0;
}

.index-table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

.index-table td:nth-child(2) {
  color: var(--cyan);
}

.index-table td:last-child {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.index-table tbody tr {
  transition: background 0.18s ease;
}

.index-table tbody tr:hover {
  background: rgba(62, 180, 212, 0.12);
}

.index-table tbody tr:last-child td {
  border-bottom: none;
}

.index-aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border: 1px solid var(--border-fine);
  border-radius: 14px;
  padding: 16px;
  background: rgba(18, 33, 66, 0.5);
}

.index-aside img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.index-aside p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

/* ===== Version Compare ===== */
.version-section {
  position: relative;
  overflow: hidden;
}

.version-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(62, 180, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.version-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.version-copy {
  position: relative;
}

.version-lead {
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 620px;
}

.version-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.version-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border-fine);
  border-radius: 10px;
  background: rgba(18, 33, 66, 0.6);
  transition: border-color 0.24s ease;
}

.version-steps li:hover {
  border-color: rgba(201, 162, 39, 0.4);
}

.version-steps span {
  flex: 0 0 auto;
  width: 72px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 3px;
}

.version-steps strong {
  display: block;
  font-size: 0.96rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.version-steps li::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  border: 1px solid rgba(62, 180, 212, 0.4);
  border-radius: 5px;
  padding: 3px 7px;
  line-height: 1.2;
  flex: 0 0 auto;
}

.version-steps li > div {
  display: grid;
  gap: 2px;
}

.version-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.version-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-fine);
  box-shadow: var(--shadow-soft);
}

.version-note {
  margin-top: 32px;
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  background: rgba(201, 162, 39, 0.07);
  border-radius: 0 10px 10px 0;
}

.version-note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== Safety ===== */
.safety-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  border: 1px solid var(--border-fine);
  border-radius: 16px;
  padding: 28px 24px;
  background:
    linear-gradient(135deg, rgba(18, 33, 66, 0.85) 0%, rgba(10, 20, 40, 0.92) 100%);
  box-shadow: var(--shadow-soft);
}

.safety-text h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.safety-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: 540px;
}

.safety-text ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.safety-text ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.safety-text ul li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.68rem;
  top: 4px;
}

.safety-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-fine);
}

/* ===== 按钮共享样式 ===== */
.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.page-products .btn--primary {
  background: var(--action);
  color: #fff;
}

.page-products .btn--primary:hover {
  box-shadow: 0 6px 22px rgba(255, 107, 74, 0.3);
  transform: translateY(-2px);
}

.page-products .btn--ghost {
  border-color: var(--border-fine);
  background: transparent;
  color: var(--text-primary);
}

.page-products .btn--ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.page-products .btn--gold {
  background: var(--gold);
  color: #0A1428;
}

.page-products .btn--gold:hover {
  box-shadow: 0 6px 22px rgba(201, 162, 39, 0.3);
  transform: translateY(-2px);
}

.page-products .chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(62, 180, 212, 0.35);
  background: rgba(62, 180, 212, 0.08);
  color: var(--cyan);
}

.page-products .chip--gold {
  border-color: rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-bright);
}

.page-products .chip--orange {
  border-color: rgba(255, 107, 74, 0.4);
  background: rgba(255, 107, 74, 0.1);
  color: #ff8d74;
}

/* ===== 桌面端媒体查询 ===== */
@media (min-width: 768px) {
  .page-products .section {
    padding-block: 88px 104px;
  }

  .page-products .section-head {
    margin-bottom: 32px;
  }

  .products-hero__grid {
    grid-template-columns: 5fr 6fr;
    gap: 48px;
    align-items: center;
  }

  .products-hero__content {
    padding-top: 30px;
  }

  .scenes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .scene-card--offset {
    margin-top: 26px;
  }

  .guide-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
  }

  .guide-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .guide-features article {
    padding: 18px 16px;
  }

  .index-layout {
    grid-template-columns: 1.4fr 0.6fr;
    gap: 32px;
  }

  .index-aside {
    margin-top: 0;
  }

  .version-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
  }

  .safety-card {
    grid-template-columns: 1fr 0.8fr;
    gap: 32px;
    align-items: center;
    padding: 36px 40px;
  }
}

@media (min-width: 1025px) {
  .page-products .scenes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .scene-card--offset {
    margin-top: 36px;
  }

  .guide-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .index-table th,
  .index-table td {
    padding: 13px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition: none !important;
    animation: none !important;
  }
}
