/* ==========================================================================
   page-products · 解决方案
   彩娱乐大陆版测试中心产品线v4.2｜功能解析与版本对比
   作用域限定在 .page-products 内
   ========================================================================== */

.page-products {
  --product-line: 1px solid rgba(212, 175, 55, 0.22);
  --product-line-soft: 1px solid rgba(107, 79, 160, 0.3);
  --product-plum: rgba(59, 29, 94, 0.72);
  --product-gold-deep: #B8860B;
  overflow-x: hidden;
}

.page-products img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumbs {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--neutral-400);
}

.page-products .breadcrumbs a {
  color: var(--neutral-400);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.page-products .breadcrumbs a:hover {
  color: var(--gold-400);
}

.page-products .breadcrumbs__sep {
  margin: 0 0.5rem;
  opacity: 0.55;
}

/* ---------- Hero ---------- */
.page-products .product-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(107, 79, 160, 0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(212, 175, 55, 0.14) 0%, transparent 45%),
    linear-gradient(165deg, #1A0B2E 0%, #0C0712 78%);
}

.page-products .product-hero::after {
  content: "LTC";
  position: absolute;
  right: -0.05em;
  bottom: -0.2em;
  z-index: 0;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(7rem, 20vw, 18rem);
  line-height: 1;
  color: rgba(212, 175, 55, 0.045);
  pointer-events: none;
  letter-spacing: 0.02em;
}

.page-products .product-hero__inner {
  position: relative;
  z-index: 2;
}

.page-products .product-hero__title {
  margin: 1rem 0 0.5rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 14em;
}

.page-products .product-hero__version {
  display: inline-block;
  color: var(--gold-400);
  margin-left: 0.12em;
}

.page-products .product-hero__subtitle {
  font-family: var(--font-headline);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  letter-spacing: 0.32em;
  color: var(--gold-400);
  margin: 0 0 1.75rem;
}

.page-products .product-hero__lead {
  margin: 0 0 2rem;
  max-width: 64ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--neutral-400);
}

.page-products .product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-products .product-hero__meta-item {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  border: var(--product-line);
  border-radius: 999px;
  background: rgba(26, 11, 46, 0.72);
  color: var(--neutral-100);
}

/* ---------- 产品线总览 ---------- */
.page-products .product-overview {
  position: relative;
}

.page-products .product-overview::before {
  content: "v4.2";
  position: absolute;
  top: 0.4em;
  right: -0.1em;
  z-index: 0;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(6rem, 15vw, 13rem);
  line-height: 1;
  color: rgba(212, 175, 55, 0.035);
  pointer-events: none;
}

.page-products .product-overview__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

.page-products .product-overview__intro {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-low);
}

.page-products .product-overview__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.4rem;
  border: var(--product-line);
  background: rgba(26, 11, 46, 0.3);
}

.page-products .product-overview__item {
  display: grid;
  gap: 0.3rem;
  padding: 1.3rem 0;
  border-bottom: var(--product-line-soft);
}

.page-products .product-overview__item:last-child {
  border-bottom: none;
}

.page-products .product-overview__item strong {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  color: var(--gold-400);
}

.page-products .product-overview__item span {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-low);
}

.page-products .product-overview__figure {
  position: relative;
  margin: 0;
  padding: 0.75rem;
  background: rgba(26, 11, 46, 0.5);
  border: var(--product-line);
}

.page-products .product-overview__figure::after {
  content: "LTC";
  position: absolute;
  top: -0.65rem;
  right: 1.5rem;
  padding: 0 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  background: #0C0712;
}

/* ---------- v4.2 新特性 ---------- */
.page-products .product-features {
  background: linear-gradient(180deg, rgba(26, 11, 46, 0.55) 0%, rgba(12, 7, 18, 0) 100%);
}

.page-products .product-features__lead {
  max-width: 68ch;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--neutral-100);
}

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

.page-products .product-features__card {
  position: relative;
  padding: 1.9rem 1.6rem;
  background: linear-gradient(135deg, rgba(59, 29, 94, 0.82) 0%, rgba(26, 11, 46, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .product-features__card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, rgba(75, 36, 120, 0.9) 0%, rgba(32, 14, 56, 0.96) 100%);
  transform: translateY(-2px);
}

.page-products .product-features__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-headline);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold-400);
  opacity: 0.88;
}

.page-products .product-features__card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-headline);
  font-size: 1.12rem;
  color: var(--neutral-100);
}

.page-products .product-features__card p {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.78;
  color: var(--text-low);
}

