/* ========== 产品中心页专属样式 ========== */
.page-products {
  --product-gold-soft: rgba(212, 175, 55, 0.14);
  --product-cyan-soft: rgba(0, 212, 200, 0.12);
  --product-orange-soft: rgba(255, 107, 53, 0.14);
  --product-shadow: 0 14px 36px rgba(8, 18, 38, 0.5);
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products .section {
  margin-bottom: 72px;
}

/* 面包屑 */
.page-products .breadcrumb {
  margin-bottom: 22px;
}

.page-products .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .breadcrumb-item {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.page-products .breadcrumb-item a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.page-products .breadcrumb-item a:hover {
  border-bottom-color: var(--gold);
}

.page-products .breadcrumb-sep {
  color: var(--muted);
  opacity: 0.6;
}

/* 标题与导语 */
.page-products .section-head {
  margin-bottom: 30px;
}

.page-products .kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-products .section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5.4vw, 46px);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.page-products .title-mark {
  display: inline-block;
  width: 10px;
  height: 0.62em;
  margin-right: 10px;
  transform: skewX(-14deg);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.42);
  vertical-align: -0.05em;
}

.page-products .section-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 720px;
}

.page-products .text-muted {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-products .link-inline {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.45);
  transition: color var(--transition);
}

.page-products .link-inline:hover {
  color: var(--gold-light);
}

/* 图片框 */
.page-products .image-frame {
  position: relative;
  padding: 8px;
  background: var(--bg-deep);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: var(--product-shadow);
  overflow: hidden;
}

.page-products .image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.07), transparent 42%, rgba(0, 212, 200, 0.07));
}

.page-products .image-frame::after {
  content: attr(data-label);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(11, 27, 63, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 5px 10px;
}

.page-products .image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 首屏 Hero */
.page-products .products-hero {
  position: relative;
  display: grid;
  gap: 30px;
}

.page-products .products-hero::before {
  content: '';
  position: absolute;
  top: -20px;
  right: 0;
  width: 160px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--gold));
  transform: skewX(-18deg);
}

.page-products .products-hero__content {
  order: 1;
}

.page-products .products-hero__visual {
  order: 2;
}

.page-products .products-hero__frame {
  aspect-ratio: 16 / 8;
}

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

/* 统计网格 */
.page-products .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 26px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: linear-gradient(140deg, rgba(20, 42, 94, 0.9), rgba(8, 18, 38, 0.85));
  list-style: none;
}

.page-products .stat-cell {
  padding: 16px 14px;
  border-right: 1px solid rgba(212, 175, 55, 0.14);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.page-products .stat-cell:nth-child(2n) {
  border-right: 0;
}

.page-products .stat-cell:nth-child(n+3) {
  border-bottom: 0;
}

.page-products .stat-cell dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.page-products .stat-cell dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
}

/* 章节坐标索引 */
.page-products .index-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 10px 0 68px;
  padding: 14px 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.24);
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
}

.page-products .index-rail__label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-products .index-rail__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.page-products .index-rail__link:hover {
  color: var(--gold-light);
}

/* 功能标签与面板 */
.page-products .product-tabs {
  margin-bottom: 34px;
}

.page-products .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.page-products .tab-btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 8px 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.page-products .tab-btn:hover,
.page-products .tab-btn:focus {
  color: var(--gold-light);
  border-color: var(--gold);
  background: var(--product-gold-soft);
}

.page-products .tab-btn[data-active] {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.28);
}

.page-products .tab-panel {
  margin-bottom: 24px;
  scroll-margin-top: 16px;
}

.page-products .feature-panel {
  display: grid;
  gap: 26px;
  padding: 24px 20px;
  background: linear-gradient(150deg, rgba(20, 42, 94, 0.92), rgba(11, 27, 63, 0.95));
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  box-shadow: var(--product-shadow);
}

.page-products .feature-panel h3 {
  font-family: var(--font-head);
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--gold-light);
}

.page-products .feature-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 14px;
}

.page-products .feature-list {
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.page-products .feature-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.page-products .feature-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 212, 200, 0.45);
}

.page-products .feature-panel__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 16px;
  background: var(--bg-deep);
  border: 1px dashed rgba(212, 175, 55, 0.2);
}

/* 手机模型 */
.page-products .phone-model {
  position: relative;
  width: 168px;
  max-width: 100%;
  padding: 30px 12px 14px;
  border: 2px solid var(--gold);
  border-radius: 18px;
  background: var(--bg-deep);
  box-shadow: 0 0 24px rgba(0, 212, 200, 0.14), inset 0 0 14px rgba(212, 175, 55, 0.06);
}

.page-products .phone-model__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
  opacity: 0.7;
}

