.page-products {
  --page-green: #4CAF50;
  --page-deep-blue: #1A237E;
  --page-orange: #FF5722;
  --page-dark-green: #2E7D32;
  --page-light-gray: #F5F5F5;
  --page-deep-gray: #424242;
  --page-white: #FFFFFF;
  --page-transparent-orange: rgba(255,87,34,0.12);
  --page-radius-lg: 24px;
  --page-radius-md: 16px;
  --page-radius-sm: 12px;
  --page-font-heading: 'Arial Black', 'Impact', sans-serif;
  --page-font-body: 'Noto Sans SC', 'Segoe UI', sans-serif;
  --page-shadow-soft: 0 8px 32px rgba(0,0,0,0.08);
  --page-shadow-strong: 0 12px 48px rgba(0,0,0,0.15);

  display: block;
  background: var(--page-light-gray);
  font-family: var(--page-font-body);
  color: var(--page-deep-gray);
  padding: 0 0 3rem 0;
}

/* 面包屑 */
.page-products .breadcrumb {
  padding: 1.25rem 0 0.5rem;
}
.page-products .breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.page-products .breadcrumb li {
  font-size: 0.875rem;
  color: var(--page-deep-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-products .breadcrumb li::after {
  content: '›';
  color: var(--page-orange);
  font-weight: bold;
}
.page-products .breadcrumb li:last-child::after {
  content: none;
}
.page-products .breadcrumb a {
  color: var(--page-deep-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.page-products .breadcrumb a:hover,
.page-products .breadcrumb a:focus-visible {
  border-bottom-color: var(--page-deep-blue);
}
.page-products .breadcrumb [aria-current="page"] {
  color: var(--page-deep-gray);
  font-weight: 600;
}

/* 首屏：框景 + 杂志节奏 */
.page-products .app-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 1rem 3rem;
  position: relative;
}
.page-products .hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.page-products .hero-heading {
  font-family: var(--page-font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-style: italic;
  color: var(--page-deep-blue);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.page-products .hero-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--page-deep-gray);
  max-width: 30ch;
  margin: 0;
}
.page-products .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.page-products .hero-actions .btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 40px;
  font-family: var(--page-font-heading);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.03em;
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s;
}
.page-products .hero-actions .btn-lg {
  font-size: 1.1rem;
  padding: 1rem 2.4rem;
}
.page-products .hero-actions .btn-primary {
  background: var(--page-green);
  color: var(--page-white);
  box-shadow: 0 4px 16px rgba(76,175,80,0.35);
}
.page-products .hero-actions .btn-accent {
  background: var(--page-orange);
  color: var(--page-white);
  box-shadow: 0 4px 16px rgba(255,87,34,0.35);
}
.page-products .hero-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.page-products .hero-note {
  font-size: 0.875rem;
  color: var(--page-deep-gray);
  opacity: 0.65;
  margin: 0;
}

/* 手机模型 */
.page-products .hero-device {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.page-products .phone-mock {
  width: 220px;
  height: 440px;
  background: var(--page-deep-blue);
  border-radius: 36px;
  padding: 12px 8px;
  position: relative;
  box-shadow: var(--page-shadow-strong), 0 0 0 3px rgba(26,35,126,0.3);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-products .phone-mock:hover {
  transform: rotateY(-12deg) rotateX(4deg);
}
.page-products .phone-notch {
  width: 80px;
  height: 18px;
  background: var(--page-deep-blue);
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}
.page-products .phone-screen {
  width: 100%;
  height: calc(100% - 48px);
  background: var(--page-white);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-products .phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-products .phone-home {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  margin: 6px auto 0;
}
.page-products .phone-shadow {
  width: 240px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.12) 0%, transparent 70%);
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/* 核心功能区 */
.page-products .app-features {
  padding: 3rem 1rem 2rem;
}
.page-products .features-header {
  margin-bottom: 2rem;
}
.page-products .section-heading {
  font-family: var(--page-font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-style: italic;
  color: var(--page-deep-blue);
  margin: 0 0 0.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.page-products .section-desc {
  font-size: 1rem;
  color: var(--page-deep-gray);
  margin: 0;
  opacity: 0.8;
}
.page-products .features-grid {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.page-products .feature-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  border-radius: 60px;
  border: 2px solid var(--page-deep-blue);
  background: var(--page-white);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  font-family: var(--page-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--page-deep-blue);
}
.page-products .feature-tab:hover {
  background: rgba(76,175,80,0.08);
  border-color: var(--page-green);
}
.page-products .feature-tab.active {
  background: var(--page-green);
  border-color: var(--page-green);
  color: var(--page-white);
  box-shadow: 0 4px 20px rgba(76,175,80,0.3);
}
.page-products .feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.page-products .feature-icon svg {
  width: 40px;
  height: 40px;
}
.page-products .feature-label {
  white-space: nowrap;
}

/* 功能面板 */
.page-products .feature-panels {
  position: relative;
}
.page-products .feature-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--page-white);
  border-radius: var(--page-radius-lg);
  padding: 2rem;
  box-shadow: var(--page-shadow-soft);
  border-left: 6px solid var(--page-green);
}
.page-products .feature-panel.active {
  display: grid;
}
.page-products .panel-title {
  font-family: var(--page-font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--page-deep-blue);
  margin: 0 0 0.75rem;
}
.page-products .panel-text {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  color: var(--page-deep-gray);
}
.page-products .panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-products .panel-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--page-deep-gray);
}
.page-products .panel-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--page-orange);
  font-size: 0.7rem;
  top: 0.15rem;
}
.page-products .panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-products .panel-visual img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--page-radius-md);
  box-shadow: var(--page-shadow-soft);
}

