.page-products {
  --products-gap: 22px;
  --products-radius: 14px;
  padding-bottom: 64px;
}

.page-products .breadcrumbs {
  padding-top: 18px;
  padding-bottom: 8px;
}

/* ===== Hero 区 ===== */
.page-products .products-hero {
  display: grid;
  gap: 22px;
  padding: 18px 0 44px;
}

.page-products .products-hero-copy {
  position: relative;
  z-index: 1;
}

.page-products .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-products .hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.25);
}

.page-products .products-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-products .hero-lead {
  max-width: 66ch;
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .products-hero-panel {
  position: relative;
  min-height: 260px;
  border-radius: var(--products-radius);
  background:
    linear-gradient(135deg, rgba(163, 230, 53, 0.08) 0%, rgba(0, 229, 255, 0.05) 100%),
    var(--divider);
  border: 1px solid var(--divider);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}

.page-products .hero-geo {
  position: absolute;
  inset: 8px 0 auto;
  width: 92%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

.page-products .hero-panel-slogan {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 8px;
  padding: 4px 14px;
}

.page-products .hero-sync-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 7px 14px;
  text-align: center;
  border: 1px solid var(--divider);
}

.page-products .sync-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5);
  animation: page-products-pulse 2.2s var(--ease) infinite;
}

@keyframes page-products-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

/* ===== 章节标题 ===== */
.page-products .section-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  margin-bottom: 22px;
}

.page-products .section-index {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.page-products .section-title {
  flex: 1;
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink);
}

.page-products .section-intro {
  width: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

/* ===== 工具总览 ===== */
.page-products .tools-section {
  padding: 8px 0 40px;
}

.page-products .tools-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--products-gap);
  align-items: stretch;
}

.page-products .tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--products-radius);
  padding: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-products .tool-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 26px rgba(28, 28, 28, 0.06);
}

.page-products .tool-card-main {
  background: var(--space);
  color: var(--paper);
  border-color: var(--space);
  clip-path: polygon(0 0, 100% 2%, 100% 98%, 0 100%);
  padding-bottom: 0;
}

.page-products .tool-card-main:hover {
  border-color: var(--space);
  box-shadow: 0 12px 30px rgba(43, 43, 43, 0.18);
}

.page-products .tool-card-tilted {
  clip-path: polygon(0 1.5%, 100% 0, 100% 100%, 0 98.5%);
}

.page-products .tool-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.page-products .tool-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.page-products .tool-code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gray);
}

.page-products .tool-card-main .tool-code {
  color: var(--green);
}

.page-products .tool-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  color: inherit;
}

.page-products .tool-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.page-products .tool-card-main .tool-desc {
  color: rgba(245, 240, 232, 0.78);
}

.page-products .tool-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--divider);
  padding-top: 12px;
  margin-top: auto;
}

.page-products .tool-card-main .tool-facts {
  border-color: rgba(245, 240, 232, 0.16);
}

.page-products .tool-meta {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

.page-products .tool-meta strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.page-products .tool-card-main .tool-meta {
  color: rgba(245, 240, 232, 0.8);
}

.page-products .tool-card-main .tool-meta strong {
  color: var(--paper);
}

.page-products .tool-extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.page-products .tool-extra-line {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.72);
}

.page-products .tool-extra-line a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .tool-extra .btn-outline {
  align-self: flex-start;
  border-color: rgba(245, 240, 232, 0.3);
  color: var(--paper);
}

.page-products .tool-visual {
  margin: 8px -20px 0;
}

.page-products .tool-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

/* ===== 适配机型清单 ===== */
.page-products .devices-section {
  background: var(--space);
  color: var(--paper);
  padding: 12px 0 48px;
  scroll-margin-top: 30px;
}

.page-products .devices-section .section-title {
  color: var(--paper);
}

.page-products .devices-section .section-index {
  color: var(--green);
}

.page-products .devices-section .section-intro {
  color: rgba(245, 240, 232, 0.78);
}

.page-products .devices-visual {
  position: relative;
  border-radius: var(--products-radius);
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid rgba(245, 240, 232, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

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

.page-products .devices-visual-note {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 28, 28, 0.78);
  color: var(--paper);
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.page-products .devices-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .device-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--products-radius);
  padding: 20px 12px 18px;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-products .device-cell:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--green);
  transform: translateY(-3px);
}

.page-products .device-cell-checking:hover {
  border-color: var(--blue);
}

.page-products .device-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 88px;
  margin-bottom: 4px;
  color: var(--green);
}

.page-products .device-cell-checking .device-phone {
  color: var(--blue);
}

.page-products .device-svg-icon {
  width: 100%;
  height: auto;
  display: block;
}

.page-products .device-name {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--paper);
}

