.page-products {
  --pd-grid-line: rgba(41, 48, 61, 0.6);
  --pd-glow-amber: rgba(255, 138, 31, 0.2);
  --pd-glow-cyan: rgba(69, 216, 230, 0.15);
  --pd-card-bg: #141821;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(20px, 3.4vw, 40px) clamp(44px, 6vw, 78px);
  border-bottom: var(--line);
  background:
    radial-gradient(980px 420px at 90% -12%, var(--pd-glow-amber), transparent 68%),
    radial-gradient(680px 380px at 4% 112%, var(--pd-glow-cyan), transparent 72%),
    var(--ink);
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pd-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pd-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.34;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 46% 0%, #000 8%, transparent 76%);
  mask-image: radial-gradient(ellipse 85% 70% at 46% 0%, #000 8%, transparent 76%);
  pointer-events: none;
}

.page-products .pd-hero > .l8-container {
  position: relative;
  z-index: 1;
}

.page-products .pd-hero__grid {
  align-items: center;
  row-gap: clamp(26px, 4vw, 40px);
}

.page-products .pd-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.page-products .pd-hero__media {
  border: var(--line);
  box-shadow:
    0 22px 60px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 138, 31, 0.14);
}

/* ---------- 功能地图 ---------- */
.page-products .pd-map__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 62ch;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-products .pd-map__filters {
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3.2vw, 38px);
}

.page-products .pd-map__grid {
  row-gap: clamp(16px, 2.2vw, 26px);
}

.page-products .pd-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: clamp(20px, 2.3vw, 28px);
  background:
    linear-gradient(180deg, rgba(255, 138, 31, 0.05), transparent 42%),
    var(--pd-card-bg);
  border: var(--line);
  transition: transform 280ms ease, border-color 280ms ease, background-color 280ms ease;
}

.page-products .pd-card:hover,
.page-products .pd-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--amber);
  background-color: var(--amber-deep);
}

.page-products .pd-card .l8-panel__tag {
  align-self: flex-start;
}

.page-products .pd-card__link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-decoration: none;
}

.page-products .pd-card__link:hover {
  color: var(--gold);
}

/* ---------- 通用数据行 ---------- */
.page-products .pd-dims {
  list-style: none;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  border-top: var(--line);
}

.page-products .pd-dim {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 16px 2px;
  border-bottom: var(--line);
}

.page-products .pd-dim__key {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-transform: uppercase;
}

.page-products .pd-dim p {
  margin: 0;
  color: var(--mist);
}

/* ---------- 导航首页 ---------- */
.page-products .pd-nav__grid {
  row-gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.page-products .pd-nav__copy {
  display: flex;
  flex-direction: column;
}

.page-products .pd-dims--nav {
  margin-top: clamp(18px, 2.6vw, 26px);
}

.page-products .pd-nav__tip {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 30px);
  border-left: 3px solid var(--amber);
}

.page-products .pd-nav__tip .l8-h3 {
  margin: 0;
}

.page-products .pd-tip__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--mist);
}

.page-products .pd-nav__tip .l8-btn {
  align-self: flex-start;
}

/* ---------- 回访用户 ---------- */
.page-products .pd-revisit__grid {
  row-gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.page-products .pd-revisit__copy {
  display: flex;
  flex-direction: column;
}

.page-products .pd-steps {
  list-style: none;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .pd-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
  border-left: 2px solid var(--steel);
  background: linear-gradient(90deg, rgba(20, 24, 33, 0.92), rgba(20, 24, 33, 0.2));
  transition: border-color 240ms ease, transform 240ms ease;
}

.page-products .pd-step:hover {
  border-left-color: var(--amber);
  transform: translateX(3px);
}

.page-products .pd-step__num {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--amber);
  line-height: 1.5;
}

.page-products .pd-step__body .l8-h3 {
  margin: 0 0 6px;
}

.page-products .pd-step__body p {
  margin: 0;
  color: var(--mist);
}

.page-products .pd-revisit__media {
  border: var(--line);
  box-shadow: 0 20px 54px -32px rgba(69, 216, 230, 0.4);
}

.page-products .pd-revisit__visual .l8-note {
  margin-top: 14px;
}

/* ---------- 开服表 ---------- */
.page-products .pd-schedule__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 66ch;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-products .pd-schedule__grid {
  row-gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.page-products .pd-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--steel);
}

.page-products .pd-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mist);
}

.page-products .pd-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.page-products .pd-dot--soon {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(69, 216, 230, 0.16);
}

.page-products .pd-dot--live {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.18);
}

