/* ===== 平台服务页 · 页面专属样式 ===== */
.page-products {
  --amber-deep: #8A5A00;
  --dot-green: #66BB6A;
  --dot-bay: #7FA8C9;
  --ring-size: 240px;
}

/* ---------- 内容约束 ---------- */
.page-products .content-wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 20px;
}

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

.page-products figure {
  margin: 0;
}

.page-products figcaption {
  font-size: 0.85rem;
  color: var(--c-gray);
  margin-top: 10px;
  text-align: center;
}

/* ---------- 章节标题 ---------- */
.page-products .section-head--page {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.page-products .section-head__index {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-orange);
  background: rgba(255, 108, 47, 0.12);
  border: 1px solid rgba(255, 108, 47, 0.18);
  border-radius: var(--r-pill);
  padding: 6px 14px;
}

.page-products .section-head__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--c-deep);
}

.page-products .section-head__lead {
  color: var(--c-gray);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  max-width: 58ch;
}

/* ---------- Hero ---------- */
.page-products .page-hero {
  position: relative;
  isolation: isolate;
  padding: 24px 20px 48px;
  color: #fff;
  background:
    radial-gradient(900px 420px at 85% -5%, rgba(74, 159, 216, 0.3), transparent 60%),
    radial-gradient(500px 300px at 5% 110%, rgba(255, 176, 32, 0.16), transparent 55%),
    linear-gradient(150deg, var(--c-deep) 0%, var(--c-deep) 42%, var(--c-bay) 100%);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
}

.page-products .page-hero::after {
  content: "SERVICE INDEX";
  position: absolute;
  right: -10px;
  bottom: -24px;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
}

.page-products .page-hero__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  display: grid;
  gap: 36px;
}

.page-products .page-hero__inner .breadcrumb {
  grid-column: 1 / -1;
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  padding: 0;
}

.page-products .breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.page-products .breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-products .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

.page-products .page-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--c-amber);
  border: 1px solid rgba(255, 176, 32, 0.35);
  background: rgba(255, 176, 32, 0.1);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin: 0 0 20px;
}

.page-products .page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: #fff;
}

.page-products .page-hero__lead {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
  margin: 0 0 28px;
}

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

.page-products .page-hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.page-products .page-hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.page-products .page-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-products .page-hero__ring {
  width: var(--ring-size);
  height: var(--ring-size);
  filter: drop-shadow(0 20px 40px rgba(255, 108, 47, 0.14));
}

.page-products .page-hero__ring text {
  font-family: var(--font-mono);
}

/* ---------- 01 服务范围 ---------- */
.page-products .scope-section {
  padding-top: 48px;
  margin-bottom: 56px;
}

.page-products .scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.page-products .scope-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(20, 53, 94, 0.06);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .scope-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.page-products .scope-card__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-orange);
}

.page-products .scope-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--c-frost);
  color: var(--c-bay);
  display: grid;
  place-items: center;
  margin-top: 4px;
}

.page-products .scope-card__icon svg {
  width: 28px;
  height: 28px;
}

.page-products .scope-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin: 0;
  color: var(--c-deep);
}

.page-products .scope-card p {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--c-gray);
  margin: 0;
}

.page-products .scope-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-bay);
  text-decoration: none;
  margin-top: 4px;
}

.page-products .scope-card__link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.page-products .scope-card__link:hover::after {
  transform: translateX(4px);
}

.page-products .scope-layout__figure img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  background: #fff;
  border: 1px solid rgba(20, 53, 94, 0.06);
}

/* ---------- 02 重点场景 ---------- */
.page-products .scenario-section {
  margin-bottom: 56px;
}

.page-products .scenario-row {
  display: grid;
  gap: 24px;
  background: #fff;
  border-radius: var(--r-lg);
  border-top: 4px solid var(--c-orange);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s var(--ease);
}

.page-products .scenario-row:hover {
  box-shadow: var(--shadow-hover);
}

.page-products .scenario-row--password {
  border-top-color: var(--c-azure);
}

.page-products .scenario-row--config {
  border-top-color: var(--c-amber);
}

.page-products .scenario-row__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.page-products .scenario-row__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-orange);
  background: rgba(255, 108, 47, 0.1);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}

.page-products .scenario-row--password .scenario-row__num {
  color: var(--c-bay);
  background: rgba(74, 159, 216, 0.12);
}

.page-products .scenario-row--config .scenario-row__num {
  color: var(--amber-deep);
  background: rgba(255, 176, 32, 0.14);
}

.page-products .scenario-row h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
  color: var(--c-deep);
}

.page-products .scenario-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .scenario-row__panel {
  border-top: 1px dashed rgba(20, 53, 94, 0.16);
  padding-top: 20px;
}

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

.page-products .scenario-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-products .scenario-steps__num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-deep);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.page-products .scenario-steps p {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--c-gray);
  line-height: 1.75;
  font-size: 0.92rem;
}

.page-products .scenario-detail {
  margin-top: 18px;
  border-top: 1px dashed rgba(20, 53, 94, 0.16);
  padding-top: 12px;
}

.page-products .scenario-detail summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-bay);
}

.page-products .scenario-detail summary::-webkit-details-marker {
  display: none;
}

.page-products .scenario-detail summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--c-orange);
  transition: transform 0.25s var(--ease);
}

.page-products .scenario-detail[open] summary::before {
  transform: rotate(45deg);
}

.page-products .scenario-detail__body {
  padding: 14px 0 6px;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--c-gray);
}

.page-products .scenario-section__figure {
  margin-top: 32px;
}

