.page-products {
  --phone-width: 240px;
  --deck-radius: 14px;
  background: var(--color-bg);
}

/* ========== 首屏 Hero ========== */
.page-products .app-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 56px 24px 64px;
  position: relative;
  overflow: hidden;
}
.page-products .app-hero::before {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border: 2px solid rgba(255, 107, 53, 0.28);
  border-radius: 50%;
  pointer-events: none;
}
.page-products .app-hero::after {
  content: '';
  position: absolute;
  right: -70px;
  top: 30px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.22), transparent 68%);
  pointer-events: none;
}
.page-products .app-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  position: relative;
  z-index: 1;
}
.page-products .app-hero__copy {
  text-align: center;
}
.page-products .app-hero .ya-data-label {
  color: var(--color-accent);
  letter-spacing: 0.1em;
}
.page-products .app-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 10px 0 18px;
}
.page-products .app-hero__lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.86);
  max-width: 36em;
  margin: 0 auto;
}
.page-products .app-hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  margin: 28px 0 0;
  padding: 0;
}
.page-products .app-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 20px;
}
.page-products .app-hero__stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.page-products .app-hero__stat {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color-accent);
}
.page-products .app-hero__stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.58);
}
.page-products .app-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.page-products .app-hero__actions .ya-btn {
  width: 100%;
  justify-content: center;
}
.page-products .app-hero__actions .ya-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  background: transparent;
}
.page-products .app-hero__actions .ya-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.page-products .app-hero__note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 18px;
  text-align: center;
}

/* ========== 手机模型 ========== */
.page-products .phone-mock {
  flex-shrink: 0;
}
.page-products .phone-mock__frame {
  width: min(var(--phone-width), 68vw);
  aspect-ratio: 9 / 19.5;
  background: #050F22;
  border-radius: 46px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
  position: relative;
}
.page-products .phone-mock__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #050F22;
  border-radius: 13px;
  z-index: 2;
}
.page-products .phone-mock__screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--color-bg);
}
.page-products .phone-mock__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 核心功能 ========== */
.page-products .app-features {
  padding: 64px 0 40px;
}
.page-products .app-features .ya-container {
  padding: 0 var(--container-pad);
}
.page-products .section-heading {
  text-align: center;
  margin-bottom: 38px;
}
.page-products .section-heading h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 8px 0 10px;
  color: var(--color-text);
}
.page-products .section-heading p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.page-products .section-heading--left {
  text-align: left;
  margin-bottom: 0;
}

.page-products .feature-tabs {
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}
.page-products .feature-tabs__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.page-products .feature-tabs__nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--color-border);
  background: #FAFBFC;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.page-products .feature-tabs__label {
  flex: 0 0 auto;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.page-products .feature-tabs__label:hover {
  color: var(--color-primary);
  background: rgba(10, 31, 68, 0.03);
}
.page-products .feature-tabs__index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-accent);
}
.page-products .feature-tabs__panel {
  display: none;
  padding: 28px 20px;
  animation: page-products-fade 0.3s ease;
}
@keyframes page-products-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-products #ft-live:checked ~ .feature-tabs__nav label[for="ft-live"],
.page-products #ft-offline:checked ~ .feature-tabs__nav label[for="ft-offline"],
.page-products #ft-compare:checked ~ .feature-tabs__nav label[for="ft-compare"],
.page-products #ft-chart:checked ~ .feature-tabs__nav label[for="ft-chart"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
  background: var(--color-surface);
}

.page-products #ft-live:checked ~ .feature-tabs__panels #panel-live,
.page-products #ft-offline:checked ~ .feature-tabs__panels #panel-offline,
.page-products #ft-compare:checked ~ .feature-tabs__panels #panel-compare,
.page-products #ft-chart:checked ~ .feature-tabs__panels #panel-chart {
  display: block;
}

.page-products .feature-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.page-products .feature-panel__info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: var(--color-primary);
}
.page-products .feature-panel__info > p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin: 0 0 18px;
}
.page-products .feature-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-products .feature-panel__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
}
.page-products .feature-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-accent);
}
.page-products .feature-panel__media {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}
.page-products .feature-panel__media img {
  max-width: 100%;
  height: auto;
  width: auto;
  max-height: 520px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* 实时数据迷你面板 */
.page-products .live-board {
  width: 100%;
  max-width: 360px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}
.page-products .live-board__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.page-products .live-board__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}
.page-products .live-board__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 8px;
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
}
.page-products .live-board__row:first-of-type { border-top: 0; }
.page-products .live-board__rank {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  width: 18px;
}
.page-products .live-board__team {
  flex: 1;
  color: var(--color-text);
}
.page-products .live-board__pts {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent);
}

