.page-products {
  --glow-green: rgba(57, 255, 136, 0.14);
  --glow-orange: rgba(255, 107, 53, 0.16);
  --line-cyan: rgba(127, 200, 232, 0.28);
  overflow-x: hidden;
}

.page-products a {
  -webkit-tap-highlight-color: transparent;
}

/* ========== Hero ========== */
.page-products .product-hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(57, 255, 136, 0.12), transparent 46%),
    radial-gradient(circle at 10% 90%, rgba(255, 107, 53, 0.09), transparent 50%),
    var(--grad-base);
  border-bottom: 1px solid var(--line-cyan);
  overflow: hidden;
}

.page-products .product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(127, 200, 232, 0.07) 1px, transparent 1px);
  background-size: 100% 4rem;
  pointer-events: none;
}

.page-products .product-hero__inner {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.page-products .product-hero__main {
  display: flex;
  flex-direction: column;
}

.page-products .product-hero__badge-wrap {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 0;
}

.page-products .product-hero__title {
  font-family: var(--font-head);
  font-size: var(--size-h1);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 1rem 0 0;
  color: var(--c-ink);
}

.page-products .product-hero__title span:first-of-type {
  color: var(--c-accent-green);
}

.page-products .product-hero__title span:last-of-type {
  color: var(--c-accent-orange);
}

.page-products .product-hero__lead {
  max-width: 46rem;
  font-size: var(--size-body);
  line-height: 1.75;
  color: rgba(232, 234, 246, 0.82);
  margin: 1.5rem 0 0;
}

.page-products .product-hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.page-products .product-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-self: end;
}

.page-products .product-hero__stat {
  padding: 1rem;
  background: rgba(20, 34, 74, 0.72);
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

.page-products .product-hero__stat-value {
  display: block;
  font-family: var(--font-data);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--c-accent-green);
  line-height: 1.1;
}

.page-products .product-hero__stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(232, 234, 246, 0.72);
  margin-top: 0.35rem;
}

/* ========== 模块总览 ========== */
.page-products .module-overview {
  position: relative;
  background: var(--c-primary);
}

.page-products .module-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 136, 0.5), transparent);
}

.page-products .module-deck {
  display: grid;
  gap: 1rem;
  padding: 0.25rem 0 1rem;
}

.page-products .module-card {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  background: linear-gradient(135deg, rgba(20, 34, 74, 0.92), rgba(10, 17, 40, 0.96));
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-products .module-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--c-accent-green);
  border-radius: 0 3px 3px 0;
}

.page-products .module-card--cards::before {
  background: var(--c-yellow-card);
}

.page-products .module-card--injury::before {
  background: var(--c-mist-cyan);
}

.page-products .module-card--chart::before {
  background: var(--c-accent-orange);
}

.page-products .module-card--shot::before {
  background: var(--c-accent-green);
}

.page-products .module-card__index {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--c-accent-green);
  opacity: 0.9;
}

.page-products .module-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 0.4rem;
  color: var(--c-ink);
}

.page-products .module-card__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(232, 234, 246, 0.78);
  margin: 0 0 0.8rem;
}

.page-products .module-card__link {
  color: var(--c-mist-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 200, 232, 0.4);
  transition: color 0.22s ease, border-color 0.22s ease;
}

.page-products .module-card__link:hover,
.page-products .module-card__link:focus-visible {
  color: var(--c-accent-green);
  border-color: var(--c-accent-green);
}

.page-products .module-card__badges {
  display: flex;
  gap: 0.5rem;
}

.page-products .version-recommend {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(57, 255, 136, 0.4);
}

.page-products .version-recommend__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0.75rem 0 0;
  color: var(--c-ink);
}

.page-products .version-recommend__price {
  font-family: var(--font-data);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-accent-green);
  margin: 0.6rem 0;
  line-height: 1;
}

.page-products .version-recommend__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(232, 234, 246, 0.7);
  font-family: var(--font-body);
}

.page-products .version-recommend__note {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(232, 234, 246, 0.78);
  margin: 0 0 1rem;
}

.page-products .module-overview__note {
  margin-bottom: 1.5rem;
}

.page-products .module-overview__img {
  margin: 0;
}

/* ========== 费用表 ========== */
.page-products .fee-table-section {
  position: relative;
  background: var(--c-primary);
}

.page-products .fee-table-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.55), transparent);
}

.page-products .fee-table-section__grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.page-products .fee-table {
  min-width: 640px;
}

.page-products .fee-table th,
.page-products .fee-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(127, 200, 232, 0.18);
  vertical-align: top;
}

