.page-products {
  --local-phone-width: 280px;
  --local-phone-height: 560px;
  --local-phone-radius: 36px;
  --local-screen-radius: 24px;
  --local-notch-width: 80px;
  --local-notch-height: 20px;
  --local-btn-radius: 8px;
  --local-gap: 2rem;
  --local-card-bg: #ffffff;
  --local-card-shadow: 0 4px 20px rgba(0,0,0,0.06);
  --local-border-light: #e8e0d0;
  --local-highlight-bg: rgba(255, 209, 102, 0.12);
  background-color: var(--color-bg, #F5F0E8);
  color: var(--color-text, #1C1C1C);
  font-family: var(--font-primary, 'Inter', 'Noto Sans SC', sans-serif);
  padding: 1rem 1rem 2rem;
  max-width: var(--content-max-width, 1200px);
  margin: 0 auto;
}

/* 面包屑 */
.page-products .breadcrumb {
  font-size: 0.85rem;
  color: var(--color-gray, #6B6B6B);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border, #D4C9B8);
}
.page-products .breadcrumb a {
  color: var(--color-primary, #0066CC);
  text-decoration: none;
}
.page-products .breadcrumb a:hover {
  text-decoration: underline;
}
.page-products .breadcrumb-sep {
  margin: 0 0.4em;
  color: var(--color-gray, #6B6B6B);
}
.page-products .breadcrumb [aria-current="page"] {
  color: var(--color-text, #1C1C1C);
  font-weight: 600;
}

/* Hero */
.page-products .page-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.page-products .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-highlight, #FFD166);
  color: var(--color-text, #1C1C1C);
  padding: 0.2rem 1rem 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.page-products .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent, #E63946);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.page-products .hero-title {
  font-family: var(--font-heading, 'Roboto Condensed', 'Noto Sans SC', sans-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6rem;
  color: var(--color-text, #1C1C1C);
  letter-spacing: -0.01em;
}
.page-products .hero-desc {
  font-size: 1.1rem;
  color: var(--color-gray, #6B6B6B);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 双栏面板 */
.page-products .dual-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.page-products .panel-left {
  flex: 1 1 50%;
}
.page-products .panel-right {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}
.page-products .panel-heading {
  font-family: var(--font-heading, 'Roboto Condensed', 'Noto Sans SC', sans-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
  color: var(--color-text, #1C1C1C);
  border-left: 4px solid var(--color-primary, #0066CC);
  padding-left: 0.75rem;
}

/* 功能列表 */
.page-products .feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.page-products .feature-item {
  background: var(--local-card-bg);
  border: 1px solid var(--local-border-light);
  border-radius: var(--local-btn-radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.page-products .feature-item:hover {
  border-color: var(--color-primary, #0066CC);
  box-shadow: 0 2px 12px rgba(0, 102, 204, 0.08);
}
.page-products .feature-summary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.page-products .feature-summary::-webkit-details-marker {
  display: none;
}
.page-products .feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--color-highlight, #FFD166);
  padding: 4px;
}
.page-products .feature-title {
  font-weight: 600;
  font-size: 1.05rem;
  flex: 1;
  color: var(--color-text, #1C1C1C);
}
.page-products .feature-toggle {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.page-products .feature-toggle::before,
.page-products .feature-toggle::after {
  content: '';
  position: absolute;
  background: var(--color-primary, #0066CC);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.page-products .feature-toggle::before {
  width: 10px;
  height: 2px;
}
.page-products .feature-toggle::after {
  width: 2px;
  height: 10px;
  transition: transform 0.3s ease;
}
.page-products .feature-item[open] .feature-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.page-products .feature-detail {
  padding: 0 1rem 1rem 4rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-gray, #6B6B6B);
  border-top: 1px dashed var(--color-border, #D4C9B8);
  margin-top: 0;
  padding-top: 0.8rem;
}
.page-products .feature-detail p {
  margin: 0;
}

/* 手机模型 */
.page-products .phone-mockup {
  position: relative;
  width: var(--local-phone-width);
  height: var(--local-phone-height);
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: var(--local-phone-radius);
  padding: 14px;
  box-shadow:
    0 12px 40px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 0 2px rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.page-products .phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--local-notch-width);
  height: var(--local-notch-height);
  background: #1a1a1a;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.page-products .phone-notch::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #2a2a2a;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
}
.page-products .phone-screen {
  width: 100%;
  height: 100%;
  border-radius: var(--local-screen-radius);
  overflow: hidden;
  background: var(--color-bg, #F5F0E8);
  position: relative;
  z-index: 1;
}
.page-products .screen-content {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.page-products .phone-home-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  z-index: 2;
}
.page-products .phone-btn {
  position: absolute;
  background: linear-gradient(180deg, #3a3a3a, #2a2a2a);
  border-radius: 2px;
  z-index: 0;
}
.page-products .phone-btn--left {
  top: 140px;
  left: -4px;
  width: 4px;
  height: 40px;
  border-radius: 2px 0 0 2px;
}
.page-products .phone-btn--right {
  top: 160px;
  right: -4px;
  width: 4px;
  height: 60px;
  border-radius: 0 2px 2px 0;
}

/* 下载区域 */
.page-products .download-area {
  text-align: center;
  width: 100%;
  max-width: 360px;
}
.page-products .download-heading {
  font-family: var(--font-heading, 'Roboto Condensed', 'Noto Sans SC', sans-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-text, #1C1C1C);
}
.page-products .qr-section {
  margin-bottom: 1.2rem;
  position: relative;
}
.page-products .qr-trigger {
  display: inline-block;
  cursor: pointer;
  position: relative;
  border: 2px dashed var(--color-border, #D4C9B8);
  border-radius: 16px;
  padding: 0.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.page-products .qr-trigger:hover {
  border-color: var(--color-primary, #0066CC);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.08);
}
.page-products .qr-code {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
}
.page-products .qr-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--color-primary, #0066CC);
  margin-top: 0.3rem;
  font-weight: 500;
}
.page-products .qr-label {
  font-size: 0.9rem;
  color: var(--color-gray, #6B6B6B);
  margin: 0.6rem 0 0;
}
.page-products .download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.page-products .btn--large {
  padding: 0.75rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--local-btn-radius);
  cursor: default;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.page-products .btn--large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.2);
}
.page-products .btn--primary.btn--large {
  background: linear-gradient(135deg, var(--color-primary, #0066CC), var(--color-primary-dark, #004499));
  color: #ffffff;
  border: none;
}
.page-products .btn--accent.btn--large {
  background: linear-gradient(135deg, var(--color-accent, #E63946), #c62e3a);
  color: #ffffff;
  border: none;
}

/* 二维码模态框 */
.page-products .qr-modal-state {
  display: none;
}
.page-products .qr-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.page-products .qr-modal-state:checked ~ .qr-modal-wrapper {
  opacity: 1;
  pointer-events: auto;
}
.page-products .qr-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  cursor: pointer;
}
.page-products .qr-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 1;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.page-products .qr-modal-state:checked ~ .qr-modal-wrapper .qr-modal-content {
  transform: scale(1);
}
.page-products .qr-modal-img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
}
.page-products .qr-modal-close-btn {
  display: inline-block;
  padding: 0.4rem 1.6rem;
  background: var(--color-gray, #6B6B6B);
  color: #ffffff;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.page-products .qr-modal-close-btn:hover {
  background: var(--color-text, #1C1C1C);
}

/* 系统要求区 */
.page-products .system-reqs {
  margin: 2.5rem 0 2rem;
  padding: 2rem 1.5rem;
  background: var(--local-card-bg);
  border: 1px solid var(--local-border-light);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.page-products .section-heading {
  font-family: var(--font-heading, 'Roboto Condensed', 'Noto Sans SC', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--color-text, #1C1C1C);
  position: relative;
  z-index: 1;
}
.page-products .reqs-wrapper {
  position: relative;
  z-index: 1;
  overflow-x: auto;
}
.page-products .reqs-bg-texture {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 400px;
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  object-fit: cover;
  z-index: 0;
  transform: rotate(12deg);
}
.page-products .reqs-table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  overflow: hidden;
}
.page-products .reqs-table th {
  background: var(--color-primary, #0066CC);
  color: #ffffff;
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-heading, 'Roboto Condensed', 'Noto Sans SC', sans-serif);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-products .reqs-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border, #D4C9B8);
  color: var(--color-text, #1C1C1C);
}
.page-products .reqs-table tbody tr:last-child td {
  border-bottom: none;
}
.page-products .reqs-table tbody tr:hover {
  background: var(--local-highlight-bg);
}
.page-products .reqs-table .mono {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-weight: 700;
  color: var(--color-primary-dark, #004499);
}
.page-products .reqs-help {
  margin: 1.2rem 0 0;
  font-size: 0.95rem;
  color: var(--color-gray, #6B6B6B);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.page-products .btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary, #0066CC);
  color: var(--color-primary, #0066CC);
  padding: 0.4rem 1.2rem;
  border-radius: var(--local-btn-radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease;
}
.page-products .btn--outline:hover {
  background: var(--color-primary, #0066CC);
  color: #ffffff;
}
.page-products .btn--small {
  font-size: 0.8rem;
  padding: 0.3rem 1rem;
}

/* 速度线装饰 */
.page-products .speed-line-bg {
  margin: 2rem 0 1.5rem;
  overflow: hidden;
  border-radius: 12px;
  opacity: 0.6;
  line-height: 0;
}
.page-products .speed-line-bg img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: cover;
}

/* 页脚链接 */
.page-products .page-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border, #D4C9B8);
}
.page-products .page-footer-links .btn--outline {
  min-width: 100px;
  text-align: center;
}

/* ====== 桌面端 (≥768px) ====== */
@media (min-width: 768px) {
  .page-products {
    padding: 2rem 2rem 3rem;
  }
  .page-products .hero-title {
    font-size: 3.6rem;
  }
  .page-products .dual-panel {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
  .page-products .panel-left {
    padding-top: 0.8rem;
  }
  .page-products .panel-right {
    align-items: center;
    position: sticky;
    top: 2rem;
  }
  .page-products .phone-mockup {
    width: 300px;
    height: 600px;
    padding: 16px;
  }
  .page-products .phone-notch {
    width: 90px;
    height: 22px;
    top: 16px;
  }
  .page-products .qr-code {
    width: 180px;
    height: 180px;
  }
  .page-products .reqs-bg-texture {
    width: 600px;
    right: -60px;
    top: -40px;
  }
  .page-products .speed-line-bg img {
    max-height: 100px;
  }
  .page-products .qr-modal-img {
    width: 400px;
    height: 400px;
  }
  .page-products .feature-icon {
    width: 48px;
    height: 48px;
  }
  .page-products .feature-detail {
    padding-left: 4.6rem;
  }
}

/* ====== 大桌面 (≥1024px) ====== */
@media (min-width: 1024px) {
  .page-products .hero-title {
    font-size: 4rem;
  }
  .page-products .dual-panel {
    gap: 4rem;
  }
  .page-products .phone-mockup {
    width: 320px;
    height: 640px;
    padding: 18px;
  }
  .page-products .phone-notch {
    width: 100px;
    height: 24px;
    top: 18px;
  }
  .page-products .qr-code {
    width: 200px;
    height: 200px;
  }
  .page-products .system-reqs {
    padding: 2.5rem 2rem;
  }
}

/* ====== 窄屏安全间距 ====== */
@media (max-width: 420px) {
  .page-products {
    padding: 0.6rem 0.6rem 1.5rem;
  }
  .page-products .hero-title {
    font-size: 2rem;
  }
  .page-products .phone-mockup {
    width: 220px;
    height: 440px;
    padding: 10px;
  }
  .page-products .phone-notch {
    width: 60px;
    height: 16px;
    top: 10px;
  }
  .page-products .phone-notch::before {
    width: 8px;
    height: 8px;
    top: 4px;
  }
  .page-products .phone-home-bar {
    width: 70px;
    height: 3px;
    bottom: 14px;
  }
  .page-products .phone-btn--left {
    top: 100px;
    height: 30px;
  }
  .page-products .phone-btn--right {
    top: 120px;
    height: 44px;
  }
  .page-products .phone-screen {
    border-radius: 18px;
  }
  .page-products .qr-code {
    width: 130px;
    height: 130px;
  }
  .page-products .qr-modal-img {
    width: 220px;
    height: 220px;
  }
  .page-products .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-products .btn--large {
    width: 100%;
    text-align: center;
  }
  .page-products .reqs-table {
    min-width: 320px;
    font-size: 0.85rem;
  }
  .page-products .reqs-bg-texture {
    width: 240px;
    right: -20px;
    top: -20px;
  }
  .page-products .feature-detail {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}