.page-products .phone-model__title {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .phone-model__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .phone-model__list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  font-size: 12px;
  color: var(--text);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.page-products .phone-model__list li:last-child {
  border-bottom: 0;
}

.page-products .phone-model__list span {
  color: var(--gold);
  font-weight: 600;
}

.page-products .phone-model__list strong {
  color: var(--muted);
  font-weight: 400;
}

/* 公告卡片模型 */
.page-products .notice-card {
  width: 100%;
  max-width: 260px;
  padding: 16px 14px;
  background: var(--bg-deep);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.page-products .notice-card__tag {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

.page-products .notice-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px dashed rgba(212, 175, 55, 0.12);
}

.page-products .notice-line:last-child {
  border-bottom: 0;
}

.page-products .notice-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-products .notice-dot--gold {
  background: var(--gold);
}

.page-products .notice-dot--orange {
  background: var(--orange);
}

/* 排名路径模型 */
.page-products .rank-path {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 260px;
}

.page-products .rank-stage {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text);
  background: var(--panel);
  border-left: 3px solid var(--gold);
  transform: skewX(-4deg);
}

.page-products .rank-stage--two {
  border-left-color: var(--cyan);
  transform: skewX(3deg);
}

.page-products .rank-result {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--gold-light);
  background: var(--product-gold-soft);
  border: 1px solid var(--line);
}

/* 收藏顶栏模型 */
.page-products .save-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 260px;
}

.page-products .save-bar__item {
  padding: 8px 10px;
  font-size: 13px;
  color: var(--text);
  background: var(--bg-deep);
  border: 1px solid var(--line);
}

.page-products .save-bar__item--live {
  color: var(--cyan);
  border-color: rgba(0, 212, 200, 0.5);
  box-shadow: 0 0 12px rgba(0, 212, 200, 0.12);
}

.page-products .save-bar__item--live::before {
  content: '• ';
  color: var(--cyan);
}

/* 功能页脚图 */
.page-products .product-features__footer {
  margin-top: 30px;
}

.page-products .features-replay {
  aspect-ratio: 2 / 1;
  max-width: 960px;
  margin: 0 auto 14px;
}

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

/* 关注列表操作 */
.page-products .watchlist-steps {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}

.page-products .step-card {
  position: relative;
  padding: 24px 20px 20px;
  background: linear-gradient(140deg, rgba(20, 42, 94, 0.92), rgba(8, 18, 38, 0.88));
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  box-shadow: var(--product-shadow);
}

.page-products .step-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.7;
}

.page-products .step-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--text);
}

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

/* 操作演示区 */
.page-products .watchlist-demo {
  display: grid;
  gap: 24px;
  padding: 24px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--cyan);
}

.page-products .watchlist-demo__img {
  aspect-ratio: 4 / 3;
}

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

.page-products .watchlist-demo__note h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--gold-light);
}

.page-products .watchlist-demo__note p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

/* 版本历史 */
.page-products .version-layout {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.page-products .version-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-products .version-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(11, 27, 63, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-decoration: none;
  color: var(--muted);
  transition: all var(--transition);
  cursor: pointer;
}

.page-products .version-item:hover,
.page-products .version-item[data-active] {
  background: var(--panel);
  border-left-color: var(--gold);
  color: var(--gold-light);
}

.page-products .version-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 212, 200, 0.5);
  flex: 0 0 auto;
}

.page-products .version-item[data-active] .version-dot {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.page-products .version-tag {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-products .version-detail {
  display: grid;
  gap: 18px;
}

.page-products .version-panel {
  padding: 24px 20px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

.page-products .version-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--gold-light);
}

.page-products .version-panel__desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.page-products .version-panel ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.page-products .version-panel li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.page-products .version-panel__announce {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gold-light);
  background: var(--product-gold-soft);
  border-left: 3px solid var(--gold);
}

.page-products .version-compare {
  aspect-ratio: 16 / 10;
  max-width: 900px;
  margin: 0 auto 14px;
}

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

.page-products .product-versions .link-inline {
  display: flex;
  justify-content: center;
}

/* 下载与使用 */
.page-products .usage-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.page-products .usage-card {
  padding: 24px 20px;
  background: linear-gradient(140deg, rgba(20, 42, 94, 0.92), rgba(8, 18, 38, 0.88));
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--orange);
  box-shadow: var(--product-shadow);
}

.page-products .usage-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--gold-light);
}

.page-products .usage-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-products .usage-shortcuts {
  padding: 22px 20px;
  margin-bottom: 28px;
  background: var(--panel);
  border-left: 4px solid var(--orange);
}

.page-products .usage-shortcuts h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--text);
}

.page-products .usage-shortcuts ul {
  margin: 0;
  padding-left: 18px;
}

.page-products .usage-shortcuts li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.page-products .usage-icons {
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

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

/* ===== 响应式断点 ===== */
@media (min-width: 768px) {
  .page-products {
    padding: 28px 32px 88px;
  }

  .page-products .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .stat-cell {
    border-bottom: 0;
  }

  .page-products .stat-cell:nth-child(2n) {
    border-right: 1px solid rgba(212, 175, 55, 0.14);
  }

  .page-products .stat-cell:last-child {
    border-right: 0;
  }

  .page-products .watchlist-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .usage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .page-products .products-hero {
    grid-template-columns: 1.05fr 1.2fr;
    align-items: center;
    gap: 44px;
  }

  .page-products .products-hero__content {
    order: 1;
  }

  .page-products .products-hero__visual {
    order: 2;
  }

  .page-products .feature-panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .page-products .watchlist-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .watchlist-demo {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .page-products .version-layout {
    grid-template-columns: 300px 1fr;
  }

  .page-products .version-timeline {
    align-content: start;
  }

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

@media (min-width: 1200px) {
  .page-products .products-hero {
    grid-template-columns: 1fr 1.35fr;
  }

  .page-products .products-hero__frame {
    aspect-ratio: 16 / 7;
  }
}
