/* ===== 平台服务 (page-products) 专属样式 ===== */
.page-products {
  --pg-clr-water: #00B4D8;
  --pg-clr-glow: rgba(0, 180, 216, 0.08);
  --pg-clr-card-hover: rgba(0, 119, 182, 0.03);
  --pg-clr-divider: rgba(43, 45, 66, 0.06);
}

.page-products__wrapper {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* 面包屑调整 */
.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--clr-text-light);
}
.breadcrumb a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: var(--clr-primary-dark);
}
.breadcrumb span {
  margin: 0 0.35rem;
}

/* Hero */
.page-products__hero {
  margin-bottom: 3rem;
}
.page-products__hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--clr-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.page-products__hero-dot {
  color: var(--clr-accent);
  display: inline-block;
  margin-left: 0.05em;
}
.page-products__hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--clr-text-light);
  max-width: 640px;
  line-height: 1.6;
}

/* 网格卡片 */
.page-products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-products__card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}
.page-products__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  background: var(--pg-clr-card-hover);
}

.page-products__card-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--clr-cream);
}
.page-products__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.page-products__card:hover .page-products__card-img {
  transform: scale(1.03);
}

.page-products__card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-products__card .tag {
  align-self: flex-start;
  margin-bottom: 0.5rem;
}
.page-products__card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--clr-deep);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.page-products__card-summary {
  font-family: var(--font-body);
  color: var(--clr-text-light);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  flex: 1;
}

/* 可展开详情 */
.page-products__card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  opacity: 0;
  margin-top: 0;
}
.page-products__card-detail p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--clr-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.page-products__card-detail .btn {
  margin-bottom: 0.5rem;
}

.page-products__card[data-expandable][data-open] .page-products__card-detail {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.75rem;
}
.page-products__card[data-expandable][data-open] .page-products__card-toggle {
  display: none;
}

.page-products__card-toggle {
  align-self: flex-start;
  cursor: pointer;
  margin-top: auto;
  transition: background var(--transition), color var(--transition);
}
.page-products__card-toggle:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}

/* 下载区 */
.page-products__download {
  position: relative;
}
.page-products__download::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pg-clr-glow) 0%, transparent 70%);
  pointer-events: none;
  border-radius: var(--radius-md);
}
.page-products__download-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  background: var(--clr-cream);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--clr-border);
  position: relative;
  z-index: 1;
}
.page-products__download-text {
  text-align: center;
}
.page-products__download-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--clr-primary-dark);
  margin-bottom: 0.6rem;
  line-height: 1.1;
}
.page-products__download-desc {
  font-family: var(--font-body);
  color: var(--clr-text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.page-products__btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.page-products__btn-icon {
  display: inline-block;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.page-products__btn-download:hover .page-products__btn-icon {
  transform: translateY(2px);
}
.page-products__download-note {
  margin-top: 1rem;
  color: var(--clr-text-light);
  opacity: 0.8;
}

.page-products__download-visual {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.page-products__download-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 会员中心模块 */
.page-products__members-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.page-products__members-visual {
  width: 100%;
  max-width: 700px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}
.page-products__members-img {
  width: 100%;
  height: auto;
  display: block;
}
.page-products__members-text {
  max-width: 600px;
}
.page-products__members-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.page-products__members-desc {
  font-family: var(--font-body);
  color: var(--clr-text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.page-products__members-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}
.page-products__members-features li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-deep);
  position: relative;
  padding-left: 1.3rem;
}
.page-products__members-features li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* 支持引导 */
.page-products__support-inner {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px dashed var(--clr-border);
}
.page-products__support-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clr-primary-dark);
  margin-bottom: 0.5rem;
}
.page-products__support-desc {
  font-family: var(--font-body);
  color: var(--clr-text-light);
  margin-bottom: 1.5rem;
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-products__download-inner {
    flex-direction: row;
    text-align: left;
    padding: 2.5rem 3rem;
  }
  .page-products__download-text {
    text-align: left;
    flex: 1;
  }
  .page-products__download-desc {
    margin-left: 0;
    margin-right: 0;
  }
  .page-products__download-visual {
    width: 280px;
    flex-shrink: 0;
  }
  .page-products__members-inner {
    flex-direction: row;
    gap: 3rem;
  }
  .page-products__members-visual {
    flex: 0 0 55%;
  }
  .page-products__members-text {
    flex: 1;
  }
}

@media (min-width: 960px) {
  .page-products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-products__hero-desc {
    font-size: 1.15rem;
  }
  .page-products__download-inner {
    padding: 3rem 4rem;
  }
  .page-products__download-visual {
    width: 340px;
  }
}

@media (min-width: 1200px) {
  .page-products__wrapper {
    padding-top: 3rem;
  }
  .page-products__hero-title {
    font-size: 4rem;
  }
}
