.page-products {
  --pd-green-glow: rgba(0, 196, 140, 0.18);
  --pd-red-glow: rgba(255, 59, 74, 0.16);
  --pd-grid-line: rgba(125, 249, 255, 0.07);
  --pd-border: rgba(230, 240, 250, 0.14);
  --pd-border-strong: rgba(230, 240, 250, 0.28);
  --pd-ink-soft: rgba(0, 27, 46, 0.72);
  --pd-phone-width: 280px;

  background: var(--c-space);
  color: var(--c-text);
  position: relative;
  overflow: clip;
}

/* ===== 面包屑 ===== */
.page-products .pd-breadcrumb {
  position: relative;
  z-index: 2;
  padding-top: 88px;
  padding-bottom: 0;
}

.page-products .pd-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-text-dim);
}

.page-products .pd-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--c-green);
}

.page-products .pd-breadcrumb a {
  color: var(--c-text);
  text-decoration: none;
  transition: color var(--transition);
}

.page-products .pd-breadcrumb a:hover {
  color: var(--c-green);
}

/* ===== Hero ===== */
.page-products .pd-hero {
  padding: 48px 0 72px;
  position: relative;
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--pd-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pd-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 35% 35%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 65% at 35% 35%, #000 25%, transparent 72%);
  pointer-events: none;
}

.page-products .pd-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-products .pd-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-cyan);
  margin: 0 0 18px;
}

.page-products .pd-kicker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 12px var(--c-red);
  animation: pd-pulse 2s ease-in-out infinite;
}

@keyframes pd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.82); }
}

.page-products .pd-hero__title {
  font-family: var(--font-head);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--c-text);
}

.page-products .pd-hero__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-text-dim);
  max-width: 34em;
  margin: 0 0 32px;
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.page-products .pd-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--pd-border);
}

.page-products .pd-hero__stat dt {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-cyan);
}

.page-products .pd-hero__stat dd {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--c-text-dim);
}

.page-products .pd-hero__visual {
  display: flex;
  justify-content: center;
}

/* ===== 手机框架 ===== */
.page-products .pd-device {
  position: relative;
  display: block;
  max-width: 100%;
  width: 100%;
  padding: 12px 12px 18px;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--pd-border-strong);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 0 44px rgba(125, 249, 255, 0.05);
}

.page-products .pd-device--hero {
  max-width: var(--pd-phone-width);
}

.page-products .pd-device--light {
  max-width: var(--pd-phone-width);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 27, 46, 0.14);
  box-shadow: 0 28px 70px rgba(0, 27, 46, 0.14);
}

.page-products .pd-device__notch {
  display: block;
  width: 90px;
  height: 6px;
  margin: 0 auto 12px;
  border-radius: 3px;
  background: rgba(230, 240, 250, 0.35);
}

.page-products .pd-device--light .pd-device__notch {
  background: rgba(0, 27, 46, 0.16);
}

.page-products .pd-device__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

/* ===== 通用章节 ===== */
.page-products .pd-section {
  padding: 72px 0;
  position: relative;
}

.page-products .pd-section--light {
  background: var(--c-light);
  color: var(--c-ink);
}

.page-products .pd-section__head {
  margin-bottom: 44px;
}

.page-products .pd-section__title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--c-text);
}

.page-products .pd-section--light .pd-section__title {
  color: var(--c-ink);
}

.page-products .pd-section__desc {
  margin: 0;
  max-width: 46em;
  line-height: 1.75;
  color: var(--c-text-dim);
  font-size: 0.95rem;
}

.page-products .pd-section--light .pd-section__desc {
  color: var(--pd-ink-soft);
}

/* ===== 等宽索引 ===== */
.page-products .pd-index {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
  margin: 0 0 18px;
}

.page-products .pd-index span {
  color: var(--c-text-dim);
  margin: 0 2px;
}

.page-products .pd-index::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--c-green);
}

.page-products .pd-section--light .pd-index {
  color: var(--c-green);
}

.page-products .pd-section--light .pd-index span {
  color: var(--pd-ink-soft);
}

/* ===== 客户端概览 ===== */
.page-products .pd-overview {
  background:
    linear-gradient(var(--pd-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pd-grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-products .pd-overview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.page-products .pd-feature {
  padding: 28px 24px;
  background: var(--c-glass);
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  transition: border-color var(--transition), background var(--transition);
}

.page-products .pd-feature:hover {
  border-color: var(--pd-border-strong);
  background: rgba(255, 255, 255, 0.12);
}

.page-products .pd-feature__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--c-cyan);
  display: block;
  margin-bottom: 12px;
}

.page-products .pd-feature__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--c-text);
}

.page-products .pd-feature__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--c-text-dim);
}

.page-products .pd-overview__link a,
.page-products .pd-version__note a {
  color: var(--c-green);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.page-products .pd-overview__link a:hover,
.page-products .pd-version__note a:hover {
  color: var(--c-cyan);
}

/* ===== iOS 历史交锋 ===== */
.page-products .pd-hth__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-products .pd-hth__list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pd-hth__list li {
  position: relative;
  padding-left: 24px;
  color: var(--pd-ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-products .pd-hth__list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-green);
}

.page-products .pd-hth__visual {
  display: flex;
  justify-content: center;
}

/* ===== 资源下载工具 ===== */
.page-products .pd-tools {
  background:
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(0, 196, 140, 0.1), transparent 70%),
    var(--c-space);
}

.page-products .pd-tools__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-products .pd-tools__visual {
  display: flex;
  justify-content: center;
}

.page-products .pd-desktop {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--pd-border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  padding: 14px 14px 0;
}

.page-products .pd-desktop__topbar {
  display: flex;
  gap: 6px;
  padding: 2px 8px 14px;
  border-bottom: 1px solid var(--pd-border);
  margin-bottom: 12px;
}

