/* ============================================
   MANBET 产品中心 / 页面专属样式
   作用域：.page-products
   ============================================ */
.page-products {
  --products-hero-blue: #0A2540;
  --products-panel-pad: 24px;
}

/* ---------- Hero 分屏首屏 ---------- */
.page-products .product-hero {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 44px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-products .product-hero::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 64px solid rgba(245, 183, 0, 0.1);
  bottom: -180px;
  right: -140px;
  pointer-events: none;
}

.page-products .product-hero::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.4) 0%, transparent 70%);
  top: 40px;
  right: 26%;
  pointer-events: none;
}

.page-products .product-crumb {
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
}

.page-products .product-crumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-products .product-crumb a:hover {
  color: var(--color-gold);
}

.page-products .product-crumb__sep {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.4);
}

.page-products .product-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  position: relative;
  z-index: 1;
}

.page-products .product-hero__title h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.16;
  font-weight: 800;
  margin: 14px 0 20px;
  letter-spacing: -0.02em;
}

.page-products .product-hero__lead {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 54ch;
  margin: 0 0 28px;
}

.page-products .product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .product-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-gold);
  color: var(--color-black);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
}

.page-products .product-hero__meta span:not(.product-version-badge) {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.page-products .product-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 0 20px;
}

.page-products .product-hero__circle {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 2px dashed rgba(245, 183, 0, 0.5);
  border-radius: 50%;
  animation: products-rotate 36s linear infinite;
}

@keyframes products-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes products-version-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-products .product-hero__version {
  font-family: var(--font-heading);
  font-size: clamp(88px, 18vw, 156px);
  font-weight: 900;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: -0.05em;
  position: relative;
  animation: products-version-rise 0.9s ease both;
}

.page-products .product-hero__dot {
  color: var(--color-gold);
}

.page-products .product-hero__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-top: 16px;
}

/* ---------- 区块通用标题 ---------- */
.page-products .section-head {
  margin-bottom: 32px;
}

.page-products .section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 8px;
  letter-spacing: -0.01em;
}

.page-products .section-head p {
  color: var(--color-gray-dark);
  max-width: 68ch;
  line-height: 1.75;
  margin: 0;
}

.page-products .section-head--light h2 {
  color: var(--color-white);
}

.page-products .section-head--light p {
  color: rgba(255, 255, 255, 0.75);
}

.page-products .section--soft {
  background: var(--color-gray-light);
}

.page-products .section-label--gold {
  color: var(--color-gold);
  border-color: rgba(245, 183, 0, 0.6);
}

/* ---------- 产品总览 Bento ---------- */
.page-products .product-overview {
  margin-top: 40px;
  align-items: stretch;
}

.page-products .product-overview__featured {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-gray-mid);
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 360px;
}

.page-products .product-overview__featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.16);
}

.page-products .product-overview__featured-img {
  min-height: 260px;
  max-height: 420px;
}

.page-products .product-overview__featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .product-overview__featured-body {
  padding: 28px 28px 36px;
}

.page-products .product-overview__featured-body h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0 8px;
}

.page-products .product-overview__featured-body p {
  color: var(--color-gray-dark);
  line-height: 1.75;
  margin: 0;
}

.page-products .product-overview__side {
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.page-products .product-overview__side:hover {
  background: #0e3050;
}

.page-products .product-overview__side::after {
  content: "9.3";
  position: absolute;
  right: -14px;
  bottom: -22px;
  font-size: 96px;
  font-weight: 900;
  color: rgba(245, 183, 0, 0.14);
  line-height: 1;
  pointer-events: none;
}

.page-products .product-overview__side h3 {
  font-size: 20px;
  margin: 12px 0 16px;
  color: var(--color-white);
}

.page-products .product-overview__side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-products .product-overview__side li {
  padding-left: 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
}

.page-products .product-overview__side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--color-gold);
}

.page-products .product-overview__card {
  background: var(--color-gray-light);
  border-radius: 16px;
  padding: 26px 24px;
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-products .product-overview__card:hover {
  border-top-color: var(--color-gold);
  background: var(--color-white);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(10, 37, 64, 0.1);
}

.page-products .product-overview__card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 14px 0 10px;
}

.page-products .product-overview__card p {
  color: var(--color-gray-dark);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.page-products .product-overview__card--gold {
  background: linear-gradient(135deg, #111111 0%, #0A2540 100%);
  color: var(--color-white);
  border-top-color: var(--color-gold);
}

.page-products .product-overview__card--gold h3 {
  color: var(--color-white);
}

.page-products .product-overview__card--gold p {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- 版本对照 ---------- */
.page-products .version-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-products .version-compare__table {
  background: var(--color-white);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
  overflow-x: auto;
}

.page-products .version-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 460px;
}

.page-products .version-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 12px;
  border-bottom: 2px solid var(--color-blue);
  white-space: nowrap;
}

.page-products .version-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-gray-mid);
  line-height: 1.6;
  transition: background-color 0.2s ease;
}

.page-products .version-table tr:hover td {
  background: rgba(245, 183, 0, 0.09);
}

.page-products .version-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.page-products .version-compare__note {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(10, 37, 64, 0.04);
  border-left: 3px solid var(--color-gold);
  font-size: 13px;
  color: var(--color-gray-dark);
  line-height: 1.7;
}

