.page-products {
  --pl-wrap-max: 1200px;
  --pl-wrap-pad: 24px;
  --pl-branch: rgba(255, 107, 53, 0.35);
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ========== 通用容器与章节头 ========== */
.page-products .prod-wrap {
  max-width: var(--pl-wrap-max);
  margin-inline: auto;
  padding-inline: var(--pl-wrap-pad);
}

.page-products .section-head {
  margin-bottom: 32px;
  position: relative;
  padding-left: 18px;
}

.page-products .section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: var(--color-accent);
}

.page-products .section-kicker {
  margin: 0 0 8px;
  font-family: var(--font-number);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.page-products .section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.page-products .section-desc {
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(26, 26, 46, 0.68);
}

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

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

.page-products .section-head-light::before {
  background: var(--color-accent);
}

/* ========== Hero ========== */
.page-products .prod-hero {
  position: relative;
  padding: 48px var(--pl-wrap-pad) 72px;
  background: var(--color-primary);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  overflow: hidden;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  transform: rotate(18deg) skewX(-12deg);
  background: linear-gradient(135deg, transparent 40%, rgba(255, 107, 53, 0.55) 40%, rgba(255, 107, 53, 0.8) 100%);
  border-radius: 24px;
  pointer-events: none;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent) 30%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.9) 42%, var(--color-accent) 42%, var(--color-accent) 100%);
  background-size: 42px 100%;
  pointer-events: none;
}

.page-products .prod-hero-grid {
  max-width: var(--pl-wrap-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-products .hero-copy {
  color: var(--color-white);
  max-width: 640px;
}

.page-products .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-family: var(--font-number);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 31, 68, 0.6);
}

.page-products .hero-kicker .status-dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.25);
}

.page-products .prod-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-products .hero-title-sub {
  display: block;
  color: var(--color-accent);
}

.page-products .hero-lead {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
}

.page-products .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.page-products .hero-frame {
  position: relative;
  max-width: 260px;
  width: 100%;
  border-radius: 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-lg);
}

.page-products .hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 16px;
}

.page-products .hero-frame-index {
  position: absolute;
  top: -14px;
  right: -10px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-number);
  font-size: 1.5rem;
  font-weight: 700;
  transform: rotate(8deg);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.page-products .hero-frame-caption {
  font-size: 0.8125rem;
  font-family: var(--font-number);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
}

/* ========== 产品总览 / 技能树 ========== */
.page-products .prod-path {
  padding: 72px 0;
  background: var(--color-bg);
}

.page-products .skill-tree {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  position: relative;
}

.page-products .skill-root {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 140px;
  padding: 24px;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  overflow: hidden;
}

.page-products .skill-root::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--color-accent);
}

.page-products .skill-root::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 36px;
  background: var(--color-accent);
}

.page-products .skill-root-badge {
  font-family: var(--font-number);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  border: 1px solid rgba(255, 107, 53, 0.6);
  border-radius: 999px;
  padding: 4px 14px;
}

.page-products .skill-root-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.page-products .skill-root-count {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-number);
}

.page-products .skill-branches {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  border-left: 2px solid var(--pl-branch);
  display: grid;
  gap: 18px;
}

.page-products .skill-branch {
  position: relative;
  padding-left: 28px;
}

.page-products .skill-branch::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 36px;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.page-products .skill-branch::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 107, 53, 0.15);
  pointer-events: none;
}

.page-products .skill-branch:last-child::after {
  bottom: auto;
  height: 0;
}

.page-products .skill-link {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  text-decoration: none;
  padding: 18px 20px 18px 12px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.page-products .skill-link:hover {
  transform: translateX(6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.page-products .skill-index {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--color-primary-soft);
  border-radius: 12px;
  font-family: var(--font-number);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.page-products .skill-link:hover .skill-index {
  background: var(--color-accent);
  color: var(--color-white);
}

.page-products .skill-name {
  align-self: end;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.4;
}

.page-products .skill-desc {
  align-self: start;
  font-size: 0.8125rem;
  color: rgba(26, 26, 46, 0.62);
  line-height: 1.5;
}

/* ========== 功能亮点 ========== */
.page-products .prod-features {
  padding: 72px 0;
  background: var(--color-secondary-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.page-products .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.page-products .feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.page-products .feature-card[open] {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.page-products .feature-card summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  cursor: pointer;
  list-style: none;
  position: relative;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), var(--color-white));
  transition: background var(--transition-fast);
}

.page-products .feature-card summary::-webkit-details-marker {
  display: none;
}

.page-products .feature-card summary:hover {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.08), var(--color-white));
}

.page-products .feature-card-index {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-number);
  font-size: 1rem;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.page-products .feature-card:nth-child(even) .feature-card-index {
  background: var(--color-accent);
}

.page-products .feature-card-title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-ink);
}