.page-products .pd-desktop__topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
  opacity: 0.75;
}

.page-products .pd-desktop__topbar span:nth-child(2) {
  background: var(--c-yellow);
}

.page-products .pd-desktop__topbar span:nth-child(3) {
  background: var(--c-green);
}

.page-products .pd-desktop__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.page-products .pd-tools__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 28px 0 24px;
}

.page-products .pd-spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pd-border);
}

.page-products .pd-spec:first-child {
  border-top: 1px solid var(--pd-border);
}

.page-products .pd-spec__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-cyan);
  flex-shrink: 0;
}

.page-products .pd-spec__value {
  font-size: 0.9rem;
  color: var(--c-text);
  text-align: right;
}

/* ===== 下载方式折叠 ===== */
.page-products .pd-download-option {
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  background: var(--c-glass);
}

.page-products .pd-download-option summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.page-products .pd-download-option summary::-webkit-details-marker {
  display: none;
}

.page-products .pd-download-option summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--c-green);
}

.page-products .pd-download-option[open] summary::after {
  content: "−";
}

.page-products .pd-download-option__list {
  margin: 0;
  padding: 0 20px 18px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-products .pd-download-option__list li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--c-text-dim);
  padding-left: 16px;
  position: relative;
}

.page-products .pd-download-option__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--c-green);
  font-weight: 700;
}

.page-products .pd-download-option__list strong {
  color: var(--c-text);
}

/* ===== 版本演进 ===== */
.page-products .pd-version__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.page-products .pd-version__frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 27, 46, 0.1);
  box-shadow: 0 20px 60px rgba(0, 27, 46, 0.16);
}

.page-products .pd-version__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .pd-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-products .pd-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--c-green) 0 10px,
    transparent 10px 18px
  );
  opacity: 0.55;
}

.page-products .pd-timeline__item {
  position: relative;
  padding: 0 0 44px 36px;
}

.page-products .pd-timeline__item:last-child {
  padding-bottom: 0;
}

.page-products .pd-timeline__item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-light);
  border: 3px solid var(--c-green);
  box-shadow: 0 0 0 2px rgba(0, 196, 140, 0.2);
}

.page-products .pd-timeline__year {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-green);
  display: block;
  margin-bottom: 4px;
}

.page-products .pd-timeline__title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--c-ink);
}

.page-products .pd-timeline__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--pd-ink-soft);
}

.page-products .pd-version__note {
  margin: 40px 0 0;
}

/* ===== 会员权益 ===== */
.page-products .pd-membership {
  background:
    radial-gradient(ellipse 60% 45% at 15% 30%, rgba(255, 59, 74, 0.08), transparent 70%),
    radial-gradient(ellipse 55% 40% at 90% 70%, rgba(0, 196, 140, 0.08), transparent 70%),
    var(--c-space);
}

.page-products .pd-membership__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-products .pd-membership__list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
}

.page-products .pd-membership__list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--pd-border);
}

.page-products .pd-membership__list li:first-child {
  border-top: 1px solid var(--pd-border);
}

.page-products .pd-membership__mark {
  color: var(--c-yellow);
  font-size: 1.2rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.page-products .pd-membership__list h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--c-text);
}

.page-products .pd-membership__list p {
  margin: 0;
  color: var(--c-text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}

.page-products .pd-membership__visual {
  display: flex;
  justify-content: center;
}

.page-products .pd-badge-frame {
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 179, 0, 0.08), rgba(255, 59, 74, 0.05));
  border: 1px solid var(--pd-border-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.page-products .pd-badge-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

/* ===== 帮助与支持 ===== */
.page-products .pd-support__inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-products .pd-faq {
  margin-top: 40px;
  border-top: 1px solid var(--pd-border);
}

.page-products .pd-faq__item {
  border-bottom: 1px solid var(--pd-border);
}

.page-products .pd-faq__item summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.page-products .pd-faq__item summary::-webkit-details-marker {
  display: none;
}

.page-products .pd-faq__item summary:hover {
  color: var(--c-cyan);
}

.page-products .pd-faq__item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--c-green);
  flex-shrink: 0;
}

.page-products .pd-faq__item[open] summary::after {
  content: "−";
}

.page-products .pd-faq__item p {
  margin: 0 0 20px;
  color: var(--c-text-dim);
  line-height: 1.75;
  font-size: 0.92rem;
  max-width: 44em;
}

.page-products .pd-faq__item p a {
  color: var(--c-green);
  text-decoration: none;
}

.page-products .pd-faq__item p a:hover {
  text-decoration: underline;
}

.page-products .pd-support__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 720px) {
  .page-products .pd-overview__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-products .pd-tools__specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 28px;
  }

  .page-products .pd-spec {
    border-top: 1px solid var(--pd-border);
  }
}

@media (min-width: 1024px) {
  .page-products .pd-hero {
    padding: 72px 0 108px;
  }

  .page-products .pd-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

  .page-products .pd-hero__copy {
    padding-right: 20px;
  }

  .page-products .pd-section {
    padding: 96px 0;
  }

  .page-products .pd-overview__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page-products .pd-hth__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .page-products .pd-tools__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .page-products .pd-version__layout {
    grid-template-columns: 1fr 0.8fr;
    gap: 72px;
  }

  .page-products .pd-membership__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .page-products .pd-hero__title {
    line-height: 1.18;
  }

  .page-products .pd-hero__stats {
    gap: 28px 56px;
  }
}

@media (min-width: 1440px) {
  .page-products .pd-hero__inner {
    gap: 88px;
  }

  .page-products .pd-hth__grid,
  .page-products .pd-tools__grid,
  .page-products .pd-membership__grid {
    gap: 96px;
  }
}
