/* ===== 服务中心页面专属样式 · page-products ===== */
.page-products {
  --page-accent: var(--electric-cyan);
  --page-strong: var(--neon-green);
  --page-alert: var(--signal-orange);
  --page-purple: var(--nebula-purple);
  --title-font: var(--font-heading);
  --body-font: var(--font-body);
  --mono-font: var(--font-mono);
}

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

.page-products .section-label {
  display: inline-block;
  margin-bottom: .7rem;
}

.page-products .section-lead {
  margin: .4rem 0 0;
  max-width: 38em;
  font-size: .95rem;
  line-height: 1.8;
  opacity: .78;
}

.page-products .page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.page-products .mono-tag {
  display: inline-block;
  font-family: var(--mono-font);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--page-accent);
  border: 1px solid rgba(0, 229, 255, .35);
  border-radius: var(--radius-pill);
  padding: .28rem .7rem;
  background: rgba(0, 229, 255, .07);
}

/* ---------- 首屏：深空蓝控制台 ---------- */
.page-products .services-hero {
  position: relative;
  padding: clamp(4.2rem, 7vw, 6.5rem) 0 3.2rem;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 229, 255, .16), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(155, 89, 182, .12), transparent 42%),
    linear-gradient(135deg, #08142a 0%, var(--space-blue) 66%, #0d2346 100%);
  color: var(--pure-white);
  overflow: hidden;
}

.page-products .services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .72), transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .72), transparent 92%);
  pointer-events: none;
}

.page-products .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.6rem;
  align-items: start;
}

.page-products .hero-copy {
  max-width: 46em;
}

.page-products .hero-copy h1 {
  margin: .9rem 0 1.1rem;
  font-family: var(--title-font);
  font-weight: 900;
  font-size: clamp(1.72rem, 4.6vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: .015em;
}

.page-products .hero-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .74);
  max-width: 34em;
}

.page-products .hero-facts {
  list-style: none;
  margin: 2.1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.page-products .hero-facts li {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  border-left: 2px solid var(--page-accent);
  padding-left: .8rem;
  padding-top: .1rem;
  padding-bottom: .1rem;
}

.page-products .hero-facts strong {
  font-family: var(--mono-font);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.15;
  color: var(--pure-white);
}

.page-products .hero-facts span {
  font-size: .76rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .56);
}

.page-products .hero-aside {
  position: relative;
}

.page-products .hero-vertical {
  display: none;
  position: absolute;
  right: -1.5rem;
  top: 1rem;
  writing-mode: vertical-rl;
  font-family: var(--mono-font);
  font-size: .68rem;
  letter-spacing: .42em;
  color: rgba(255, 255, 255, .3);
  pointer-events: none;
}

.page-products .hero-panel {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(0, 229, 255, .3);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
  transform: rotate(1.4deg);
  max-width: 30rem;
}

.page-products .hero-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 18px;
  width: 72px;
  height: 18px;
  background: var(--page-alert);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.page-products .hero-panel-title {
  margin: .8rem 0 .1rem;
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--pure-white);
}

.page-products .hero-panel-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.page-products .hero-panel-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .86rem;
  color: rgba(255, 255, 255, .82);
}

.page-products .hero-panel-list span {
  font-family: var(--mono-font);
  font-size: .72rem;
  color: var(--page-strong);
  letter-spacing: .06em;
}

.page-products .hero-panel-foot {
  margin-top: 1.25rem;
  padding-top: .9rem;
  border-top: 1px dashed rgba(0, 229, 255, .35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono-font);
  font-size: .66rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .42);
}

/* ---------- 分类索引：浅色区块 ---------- */
.page-products .category-index {
  background: var(--cloud-gray);
  color: var(--deep-charcoal);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.page-products .category-head {
  max-width: 46em;
}

.page-products .category-head h2,
.page-products .desktop-section h2,
.page-products .mobile-section h2,
.page-products .sync-section h2,
.page-products .service-bottom h2 {
  font-family: var(--title-font);
  font-weight: 900;
  font-size: clamp(1.42rem, 3vw, 2rem);
  line-height: 1.32;
  margin: .2rem 0 .4rem;
}

.page-products .category-banner {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 1.6rem 0 1.2rem;
  box-shadow: var(--shadow-1);
}

.page-products .letter-index {
  display: grid;
  gap: 1.8rem;
  align-items: start;
  margin-top: .6rem;
}

.page-products .letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
}

