.page-products {
  --dl-phone: var(--cyan);
  --dl-big: var(--amber);
  --dl-card: rgba(16, 37, 31, 0.72);
  padding-top: clamp(16px, 3vw, 28px);
  padding-bottom: clamp(48px, 8vw, 104px);
  color: var(--fog);
}

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

.page-products .module {
  margin-top: clamp(52px, 7vw, 92px);
}

.page-products .module__body {
  max-width: 38em;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(232, 240, 234, 0.86);
}

.page-products .module__body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 首屏 ---------- */
.page-products .dl-hero {
  position: relative;
  margin: clamp(14px, 2.4vw, 26px) 0 0;
  padding: clamp(26px, 4.6vw, 52px) clamp(20px, 3.6vw, 48px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 110% at 100% 0%, rgba(79, 227, 193, 0.12), transparent 58%),
    linear-gradient(180deg, var(--ink-2), var(--ink-3));
  overflow: hidden;
}

.page-products .dl-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 162, 75, 0.16), transparent 68%);
  pointer-events: none;
}

.page-products .dl-hero .eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

.page-products .dl-hero h1 {
  margin: 0;
  max-width: 18em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 6.4vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--fog);
}

.page-products .dl-hero__lede {
  max-width: 38em;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(232, 240, 234, 0.82);
}

.page-products .dl-hero__list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.page-products .dl-hero__list li {
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(10, 23, 20, 0.55);
  font-size: 14px;
  line-height: 1.6;
  color: var(--moss);
}

.page-products .dl-hero__list .num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .dl-hero__list li:nth-child(2) .num {
  color: var(--amber);
}

.page-products .dl-hero__list li:nth-child(3) .num {
  color: var(--fog);
}

/* ---------- 设备切换 ---------- */
.page-products .device-switch .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-products .device-panel {
  display: grid;
  gap: 24px;
  margin-top: 22px;
}

.page-products .device-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-3);
  overflow: hidden;
}

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

.page-products .device-figure--phone {
  max-width: 320px;
  border-top: 3px solid var(--dl-phone);
}

.page-products .device-figure--phone img {
  max-height: 480px;
}

.page-products .device-figure--big {
  border-top: 3px solid var(--dl-big);
}

.page-products .device-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 3.4vw, 26px);
  line-height: 1.3;
  color: var(--fog);
}

.page-products .device-copy p {
  max-width: 34em;
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(232, 240, 234, 0.8);
}

/* ---------- 要点列表 ---------- */
.page-products .points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-products .points li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--dl-card);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(232, 240, 234, 0.86);
}

.page-products .points li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 23px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--dl-phone);
}

.page-products .points--big li::before {
  background: var(--dl-big);
}

.page-products .device-copy .points {
  margin-top: 20px;
  gap: 10px;
}

.page-products .device-copy .points li {
  padding: 13px 16px 13px 40px;
  font-size: 14.5px;
  border-color: rgba(147, 167, 156, 0.16);
}

.page-products .device-copy .points li::before {
  top: 19px;
}

/* ---------- 收藏与提醒 ---------- */
.page-products .fav-grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  grid-template-columns: 1fr;
}

.page-products .fav-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(16, 37, 31, 0.86), rgba(10, 23, 20, 0.9));
}

.page-products .fav-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 3.2vw, 24px);
  line-height: 1.32;
  color: var(--fog);
}

.page-products .fav-card p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(232, 240, 234, 0.8);
}

.page-products .fav-card p:last-child {
  margin-bottom: 0;
}

.page-products .fav-figure {
  margin: 0 0 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-3);
}

.page-products .fav-figure--calendar {
  margin: 22px 0 18px;
}

.page-products .alert-line {
  list-style: none;
  margin: 22px 0 0;
  padding: 0 0 0 4px;
  position: relative;
}

.page-products .alert-line::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--amber));
  opacity: 0.55;
}

.page-products .alert-line li {
  position: relative;
  padding: 0 0 22px 30px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(232, 240, 234, 0.84);
}

.page-products .alert-line li:last-child {
  padding-bottom: 0;
}

.page-products .alert-line li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--ink);
}

.page-products .alert-line li:last-child::before {
  border-color: var(--amber);
}

.page-products .alert-line__time {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .alert-line__time--amber {
  color: var(--amber);
}

/* ---------- 双端同步 ---------- */
.page-products .sync-panel {
  margin-top: 26px;
  border-left: 3px solid var(--cyan);
}

/* ---------- 版本 ---------- */
.page-products .version-figure {
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(90deg, rgba(79, 227, 193, 0.08), rgba(240, 162, 75, 0.08));
  overflow: hidden;
}

.page-products .version-tabs {
  margin-top: 26px;
}

.page-products .version-tabs .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .version-tabs__panel {
  margin-top: 18px;
  padding: 22px clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--dl-phone);
  border-radius: var(--r-md);
  background: rgba(13, 31, 26, 0.92);
}

.page-products .version-tabs__panel p {
  margin: 12px 0 0;
  max-width: 40em;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(232, 240, 234, 0.84);
}

.page-products .version-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(79, 227, 193, 0.4);
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .spec-table {
  margin-top: 30px;
}

.page-products .spec-table caption {
  padding: 0 0 14px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--moss);
}

.page-products .spec-table .table th[scope="row"] {
  font-weight: 500;
  color: var(--fog);
}

.page-products .spec-table .table td {
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- 安装步骤 ---------- */
.page-products .install-steps .tabs__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.page-products .install-steps__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(16, 37, 31, 0.7);
  color: var(--fog);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products .install-steps__btn:hover,
.page-products .install-steps__btn[aria-selected="true"] {
  border-color: var(--cyan);
  background: rgba(79, 227, 193, 0.1);
}

.page-products .install-steps__btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .install-steps__num {
  flex: 0 0 auto;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .install-steps__btn[aria-selected="true"] .install-steps__num {
  color: var(--amber);
}

.page-products .install-steps__panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(16, 37, 31, 0.88), rgba(10, 23, 20, 0.88));
}

.page-products .install-steps__panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 3.2vw, 24px);
  line-height: 1.32;
  color: var(--fog);
}

.page-products .install-steps__panel p {
  margin: 14px 0 0;
  max-width: 40em;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(232, 240, 234, 0.84);
}

/* ---------- 收尾 ---------- */
.page-products .cta-band {
  padding: clamp(26px, 4vw, 46px) clamp(20px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(240, 162, 75, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(16, 37, 31, 0.9), rgba(10, 23, 20, 0.94));
}

.page-products .cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.28;
  color: var(--fog);
}

.page-products .cta-band p {
  max-width: 40em;
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(232, 240, 234, 0.82);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .dl-hero__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-products .points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-products .install-steps .tabs__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .device-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(28px, 4vw, 52px);
    margin-top: 28px;
  }

  .page-products .fav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .page-products .module__body {
    font-size: 16.5px;
  }
}

@media (min-width: 1120px) {
  .page-products .dl-hero {
    padding: clamp(40px, 4vw, 60px) clamp(40px, 4vw, 64px);
  }

  .page-products .device-figure--phone {
    max-width: 100%;
  }

  .page-products .device-figure--phone img {
    max-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .install-steps__btn {
    transition: none;
  }
}