/* ========== 下载方式 ========== */
.page-products .download-section {
  padding: 48px 24px;
  background: var(--color-primary);
}
.page-products .download-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.page-products .download-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  box-shadow: var(--shadow-md);
}
.page-products .download-card__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.page-products .download-card__qr img {
  width: 160px;
  height: 160px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.page-products .download-card__qr p {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin: 0;
}
.page-products .download-card__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-products .download-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-products .download-channel {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
}
.page-products .download-channel__head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.page-products .download-channel__tag {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}
.page-products .download-channel p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.page-products .download-section__note {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin: 0;
  background: var(--color-accent-soft);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 12px 14px;
  line-height: 1.65;
}
.page-products .download-trust {
  background: #F1F5FB;
  border: 1px solid #D6E1F2;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.page-products .download-trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.page-products .download-trust p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ========== 系统要求 ========== */
.page-products .sys-req {
  padding: 64px 0 48px;
}
.page-products .sys-req .ya-container {
  padding: 0 var(--container-pad);
}
.page-products .sys-req__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}
.page-products .sys-req__card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.page-products .sys-req__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.page-products .sys-req__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.page-products .sys-req__card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 14px;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}
.page-products .sys-req__dl {
  margin: 0;
}
.page-products .sys-req__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.88rem;
}
.page-products .sys-req__row:last-child { border-bottom: none; }
.page-products .sys-req__row dt {
  color: var(--color-text-secondary);
  flex-shrink: 0;
}
.page-products .sys-req__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}

/* ========== 更新说明 ========== */
.page-products .update-log {
  padding: 24px 0 64px;
}
.page-products .update-log__container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.page-products .update-log__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.page-products .update-log__list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-border);
}
.page-products .update-log__item {
  position: relative;
  padding-left: 34px;
  margin-bottom: 26px;
}
.page-products .update-log__item:last-child { margin-bottom: 0; }
.page-products .update-log__item::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-accent);
  box-sizing: border-box;
}
.page-products .update-log__item:first-child::before {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.page-products .update-log__marker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.page-products .update-log__version {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.03em;
}
.page-products .update-log__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 60em;
}

/* ========== 底部CTA ========== */
.page-products .bottom-cta {
  background: var(--color-primary);
  padding: 56px 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-products .bottom-cta::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255, 107, 53, 0.2);
  border-radius: 50%;
  pointer-events: none;
}
.page-products .bottom-cta__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-products .bottom-cta h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.page-products .bottom-cta__text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 auto 28px;
  max-width: 30em;
}
.page-products .bottom-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.page-products .bottom-cta__actions .ya-btn {
  justify-content: center;
}
.page-products .bottom-cta__actions .bottom-cta__btn-dark {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  background: transparent;
}
.page-products .bottom-cta__actions .bottom-cta__btn-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.page-products .bottom-cta__support {
  margin-top: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.page-products .bottom-cta__support a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}
.page-products .bottom-cta__support a:hover {
  text-decoration: underline;
}

/* ========== 媒体查询：平板 / 桌面 ========== */
@media (min-width: 480px) {
  .page-products .app-hero__actions {
    flex-direction: row;
    justify-content: center;
  }
  .page-products .app-hero__actions .ya-btn {
    width: auto;
  }
  .page-products .bottom-cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .page-products .app-hero {
    padding: 80px 24px 88px;
  }
  .page-products .app-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 60px;
  }
  .page-products .app-hero__copy {
    text-align: left;
    flex: 1;
  }
  .page-products .app-hero__lead {
    margin: 0;
  }
  .page-products .app-hero__stats {
    justify-content: flex-start;
  }
  .page-products .app-hero__actions {
    justify-content: flex-start;
    margin-top: 36px;
  }
  .page-products .app-hero__note {
    text-align: left;
  }
  .page-products .phone-mock {
    margin-right: 24px;
  }
  .page-products .app-features {
    padding: 88px 0 48px;
  }
  .page-products .app-features .ya-container {
    max-width: 1080px;
  }
  .page-products .feature-tabs__nav {
    justify-content: center;
  }
  .page-products .feature-tabs__label {
    padding: 16px 28px;
  }
  .page-products .feature-tabs__panel {
    padding: 40px 36px;
  }
  .page-products .feature-panel {
    grid-template-columns: 5fr 4fr;
    gap: 48px;
  }
  .page-products .feature-panel__media {
    min-height: 360px;
  }
  .page-products .download-card {
    grid-template-columns: 220px 1fr;
    padding: 44px 40px;
  }
  .page-products .download-channels {
    grid-template-columns: 1fr 1fr;
  }
  .page-products .sys-req__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-products .sys-req__card {
    padding: 36px 32px;
  }
  .page-products .update-log {
    padding: 32px 0 80px;
  }
  .page-products .bottom-cta {
    padding: 64px 24px;
  }
}

@media (min-width: 1180px) {
  .page-products .app-hero__inner {
    gap: 80px;
  }
  .page-products .phone-mock {
    transform: rotate(2deg);
  }
  .page-products .phone-mock__frame {
    width: 280px;
  }
  .page-products .footer-push {
    margin-top: 0;
  }
}
