/* 首页专属样式 */

/* Hero 区域 */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/hero-bg.jpg') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-surface);
  max-width: 900px;
  padding: var(--spacing-lg) var(--spacing-md);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  white-space: pre-line;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero .btn-secondary {
  background: transparent;
  color: var(--color-surface);
  border-color: var(--color-surface);
}

.hero .btn-secondary:hover {
  background: var(--color-surface);
  color: var(--color-primary);
}

/* 数据统计 */
.stats {
  background: var(--gradient-card);
  padding: var(--spacing-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  text-align: center;
}

.stat-item {
  padding: var(--spacing-md);
}

.stat-value {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* 产品体系 */
.products-section {
  background: var(--color-bg);
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-hero);
}

.product-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-surface);
  font-size: var(--text-2xl);
}

.product-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.product-description {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.product-features {
  list-style: none;
}

.product-features li {
  padding: var(--spacing-xs) 0;
  color: var(--color-text);
  position: relative;
  padding-left: var(--spacing-md);
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* 优势区域 */
.advantages {
  background: var(--color-surface);
}

.advantage-card {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  color: var(--color-primary);
  border: 2px solid var(--border-color);
}

.advantage-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.advantage-description {
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* 团队展示 */
.team-section {
  background: var(--gradient-card);
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--spacing-md);
  background: var(--gradient-hero);
  overflow: hidden;
  border: 4px solid var(--color-surface);
  box-shadow: var(--shadow);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.team-role {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.team-description {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* 客户评价 */
.testimonials {
  background: var(--color-bg);
}

.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  font-size: 80px;
  color: var(--color-primary);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: var(--spacing-md);
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-hero);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.testimonial-rating {
  color: var(--color-accent);
  margin-top: var(--spacing-xs);
}

/* CTA区域 */
.cta-section {
  background: var(--gradient-hero);
  text-align: center;
  color: var(--color-surface);
  padding: var(--spacing-xl) 0;
}

.cta-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

.cta-subtitle {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.cta-section .btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-surface);
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式 */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
  
  .stat-value {
    font-size: var(--text-3xl);
  }
  
  .cta-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