.page-products .pd-dot--warn {
  background: var(--red-soft);
  box-shadow: 0 0 0 4px rgba(142, 34, 48, 0.28);
}

.page-products .pd-schedule__media {
  border: var(--line);
  box-shadow: 0 20px 54px -32px rgba(255, 138, 31, 0.42);
}

/* ---------- 礼包中心 ---------- */
.page-products .pd-gift__grid {
  row-gap: clamp(28px, 4vw, 44px);
  align-items: center;
}

.page-products .pd-gift__copy {
  display: flex;
  flex-direction: column;
}

.page-products .pd-gift__media {
  border: var(--line);
  box-shadow: 0 20px 54px -32px rgba(255, 196, 107, 0.4);
}

.page-products .pd-checks {
  list-style: none;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .pd-checks li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 14px 16px;
  background: rgba(41, 48, 61, 0.24);
  border-left: 2px solid var(--steel);
  transition: border-color 240ms ease;
}

.page-products .pd-checks li:hover {
  border-left-color: var(--gold);
}

.page-products .pd-checks .l8-tag {
  justify-self: start;
}

.page-products .pd-checks p {
  margin: 0;
  color: var(--mist);
}

/* ---------- 开服提醒 ---------- */
.page-products .pd-remind__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 64ch;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-products .pd-remind__grid {
  row-gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.page-products .pd-remind__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 30px);
  border-left: 3px solid var(--gold);
}

.page-products .pd-remind__panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-products .pd-remind__panel p {
  margin: 0;
  color: var(--mist);
}

.page-products .pd-bar {
  position: relative;
  height: 7px;
  overflow: hidden;
  background: var(--steel);
}

.page-products .pd-bar__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  background: linear-gradient(90deg, var(--amber), var(--gold));
  animation: pd-sweep 4.2s ease-in-out infinite;
}

@keyframes pd-sweep {
  0% { transform: translateX(-105%); }
  100% { transform: translateX(255%); }
}

.page-products .pd-remind__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: var(--line);
}

.page-products .pd-remind__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 4px;
  border-bottom: var(--line);
}

.page-products .pd-remind__idx {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  line-height: 1.6;
}

.page-products .pd-remind__item .l8-h3 {
  margin: 0 0 6px;
}

.page-products .pd-remind__item p {
  margin: 0;
  color: var(--mist);
}

.page-products .pd-remind .l8-note {
  margin-top: 16px;
}

/* ---------- 多端访问 ---------- */
.page-products .pd-devices__grid {
  row-gap: clamp(28px, 4vw, 44px);
  align-items: center;
}

.page-products .pd-devices__copy {
  display: flex;
  flex-direction: column;
}

.page-products .pd-device-list {
  list-style: none;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-products .pd-device {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 14px 16px;
  border: var(--line);
  background: linear-gradient(135deg, rgba(69, 216, 230, 0.06), transparent 60%);
}

.page-products .pd-device__name {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-products .pd-device__desc {
  color: var(--mist);
  font-size: 15px;
}

.page-products .pd-devices__media {
  border: var(--line);
  box-shadow: 0 20px 54px -32px rgba(69, 216, 230, 0.34);
}

/* ---------- 尾段行动区 ---------- */
.page-products .pd-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3.2vw, 40px);
  background:
    radial-gradient(620px 240px at 100% 0%, rgba(255, 138, 31, 0.16), transparent 70%),
    var(--cab);
  border-left: 3px solid var(--amber);
}

.page-products .pd-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .pd-cta__copy p {
  margin: 0;
  color: var(--mist);
}

.page-products .pd-cta__copy a {
  color: var(--cyan);
}

.page-products .pd-cta__inner .l8-btn {
  align-self: flex-start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .pd-dim {
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: baseline;
    gap: 18px;
  }

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

@media (min-width: 900px) {
  .page-products .pd-hero__media {
    transform: translateY(-6px);
  }

  .page-products .pd-nav__tip {
    position: sticky;
    top: 96px;
  }

  .page-products .pd-device-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .pd-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-products .pd-cta__inner .l8-btn {
    align-self: center;
    flex-shrink: 0;
  }
}

@media (max-width: 639px) {
  .page-products .pd-hero__actions .l8-btn {
    width: 100%;
    text-align: center;
  }

  .page-products .pd-card {
    padding: 20px 18px;
  }

  .page-products .pd-step {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-bar__fill {
    animation: none;
    transform: none;
    width: 62%;
  }

  .page-products .pd-card,
  .page-products .pd-step {
    transition: none;
  }

  .page-products .pd-card:hover {
    transform: none;
  }

  .page-products .pd-hero__media {
    transform: none;
  }
}
