.page-products {
  --products-deep: #0B1D3A;
  --products-panel: #1E3A5F;
  --products-accent: #FF6B35;
  --products-ink: #2D3748;
  --products-soft: #4A5568;
  --products-mist: #A0B4C8;
  --products-line: rgba(160, 180, 200, 0.45);
  --products-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.page-products {
  color: var(--products-ink);
  font-family: var(--font-body);
}

.page-products img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-products a {
  text-underline-offset: 3px;
}

.page-products a:focus-visible,
.page-products .toc-link:focus-visible,
.page-products .hero-quick-chip:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.page-products .products-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}

/* 面包屑 */
.page-products .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}

.page-products .breadcrumb-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.16s var(--products-ease);
}

.page-products .breadcrumb-link:hover {
  color: var(--orange);
}

.page-products .breadcrumb-sep {
  color: var(--mist);
}

.page-products .breadcrumb-current {
  color: var(--graphite);
  font-weight: 700;
}

/* Hero */
.page-products .products-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 10px;
  padding: 28px 20px 0;
  margin-bottom: 20px;
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(136, 192, 208, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 192, 208, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

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

.page-products .hero-kicker {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.page-products .products-hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.18;
  color: var(--moon);
  margin-bottom: 12px;
}

.page-products .products-lede {
  color: var(--ice);
  font-size: 15px;
  line-height: 1.78;
  max-width: 660px;
  margin-bottom: 20px;
}

.page-products .hero-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.page-products .hero-quick-chip {
  display: inline-block;
  border: 1px solid rgba(136, 192, 208, 0.4);
  color: var(--moon);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.16s var(--products-ease), color 0.16s var(--products-ease), background-color 0.16s var(--products-ease);
}

.page-products .hero-quick-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 53, 0.08);
}

.page-products .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.page-products .hero-stat {
  border-left: 2px solid var(--orange);
  padding-left: 12px;
}

.page-products .hero-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--moon);
  line-height: 1.2;
}

.page-products .hero-stat-label {
  display: block;
  font-size: 12px;
  color: var(--ice);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

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

.page-products .products-hero-visual img {
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

/* 服务目录 */
.page-products .service-toc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -20px 20px;
  padding: 2px 20px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-products .service-toc::-webkit-scrollbar {
  display: none;
}

.page-products .toc-heading {
  display: none;
}

.page-products .toc-list {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-shrink: 0;
}

.page-products .toc-link {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--mist);
  background: #ffffff;
  color: var(--graphite);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.16s var(--products-ease), color 0.16s var(--products-ease), transform 0.16s var(--products-ease);
}

.page-products .toc-link:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.page-products .toc-index {
  display: none;
}

.page-products .toc-status {
  display: none;
}

/* 服务主体 */
.page-products .service-board {
  display: block;
}

.page-products .service-content {
  min-width: 0;
}

.page-products .products-section {
  background: #ffffff;
  border: 1px solid var(--products-line);
  border-radius: 8px;
  padding: 28px 20px;
  margin-bottom: 20px;
  scroll-margin-top: 18px;
}

.page-products .products-section--tint {
  background: var(--moon);
}

.page-products .products-section--dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
}

.page-products .products-section-head {
  margin-bottom: 24px;
}

.page-products .products-section-head .section-eyebrow {
  margin-bottom: 8px;
}

.page-products .products-section-head h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 10px;
}

.page-products .products-section-head .section-lede {
  font-size: 14.5px;
  color: var(--products-soft);
  line-height: 1.7;
  max-width: 680px;
}

.page-products .products-section--dark h2 {
  color: var(--moon);
}

.page-products .products-section--dark .section-lede {
  color: var(--ice);
}

.page-products figcaption {
  font-size: 12.5px;
  color: var(--mist);
  margin-top: 10px;
  line-height: 1.6;
}

/* 服务总览模块卡片 */
.page-products .service-module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products .module-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--products-line);
  border-radius: 6px;
  padding: 22px 20px 20px;
  transition: transform 0.16s var(--products-ease), box-shadow 0.16s var(--products-ease), border-color 0.16s var(--products-ease);
}

.page-products .module-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--orange) 0 12px, transparent 12px);
  border-radius: 6px 0 0 0;
  pointer-events: none;
}

.page-products .module-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.page-products .module-topline .mono-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
}

.page-products .tag-chip--red {
  color: var(--red);
  border-color: rgba(229, 62, 62, 0.4);
  background: rgba(229, 62, 62, 0.06);
}

