.page-products {
  --p-pad: clamp(18px, 2.2vw, 32px);
  --p-gap: clamp(14px, 1.6vw, 24px);
  overflow-x: clip;
}

.page-products .breadcrumbs {
  margin: 0;
  padding-top: clamp(14px, 2vw, 26px);
}

/* ===== 首屏拼贴 ===== */
.page-products .p-hero {
  padding-top: clamp(18px, 2.4vw, 34px);
}

.page-products .p-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .p-hero-grid > * {
  background: var(--ink-900);
  min-width: 0;
}

.page-products .p-hero-head {
  padding: var(--p-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-products .p-hero-head h1 {
  margin: 0;
  font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--text);
  max-width: 20ch;
}

.page-products .p-hero-head .lede {
  margin: 0;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .p-hero-stat {
  position: relative;
  overflow: hidden;
  padding: var(--p-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(150deg, var(--ink-700) 0%, var(--ink-800) 60%, var(--ink-900) 100%);
}

.page-products .p-hero-stat::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 229, 207, .06) 0 1px,
    transparent 1px 5px
  );
}

.page-products .p-hero-stat > * {
  position: relative;
  z-index: 1;
}

.page-products .p-hero-stat .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(64px, 9vw, 132px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.page-products .p-hero-stat .stat-label {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--text);
}

.page-products .p-hero-stat-note {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .p-hero-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  min-width: 0;
}

.page-products .p-hero-tags li {
  background: var(--ink-900);
  padding: 16px var(--p-pad);
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--text);
}

.page-products .p-hero-tags .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--violet);
}

.page-products .p-hero-media {
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
}

.page-products .p-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-products .p-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(108, 59, 255, .07) 0 1px,
    transparent 1px 6px
  );
}

@media (min-width: 880px) {
  .page-products .p-hero-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    grid-template-areas:
      "head stat"
      "media tags";
  }
  .page-products .p-hero-head { grid-area: head; }
  .page-products .p-hero-stat { grid-area: stat; }
  .page-products .p-hero-tags { grid-area: tags; }
  .page-products .p-hero-media { grid-area: media; }
  .page-products .p-hero-media img { height: 100%; }
}

/* ===== 服务分类 ===== */
.page-products .p-services {
  padding-top: clamp(48px, 6vw, 92px);
}

.page-products .p-head {
  margin-bottom: clamp(22px, 2.6vw, 38px);
}

.page-products .p-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--p-gap);
}

@media (min-width: 760px) {
  .page-products .p-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .p-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2vw, 26px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .24s var(--ease), transform .24s var(--ease);
}

.page-products .p-service-card:hover {
  border-color: var(--violet);
  transform: translateY(-2px);
}

.page-products .p-service-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--violet);
}

.page-products .p-service-card h3 {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-products .p-service-for {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: .02em;
  color: var(--cyan);
}

.page-products .p-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .p-service-list li {
  position: relative;
  padding-left: 14px;
}

.page-products .p-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 1px;
  background: var(--violet);
}

