.page-products {
  --card-radius: 8px;
  --card-clip-offset: 14px;
  --hero-clip-angle: polygon(0 0, 100% 0, 100% calc(100% - 3vw), 0 100%);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  line-height: var(--body-line-height);
}

/* ========== Hero 面板 ========== */
.page-products .hero-panel {
  position: relative;
  background: var(--color-primary);
  padding: 4rem 1.5rem 5rem;
  color: var(--color-white);
  overflow: hidden;
  clip-path: var(--hero-clip-angle);
  margin-bottom: 0;
}

.page-products .hero-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-products .hero-inner .section-number {
  display: inline-block;
  font-size: var(--accent-size);
  font-weight: var(--accent-weight);
  color: var(--color-accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--color-accent);
  padding-left: 0.75rem;
}

.page-products .hero-inner .section-title {
  font-size: 2.5rem;
  font-weight: var(--heading-weight);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-products .hero-inner .section-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  max-width: 32rem;
  margin: 0;
}

.page-products .hero-rhombus {
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 16rem;
  height: 16rem;
  background: rgba(255,107,53,0.08);
  transform: rotate(25deg);
  border-radius: 2rem;
  pointer-events: none;
  z-index: 1;
}

.page-products .hero-angle {
  display: none;
}

@media (min-width: 768px) {
  .page-products .hero-panel {
    padding: 6rem 3rem 7rem;
  }
  .page-products .hero-inner .section-title {
    font-size: 3.5rem;
  }
  .page-products .hero-inner .section-subtitle {
    font-size: 1.25rem;
  }
  .page-products .hero-rhombus {
    width: 24rem;
    height: 24rem;
    right: -3rem;
    top: -5rem;
  }
}

/* ========== 功能矩阵 ========== */
.page-products .feature-matrix {
  padding: 2.5rem 1.5rem 3rem;
  background: var(--color-background);
}

.page-products .feature-matrix .section-header {
  text-align: left;
  max-width: var(--content-max-width);
  margin: 0 auto 2rem;
}

.page-products .feature-matrix .section-header .chip-corner {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: var(--accent-weight);
  padding: 0.25rem 0.75rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.page-products .feature-matrix .section-header h2 {
  font-size: 1.75rem;
  font-weight: var(--heading-weight);
  margin: 0 0 0.5rem;
  color: var(--color-text-primary);
}

.page-products .feature-matrix .section-header .section-desc {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  margin: 0;
  max-width: 36rem;
}

.page-products .matrix-grid {
  display: grid;
  gap: 1.25rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.page-products .card-feature {
  background: var(--color-white);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--card-clip-offset)), calc(100% - var(--card-clip-offset)) 100%, 0 100%);
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(11,29,58,0.06);
}

.page-products .card-feature[data-hover="zoom"]:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(11,29,58,0.12);
}

.page-products .card-feature-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.page-products .card-feature-primary .card-title {
  color: var(--color-white);
}

.page-products .card-feature-primary .card-desc {
  color: rgba(255,255,255,0.8);
}

.page-products .card-feature-primary .card-link {
  color: var(--color-accent);
}

.page-products .card-feature-primary .card-link .link-arrow {
  color: var(--color-accent);
}

.page-products .card-feature-primary .card-tag {
  background: var(--color-accent);
  color: var(--color-white);
}

.page-products .card-figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-neutral-light);
}

.page-products .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  transition: transform var(--transition-smooth);
}

.page-products .card-feature:hover .card-img {
  transform: scale(1.05);
}

.page-products .card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-products .card-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: var(--accent-weight);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.2rem 0.6rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%);
  margin-bottom: 0.75rem;
  align-self: flex-start;
  letter-spacing: 0.06em;
}

.page-products .card-title {
  font-size: 1.125rem;
  font-weight: var(--heading-weight);
  margin: 0 0 0.5rem;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.page-products .card-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0 0 1rem;
  flex: 1;
  line-height: 1.5;
}

.page-products .card-link {
  font-size: 0.8125rem;
  font-weight: var(--accent-weight);
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-base);
  align-self: flex-start;
}

.page-products .card-link:hover {
  gap: 0.6rem;
}

.page-products .card-link .link-arrow {
  font-size: 1.1em;
  transition: transform var(--transition-base);
}