.page-products .letter-nav a {
  flex: 0 0 auto;
  min-width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(11, 29, 58, .2);
  border-radius: var(--radius-sm);
  font-family: var(--mono-font);
  font-weight: 700;
  font-size: .8rem;
  color: var(--space-blue);
  text-decoration: none;
  background: var(--pure-white);
  transition: background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}

.page-products .letter-nav a:hover,
.page-products .letter-nav a:focus-visible {
  background: var(--space-blue);
  border-color: var(--space-blue);
  color: var(--pure-white);
  box-shadow: var(--glow-cyan);
  outline: none;
}

.page-products .letter-groups {
  display: grid;
}

.page-products .letter-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(11, 29, 58, .1);
}

.page-products .letter-key {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-family: var(--mono-font);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--space-blue);
  background: linear-gradient(135deg, rgba(0, 229, 255, .2), rgba(155, 89, 182, .1));
  border-radius: var(--radius-md);
}

.page-products .letter-body {
  flex: 1;
  min-width: 0;
}

.page-products .letter-body h3 {
  margin: 0 0 .2rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.page-products .letter-body p {
  margin: 0 0 .28rem;
  font-size: .84rem;
  line-height: 1.65;
  color: rgba(26, 26, 26, .62);
}

.page-products .letter-count {
  font-family: var(--mono-font);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--space-blue);
  opacity: .78;
}

/* ---------- 电脑版适配与下载：深色斜切区块 ---------- */
.page-products .desktop-section {
  background:
    radial-gradient(circle at 14% 84%, rgba(0, 229, 255, .13), transparent 42%),
    linear-gradient(145deg, #0a1a36 0%, var(--space-blue) 68%, #0c1e3e 100%);
  color: var(--pure-white);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}

.page-products .desktop-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  bottom: auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--page-accent), var(--page-purple), transparent);
}

.page-products .split-grid {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

.page-products .desktop-section .section-lead,
.page-products .mobile-section .section-lead,
.page-products .sync-section .section-lead {
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .72);
}

.page-products .step-list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}

.page-products .step-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .92rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-sm);
  padding: .78rem 1rem;
}

.page-products .step-num {
  flex: 0 0 auto;
  font-family: var(--mono-font);
  font-size: .72rem;
  font-weight: 700;
  color: var(--page-strong);
  border: 1px solid rgba(57, 255, 20, .4);
  border-radius: var(--radius-pill);
  padding: .12rem .48rem;
  letter-spacing: .04em;
}

.page-products .compat-panel {
  margin-top: 1.9rem;
}

.page-products .compat-panel details {
  border: 1px solid rgba(0, 229, 255, .28);
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, .06);
}

.page-products .compat-panel summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.05rem;
  font-family: var(--mono-font);
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--page-accent);
}

.page-products .compat-panel summary::-webkit-details-marker {
  display: none;
}

.page-products .compat-panel summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--page-accent);
  transition: transform .25s var(--ease-out);
}

.page-products .compat-panel details[open] summary::after {
  transform: rotate(45deg);
}

.page-products .compat-list {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  display: grid;
  gap: .55rem;
  font-size: .86rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .7);
}

.page-products .compat-list li {
  position: relative;
  padding-left: .85rem;
}

.page-products .compat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .4em;
  height: .4em;
  border-radius: 50%;
  background: var(--page-strong);
}

.page-products .split-visual {
  position: relative;
}

.page-products .browser-shapes {
  position: relative;
  min-height: 110px;
  margin-bottom: .4rem;
}

.page-products .browser-shape {
  position: absolute;
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, .42);
  background: rgba(0, 229, 255, .06);
}

.page-products .browser-shape--one {
  width: 112px;
  height: 76px;
  top: 0;
  left: 0;
  transform: rotate(-7deg);
}

