.page-products {
  /* 自定义变量 */
  --phone-width: 280px;
  --phone-height: 560px;
  --phone-radius: 32px;
  --feature-icon-size: 80px;

  padding: 0 var(--space-md);
  max-width: var(--content-max-width);
  margin: 0 auto;
  font-family: var(--font-body);
  color: var(--color-text);
}

/* 面包屑 */
.page-products .breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}
.page-products .breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
}
.page-products .breadcrumb a:hover {
  text-decoration: underline;
}
.page-products .breadcrumb span[aria-hidden] {
  margin: 0 var(--space-xs);
}

/* 首屏分屏 */
.page-products .split-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  min-height: 70vh;
}
.page-products .split-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
}
/* 手机模型 */
.page-products .phone-mockup {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
  transform: perspective(800px) rotateY(-5deg);
}
.page-products .phone-mockup[data-rotate]:hover {
  transform: perspective(800px) rotateY(10deg) scale(1.02);
}
.page-products .phone-body {
  width: var(--phone-width);
  height: var(--phone-height);
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: var(--phone-radius);
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
}
.page-products .phone-screen {
  width: 100%;
  height: calc(var(--phone-height) - 24px);
  background: var(--color-bg);
  border-radius: calc(var(--phone-radius) - 6px);
  overflow: hidden;
  padding: var(--space-md);
  display: flex;
  align-items: flex-end;
}
.page-products .screen-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-products .data-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.7;
  animation: pulseLine 2s ease-in-out infinite alternate;
}
@keyframes pulseLine {
  0% { opacity: 0.5; transform: scaleY(1); }
  100% { opacity: 1; transform: scaleY(1.2); }
}
.page-products .phone-home {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
/* 数据流SVG */
.page-products .data-flow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.page-products .data-flow path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 3s ease-in-out forwards;
}
@keyframes drawLine {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}
.page-products .data-flow path:nth-child(2) { animation-delay: 0.5s; }
.page-products .data-flow path:nth-child(3) { animation-delay: 1s; }
.page-products .data-flow path:nth-child(4) { animation-delay: 1.5s; }

/* 首屏文字 */
.page-products .split-hero-content {
  text-align: center;
}
.page-products .hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0 0 var(--space-md);
  clip-path: polygon(0 0, 100% 2%, 99% 100%, 0 98%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.page-products .hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-lg);
  max-width: 540px;
}
.page-products .download-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}
.page-products .download-btn {
  padding: var(--space-sm) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
}
.page-products .download-btn.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--neon-glow-accent);
}
.page-products .download-btn.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--neon-glow);
}
.page-products .download-btn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.2);
}
.page-products .hero-note {
  margin-top: var(--space-lg);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}
.page-products .hero-note a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* 功能介绍区域 */
.page-products .features-section {
  padding: var(--space-3xl) 0;
}
.page-products .section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  margin: 0 0 var(--space-2xl);
  text-align: center;
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 var(--space-sm);
}
.page-products .features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.page-products .feature-card {
  background: var(--color-surface-glass);
  backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-products .feature-card[data-hover]:hover {
  transform: translateY(-6px);
  box-shadow: var(--neon-glow);
}
.page-products .feature-icon {
  width: var(--feature-icon-size);
  height: var(--feature-icon-size);
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.page-products .feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-products .feature-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
}
.page-products .feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 下载方式区域 */
.page-products .download-section {
  padding: var(--space-3xl) 0;
}
.page-products .download-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}
.page-products .qr-code {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.page-products .qr-code img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-products .store-links {
  max-width: 500px;
  text-align: center;
}
.page-products .store-links p {
  font-size: 1rem;
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}
.page-products .store-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.page-products .store-links li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}
.page-products .store-links li::before {
  content: "›";
  color: var(--color-accent);
  margin-right: var(--space-sm);
  font-weight: bold;
}

/* 兼容说明区域 */
.page-products .compatibility-section {
  padding: var(--space-3xl) 0;
}
.page-products .compatibility-content {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-surface-glass);
  backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.page-products .compatibility-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* 桌面端适配 */
@media (min-width: 768px) {
  .page-products .split-hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 80vh;
  }
  .page-products .split-hero-visual {
    flex: 1 1 400px;
    max-width: 480px;
  }
  .page-products .split-hero-content {
    flex: 1 1 500px;
    text-align: left;
    padding-left: var(--space-3xl);
  }
  .page-products .hero-title {
    font-size: 3.25rem;
  }
  .page-products .download-buttons {
    justify-content: flex-start;
  }
  .page-products .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-products .download-options {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
  .page-products .store-links {
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .page-products .hero-title {
    font-size: 4rem;
  }
  .page-products .features-section {
    padding: var(--space-3xl) calc(var(--space-3xl) * 2);
  }
}
/* 确保图片响应 */
.page-products img {
  max-width: 100%;
  height: auto;
}