.page-products .feature-card-tag {
  display: none;
  font-family: var(--font-number);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(255, 107, 53, 0.5);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.page-products .feature-card-toggle {
  flex: 0 0 auto;
  font-family: var(--font-number);
  font-size: 0.75rem;
  color: var(--color-accent);
  background: rgba(255, 107, 53, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.page-products .feature-card .toggle-close {
  display: none;
}

.page-products .feature-card[open] .toggle-open {
  display: none;
}

.page-products .feature-card[open] .toggle-close {
  display: inline;
}

.page-products .feature-card-body {
  padding: 0 20px 24px 76px;
  border-top: 1px dashed var(--color-border);
  margin-top: 0;
  animation: pageProductsFadeIn var(--transition-base);
}

@keyframes pageProductsFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-products .feature-card-body p {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(26, 26, 46, 0.78);
}

.page-products .feature-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-products .feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-ink);
}

.page-products .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  transform: rotate(45deg);
}

.page-products .feature-card img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* ========== 平台支持 ========== */
.page-products .prod-platform {
  padding: 72px 0;
  background: var(--color-primary);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
  overflow: hidden;
}

.page-products .prod-platform::before {
  content: "PLATFORM";
  position: absolute;
  right: -20px;
  top: 20px;
  font-family: var(--font-number);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  white-space: nowrap;
}

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

.page-products .platform-card {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.page-products .platform-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 107, 53, 0.35) 50%);
  border-radius: 16px;
  transform: rotate(14deg);
  pointer-events: none;
}

.page-products .platform-badge {
  display: inline-block;
  font-family: var(--font-number);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: var(--color-accent);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-products .platform-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--color-white);
}

.page-products .platform-highlight {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  border-left: 3px solid var(--color-accent);
  padding-left: 14px;
}

.page-products .platform-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .platform-points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.page-products .platform-points li::before {
  content: "//";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-number);
  color: var(--color-accent);
  font-size: 0.8125rem;
}

.page-products .platform-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.page-products .platform-visual img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

/* ========== 下载与更新 ========== */
.page-products .prod-download {
  padding: 72px 0;
  background: var(--color-bg);
}

.page-products .download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.page-products .download-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.page-products .download-qr img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: var(--radius-md);
}

.page-products .download-qr-note {
  font-family: var(--font-number);
  font-size: 0.8125rem;
  color: rgba(26, 26, 46, 0.58);
  letter-spacing: 0.04em;
}

.page-products .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.page-products .download-info .btn {
  text-decoration: none;
}

.page-products .version-log {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.page-products .version-log h3 {
  margin: 0 0 20px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-ink);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.page-products .version-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: versionCount;
}

.page-products .version-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(26, 26, 46, 0.8);
}

.page-products .version-list li::before {
  content: counter(versionCount);
  counter-increment: versionCount;
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-family: var(--font-number);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 6px;
}

.page-products .version-num {
  font-family: var(--font-number);
  font-weight: 700;
  color: var(--color-accent);
  margin-right: 6px;
}

.page-products .text-link {
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(10, 31, 68, 0.25);
  padding-bottom: 2px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.page-products .text-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ========== 响应式断点 ========== */
@media (min-width: 640px) {
  .page-products {
    --pl-wrap-pad: 32px;
  }

  .page-products .feature-card-tag {
    display: inline-block;
  }

  .page-products .feature-card-body {
    padding-left: 96px;
  }

  .page-products .platform-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .page-products .download-grid {
    grid-template-columns: 280px 1fr;
    gap: 44px;
  }
}

@media (min-width: 900px) {
  .page-products .prod-hero {
    padding: 64px var(--pl-wrap-pad) 96px;
  }

  .page-products .prod-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }

  .page-products .hero-visual {
    align-items: flex-end;
  }

  .page-products .hero-frame {
    max-width: 300px;
  }

  .page-products .prod-path,
  .page-products .prod-features,
  .page-products .prod-platform,
  .page-products .prod-download {
    padding: 96px 0;
  }

  .page-products .skill-tree {
    grid-template-columns: 260px 1fr;
    gap: 0;
    align-items: center;
  }

  .page-products .skill-root {
    padding-right: 48px;
  }

  .page-products .skill-root::after {
    top: 50%;
    left: auto;
    right: 0;
    width: 48px;
    height: 2px;
    background: var(--color-accent);
  }

  .page-products .skill-branches {
    border-left: 2px solid var(--pl-branch);
    padding-left: 0;
    gap: 16px;
  }

  .page-products .skill-branch {
    padding-left: 32px;
  }

  .page-products .skill-branch::before {
    top: 36px;
    left: -2px;
    width: 32px;
    height: 2px;
  }

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

  .page-products .feature-card-body {
    padding-left: 20px;
    padding-top: 4px;
  }

  .page-products .platform-card {
    padding: 40px 36px 36px;
  }

  .page-products .download-grid {
    grid-template-columns: 320px 1fr;
    gap: 56px;
  }
}

@media (min-width: 1200px) {
  .page-products .hero-lead {
    font-size: 1.0625rem;
  }

  .page-products .skill-branches {
    padding-left: 12px;
  }

  .page-products .skill-branch {
    padding-left: 44px;
  }

  .page-products .skill-branch::before {
    width: 44px;
  }

  .page-products .download-qr img {
    max-width: 280px;
  }
}