.page-products .browser-shape--two {
  width: 142px;
  height: 88px;
  top: 18px;
  left: 58px;
  transform: rotate(4deg);
  border-color: rgba(57, 255, 20, .45);
  background: rgba(57, 255, 20, .05);
}

.page-products .browser-shape--three {
  width: 126px;
  height: 82px;
  top: 40px;
  left: 132px;
  transform: rotate(-3deg);
  border-color: rgba(255, 90, 54, .42);
  background: rgba(255, 90, 54, .05);
}

.page-products .desktop-thumb {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

/* ---------- 移动端与旧版收藏：浅色区块 ---------- */
.page-products .mobile-section {
  background: var(--cloud-gray);
  color: var(--deep-charcoal);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.page-products .mobile-section .section-lead {
  color: rgba(26, 26, 26, .7);
}

.page-products .mobile-section .mono-tag {
  margin-bottom: .8rem;
}

.page-products .mobile-thumb {
  display: block;
  width: min(300px, 72%);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

.page-products .feature-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.page-products .feature-item {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: .35rem 1rem;
  border-left: 2px solid var(--page-accent);
  padding: .15rem 0 .15rem 1.1rem;
}

.page-products .feature-mark {
  grid-column: 1 / 2;
  font-family: var(--mono-font);
  font-size: .78rem;
  font-weight: 700;
  color: var(--space-blue);
}

.page-products .feature-item h3 {
  grid-column: 2 / 3;
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.page-products .feature-item p {
  grid-column: 2 / 3;
  margin: 0;
  font-size: .87rem;
  line-height: 1.7;
  color: rgba(26, 26, 26, .66);
}

.page-products .legacy-note {
  margin-top: 1.8rem;
}

.page-products .legacy-note details {
  border: 1px solid rgba(11, 29, 58, .18);
  border-radius: var(--radius-md);
  background: var(--pure-white);
}

.page-products .legacy-note summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  font-family: var(--mono-font);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--space-blue);
}

.page-products .legacy-note summary::-webkit-details-marker {
  display: none;
}

.page-products .legacy-note summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--space-blue);
  transition: transform .25s var(--ease-out);
}

.page-products .legacy-note details[open] summary::after {
  transform: rotate(45deg);
}

.page-products .legacy-note p {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: .87rem;
  line-height: 1.7;
  color: rgba(26, 26, 26, .7);
}

/* ---------- 云同步：深蓝数据流 ---------- */
.page-products .sync-section {
  background:
    radial-gradient(circle at 82% 10%, rgba(155, 89, 182, .16), transparent 38%),
    linear-gradient(160deg, #081429 0%, var(--space-blue) 72%, #0c1e3e 100%);
  color: var(--pure-white);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.page-products .sync-section::before {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -8rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(0, 229, 255, .18);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .sync-head {
  max-width: 40em;
}

.page-products .sync-grid {
  display: grid;
  gap: 2.6rem;
  align-items: center;
  margin-top: 2rem;
}

.page-products .sync-visual {
  position: relative;
}

.page-products .sync-poster {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  max-width: 34rem;
}

.page-products .sync-flow {
  display: grid;
}

.page-products .sync-step {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(0, 229, 255, .18);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.1rem;
}

.page-products .sync-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--page-accent), rgba(0, 229, 255, .55));
  box-shadow: var(--glow-cyan);
}

.page-products .sync-icon::before,
.page-products .sync-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.page-products .sync-icon--device::before {
  inset: 11px 9px;
  border: 2px solid var(--space-blue);
  border-radius: 5px;
  top: 13px;
}

.page-products .sync-icon--device::after {
  width: 8px;
  height: 2px;
  background: var(--space-blue);
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  top: auto;
}

.page-products .sync-icon--cloud::before {
  width: 22px;
  height: 10px;
  background: var(--space-blue);
  border-radius: 10px 10px 0 0;
  left: 14px;
  top: 16px;
}

.page-products .sync-icon--cloud::after {
  width: 13px;
  height: 13px;
  background: var(--space-blue);
  border-radius: 50%;
  left: 9px;
  top: 8px;
}

