/* ===== 首页专用样式 - L3内容驱动型 ===== */

/* Banner区域 */
.banner {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: var(--dark-bg);
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 31, 21, 0.55);
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-content p {
  font-size: 18px;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 35px;
  line-height: 1.8;
}

.banner-content .btn {
  margin: 0 10px;
}

.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(232, 213, 192, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 6px;
}

/* 数据区域 - A2数据先行 */
.stats-section {
  background: var(--dark-bg);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background: var(--dark-secondary);
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  font-style: italic;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* 服务区域 - C4数字序号卡片 */
.services-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 31, 21, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(44, 31, 21, 0.15);
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card-body {
  padding: 25px;
}

.service-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  font-style: italic;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-bg);
  font-style: italic;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* 服务流程 - F1=3步 */
.process-section {
  padding: 80px 0;
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.process-step:last-child::after {
  display: none;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  color: var(--white);
  position: relative;
  z-index: 1;
  font-style: italic;
  font-weight: 700;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-bg);
  font-style: italic;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
}

/* 资讯区域 */
.news-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(44, 31, 21, 0.06);
  transition: all 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(44, 31, 21, 0.12);
}

.news-date {
  font-size: 12px;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 10px;
  font-weight: 500;
}

.news-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-bg);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card p {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

.news-card .read-more {
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
}

/* CTA区域 */
.cta-section {
  background: var(--dark-bg);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 响应式 */
@media (max-width: 768px) {
  .banner {
    height: 500px;
  }

  .banner-content h1 {
    font-size: 28px;
  }

  .banner-content p {
    font-size: 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step::after {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .banner {
    height: 400px;
  }

  .banner-content h1 {
    font-size: 22px;
  }
}
