/* =========================================================
   页面：产品与交付 /product/
   作用域：.page-products
   ========================================================= */

.page-products {
  --pp-sec-gap: clamp(52px, 7vw, 92px);
  --pp-card-bg: linear-gradient(162deg, rgba(16, 42, 60, 0.94), rgba(6, 18, 30, 0.94));
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  padding: clamp(28px, 5vw, 60px) 0 clamp(34px, 5vw, 68px);
  overflow: hidden;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -24%;
  right: -16%;
  width: 54vw;
  height: 54vw;
  max-width: 640px;
  max-height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 211, 200, 0.15), rgba(88, 211, 200, 0) 68%);
  pointer-events: none;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--gold) 52%, var(--moss));
  opacity: 0.45;
}

.page-products .prod-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 44px);
  margin-top: clamp(20px, 3vw, 34px);
}

.page-products .prod-hero__lead h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(27px, 5.4vw, 50px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-products .prod-hero__lead .lead {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: clamp(14.5px, 1.1vw, 16px);
  line-height: 1.78;
  color: var(--mist);
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .prod-hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: end;
}

.page-products .prod-stat {
  position: relative;
  padding: 14px 12px 14px 14px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: rgba(16, 42, 60, 0.5);
}

.page-products .prod-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(242, 162, 58, 0));
}

.page-products .prod-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold-soft);
}

.page-products .prod-stat__label {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

@media (min-width: 940px) {
  .page-products .prod-hero__inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: end;
  }
}

/* ---------- 主体容器 ---------- */
.page-products .prod-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
  padding-top: clamp(30px, 4.5vw, 60px);
  padding-bottom: clamp(46px, 7vw, 96px);
}

/* ---------- 左侧索引 ---------- */
.page-products .prod-index__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.page-products .prod-index__list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}

.page-products .prod-index__list::-webkit-scrollbar {
  display: none;
}

.page-products .prod-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(16, 42, 60, 0.72);
  color: var(--mist);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.page-products .prod-index__no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-products .prod-index__link:hover,
.page-products .prod-index__link:focus-visible {
  color: var(--gold-soft);
  border-color: rgba(242, 162, 58, 0.45);
  background: rgba(242, 162, 58, 0.1);
}

.page-products .prod-index__link[aria-current] {
  color: var(--gold-soft);
  border-color: rgba(242, 162, 58, 0.55);
  background: rgba(242, 162, 58, 0.12);
}

@media (min-width: 1000px) {
  .page-products .prod-shell {
    grid-template-columns: 214px minmax(0, 1fr);
    gap: clamp(40px, 4vw, 68px);
  }

  .page-products .prod-index__inner {
    position: sticky;
    top: 28px;
  }

  .page-products .prod-index__list {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
    gap: 2px;
  }

  .page-products .prod-index__link {
    width: 100%;
    border-color: transparent;
    background: transparent;
    border-radius: var(--radius-s);
    padding: 10px 12px;
    font-size: 13.5px;
  }

  .page-products .prod-index__link[aria-current] {
    border-color: transparent;
    border-left: 2px solid var(--gold);
    background: rgba(242, 162, 58, 0.09);
  }
}

/* ---------- 章节 ---------- */
.page-products .prod-sec {
  scroll-margin-top: 88px;
}

.page-products .prod-sec + .prod-sec {
  margin-top: var(--pp-sec-gap);
}

.page-products .prod-sec__head {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-products .prod-sec__head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3.3vw, 33px);
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--ice);
}

.page-products .prod-sec__intro {
  margin: 12px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 图片容器 ---------- */
.page-products .prod-shot {
  position: relative;
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-deep);
}

.page-products .prod-shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-products .prod-shot--wide {
  aspect-ratio: 16 / 10;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-products .prod-shot--32 {
  aspect-ratio: 3 / 2;
}

.page-products .prod-shot__cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(6, 18, 30, 0.8);
  border: 1px solid rgba(88, 211, 200, 0.3);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 功能卡片 ---------- */
.page-products .cap-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products .cap-card {
  position: relative;
  padding: 22px 20px 22px 24px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--pp-card-bg);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-products .cap-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(88, 211, 200, 0));
}

.page-products .cap-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.page-products .cap-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--cyan);
  background: rgba(88, 211, 200, 0.1);
  border: 1px solid rgba(88, 211, 200, 0.24);
}

.page-products .cap-card h3 {
  margin: 15px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0;
  color: var(--ice);
}

.page-products .cap-card p {
  margin: 9px 0 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--mist);
}

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

/* ---------- 安装自检 ---------- */
.page-products .check-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-products .check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: chk;
}

.page-products .check-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 5px;
  padding: 18px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: rgba(6, 18, 30, 0.62);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-products .check-item:hover {
  border-color: var(--line-strong);
  background: rgba(16, 42, 60, 0.62);
}

.page-products .check-item__num {
  grid-row: 1 / span 2;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: rgba(242, 162, 58, 0.1);
  border: 1px solid rgba(242, 162, 58, 0.3);
}

.page-products .check-item__title {
  margin: 0;
  align-self: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15.5px;
  color: var(--ice);
}

.page-products .check-item__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

@media (min-width: 1080px) {
  .page-products .check-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }

  .page-products .check-shot {
    position: sticky;
    top: 28px;
  }
}

/* ---------- 交付方式 ---------- */
.page-products .deliver-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products .deliver-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--pp-card-bg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-products .deliver-card:hover {
  border-color: rgba(242, 162, 58, 0.4);
  transform: translateY(-2px);
}

