.page-products {
  --pd-accent: #F5C518;
  --pd-orange: #FF7A1A;
  --pd-bg: #0B2B1F;
  --pd-panel: #123D2D;
  --pd-dark: #071E16;
  --pd-line: #1E4B3B;
  --pd-white: #F2F8F4;
  --pd-sub: #A8C3B5;
  --pd-mute: #7CA08E;
  --pd-success: #2AB673;
  --pd-font-head: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --pd-font-body: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --pd-font-data: 'Roboto Mono', 'SFMono', 'Cascadia Code', monospace;
  --pd-cut: 8px;
  --pd-space: 80px;
}

.page-products {
  color: var(--pd-white);
  background: var(--pd-bg);
  position: relative;
  overflow: hidden;
}

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

.pd-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.pd-hero__content {
  position: relative;
  z-index: 2;
}

.crumb {
  font-family: var(--pd-font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--pd-mute);
  margin-bottom: 28px;
}

.crumb__link {
  color: var(--pd-sub);
  text-decoration: none;
  transition: color 150ms cubic-bezier(.2,.7,.3,1);
}

.crumb__link:hover {
  color: var(--pd-accent);
}

.crumb-sep {
  margin: 0 8px;
  color: var(--pd-line);
}

.crumb__current {
  color: var(--pd-white);
}

.pd-hero__kicker {
  font-family: var(--pd-font-data);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-accent);
  margin-bottom: 16px;
}

.pd-hero__title {
  font-family: var(--pd-font-head);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.pd-hero__lead {
  font-family: var(--pd-font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--pd-sub);
  max-width: 520px;
  margin-bottom: 20px;
}

.pd-hero__lead strong {
  color: var(--pd-white);
  font-weight: 600;
}

.pd-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.data-badge {
  font-family: var(--pd-font-data);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--pd-sub);
  background: var(--pd-panel);
  border: 1px solid var(--pd-line);
  padding: 6px 12px;
  border-radius: 2px;
}

.pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chamfer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pd-font-head);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: var(--pd-cut);
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms cubic-bezier(.2,.7,.3,1), box-shadow 150ms cubic-bezier(.2,.7,.3,1), background-color 150ms cubic-bezier(.2,.7,.3,1);
  border: none;
}

.chamfer-btn:hover,
.chamfer-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.chamfer-btn--primary {
  background: var(--pd-accent);
  color: #0B2B1F;
  box-shadow: 0 4px 0 rgba(0,0,0,.25);
}

.chamfer-btn--primary:hover {
  box-shadow: 0 6px 0 rgba(0,0,0,.3);
  background: #FFD93D;
}

.chamfer-btn--ghost {
  background: transparent;
  color: var(--pd-white);
  border: 1px solid var(--pd-line);
}

.chamfer-btn--ghost:hover {
  border-color: var(--pd-accent);
  color: var(--pd-accent);
  box-shadow: none;
}

.pd-hero__visual {
  margin: 0;
  position: relative;
  max-width: 360px;
  width: 100%;
}

.pd-hero__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--pd-cut);
  border: 1px solid var(--pd-line);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  display: block;
}

.pd-hero__caption {
  font-family: var(--pd-font-data);
  font-size: 11px;
  color: var(--pd-mute);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pd-success);
  display: inline-block;
  animation: pd-pulse 2s ease-in-out infinite;
}

@keyframes pd-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.pd-hero__ticker {
  margin-top: 40px;
  border-top: 1px solid var(--pd-line);
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pd-hero__ticker-line {
  width: 48px;
  height: 2px;
  background: var(--pd-accent);
  display: inline-block;
}

.pd-hero__ticker-note {
  font-family: var(--pd-font-data);
  font-size: 12px;
  color: var(--pd-mute);
  letter-spacing: 0.05em;
}

/* ===== 通用区块头 ===== */
.pd-section-head {
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto 36px;
}

.tag-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pd-font-data);
  font-size: 12px;
  font-weight: 600;
  color: var(--pd-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tag-index__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--pd-panel);
  color: var(--pd-accent);
  font-size: 10px;
  border-radius: 2px;
}

.pd-section-title {
  font-family: var(--pd-font-head);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.pd-section-desc {
  font-family: var(--pd-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--pd-sub);
  max-width: 640px;
  margin: 0;
}

/* ===== 版本 ===== */
.pd-versions {
  padding: 72px 0 80px;
}

.pd-versions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.pd-version-card {
  background: var(--pd-panel);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-cut);
  padding: 28px;
  position: relative;
  transition: transform 150ms cubic-bezier(.2,.7,.3,1), box-shadow 150ms cubic-bezier(.2,.7,.3,1);
}

.pd-version-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}