.page-products .module-card h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 8px;
}

.page-products .module-desc {
  font-size: 14px;
  color: var(--products-soft);
  line-height: 1.72;
  margin: 0;
}

.page-products .module-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-products .module-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--products-ink);
  line-height: 1.55;
}

.page-products .module-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--ice);
}

/* 2025档案 */
.page-products .archive-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-products .archive-intro {
  font-size: 15px;
  color: var(--products-ink);
  margin: 0 0 16px;
  line-height: 1.75;
}

.page-products .archive-dimension {
  margin: 0;
  display: grid;
  gap: 14px;
}

.page-products .archive-dim-item {
  background: #ffffff;
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  padding: 16px 16px 14px;
  box-shadow: 0 2px 10px rgba(11, 29, 58, 0.04);
  transition: transform 0.16s var(--products-ease), box-shadow 0.16s var(--products-ease);
}

.page-products .archive-dim-item dt {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
}

.page-products .archive-dim-item dd {
  margin: 0;
  font-size: 14px;
  color: var(--products-soft);
  line-height: 1.7;
}

.page-products .archive-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(136, 192, 208, 0.12);
  border-radius: 6px;
}

.page-products .archive-note-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.page-products .archive-note p {
  font-size: 13.5px;
  color: var(--products-soft);
  line-height: 1.7;
  margin: 0;
}

.page-products .archive-note a {
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: underline;
}

.page-products .archive-figure {
  margin: 0;
}

.page-products .archive-figure img {
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

/* 两端同步 */
.page-products .sync-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.page-products .sync-figure {
  margin: 0;
  max-width: 360px;
  margin-inline: auto;
}

.page-products .sync-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--mist);
  box-shadow: 0 18px 40px rgba(11, 29, 58, 0.18);
}

.page-products .sync-intro {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.page-products .sync-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}

.page-products .sync-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--moon);
  border: 1px solid var(--products-line);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
}

.page-products .sync-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
}

.page-products .sync-list strong {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 2px;
}

.page-products .sync-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--mist);
}

.page-products .sync-meta .live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--graphite);
  margin-bottom: 8px;
}

.page-products .sync-meta p {
  font-size: 13.5px;
  color: var(--products-soft);
  line-height: 1.7;
  margin: 0;
}

.page-products .sync-meta a {
  color: var(--orange-dark);
  font-weight: 600;
}

/* 收藏与对比 */
.page-products .compare-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.page-products .compare-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .compare-step {
  display: flex;
  gap: 14px;
}

.page-products .compare-step-mark {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.28);
  border-radius: 6px;
  min-width: 44px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.page-products .compare-step-body h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16.5px;
  color: var(--navy);
  margin: 0 0 4px;
}

.page-products .compare-step-body p {
  font-size: 14px;
  color: var(--products-soft);
  line-height: 1.7;
  margin: 0;
}

.page-products .compare-cta-note {
  margin-top: 18px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(11, 29, 58, 0.04));
  border-left: 3px solid var(--orange);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--products-ink);
}

.page-products .compare-cta-note p {
  margin: 0;
}

.page-products .compare-figure {
  margin: 0;
}

.page-products .compare-figure img {
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: 0 12px 32px rgba(11, 29, 58, 0.12);
}

/* 每30秒刷新 */
.page-products .refresh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

.page-products .refresh-ring-block {
  text-align: center;
}

.page-products .refresh-ring-wrap {
  width: 190px;
  height: 190px;
  position: relative;
  margin: 0 auto 12px;
}

.page-products .refresh-ring-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0deg 24deg, rgba(136, 192, 208, 0.22) 24deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 12px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 12px));
}

.page-products .refresh-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.page-products .refresh-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 52px;
  color: var(--moon);
  line-height: 1;
}

.page-products .refresh-unit {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--ice);
}

.page-products .refresh-caption {
  font-size: 14px;
  color: var(--ice);
  margin: 0;
}

.page-products .refresh-copy {
  text-align: left;
}

.page-products .refresh-live-line {
  margin: 0 0 14px;
}

.page-products .refresh-live-line .live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--moon);
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.4);
  padding: 7px 14px;
  border-radius: 999px;
}

.page-products .refresh-copy p {
  font-size: 14.5px;
  color: var(--ice);
  line-height: 1.8;
  margin: 0 0 16px;
}

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

.page-products .refresh-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--moon);
  line-height: 1.6;
}

