/* ================= 哈哈体育 · 服务中心页面专属样式 ================= */
.page-products {
  background: var(--c-snow);
  color: var(--c-ink);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---------- 首屏：服务总览 ---------- */
.page-products .services-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--c-blue-900) 0%, var(--c-blue-800) 62%, #2a4dc0 100%);
  color: var(--c-snow);
  padding: 3.5rem 0 4rem;
}

.page-products .services-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border: 2px solid rgba(248, 250, 252, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(248, 250, 252, 0.05), 0 0 0 68px rgba(248, 250, 252, 0.03);
  pointer-events: none;
}

.page-products .services-hero .chapter-label {
  color: rgba(248, 250, 252, 0.72);
}

.page-products .hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
}

.page-products .hero-main h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0.75rem 0 1.25rem;
}

.page-products .hero-lead {
  max-width: 42rem;
  font-size: 1.0625rem;
  color: rgba(248, 250, 252, 0.88);
  margin: 0;
}

.page-products .hero-lead strong {
  color: #ffffff;
  font-weight: 600;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.8rem;
}

.page-products .hero-actions .btn--ghost {
  background: transparent;
  border: 1px solid rgba(248, 250, 252, 0.5);
  color: var(--c-snow);
}

.page-products .hero-actions .btn--ghost:hover {
  border-color: #ffffff;
  background: rgba(248, 250, 252, 0.08);
}

.page-products .hero-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
  background: rgba(248, 250, 252, 0.08);
  border: 1px solid rgba(248, 250, 252, 0.18);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(4px);
}

.page-products .hero-panel__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-products .hero-panel__row--live {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  padding-top: 0.9rem;
}

.page-products .hero-panel__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(248, 250, 252, 0.7);
}

.page-products .hero-panel__value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.page-products .hero-panel__unit {
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.6);
}

.page-products .hero-panel__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #ffffff;
}

.page-products .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.25);
}

.page-products .services-hero .breadcrumb__link {
  color: rgba(248, 250, 252, 0.7);
}

.page-products .services-hero .breadcrumb__link:hover {
  color: #ffffff;
}

.page-products .services-hero .breadcrumb__item[aria-current="page"] {
  color: rgba(248, 250, 252, 0.9);
}

@media (min-width: 760px) {
  .page-products .services-hero {
    padding: 5rem 0 5.5rem;
  }

  .page-products .hero-layout {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: end;
    gap: 3rem;
  }

  .page-products .hero-panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
  }

  .page-products .hero-panel__row--live {
    grid-column: auto;
    border-top: none;
    border-left: 1px solid rgba(248, 250, 252, 0.15);
    padding-top: 0;
    padding-left: 1rem;
  }
}

/* ---------- 通用章节头 ---------- */
.page-products .section-core,
.page-products .section-features,
.page-products .section-version,
.page-products .section-cta {
  padding: 4.5rem 0;
}

.page-products .section-head {
  max-width: 760px;
  margin-bottom: 2.75rem;
}

.page-products .section-head__desc {
  max-width: 38rem;
  font-size: 1.0625rem;
  color: #475569;
  margin: 0;
}

.page-products .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0.5rem 0 0.75rem;
}

.page-products .section-head--invert h2 {
  color: var(--c-snow);
}

.page-products .section-head--invert .section-head__desc {
  color: rgba(248, 250, 252, 0.8);
}

.page-products .section-head--invert .chapter-label {
  color: rgba(248, 250, 252, 0.7);
}

/* ---------- 核心服务卡片 ---------- */
.page-products .card-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .page-products .card-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .page-products .service-card--wide {
    grid-column: 1 / -1;
  }
}

.page-products .service-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--c-gray-200);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-products .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.12);
}

.page-products .service-card__media {
  border-bottom: 1px solid var(--c-gray-200);
}

.page-products .service-card__body {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  flex: 1;
}

.page-products .service-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-blue-800), var(--c-blue-500));
  color: #ffffff;
  display: grid;
  place-items: center;
  margin-top: 0.15rem;
}

.page-products .service-card__icon svg {
  width: 24px;
  height: 24px;
}