.page-products .fee-table thead th {
  background: rgba(20, 34, 74, 0.8);
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mist-cyan);
  white-space: nowrap;
}

.page-products .fee-table tbody th {
  font-family: var(--font-head);
  color: var(--c-ink);
}

.page-products .fee-table tbody td:nth-child(2) {
  color: var(--c-accent-green);
  font-weight: 700;
  white-space: nowrap;
}

.page-products .fee-table tbody tr {
  transition: background 0.2s ease;
}

.page-products .fee-table tbody tr:hover,
.page-products .fee-table tbody tr:focus-within {
  background: linear-gradient(90deg, rgba(57, 255, 136, 0.09), transparent 75%);
}

.page-products .fee-table-section__img {
  margin: 0;
}

.page-products .fee-table-section__note {
  margin-top: 0.5rem;
}

.page-products .fee-table-section__note a {
  color: var(--c-mist-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== 版本对比 ========== */
.page-products .version-compare {
  background: var(--c-primary);
}

.page-products .version-card-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.page-products .version-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--c-secondary);
  border: 1px solid rgba(127, 200, 232, 0.24);
  overflow: hidden;
}

.page-products .version-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--glow-green);
  pointer-events: none;
}

.page-products .version-card--legacy::after {
  background: var(--glow-orange);
}

.page-products .version-card__top {
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.page-products .version-card__name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--c-ink);
  margin: 0.6rem 0 0;
}

.page-products .version-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(127, 200, 232, 0.22);
  position: relative;
  z-index: 1;
}

.page-products .version-card__number {
  font-family: var(--font-data);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent-green);
}

.page-products .version-card--legacy .version-card__number {
  color: var(--c-accent-orange);
}

.page-products .version-card__unit {
  font-size: 0.95rem;
  color: var(--c-mist-cyan);
}

.page-products .version-card__features {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  position: relative;
  z-index: 1;
}

.page-products .version-card__features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.55rem;
  color: rgba(232, 234, 246, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
}

.page-products .version-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--c-accent-green);
  transform: rotate(45deg);
}

.page-products .version-card--legacy .version-card__features li::before {
  background: var(--c-accent-orange);
}

.page-products .version-compare__foot {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 1rem 0 1.25rem;
}

.page-products .version-compare__foot p {
  color: rgba(232, 234, 246, 0.7);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0;
  flex: 1 1 260px;
}

.page-products .version-compare__img {
  margin: 0;
}

/* ========== 移动端射门统计 ========== */
.page-products .mobile-shot {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(57, 255, 136, 0.08), transparent 60%),
    var(--c-primary);
}

.page-products .mobile-visual {
  position: relative;
  padding: 1.5rem 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-products .mobile-frame {
  position: relative;
  width: 240px;
  max-width: 100%;
  background: var(--c-secondary);
  border: 2px solid rgba(57, 255, 136, 0.5);
  border-radius: 24px;
  padding: 2.4rem 1rem 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.page-products .mobile-frame__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: 3px;
  background: rgba(127, 200, 232, 0.4);
}

.page-products .mobile-frame__screen {
  background: rgba(10, 17, 40, 0.9);
  border-radius: 12px;
  padding: 1rem 0.75rem 0.6rem;
}

.page-products .mobile-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.4rem;
  height: 160px;
  padding: 0.4rem 0 0;
}

.page-products .mobile-chart__bar {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(180deg, var(--c-accent-green), rgba(57, 255, 136, 0.3));
  border-radius: 4px 4px 0 0;
  min-height: 12px;
  position: relative;
}

.page-products .mobile-chart__bar:nth-child(2),
.page-products .mobile-chart__bar:nth-child(4) {
  background: linear-gradient(180deg, var(--c-mist-cyan), rgba(127, 200, 232, 0.25));
}

.page-products .mobile-chart__bar span {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--c-accent-green);
  white-space: nowrap;
}

.page-products .mobile-chart__bar:nth-child(2) span,
.page-products .mobile-chart__bar:nth-child(4) span {
  color: var(--c-mist-cyan);
}

.page-products .mobile-frame__label {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--c-mist-cyan);
  padding: 0.6rem 0 0;
}

.page-products .mobile-price-tag {
  position: absolute;
  right: 0;
  top: 1.5rem;
  background: var(--c-accent-green);
  color: var(--c-primary);
  border-radius: var(--radius);
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  box-shadow: 0 8px 24px rgba(57, 255, 136, 0.3);
  transform: rotate(3deg);
}

.page-products .mobile-price-tag__number {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
}