/* 高亮模块：大色块背景 */
.page-products .app-highlight {
  position: relative;
  padding: 0 1rem;
  margin: 2rem auto;
}
.page-products .highlight-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--page-radius-lg);
  overflow: hidden;
  z-index: 0;
}
.page-products .highlight-texture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  display: block;
}
.page-products .highlight-content {
  position: relative;
  z-index: 1;
  background: var(--page-dark-green);
  border-radius: var(--page-radius-lg);
  padding: 3rem 2.5rem;
  color: var(--page-white);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.page-products .highlight-heading {
  font-family: var(--page-font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-style: italic;
  margin: 0;
  line-height: 1.15;
}
.page-products .highlight-text {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 55ch;
  margin: 0;
  opacity: 0.92;
}
.page-products .highlight-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.page-products .stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.page-products .stat-num {
  font-family: var(--page-font-heading);
  font-size: 2rem;
  font-style: italic;
  color: var(--page-orange);
}
.page-products .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 数据流模块 */
.page-products .app-dataflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 1rem 3rem;
}
.page-products .dataflow-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--page-radius-md);
  box-shadow: var(--page-shadow-soft);
}
.page-products .dataflow-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.page-products .dataflow-steps {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.page-products .dataflow-steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--page-deep-gray);
  padding: 0.6rem 1rem;
  background: var(--page-white);
  border-radius: var(--page-radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.page-products .dataflow-steps li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.page-products .step-num {
  font-family: var(--page-font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--page-orange);
  min-width: 2.2rem;
}

/* 预览模块 */
.page-products .app-preview {
  padding: 1rem 1rem 3rem;
  text-align: center;
}
.page-products .preview-wrapper {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.page-products .preview-wrapper img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: var(--page-radius-lg);
  box-shadow: var(--page-shadow-strong);
  border: 2px solid var(--page-white);
}

/* 内部链接 */
.page-products .app-internal-links {
  padding: 2rem 1rem 1rem;
}
.page-products .links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.page-products .link-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  border-radius: var(--page-radius-md);
  background: var(--page-white);
  box-shadow: var(--page-shadow-soft);
  text-decoration: none;
  color: var(--page-deep-gray);
  border-left: 4px solid var(--page-green);
  transition: transform 0.25s, box-shadow 0.25s;
}
.page-products .link-card:hover,
.page-products .link-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--page-shadow-strong);
}
.page-products .link-icon svg {
  width: 36px;
  height: 36px;
}
.page-products .link-title {
  font-family: var(--page-font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--page-deep-blue);
}
.page-products .link-desc {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 容器复用 */
.page-products .container {
  max-width: var(--container-max, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
  .page-products .app-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem 1rem 2rem;
  }
  .page-products .hero-sub {
    max-width: 100%;
  }
  .page-products .hero-actions {
    justify-content: center;
  }
  .page-products .hero-device {
    order: -1;
  }
  .page-products .phone-mock {
    width: 160px;
    height: 320px;
    border-radius: 28px;
    padding: 8px 6px;
  }
  .page-products .phone-notch {
    width: 60px;
    height: 14px;
  }
  .page-products .phone-home {
    width: 24px;
    height: 24px;
  }
  .page-products .phone-shadow {
    width: 180px;
    height: 20px;
    bottom: -12px;
  }

  .page-products .features-grid {
    gap: 0.6rem;
  }
  .page-products .feature-tab {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  .page-products .feature-icon svg {
    width: 32px;
    height: 32px;
  }

  .page-products .feature-panel {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .page-products .panel-visual {
    order: -1;
  }
  .page-products .panel-visual img {
    max-width: 100%;
  }

  .page-products .app-dataflow {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .page-products .dataflow-steps {
    align-items: stretch;
  }
  .page-products .dataflow-steps li {
    justify-content: center;
  }

  .page-products .app-highlight {
    padding: 0 0.5rem;
  }
  .page-products .highlight-content {
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .page-products .highlight-stats {
    justify-content: center;
    gap: 1.2rem;
  }

  .page-products .preview-wrapper img {
    max-width: 100%;
  }

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

@media (max-width: 480px) {
  .page-products .features-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .page-products .feature-tab {
    justify-content: center;
  }
  .page-products .links-grid {
    grid-template-columns: 1fr;
  }
  .page-products .highlight-stats {
    flex-direction: column;
    align-items: center;
  }
}