.page-products .scenario-section__figure img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  background: #fff;
  border: 1px solid rgba(20, 53, 94, 0.06);
}

/* ---------- 03 版本变化 ---------- */
.page-products .version-section {
  background: var(--c-deep);
  padding: 48px 0;
  margin-bottom: 56px;
}

.page-products .version-section .section-head__title {
  color: #fff;
}

.page-products .version-section .section-head__lead {
  color: rgba(255, 255, 255, 0.72);
}

.page-products .version-layout {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.page-products .version-col {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 22px;
}

.page-products .version-col h3 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.page-products .version-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .version-col li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.page-products .version-col--new li {
  background: rgba(214, 234, 248, 0.14);
  flex-wrap: wrap;
}

.page-products .version-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.page-products .version-dot--azure { background: var(--c-azure); }
.page-products .version-dot--amber { background: var(--c-amber); }
.page-products .version-dot--orange { background: var(--c-orange); }
.page-products .version-dot--green { background: var(--dot-green); }
.page-products .version-dot--bay { background: var(--dot-bay); }
.page-products .version-dot--gold { background: var(--c-gold); }

.page-products .version-col__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.page-products .version-col__name strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.page-products .version-col__name small {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-products .version-col__src {
  flex-basis: 100%;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 4px 8px;
}

.page-products .version-connector {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
}

.page-products .version-connector__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  transform: rotate(90deg);
}

.page-products .version-note {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--c-orange);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 20px 0 28px;
}

.page-products .version-section__figure img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-products .version-section__figure figcaption {
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- 04 访问渠道 ---------- */
.page-products .channel-section {
  margin-bottom: 56px;
}

.page-products .channel-layout {
  display: grid;
  gap: 28px;
}

.page-products .channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .channel-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(20, 53, 94, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.page-products .channel-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--c-deep);
  color: #fff;
  display: grid;
  place-items: center;
}

.page-products .channel-card__icon svg {
  width: 22px;
  height: 22px;
}

.page-products .channel-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  color: var(--c-deep);
}

.page-products .channel-card p {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--c-gray);
  margin: 0;
}

.page-products .channel-card a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-azure);
  text-decoration: none;
}

.page-products .channel-card a:hover {
  text-decoration: underline;
}

.page-products .channel-layout__figure img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  background: #fff;
  border: 1px solid rgba(20, 53, 94, 0.06);
}

/* ---------- 05 更新节奏 ---------- */
.page-products .update-wrap {
  margin-bottom: 56px;
}

.page-products .update-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #fff;
  border: 2px solid var(--c-frost);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-products .update-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-amber));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.page-products .update-panel__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 430px;
}

.page-products .update-panel__stats {
  display: flex;
  gap: 36px;
}

.page-products .update-panel__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .update-panel__num {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-orange);
}

.page-products .update-panel__label {
  font-size: 0.82rem;
  color: var(--c-gray);
}

.page-products .update-panel__text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-gray);
  margin: 0;
}

.page-products .update-panel__art {
  align-self: center;
}

.page-products .update-panel__art img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* ---------- 底部引导 ---------- */
.page-products .page-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--c-frost), rgba(214, 234, 248, 0.4));
  border-radius: var(--r-lg);
  padding: 40px 24px;
  margin-bottom: 56px;
}

.page-products .page-cta__title {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 800;
  margin: 0;
  color: var(--c-deep);
}

.page-products .page-cta__text {
  font-family: var(--font-serif);
  color: var(--c-gray);
  margin: 0;
  max-width: 40ch;
  line-height: 1.75;
}

.page-products .page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* ---------- 桌面端增强 ---------- */
@media (min-width: 900px) {
  .page-products {
    --ring-size: 320px;
  }

  .page-products .page-hero {
    padding: 36px 48px 72px;
  }

  .page-products .page-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }

  .page-products .page-hero__visual {
    justify-content: flex-end;
  }

  .page-products .scope-layout {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 40px;
    align-items: start;
  }

  .page-products .scope-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
  }

  .page-products .scope-card:last-child {
    grid-column: 1 / -1;
  }

  .page-products .scope-layout__figure {
    position: sticky;
    top: 28px;
    margin: 0;
  }

  .page-products .scenario-row {
    grid-template-columns: 0.8fr 1.4fr;
    gap: 48px;
    padding: 36px 40px;
  }

  .page-products .scenario-row__panel {
    border-top: none;
    border-left: 1px dashed rgba(20, 53, 94, 0.18);
    padding-top: 0;
    padding-left: 40px;
  }

  .page-products .scenario-row--password {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .page-products .scenario-row--password .scenario-row__aside {
    order: 2;
    align-items: flex-end;
    text-align: right;
  }

  .page-products .scenario-row--password .scenario-row__tags {
    justify-content: flex-end;
  }

  .page-products .scenario-row--password .scenario-row__panel {
    border-left: none;
    border-right: 1px dashed rgba(20, 53, 94, 0.18);
    padding-left: 0;
    padding-right: 40px;
  }

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

  .page-products .version-layout {
    grid-template-columns: 1fr 90px 1fr;
    gap: 20px;
    align-items: center;
  }

  .page-products .version-connector__arrow {
    transform: rotate(0deg);
  }

  .page-products .version-col {
    padding: 28px;
  }

  .page-products .channel-layout {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 48px;
    align-items: center;
  }

  .page-products .channel-grid {
    gap: 20px;
  }

  .page-products .update-panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 44px 52px;
  }

  .page-products .update-panel__art {
    margin-right: 24px;
  }

  .page-products .page-cta {
    padding: 48px;
  }
}