.page-products .service-card__content {
  flex: 1;
  min-width: 0;
}

.page-products .service-card__topline {
  margin-bottom: 0.5rem;
}

.page-products .service-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-ink);
  margin: 0 0 0.5rem;
}

.page-products .service-card__content > p {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.page-products .spec-list {
  margin: 0 0 1rem;
  padding: 0;
  border-top: 1px dashed var(--c-gray-200);
}

.page-products .spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--c-gray-200);
  font-size: 0.875rem;
}

.page-products .spec-item dt {
  flex-shrink: 0;
  color: #64748b;
  font-weight: 500;
}

.page-products .spec-item dd {
  margin: 0;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-blue-800);
}

.page-products .more-detail {
  margin-top: 0.25rem;
}

.page-products .more-detail summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-blue-500);
  cursor: pointer;
  transition: color 0.2s ease;
}

.page-products .more-detail summary:hover {
  color: var(--c-orange);
}

.page-products .more-detail__body {
  margin-top: 0.5rem;
  padding: 0.75rem 0.875rem;
  background: var(--c-gray-100);
  border-radius: 10px;
  font-size: 0.875rem;
  color: #475569;
}

/* ---------- 数据覆盖 ---------- */
.page-products .section-coverage {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-blue-900) 0%, var(--c-blue-800) 72%, #2a4dc0 100%);
  color: var(--c-snow);
  padding: 4.5rem 0;
}

.page-products .section-coverage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--c-orange) 0%, rgba(249, 115, 22, 0.4) 24%, rgba(248, 250, 252, 0.2) 48%, transparent 72%);
}

.page-products .coverage-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .page-products .coverage-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3.5rem;
  }
}

.page-products .coverage-block {
  margin-bottom: 2rem;
}

.page-products .coverage-block__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.375rem;
}

.page-products .coverage-block__desc {
  font-size: 0.9375rem;
  color: rgba(248, 250, 252, 0.75);
  margin: 0 0 1rem;
}

.page-products .league-scroll {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(248, 250, 252, 0.4) rgba(248, 250, 252, 0.1);
}

.page-products .league-tag {
  flex-shrink: 0;
  scroll-snap-align: start;
  white-space: nowrap;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.1);
  border: 1px solid rgba(248, 250, 252, 0.28);
  color: var(--c-snow);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-products .league-tag:hover {
  background: rgba(248, 250, 252, 0.22);
  border-color: rgba(248, 250, 252, 0.5);
}

.page-products .dimension-list {
  display: grid;
  gap: 0.875rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .dimension-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem;
  background: rgba(248, 250, 252, 0.07);
  border-left: 3px solid var(--c-orange);
  border-radius: 12px;
}

.page-products .dimension-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
}

.page-products .dimension-item small {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.65);
}

.page-products .coverage-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.6);
}

.page-products .coverage-note a {
  color: var(--c-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .coverage-media {
  border: 1px solid rgba(248, 250, 252, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* ---------- 功能特性 ---------- */
.page-products .section-features {
  background: var(--c-snow);
}

.page-products .features-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .page-products .features-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3.5rem;
  }
}

.page-products .features-list {
  display: grid;
  gap: 1rem;
}

.page-products .feature-item {
  display: flex;
  gap: 1.125rem;
  padding: 1.375rem;
  background: #ffffff;
  border: 1px solid var(--c-gray-200);
  border-radius: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.page-products .feature-item:hover {
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.1);
  transform: translateY(-2px);
}

.page-products .feature-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c-gray-100);
  color: var(--c-blue-800);
  display: grid;
  place-items: center;
}

.page-products .feature-item__icon svg {
  width: 22px;
  height: 22px;
}

.page-products .feature-item__text h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 0.25rem;
}

.page-products .feature-item__text p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.page-products .features-media {
  border: 1px solid var(--c-gray-200);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

/* ---------- 更新与版本 ---------- */
.page-products .section-version {
  background: var(--c-gray-100);
}

.page-products .version-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .page-products .version-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 3.5rem;
  }
}