.page-products .refresh-points li::before {
  content: "";
  width: 16px;
  height: 3px;
  background: var(--orange);
  flex: 0 0 auto;
}

.page-products .refresh-figure {
  margin: 0;
}

.page-products .refresh-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(136, 192, 208, 0.25);
  background: rgba(11, 29, 58, 0.5);
}

/* 开通服务 */
.page-products .plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .plan-card {
  position: relative;
  padding: 26px 22px;
  background: #ffffff;
  border: 1px solid var(--products-line);
  border-radius: 8px;
}

.page-products .plan-card--accent {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: rgba(255, 107, 53, 0.45);
  color: var(--moon);
}

.page-products .plan-card-head h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: inherit;
  margin: 0 0 4px;
}

.page-products .plan-card-head p {
  font-size: 14px;
  color: var(--mist);
  margin: 0 0 16px;
}

.page-products .plan-card--accent .plan-card-head p {
  color: var(--ice);
}

.page-products .plan-features {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  border-top: 1px dashed var(--products-mist);
  border-bottom: 1px dashed var(--products-mist);
  display: grid;
  gap: 10px;
}

.page-products .plan-card--accent .plan-features {
  border-color: rgba(136, 192, 208, 0.35);
}

.page-products .plan-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: inherit;
}

.page-products .plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.page-products .plan-price-line {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--graphite);
}

.page-products .plan-card--accent .plan-price-line {
  color: var(--ice);
}

.page-products .plan-footnote {
  margin-top: 20px;
  padding: 16px;
  background: var(--moon);
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--products-soft);
}

.page-products .plan-footnote p {
  margin: 0;
}

.page-products .plan-footnote a {
  color: var(--orange-dark);
  font-weight: 600;
}

.page-products .plan-brand-note {
  display: block;
  margin-top: 6px;
}

/* 悬停反馈 */
@media (hover: hover) {
  .page-products .module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11, 29, 58, 0.1);
    border-color: rgba(255, 107, 53, 0.55);
  }

  .page-products .archive-dim-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(11, 29, 58, 0.09);
  }

  .page-products .plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(11, 29, 58, 0.12);
  }

  .page-products .plan-card--accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(11, 29, 58, 0.28);
  }
}

/* 平板 */
@media (min-width: 640px) {
  .page-products .service-module-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-products .plan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .page-products .refresh-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .refresh-ring-block {
    text-align: center;
  }

  .page-products .refresh-figure {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

/* 桌面 */
@media (min-width: 960px) {
  .page-products .products-shell {
    padding: 40px 36px 80px;
  }

  .page-products .products-hero {
    padding: 40px 36px 0;
  }

  .page-products .products-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: end;
  }

  .page-products .products-lede {
    margin-bottom: 24px;
  }

  .page-products .hero-quick-row {
    margin-bottom: 28px;
  }

  .page-products .products-hero-visual {
    margin: 24px -36px 0;
  }

  .page-products .products-hero-visual img {
    clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-products .service-board {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-products .service-toc {
    display: block;
    position: sticky;
    top: 32px;
    align-self: start;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .page-products .toc-heading {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--navy);
    margin-bottom: 16px;
  }

  .page-products .toc-list {
    display: grid;
    gap: 6px;
  }

  .page-products .toc-link {
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--graphite);
    padding: 10px 12px;
    font-size: 14px;
    justify-content: flex-start;
  }

  .page-products .toc-link:hover {
    color: var(--orange-dark);
    border-left-color: var(--orange);
    background: rgba(255, 107, 53, 0.06);
  }

  .page-products .toc-index {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--orange);
    min-width: 22px;
  }

  .page-products .toc-status {
    display: block;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--mist);
  }

  .page-products .toc-status .live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--graphite);
  }

  .page-products .toc-status-note {
    font-size: 12px;
    color: var(--mist);
    margin-top: 6px;
    margin-bottom: 0;
  }

  .page-products .products-section {
    padding: 34px 30px;
    margin-bottom: 24px;
  }

  .page-products .archive-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
  }

  .page-products .sync-layout {
    grid-template-columns: 300px 1fr;
    gap: 40px;
  }

  .page-products .sync-figure {
    max-width: 300px;
  }

  .page-products .compare-layout {
    grid-template-columns: 1fr 0.9fr;
    gap: 36px;
  }

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

  .page-products .refresh-figure {
    grid-column: auto;
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .page-products .service-board {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 56px;
  }

  .page-products .products-hero-inner {
    grid-template-columns: 1fr 0.85fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