.page-products .p-service-link {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-products .p-service-link:hover,
.page-products .p-service-link:focus-visible {
  color: var(--paper);
}

.page-products .p-region-figure {
  margin: clamp(24px, 3vw, 40px) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
}

.page-products .p-region-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-products .p-region-figure .caption {
  padding: 12px clamp(14px, 1.8vw, 22px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 字段清单 ===== */
.page-products .p-fields {
  padding-top: clamp(48px, 6vw, 92px);
}

.page-products .p-fields-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
}

.page-products .p-rail {
  padding: var(--p-pad);
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-products .p-fields-main {
  min-width: 0;
}

@media (min-width: 980px) {
  .page-products .p-fields-layout {
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .page-products .p-rail,
  .page-products .p-fields-main {
    border: 0;
    border-radius: 0;
    padding: var(--p-pad);
  }
  .page-products .p-rail { background: var(--ink-700); }
  .page-products .p-fields-main { background: var(--ink-900); }
}

.page-products .p-rail-list {
  list-style: none;
  margin: 14px 0 20px;
  padding: 0;
  display: grid;
}

.page-products .p-rail-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  color: var(--muted);
}

.page-products .p-rail-list li.is-current {
  color: var(--text);
  border-bottom-color: var(--violet);
}

.page-products .p-rail-list .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--violet);
}

.page-products .p-rail-note {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .p-field-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
}

.page-products .p-table-caption {
  text-align: left;
  padding: 14px clamp(14px, 1.8vw, 22px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-products .p-field-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .p-field-table th {
  text-align: left;
  padding: 12px clamp(14px, 1.8vw, 22px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.page-products .p-field-table td {
  padding: 12px clamp(14px, 1.8vw, 22px);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  line-height: 1.68;
  color: var(--text);
}

.page-products .p-field-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .p-field-table tbody tr:hover td {
  background: rgba(108, 59, 255, .07);
}

.page-products .p-field-table td:first-child {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--amber);
  white-space: nowrap;
}

.page-products .p-field-table .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

@media (max-width: 719px) {
  .page-products .p-field-table thead { display: none; }
  .page-products .p-field-table,
  .page-products .p-field-table tbody,
  .page-products .p-field-table tr,
  .page-products .p-field-table td {
    display: block;
    width: 100%;
  }
  .page-products .p-field-table tr {
    padding: 14px clamp(14px, 4vw, 20px);
    border-bottom: 1px solid var(--line);
  }
  .page-products .p-field-table tbody tr:last-child { border-bottom: 0; }
  .page-products .p-field-table td {
    border-bottom: 0;
    padding: 3px 0;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
  }
  .page-products .p-field-table td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--muted);
  }
  .page-products .p-field-table td:first-child {
    white-space: normal;
    color: var(--amber);
  }
}

.page-products .p-fields-figure {
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
}

.page-products .p-fields-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-products .p-fields-figure .caption {
  padding: 12px clamp(14px, 1.8vw, 22px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .p-weight {
  margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(18px, 2.2vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2vw, 30px);
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-products .p-weight h3 {
  margin: 8px 0 10px;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
  color: var(--text);
}

.page-products .p-weight-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .p-weight-bar {
  display: flex;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-products .p-seg { display: block; height: 100%; }
.page-products .p-seg-a { flex: 44; background: linear-gradient(90deg, var(--amber), #FFA23B); }
.page-products .p-seg-b { flex: 33; background: linear-gradient(90deg, var(--cyan), #00A895); }
.page-products .p-seg-c { flex: 23; background: linear-gradient(90deg, var(--violet), var(--violet-deep)); }

.page-products .p-weight-legend {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--muted);
}

.page-products .p-weight-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .p-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 1px;
}

.page-products .p-key-a { background: var(--amber); }
.page-products .p-key-b { background: var(--cyan); }
.page-products .p-key-c { background: var(--violet); }

.page-products .p-weight-figure {
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .p-weight-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

@media (min-width: 880px) {
  .page-products .p-weight {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ===== 交付格式 ===== */
.page-products .p-formats {
  padding-top: clamp(48px, 6vw, 92px);
}

.page-products .p-file-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--p-gap);
}

@media (min-width: 760px) {
  .page-products .p-file-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-products .p-file-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2vw, 26px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-products .p-file-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.page-products .p-file-csv::before { background: var(--cyan); }
.page-products .p-file-xlsx::before { background: var(--amber); }
.page-products .p-file-json::before { background: var(--violet); }

.page-products .p-file-ext {
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-products .p-file-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text);
}

.page-products .p-file-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .p-dict {
  margin-top: clamp(22px, 2.6vw, 36px);
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
}

.page-products .p-dict h3 {
  margin: 8px 0 12px;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
  color: var(--text);
}

.page-products .p-dict > p {
  margin: 0 0 20px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .p-dict-groups {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .p-dict-group {
  background: var(--ink-800);
}

.page-products .p-dict-group summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px clamp(14px, 1.8vw, 22px);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.page-products .p-dict-group summary::-webkit-details-marker { display: none; }

.page-products .p-dict-group summary::after {
  content: "＋";
  margin-left: auto;
  font-size: 14px;
  color: var(--violet);
}

.page-products .p-dict-group[open] summary::after { content: "－"; }

.page-products .p-dict-group summary .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--violet);
}

.page-products .p-dict-group p {
  margin: 0;
  padding: 0 clamp(14px, 1.8vw, 22px) 16px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

/* ===== 移动端 ===== */
.page-products .p-mobile {
  padding-top: clamp(48px, 6vw, 92px);
}

.page-products .p-mobile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 2.6vw, 40px);
  align-items: center;
}

@media (min-width: 880px) {
  .page-products .p-mobile-grid {
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  }
}

.page-products .p-mobile-media {
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-700);
}

.page-products .p-mobile-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-products .p-mobile-copy .section-title {
  margin: 8px 0 0;
}

.page-products .p-mobile-copy > p {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .p-mobile-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .p-mobile-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text);
}

.page-products .p-mobile-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  transform: rotate(45deg);
}

/* ===== 起订与报价 ===== */
.page-products .p-pricing {
  padding-top: clamp(48px, 6vw, 92px);
}

.page-products .p-price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 640px) {
  .page-products .p-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-products .p-price-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-products .p-price-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2vw, 26px);
  background: var(--ink-800);
}

.page-products .p-price-value {
  font-family: var(--font-mono);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-products .p-price-cell p {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
}

/* ===== 样例数据包 ===== */
.page-products .p-sample {
  padding-top: clamp(48px, 6vw, 92px);
}

.page-products .p-sample-inner {
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(108, 59, 255, .2) 0%, transparent 56%),
    linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
}

.page-products .p-sample-copy .section-title {
  margin: 8px 0 0;
}

.page-products .p-sample-copy > p {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .p-sample-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text);
}

.page-products .p-sample-list li {
  position: relative;
  padding-left: 20px;
}

.page-products .p-sample-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 7px;
  height: 7px;
  background: var(--amber);
  transform: rotate(45deg);
}

.page-products .p-sample-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 底部收口 ===== */
.page-products .p-cta {
  padding-top: clamp(44px, 5.4vw, 84px);
  padding-bottom: clamp(28px, 3.4vw, 56px);
}

.page-products .p-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--violet);
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--ink-700) 0%, var(--ink-800) 100%);
  box-shadow: 0 0 0 1px rgba(108, 59, 255, .16), 0 18px 48px -30px rgba(108, 59, 255, .8);
}

@media (min-width: 880px) {
  .page-products .p-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.page-products .p-cta-inner .section-title {
  margin: 8px 0 0;
}

.page-products .p-cta-inner p {
  margin: 12px 0 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

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

/* ===== 动效降级 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-products .p-service-card {
    transition: none;
  }
  .page-products .p-service-card:hover {
    transform: none;
  }
  .page-products .p-service-link {
    transition: none;
  }
}