.page-products .device-model {
  margin: 0;
  font-size: 12px;
  color: rgba(245, 240, 232, 0.62);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.page-products .device-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
}

.page-products .device-badge-ok {
  background: rgba(163, 230, 53, 0.18);
  color: var(--green);
}

.page-products .device-badge-ok::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.page-products .device-badge-checking {
  background: rgba(0, 229, 255, 0.15);
  color: var(--blue);
}

.page-products .device-badge-checking::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: page-products-pulse 2s var(--ease) infinite;
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
}

/* ===== 版本更新 ===== */
.page-products .changelog-section {
  padding: 8px 0 44px;
  scroll-margin-top: 30px;
}

.page-products .changelog-section .section-title {
  color: var(--ink);
}

.page-products .changelog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

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

.page-products .changelog-list::before {
  content: "";
  position: absolute;
  left: 84px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--blue));
  border-radius: 2px;
  opacity: 0.32;
}

.page-products .changelog-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.page-products .changelog-version {
  align-self: start;
  justify-self: end;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--divider);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.page-products .changelog-item:last-child .changelog-version {
  border-color: var(--green);
  color: var(--ink);
}

.page-products .changelog-content {
  border-left: 1px solid var(--divider);
  padding-left: 18px;
}

.page-products .changelog-content h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
}

.page-products .changelog-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.page-products .changelog-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products .changelog-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--products-radius);
  border: 1px solid var(--divider);
}

.page-products .changelog-links {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--products-radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .changelog-links p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

/* ===== 下载入口 ===== */
.page-products .download-section {
  scroll-margin-top: 30px;
}

.page-products .download-panel {
  background: var(--space);
  color: var(--paper);
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  padding: 30px 22px;
  position: relative;
  overflow: hidden;
}

.page-products .download-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18) 0%, rgba(0, 229, 255, 0) 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
  animation: page-products-panel-glow 3.6s var(--ease) infinite;
}

@keyframes page-products-panel-glow {
  0% { opacity: 0.55; }
  50% { opacity: 1; }
  100% { opacity: 0.55; }
}

.page-products .download-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-products .download-index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.08em;
}

.page-products .download-copy h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: var(--paper);
}

.page-products .download-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.78);
  max-width: 58ch;
}

.page-products .download-steps {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .download-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-products .download-steps li:hover {
  border-color: rgba(163, 230, 53, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.page-products .step-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: var(--green);
}

.page-products .step-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--paper);
  margin-bottom: 3px;
}

.page-products .step-copy p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.72);
}

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

.page-products .download-actions .btn-outline {
  border-color: rgba(245, 240, 232, 0.32);
  color: var(--paper);
}

.page-products .download-note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.6);
  border-top: 1px solid rgba(245, 240, 232, 0.14);
  padding-top: 14px;
}

.page-products .download-aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-products .download-steps-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-products .sync-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .sync-timer-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.page-products .sync-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .sync-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.45);
  animation: page-products-pulse 2.2s var(--ease) infinite;
}

.page-products .sync-line {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.8);
  font-family: var(--mono);
}

.page-products .sync-note {
  margin: 8px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.6);
}

/* ===== 平板适配 ===== */
@media (min-width: 700px) {
  .page-products .devices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .tools-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .tool-card-main {
    grid-column: span 2;
  }

  .page-products .download-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    padding: 36px 32px;
  }

  .page-products .changelog-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 34px;
  }
}

/* ===== 桌面适配 ===== */
@media (min-width: 1100px) {
  .page-products .products-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    padding: 30px 0 60px;
  }

  .page-products .products-hero-copy {
    padding-right: 40px;
  }

  .page-products .products-hero-panel {
    min-height: 320px;
  }

  .page-products .tools-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 26px;
  }

  .page-products .tool-card-main {
    grid-column: auto;
    grid-row: span 2;
  }

  .page-products .tool-visual {
    margin-top: auto;
  }

  .page-products .devices-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .page-products .devices-section {
    padding: 20px 0 64px;
  }

  .page-products .section-heading {
    margin-bottom: 28px;
  }

  .page-products .section-title {
    font-size: 32px;
  }

  .page-products .section-intro {
    max-width: 64ch;
  }

  .page-products .download-panel {
    padding: 48px 44px;
  }

  .page-products .download-copy h2 {
    font-size: 34px;
  }
}

/* ===== 减少动效偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-products .sync-dot,
  .page-products .device-badge-checking::before,
  .page-products .sync-title::before,
  .page-products .download-panel::before {
    animation: none;
    box-shadow: none;
  }

  .page-products .device-cell:hover {
    transform: none;
  }

  .page-products .tool-card,
  .page-products .tool-card-main,
  .page-products .tool-card-tilted {
    transition: none;
  }
}