.page-products .sync-icon--check::before {
  width: 18px;
  height: 10px;
  border-left: 3px solid var(--space-blue);
  border-bottom: 3px solid var(--space-blue);
  left: 15px;
  top: 14px;
  transform: rotate(-45deg);
}

.page-products .sync-step-copy {
  flex: 1;
  min-width: 0;
}

.page-products .sync-step-num {
  display: block;
  font-family: var(--mono-font);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--page-strong);
  margin-bottom: .2rem;
}

.page-products .sync-step-copy h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  font-weight: 800;
}

.page-products .sync-step-copy p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
}

.page-products .sync-line {
  width: 2px;
  height: 1.5rem;
  margin-left: 25px;
  background: linear-gradient(to bottom, var(--page-accent), rgba(0, 229, 255, .12));
}

.page-products .sync-stats {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}

.page-products .stat-chip {
  border: 1px solid rgba(57, 255, 20, .3);
  background: rgba(57, 255, 20, .06);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.page-products .stat-chip strong {
  font-family: var(--mono-font);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.2;
  color: var(--page-strong);
}

.page-products .stat-chip span {
  font-size: .8rem;
  color: rgba(255, 255, 255, .62);
}

/* ---------- 页面底部：浅色下一步 ---------- */
.page-products .service-bottom {
  background: var(--cloud-gray);
  color: var(--deep-charcoal);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.page-products .bottom-strip {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2.2rem;
  box-shadow: var(--shadow-1);
}

.page-products .bottom-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-products .bottom-copy {
  max-width: 40em;
}

.page-products .bottom-copy h2 {
  margin: .2rem 0 .5rem;
  font-family: var(--title-font);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.4;
}

.page-products .bottom-copy p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.8;
  color: rgba(26, 26, 26, .72);
}

.page-products .next-links {
  display: grid;
  gap: 1rem;
}

.page-products .next-card {
  display: block;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--pure-white);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
  border: 1px solid transparent;
}

.page-products .next-card:hover,
.page-products .next-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(0, 229, 255, .4);
  outline: none;
}

.page-products .next-card .tag {
  display: inline-block;
  margin-bottom: .6rem;
}

.page-products .next-card h3 {
  margin: 0 0 .3rem;
  font-size: 1rem;
  font-weight: 800;
}

.page-products .next-card p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.65;
  color: rgba(26, 26, 26, .65);
}

/* ---------- 桌面端布局增强 ---------- */
@media (min-width: 860px) {
  .page-products .hero-grid {
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 3rem;
  }

  .page-products .hero-vertical {
    display: block;
  }

  .page-products .hero-panel {
    margin-left: auto;
    margin-right: 1.5rem;
    max-width: 30rem;
  }

  .page-products .hero-panel-list {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .letter-index {
    grid-template-columns: 230px 1fr;
    gap: clamp(2rem, 4vw, 3.2rem);
  }

  .page-products .letter-nav {
    position: sticky;
    top: calc(var(--header-offset) + 8px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .page-products .letter-nav a {
    width: 100%;
    min-width: 0;
  }

  .page-products .split-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
  }

  .page-products .mobile-section .split-grid {
    grid-template-columns: .9fr 1.1fr;
  }

  .page-products .sync-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 3rem;
  }

  .page-products .sync-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }

  .page-products .bottom-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1180px) {
  .page-products .sync-poster {
    max-width: 100%;
  }

  .page-products .hero-panel {
    padding: 1.7rem;
  }

  .page-products .hero-facts {
    margin-top: 2.4rem;
  }
}

/* ---------- 小屏微调 ---------- */
@media (max-width: 480px) {
  .page-products .hero-facts {
    gap: .6rem;
  }

  .page-products .hero-facts li {
    padding-left: .6rem;
  }

  .page-products .hero-facts strong {
    font-size: 1.18rem;
  }

  .page-products .hero-facts span {
    font-size: .7rem;
  }

  .page-products .letter-key {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.5rem;
  }

  .page-products .letter-block {
    gap: .8rem;
  }

  .page-products .step-item {
    align-items: flex-start;
    padding: .7rem .8rem;
  }

  .page-products .sync-step {
    padding: .9rem;
  }

  .page-products .sync-step-copy p {
    font-size: .82rem;
  }
}
