/* 产品中心页面样式 */
@import url('home.css');

.products-main {
  min-height: 100vh;
}

/* 页面标题 */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* 产品详情 */
.products-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
  align-items: start;
}

.product-detail.reverse {
  direction: rtl;
}

.product-detail.reverse > * {
  direction: ltr;
}

.product-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.product-info h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-align: left;
}

.product-tagline {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.product-description {
  margin-bottom: 2rem;
}

.product-description p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.product-features,
.product-benefits,
.product-use-cases,
.product-process,
.product-tech-specs {
  margin-bottom: 2rem;
}

.product-features h3,
.product-benefits h3,
.product-use-cases h3,
.product-process h3,
.product-tech-specs h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.product-features ul,
.product-benefits ul,
.product-use-cases ul,
.product-tech-specs ul {
  list-style: none;
  padding-left: 0;
}

.product-features li,
.product-benefits li,
.product-use-cases li,
.product-tech-specs li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.product-features li:before,
.product-benefits li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.product-use-cases li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.product-process ol {
  list-style: none;
  padding-left: 0;
  counter-reset: process-counter;
}

.product-process li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 3rem;
  counter-increment: process-counter;
}

.product-process li::before {
  content: counter(process-counter);
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

.product-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.price-tier {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.price-tier.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.price-tier h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
}

.price-tier ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.price-tier ul li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.price-tier ul li:last-child {
  border-bottom: none;
}

.product-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* CTA区域 */
.products-cta-section {
  background: var(--bg-light);
  text-align: center;
  padding: 4rem 2rem;
}

.products-cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.products-cta-section p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-detail.reverse {
    direction: ltr;
  }
  
  .product-info h2 {
    font-size: 2rem;
  }
  
  .product-pricing {
    grid-template-columns: 1fr;
  }
  
  .price-tier.featured {
    transform: scale(1);
  }
  
  .product-cta {
    flex-direction: column;
  }
}