.page-products .card-link:hover .link-arrow {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .page-products .feature-matrix {
    padding: 3.5rem 3rem 4rem;
  }
  .page-products .feature-matrix .section-header h2 {
    font-size: 2rem;
  }
  .page-products .matrix-grid {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
  }
  .page-products .card-feature:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 4;
  }
  .page-products .card-feature:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .page-products .card-feature:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }
  .page-products .card-feature:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }
  .page-products .card-feature-primary .card-body {
    padding: 1.5rem;
  }
  .page-products .card-feature-primary .card-title {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .page-products .matrix-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* ========== 操作演示 ========== */
.page-products .demo-section {
  padding: 2.5rem 1.5rem 3rem;
  background: var(--color-white);
}

.page-products .demo-section .section-header {
  max-width: var(--content-max-width);
  margin: 0 auto 1.5rem;
}

.page-products .demo-section .section-header .chip-corner-inverse {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: var(--accent-weight);
  padding: 0.25rem 0.75rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.page-products .demo-section .section-header h2 {
  font-size: 1.75rem;
  font-weight: var(--heading-weight);
  margin: 0 0 0.5rem;
  color: var(--color-text-primary);
}

.page-products .demo-section .section-header .section-desc {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  margin: 0;
  max-width: 36rem;
}

.page-products .demo-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.page-products .demo-visual {
  position: relative;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  overflow: hidden;
  background: var(--color-neutral-light);
  aspect-ratio: 16 / 10;
}

.page-products .demo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-products .demo-marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.85;
  transition: opacity var(--transition-base);
  cursor: default;
}

.page-products .demo-marker:hover {
  opacity: 1;
}

.page-products .marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.page-products .marker-label {
  font-size: 0.6875rem;
  font-weight: var(--accent-weight);
  color: var(--color-white);
  background: var(--color-primary);
  padding: 0.15rem 0.5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%);
  white-space: nowrap;
  display: none;
}

@media (min-width: 600px) {
  .page-products .marker-label {
    display: inline-block;
  }
}

.page-products .marker-1 { bottom: 28%; left: 65%; }
.page-products .marker-2 { bottom: 48%; left: 38%; }
.page-products .marker-3 { bottom: 68%; left: 55%; }
.page-products .marker-4 { bottom: 15%; left: 25%; }

.page-products .demo-steps {
  display: grid;
  gap: 0.75rem;
}

.page-products .demo-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--color-background);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background var(--transition-base);
}

.page-products .demo-step:hover {
  background: var(--color-neutral-light);
}

.page-products .step-num {
  font-size: 1.5rem;
  font-weight: var(--heading-weight);
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.2rem;
}

.page-products .step-text h4 {
  font-size: 0.9375rem;
  font-weight: var(--heading-weight);
  margin: 0 0 0.2rem;
  color: var(--color-text-primary);
}

.page-products .step-text p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .page-products .demo-section {
    padding: 3.5rem 3rem 4rem;
  }
  .page-products .demo-section .section-header h2 {
    font-size: 2rem;
  }
  .page-products .demo-content {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .page-products .demo-visual {
    aspect-ratio: 16 / 10;
  }
  .page-products .demo-steps {
    gap: 0.875rem;
  }
  .page-products .demo-step {
    padding: 1rem 1.25rem;
  }
  .page-products .step-num {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .page-products .demo-content {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* ========== 快速开始 ========== */
.page-products .quick-start {
  padding: 2.5rem 1.5rem 3rem;
  background: var(--color-primary);
  color: var(--color-white);
  clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%);
}

.page-products .quick-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  text-align: center;
}

.page-products .quick-inner .chip-corner-light {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: var(--accent-weight);
  padding: 0.25rem 0.75rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.page-products .quick-title {
  font-size: 1.75rem;
  font-weight: var(--heading-weight);
  margin: 0 0 0.5rem;
}

.page-products .quick-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 1.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.page-products .quick-start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.page-products .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: var(--accent-weight);
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  min-width: 8rem;
}

.page-products .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.3);
}

.page-products .btn-cta-large {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.page-products .btn-cta-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.page-products .btn-cta-outline:hover {
  border-color: var(--color-white);
  box-shadow: 0 6px 20px rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .page-products .quick-start {
    padding: 3.5rem 3rem 4rem;
  }
  .page-products .quick-title {
    font-size: 2rem;
  }
  .page-products .quick-desc {
    font-size: 1rem;
  }
  .page-products .quick-start-actions {
    gap: 1rem;
  }
  .page-products .btn-cta {
    padding: 0.875rem 2rem;
  }
}

/* ========== 移动端细调 ========== */
@media (max-width: 479px) {
  .page-products .hero-inner .section-title {
    font-size: 2rem;
  }
  .page-products .hero-panel {
    padding: 3rem 1rem 4rem;
  }
  .page-products .feature-matrix,
  .page-products .demo-section {
    padding: 2rem 1rem;
  }
  .page-products .quick-start {
    padding: 2rem 1rem;
    clip-path: polygon(0 2vw, 100% 0, 100% 100%, 0 100%);
  }
  .page-products .card-body {
    padding: 1rem 1rem 1.25rem;
  }
  .page-products .card-title {
    font-size: 1rem;
  }
  .page-products .card-desc {
    font-size: 0.8125rem;
  }
  .page-products .demo-step {
    padding: 0.625rem 0.875rem;
  }
  .page-products .step-num {
    font-size: 1.25rem;
    min-width: 1.8rem;
  }
  .page-products .quick-start-actions {
    flex-direction: column;
    align-items: center;
  }
  .page-products .btn-cta {
    width: 100%;
    max-width: 18rem;
  }
}