.page-products .mobile-price-tag__unit {
  font-size: 0.75rem;
  font-weight: 700;
}

.page-products .mobile-features {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-products .mobile-feature__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 0 0.4rem;
}

.page-products .mobile-feature__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(232, 234, 246, 0.76);
  margin: 0;
}

.page-products .mobile-shot__filter {
  margin-top: 1.5rem;
}

.page-products .mobile-shot__note {
  margin-bottom: 1.5rem;
}

.page-products .mobile-shot__img {
  margin: 0;
}

/* ========== 升级说明 ========== */
.page-products .upgrade-notes {
  position: relative;
  background: var(--c-primary);
}

.page-products .upgrade-notes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(127, 200, 232, 0.6), transparent);
}

.page-products .upgrade-steps {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-products .upgrade-step {
  position: relative;
  padding: 1.5rem 1.25rem 1.25rem;
  background: var(--c-secondary);
  border: 1px solid rgba(127, 200, 232, 0.2);
  border-radius: var(--radius);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-products .upgrade-step:hover {
  border-color: rgba(57, 255, 136, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.page-products .upgrade-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--c-accent-green);
  color: var(--c-primary);
  font-family: var(--font-data);
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.page-products .upgrade-step:nth-child(2) .upgrade-step__num {
  background: var(--c-mist-cyan);
}

.page-products .upgrade-step:nth-child(3) .upgrade-step__num {
  background: var(--c-yellow-card);
}

.page-products .upgrade-step:nth-child(4) .upgrade-step__num {
  background: var(--c-accent-orange);
}

.page-products .upgrade-step__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0 0 0.4rem;
}

.page-products .upgrade-step__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(232, 234, 246, 0.76);
  margin: 0;
}

.page-products .upgrade-notes__img {
  margin: 0 0 1.5rem;
}

.page-products .upgrade-notes__notice {
  margin-bottom: 1.5rem;
}

.page-products .upgrade-notes__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* ========== 页尾 CTA ========== */
.page-products .products-cta {
  background:
    radial-gradient(circle at 15% 20%, rgba(57, 255, 136, 0.14), transparent 62%),
    var(--grad-base);
  border-top: 1px solid rgba(127, 200, 232, 0.2);
}

.page-products .products-cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-products .products-cta__title {
  font-family: var(--font-head);
  font-size: var(--size-h2);
  font-weight: 900;
  margin: 0 0 0.75rem;
  color: var(--c-ink);
}

.page-products .products-cta__desc {
  color: rgba(232, 234, 246, 0.78);
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.page-products .products-cta__actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== 桌面断点 ========== */
@media (min-width: 880px) {
  .page-products .product-hero__inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
    gap: 3rem;
    align-items: end;
  }

  .page-products .product-hero {
    padding: 4.5rem 0 4rem;
  }

  .page-products .module-deck {
    padding: 0.5rem 1rem 2.5rem 0;
  }

  .page-products .module-card {
    padding: 1.75rem 1.75rem 1.75rem 3.75rem;
  }

  .page-products .module-card:nth-child(1) {
    transform: translateX(0) rotate(-0.2deg);
    z-index: 1;
  }

  .page-products .module-card:nth-child(2) {
    transform: translateX(1.25rem) rotate(0.5deg);
    margin-top: -2.25rem;
    z-index: 2;
  }

  .page-products .module-card:nth-child(3) {
    transform: translateX(-0.625rem) rotate(-0.4deg);
    margin-top: -1.5rem;
    z-index: 3;
  }

  .page-products .module-card:nth-child(4) {
    transform: translateX(1rem) rotate(0.3deg);
    margin-top: -1.25rem;
    z-index: 4;
  }

  .page-products .module-card:nth-child(5) {
    transform: translateX(0) rotate(-0.1deg);
    margin-top: -1rem;
    z-index: 5;
  }

  .page-products .module-card:hover,
  .page-products .module-card:focus-within {
    z-index: 10;
    border-color: rgba(57, 255, 136, 0.7);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  }

  .page-products .fee-table-section__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.4fr);
    align-items: start;
  }

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

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

  .page-products .upgrade-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* ========== 宽屏增强 ========== */
@media (min-width: 1200px) {
  .page-products .product-hero__inner {
    gap: 4rem;
  }

  .page-products .product-hero__lead {
    max-width: 52rem;
  }

  .page-products .version-card {
    padding: 2rem;
  }

  .page-products .fee-table th,
  .page-products .fee-table td {
    padding: 1.1rem 1.25rem;
  }
}

/* ========== 减少动态效果 ========== */
@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