.pd-version-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pd-version-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--pd-cut);
  background: var(--pd-bg);
  border: 1px solid var(--pd-line);
  font-family: var(--pd-font-head);
  font-weight: 800;
  font-size: 18px;
}

.pd-version-card--android .pd-version-card__icon {
  color: var(--pd-success);
}

.pd-version-card--ios .pd-version-card__icon {
  color: var(--pd-accent);
}

.pd-version-card--web .pd-version-card__icon {
  color: var(--pd-orange);
}

.pd-version-card__name {
  font-family: var(--pd-font-head);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  flex: 1;
}

.pd-version-card__tag {
  font-family: var(--pd-font-data);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--pd-mute);
  border: 1px solid var(--pd-line);
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.pd-version-card__desc {
  font-family: var(--pd-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--pd-sub);
  margin-bottom: 16px;
}

.pd-version-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.pd-version-card__list li {
  font-family: var(--pd-font-body);
  font-size: 13px;
  color: var(--pd-sub);
  padding-left: 16px;
  position: relative;
}

.pd-version-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--pd-accent);
}

.pd-versions__fig {
  margin: 0;
  max-width: 1200px;
  padding: 0 20px;
}

.pd-versions__fig img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--pd-cut);
  border: 1px solid var(--pd-line);
  display: block;
}

.pd-versions__fig figcaption {
  font-family: var(--pd-font-data);
  font-size: 11px;
  color: var(--pd-mute);
  margin-top: 10px;
}

/* ===== 功能 ===== */
.pd-features {
  padding: 0 0 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(7,30,22,0.35) 100%);
}

.pd-features__intro {
  padding: 0 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.pd-features__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pd-features__col {
  display: grid;
  gap: 32px;
  align-content: start;
}

.pd-feature-block {
  background: var(--pd-panel);
  border-left: 3px solid var(--pd-accent);
  border-radius: var(--pd-cut);
  padding: 24px;
  position: relative;
  transition: transform 150ms cubic-bezier(.2,.7,.3,1);
}

.pd-feature-block:hover {
  transform: translateX(4px);
}

.pd-feature-block--compact {
  border-left-color: var(--pd-orange);
}

.pd-feature-block__index {
  font-family: var(--pd-font-data);
  font-size: 12px;
  font-weight: 600;
  color: var(--pd-mute);
  display: block;
  margin-bottom: 10px;
}

.pd-feature-block__title {
  font-family: var(--pd-font-head);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 10px;
}

.pd-feature-block__text {
  font-family: var(--pd-font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--pd-sub);
  margin: 0 0 16px;
}

.pd-feature-block__figure {
  margin: 0;
}

.pd-feature-block__figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--pd-line);
  display: block;
}

.pd-feature-block__figure figcaption {
  font-family: var(--pd-font-data);
  font-size: 11px;
  color: var(--pd-mute);
  margin-top: 8px;
}

/* ===== 下载 ===== */
.pd-download {
  padding: 0 20px 80px;
}

.pd-download__band {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--pd-panel) 0%, var(--pd-dark) 100%);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-cut);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.pd-download__band::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent 70%, var(--pd-accent) 100%);
  opacity: 0.15;
}

.pd-download__band::after {
  content: '';
  position: absolute;
  left: -40px;
  bottom: -20px;
  width: 200px;
  height: 60px;
  background: var(--pd-line);
  opacity: 0.15;
  transform: rotate(-12deg);
}

.pd-download__content {
  position: relative;
  z-index: 1;
}

.pd-download__title {
  font-family: var(--pd-font-head);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 32px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.pd-download__desc {
  font-family: var(--pd-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--pd-sub);
  max-width: 560px;
  margin: 0 0 32px;
}

.pd-download__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.pd-download__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pd-download__step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pd-accent);
  color: var(--pd-bg);
  font-family: var(--pd-font-head);
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
}

.pd-download__step-title {
  font-family: var(--pd-font-head);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 4px;
}

.pd-download__step-text {
  font-family: var(--pd-font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--pd-sub);
  margin: 0;
}

.pd-download__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--pd-bg);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-cut);
  padding: 24px;
  position: relative;
  z-index: 1;
}

.pd-download__cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.12);
  color: var(--pd-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.pd-download__cta-copy {
  text-align: center;
}

.pd-download__cta-title {
  font-family: var(--pd-font-data);
  font-size: 11px;
  color: var(--pd-mute);
  margin: 0 0 4px;
  letter-spacing: 0.06em;
}

.pd-download__cta-version {
  font-family: var(--pd-font-head);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.pd-download__cta-btn {
  width: 100%;
  max-width: 280px;
}

.pd-download__note {
  font-family: var(--pd-font-data);
  font-size: 11px;
  color: var(--pd-mute);
  margin: 24px 0 0;
  position: relative;
  z-index: 1;
}

/* ===== 更新记录 ===== */
.pd-changelog {
  padding: 0 20px 80px;
}

.pd-changelog__head {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.pd-changelog__timeline {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.pd-changelog__timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--pd-line);
}

.pd-changelog__item {
  position: relative;
  padding-left: 44px;
  padding-bottom: 36px;
}

.pd-changelog__item:last-child {
  padding-bottom: 0;
}

.pd-changelog__item::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pd-bg);
  border: 3px solid var(--pd-accent);
  z-index: 1;
}