.page-products .version-main {
  display: grid;
  gap: 1.5rem;
}

.page-products .version-note,
.page-products .version-progress,
.page-products .version-story {
  background: #ffffff;
  border: 1px solid var(--c-gray-200);
  border-radius: 16px;
  padding: 1.5rem;
}

.page-products .version-note {
  border-top: 3px solid var(--c-orange);
}

.page-products .version-note__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.page-products .version-note__head strong {
  font-size: 1rem;
  color: var(--c-ink);
}

.page-products .version-note p {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0;
}

.page-products .version-progress__label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--c-blue-500);
  margin: 0 0 1rem;
}

.page-products .version-progress__track {
  position: relative;
  overflow-x: auto;
  padding: 0.5rem 0 0.75rem;
}

.page-products .version-progress__track::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 4%;
  right: 4%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-blue-800) 0%, var(--c-blue-500) 70%, var(--c-orange) 100%);
  z-index: 0;
}

.page-products .version-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  min-width: 520px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .version-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 76px;
}

.page-products .version-dot__core {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-gray-100);
  border: 2px solid var(--c-gray-200);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}

.page-products .version-dot--done .version-dot__core {
  background: var(--c-blue-800);
  border-color: var(--c-blue-800);
  color: #ffffff;
}

.page-products .version-dot--current .version-dot__core {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.2);
}

.page-products .version-dot small {
  font-size: 0.75rem;
  white-space: nowrap;
  color: #64748b;
}

.page-products .version-dot--current small {
  font-weight: 600;
  color: var(--c-orange);
}

.page-products .version-story h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 0.5rem;
}

.page-products .version-story p {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0 0 1rem;
}

.page-products .version-aside {
  display: grid;
  gap: 1rem;
}

.page-products .version-media {
  border: 1px solid var(--c-gray-200);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.page-products .version-aside__note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748b;
  background: #ffffff;
  border: 1px solid var(--c-gray-200);
  border-radius: 12px;
  padding: 1rem;
  margin: 0;
}

.page-products .version-aside__note a {
  color: var(--c-blue-800);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 服务引导 CTA ---------- */
.page-products .section-cta {
  background: linear-gradient(135deg, var(--c-blue-900) 0%, var(--c-blue-800) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.page-products .section-cta::before {
  content: "";
  position: absolute;
  left: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0) 70%);
  pointer-events: none;
}

.page-products .cta-box {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--c-snow);
}

.page-products .cta-box .chapter-label {
  color: var(--c-orange);
}

.page-products .cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0.5rem 0 0.75rem;
}

.page-products .cta-box p {
  max-width: 32rem;
  font-size: 1rem;
  color: rgba(248, 250, 252, 0.8);
  margin: 0 auto 1.75rem;
}

.page-products .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.page-products .cta-actions .btn--ghost {
  background: transparent;
  border: 1px solid rgba(248, 250, 252, 0.5);
  color: var(--c-snow);
}

.page-products .cta-actions .btn--ghost:hover {
  border-color: #ffffff;
  background: rgba(248, 250, 252, 0.08);
}

/* ---------- 图片自适应 ---------- */
.page-products .service-card__media img,
.page-products .coverage-media img,
.page-products .features-media img,
.page-products .version-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 中等屏优化 ---------- */
@media (min-width: 600px) {
  .page-products .service-card__body {
    gap: 1.5rem;
    padding: 1.75rem;
  }

  .page-products .features-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) and (max-width: 959px) {
  .page-products .card-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .service-card--wide {
    grid-column: 1 / -1;
  }

  .page-products .service-card__body {
    flex-direction: column;
  }
}

/* ---------- 横屏窄视口保护 ---------- */
@media (max-height: 480px) and (orientation: landscape) {
  .page-products .services-hero {
    padding: 2.5rem 0 3rem;
  }

  .page-products .hero-main h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

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

  .page-products .hero-panel__row--live {
    grid-column: auto;
    border-top: none;
    border-left: 1px solid rgba(248, 250, 252, 0.15);
    padding-top: 0;
    padding-left: 1rem;
  }
}