.page-products .version-compare__figure figcaption,
.page-products .sysreq__figure figcaption,
.page-products .access-visual__item figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-gray-dark);
  line-height: 1.6;
  padding-left: 14px;
  border-left: 2px solid var(--color-gold);
}

/* ---------- 系统要求（深色区块） ---------- */
.page-products .product-sysreq {
  background: var(--color-black);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-products .product-sysreq::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(245, 183, 0, 0.2);
  border-radius: 50%;
  top: -120px;
  left: -100px;
  pointer-events: none;
}

.page-products .sysreq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-products .sysreq__table-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px;
  overflow-x: auto;
}

.page-products .sysreq-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.page-products .sysreq-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 12px 10px;
  border-bottom: 1px solid rgba(245, 183, 0, 0.4);
  white-space: nowrap;
}

.page-products .sysreq-table td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
  line-height: 1.6;
  transition: background-color 0.2s ease;
}

.page-products .sysreq-table tr:hover td {
  background: rgba(245, 183, 0, 0.08);
}

.page-products .sysreq-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-white);
}

.page-products .sysreq-table td:nth-child(2) {
  color: var(--color-gold);
  font-weight: 500;
}

.page-products .sysreq__figure figcaption {
  color: rgba(255, 255, 255, 0.65);
}

.page-products .sysreq__figure figcaption::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--color-red);
  vertical-align: middle;
}

/* ---------- 下载与访问方式 ---------- */
.page-products .access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.page-products .access-steps {
  display: grid;
  gap: 20px;
}

.page-products .access-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.page-products .access-step__num {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.page-products .access-step:hover .access-step__num {
  background: var(--color-gold);
  color: var(--color-black);
}

.page-products .access-step__body {
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--color-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.page-products .access-step__body:hover {
  border-color: var(--color-blue);
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.09);
  transform: translateY(-2px);
}

.page-products .access-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-products .access-step p {
  font-size: 14px;
  color: var(--color-gray-dark);
  line-height: 1.75;
  margin: 0;
}

.page-products .access-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-content: start;
}

.page-products .access-visual__item {
  margin: 0;
}

/* ---------- 版本历史 ---------- */
.page-products .history-line {
  position: relative;
  display: grid;
  gap: 28px;
  padding-left: 26px;
  margin-top: 36px;
}

.page-products .history-line::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold) 0%, var(--color-blue) 100%);
}

.page-products .history-line__item {
  position: relative;
}

.page-products .history-line__marker {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-blue);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.page-products .history-line__item--current .history-line__marker {
  background: var(--color-gold);
  border-color: var(--color-blue);
  box-shadow: 0 0 0 5px rgba(245, 183, 0, 0.28);
}

.page-products .history-line__version {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.page-products .history-line__card {
  padding: 20px 22px;
  border-radius: 10px;
  font-size: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-products .history-line__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 37, 64, 0.12);
}

.page-products .history-line__card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-products .history-line__card p {
  margin: 0;
  color: var(--color-gray-dark);
  line-height: 1.75;
}

/* ---------- 底部引导 CTA ---------- */
.page-products .product-cta {
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: 20px;
  padding: 40px 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  position: relative;
  overflow: hidden;
}

.page-products .product-cta::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(245, 183, 0, 0.3);
  pointer-events: none;
}

.page-products .product-cta::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-products .product-cta__text,
.page-products .product-cta__links {
  position: relative;
  z-index: 1;
}

.page-products .product-cta__text h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0 10px;
}

.page-products .product-cta__text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  max-width: 56ch;
  margin: 0;
}

.page-products .product-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-products .product-cta__links {
  background: var(--color-white);
  border-radius: 16px;
  padding: 26px 24px;
  display: grid;
  gap: 12px;
}

.page-products .product-cta__links h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.page-products .product-cta__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .product-cta__links li {
  border-bottom: 1px solid var(--color-gray-mid);
}

.page-products .product-cta__links a {
  color: var(--color-blue);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.page-products .product-cta__links a::before {
  content: "→";
  color: var(--color-gold);
  font-weight: 700;
  transition: color 0.25s ease;
}

.page-products .product-cta__links a:hover {
  color: var(--color-red);
  padding-left: 6px;
}

.page-products .product-cta__links a:hover::before {
  color: var(--color-red);
}

/* ---------- 中屏增强（≥700px） ---------- */
@media (min-width: 700px) {
  .page-products .product-hero__version {
    font-size: 148px;
  }

  .page-products .access-visual {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .product-overview__featured-img {
    min-height: 320px;
  }
}

/* ---------- 桌面布局（≥960px） ---------- */
@media (min-width: 960px) {
  .page-products .product-hero {
    padding: 52px 0 80px;
  }

  .page-products .product-hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 32px;
    min-height: 420px;
  }

  .page-products .product-hero__visual {
    padding: 0;
  }

  .page-products .version-compare {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .page-products .sysreq {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
  }

  .page-products .access-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .page-products .access-visual {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* 版本历史转为横向时间线 */
  .page-products .history-line {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-left: 0;
  }

  .page-products .history-line::before {
    left: 0;
    right: 0;
    top: 6px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(to right, var(--color-gold) 0%, var(--color-blue) 100%);
  }

  .page-products .history-line__item {
    padding-top: 28px;
  }

  .page-products .history-line__marker {
    left: 0;
    top: 0;
  }

  .page-products .history-line__version {
    margin-bottom: 10px;
  }

  .page-products .product-cta {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 48px;
  }
}