.page-products .deliver-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-products .deliver-card__time {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: var(--gold);
}

.page-products .deliver-card__num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

.page-products .deliver-card__unit {
  font-size: 12px;
  color: var(--mist);
}

.page-products .deliver-card h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  color: var(--ice);
}

.page-products .deliver-card__desc {
  margin: 9px 0 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--mist);
}

.page-products .deliver-card__points {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 9px;
}

.page-products .deliver-card__points li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ice);
}

.page-products .deliver-card__points span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  padding-top: 3px;
}

.page-products .deliver-shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

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

  .page-products .deliver-card:nth-child(2) {
    transform: translateY(16px);
  }

  .page-products .deliver-card:nth-child(2):hover {
    transform: translateY(13px);
  }

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

/* ---------- 价格区间 ---------- */
.page-products .price-axis {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .price-tier {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius-m);
  background: var(--cream);
  border: 1px solid rgba(10, 27, 42, 0.12);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.75);
  transition: transform 0.2s ease;
}

.page-products .price-tier:hover {
  transform: translateY(-3px);
}

.page-products .price-tier__code {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cream);
  background: var(--ink);
}

.page-products .price-tier h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: #10202c;
}

.page-products .price-tier__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.76;
  color: rgba(16, 32, 44, 0.76);
}

.page-products .price-tier__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(16, 32, 44, 0.16);
  display: grid;
  gap: 8px;
}

.page-products .price-tier__list li {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: rgba(16, 32, 44, 0.82);
}

.page-products .price-tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-deep);
}

.page-products .price-note {
  margin: 22px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: rgba(16, 42, 60, 0.5);
  font-size: 14px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .prod-inline-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(88, 211, 200, 0.4);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-products .prod-inline-link:hover,
.page-products .prod-inline-link:focus-visible {
  color: var(--gold-soft);
  border-color: rgba(255, 196, 107, 0.6);
}

@media (min-width: 880px) {
  .page-products .price-axis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 30px;
  }

  .page-products .price-axis::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 10px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--gold) 50%, var(--moss));
    opacity: 0.55;
  }

  .page-products .price-tier::before {
    content: "";
    position: absolute;
    left: 20px;
    top: -25px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(242, 162, 58, 0.16);
  }

  .page-products .price-tier:nth-child(2) {
    transform: translateY(18px);
  }

  .page-products .price-tier:nth-child(2):hover {
    transform: translateY(15px);
  }
}

/* ---------- 区域授权 ---------- */
.page-products .lic-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .lic-card {
  padding: 20px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(108, 129, 91, 0.16), rgba(6, 18, 30, 0.8));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-products .lic-card:hover {
  border-color: rgba(108, 129, 91, 0.6);
  transform: translateY(-2px);
}

.page-products .lic-card__code {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--moss);
  border: 1px solid rgba(108, 129, 91, 0.5);
  background: rgba(108, 129, 91, 0.14);
}

.page-products .lic-card h3 {
  margin: 13px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16.5px;
  color: var(--ice);
}

.page-products .lic-card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--mist);
}

.page-products .lic-network {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: clamp(24px, 3.5vw, 38px);
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: rgba(6, 18, 30, 0.58);
}

.page-products .lic-network__text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  color: var(--ice);
}

.page-products .lic-network__text p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--mist);
}

.page-products .lic-network__text .btn {
  margin-top: 20px;
}

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

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

  .page-products .lic-card:nth-child(even) {
    transform: translateY(14px);
  }

  .page-products .lic-card:nth-child(even):hover {
    transform: translateY(11px);
  }

  .page-products .lic-network {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }
}

/* ---------- 获取与支持 ---------- */
.page-products .flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  counter-reset: flow;
}

.page-products .flow-step {
  position: relative;
  padding: 20px 20px 20px 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(88, 211, 200, 0.5);
  background: rgba(16, 42, 60, 0.45);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-products .flow-step:hover {
  border-color: var(--line-strong);
  background: rgba(16, 42, 60, 0.7);
}

.page-products .flow-step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-products .flow-step h3 {
  margin: 9px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--ice);
}

.page-products .flow-step p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--mist);
}

.page-products .prod-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 40px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-l);
  border: 1px solid rgba(242, 162, 58, 0.28);
  background: linear-gradient(140deg, rgba(242, 162, 58, 0.12), rgba(16, 42, 60, 0.7) 62%);
}

.page-products .prod-cta__text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.3;
  color: var(--ice);
}

.page-products .prod-cta__text p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .prod-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
}

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

  .page-products .flow-list li:last-child {
    grid-column: 1 / -1;
  }
}

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

  .page-products .flow-list li:last-child {
    grid-column: auto;
  }

  .page-products .prod-cta {
    grid-template-columns: minmax(0, 1.6fr) auto;
    align-items: center;
  }
}

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-products .prod-index__link,
  .page-products .cap-card,
  .page-products .check-item,
  .page-products .deliver-card,
  .page-products .price-tier,
  .page-products .lic-card,
  .page-products .flow-step {
    transition: none;
  }

  .page-products .cap-card:hover,
  .page-products .deliver-card:hover,
  .page-products .price-tier:hover,
  .page-products .lic-card:hover,
  .page-products .deliver-card:nth-child(2),
  .page-products .deliver-card:nth-child(2):hover,
  .page-products .price-tier:nth-child(2),
  .page-products .price-tier:nth-child(2):hover,
  .page-products .lic-card:nth-child(even),
  .page-products .lic-card:nth-child(even):hover {
    transform: none;
  }
}