.page-products .product-features__figure {
  margin: 2.5rem auto 0;
  max-width: 800px;
  padding: 0.5rem;
  background: rgba(26, 11, 46, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ---------- 版本对比 ---------- */
.page-products .product-compare__decor {
  margin: 0 0 2rem;
  padding: 0.4rem;
  background: rgba(26, 11, 46, 0.35);
  border: var(--product-line);
}

.page-products .product-compare__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(12, 7, 18, 0.45);
  border: var(--product-line);
}

.page-products .product-compare__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.page-products .product-compare__table caption {
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-low);
  border-bottom: var(--product-line);
}

.page-products .product-compare__table th,
.page-products .product-compare__table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(107, 79, 160, 0.18);
}

.page-products .product-compare__table thead th {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  background: rgba(26, 11, 46, 0.65);
  color: var(--text-high);
}

.page-products .product-compare__table thead th.is-new {
  color: var(--gold-400);
}

.page-products .product-compare__table thead th.is-old {
  color: var(--neutral-400);
}

.page-products .product-compare__table tbody th {
  white-space: nowrap;
  color: var(--neutral-100);
  font-weight: 600;
}

.page-products .product-compare__table .is-old {
  background: rgba(176, 168, 160, 0.04);
  color: var(--neutral-400);
}

.page-products .product-compare__table .is-new {
  border-left: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.05);
  color: var(--neutral-100);
}

.page-products .product-compare__table tbody tr {
  transition: background 0.2s var(--ease);
}

.page-products .product-compare__table tbody tr:hover {
  background: rgba(212, 175, 55, 0.045);
}

.page-products .product-compare__table tbody tr:last-child th,
.page-products .product-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.page-products .product-compare__note {
  margin-top: 1.4rem;
  font-size: 0.875rem;
  color: var(--text-low);
}

/* ---------- 下载与使用方式 ---------- */
.page-products .product-access {
  background: linear-gradient(180deg, rgba(12, 7, 18, 0) 0%, rgba(26, 11, 46, 0.5) 100%);
}

.page-products .product-access__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.page-products .product-access__card {
  padding: 2rem 1.5rem;
  background: rgba(26, 11, 46, 0.72);
  border: var(--product-line);
  border-top-width: 2px;
}

.page-products .product-access__card--desktop {
  border-top-color: var(--neutral-400);
}

.page-products .product-access__card--mobile {
  border-top-color: var(--gold-400);
}

.page-products .product-access__card-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-headline);
  font-size: 1.3rem;
  color: var(--neutral-100);
}

.page-products .product-access__card-text {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-low);
}

.page-products .product-access__figure {
  position: relative;
  margin: 0 auto 3rem;
  max-width: 480px;
  padding: 0.75rem;
  background: rgba(26, 11, 46, 0.5);
  border: var(--product-line);
}

.page-products .product-access__figure::after {
  content: "";
  position: absolute;
  right: -0.8rem;
  bottom: -0.8rem;
  width: 2.6rem;
  height: 2.6rem;
  border-right: 1px solid rgba(212, 175, 55, 0.65);
  border-bottom: 1px solid rgba(212, 175, 55, 0.65);
}

/* ---------- 查询功能演示 ---------- */
.page-products .product-access__query {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem;
  background: rgba(59, 29, 94, 0.16);
  border: var(--product-line);
}

.page-products .product-access__query-text h3 {
  margin: 0 0 1rem;
  font-family: var(--font-headline);
  font-size: 1.35rem;
  color: var(--gold-400);
}

.page-products .product-access__query-text p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-low);
}

.page-products .product-access__query-text a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease);
}

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

.page-products .product-access__query-figure {
  margin: 0;
  padding: 0.4rem;
  background: rgba(26, 11, 46, 0.5);
  border: var(--product-line-soft);
}

/* ---------- 桌面端增强 ---------- */
@media (min-width: 700px) {
  .page-products .product-overview__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.75rem;
  }

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

  .page-products .product-features__card:nth-child(even) {
    margin-top: 1rem;
  }

  .page-products .product-access__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .product-access__query {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .page-products .product-features__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .page-products .product-features__card:nth-child(3n+2) {
    margin-top: 1.75rem;
  }

  .page-products .product-features__card:nth-child(3n+3) {
    margin-top: 3.5rem;
  }

  .page-products .product-features__card:hover {
    transform: translateY(-4px);
  }

  .page-products .product-compare__table th,
  .page-products .product-compare__table td {
    padding: 1.2rem 1.5rem;
  }

  .page-products .product-access__query {
    padding: 2.25rem;
  }
}