.pd-changelog__year {
  font-family: var(--pd-font-data);
  font-size: 12px;
  font-weight: 600;
  color: var(--pd-orange);
  letter-spacing: 0.08em;
}

.pd-changelog__body {
  background: var(--pd-panel);
  border-radius: var(--pd-cut);
  padding: 20px;
  margin-top: 8px;
  border: 1px solid transparent;
  transition: border-color 150ms cubic-bezier(.2,.7,.3,1), transform 150ms cubic-bezier(.2,.7,.3,1);
}

.pd-changelog__item:hover .pd-changelog__body {
  border-color: var(--pd-accent);
  transform: translateX(4px);
}

.pd-changelog__item-title {
  font-family: var(--pd-font-head);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
}

.pd-changelog__text {
  font-family: var(--pd-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--pd-sub);
  margin: 0;
}

.pd-changelog__foot {
  max-width: 1200px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--pd-line);
}

.pd-changelog__foot-note {
  font-family: var(--pd-font-body);
  font-size: 14px;
  color: var(--pd-sub);
  margin: 0;
}

.pd-changelog__link {
  color: var(--pd-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 197, 24, 0.3);
  transition: border-color 150ms cubic-bezier(.2,.7,.3,1);
}

.pd-changelog__link:hover {
  border-color: var(--pd-accent);
}

.pd-changelog__more {
  font-family: var(--pd-font-data);
  font-size: 13px;
  color: var(--pd-sub);
  text-decoration: none;
  transition: color 150ms cubic-bezier(.2,.7,.3,1);
}

.pd-changelog__more:hover {
  color: var(--pd-accent);
}

/* ===== 支持 ===== */
.pd-support {
  padding: 0 20px 80px;
}

.pd-support__panel {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--pd-dark);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-cut);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-support__title {
  font-family: var(--pd-font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
}

.pd-support__text {
  font-family: var(--pd-font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--pd-sub);
  margin: 0;
  max-width: 640px;
}

.pd-support__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.pd-support__link {
  font-family: var(--pd-font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--pd-white);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-cut);
  transition: border-color 150ms cubic-bezier(.2,.7,.3,1), color 150ms cubic-bezier(.2,.7,.3,1);
}

.pd-support__link:hover {
  border-color: var(--pd-accent);
  color: var(--pd-accent);
}

/* ===== 桌面断点 ===== */
@media (min-width: 960px) {
  .pd-hero {
    padding: 64px 32px 0;
  }

  .pd-hero__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: center;
  }

  .pd-hero__title {
    font-size: 56px;
  }

  .pd-hero__lead {
    font-size: 17px;
  }

  .pd-hero__visual {
    justify-self: end;
  }

  .pd-hero__ticker {
    margin-top: 64px;
  }

  .pd-section-head {
    padding: 0 32px;
  }

  .pd-versions__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 32px;
  }

  .pd-version-card {
    padding: 32px;
  }

  .pd-versions__fig {
    padding: 0 32px;
  }

  .pd-features__intro {
    padding: 0 32px 48px;
  }

  .pd-features__layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 0 32px;
  }

  .pd-download {
    padding: 0 32px 80px;
  }

  .pd-download__band {
    padding: 56px 48px;
  }

  .pd-download__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .pd-download__cta {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    padding: 20px 32px;
  }

  .pd-download__cta-copy {
    text-align: left;
  }

  .pd-download__cta-btn {
    width: auto;
    max-width: none;
  }

  .pd-changelog {
    padding: 0 32px 80px;
  }

  .pd-changelog__timeline {
    padding-left: 40px;
  }

  .pd-changelog__timeline::before {
    left: 0;
  }

  .pd-changelog__item {
    padding-left: 0;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
  }

  .pd-changelog__item::before {
    left: -6px;
    top: 16px;
  }

  .pd-changelog__year {
    text-align: right;
  }

  .pd-changelog__body {
    margin-top: 0;
  }

  .pd-changelog__foot {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .pd-support {
    padding: 0 32px 80px;
  }

  .pd-support__panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
  }

  .pd-support__text {
    margin: 0;
    flex: 1;
    max-width: 480px;
  }

  .pd-support__links {
    flex-shrink: 0;
  }
}
