@charset "UTF-8";
/* ===== 首页专用样式 home.css ===== */

/* ===== Banner区域 ===== */
.banner {
  position: relative;
  height: 560px;
  margin-top: var(--nav-height);
  overflow: hidden;
  background: var(--dark);
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
  display: flex;
  align-items: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.banner-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.banner-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.banner-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 600px;
}
.banner-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.banner-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.banner-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.3s;
  clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 3px, 100% 100%, 3px 100%, 0 calc(100% - 3px));
}
.banner-dot.active { background: var(--primary); width: 32px; }

/* ===== 数据指标 A2数据先行 ===== */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
}
.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}

/* ===== 服务卡片 C1图文左齐 ===== */
.services-section { background: var(--white); }
.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.3s;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-4px);
}
.service-card:hover::before { height: 100%; }
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 2; }
.service-card h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}
.service-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== 流程步骤 F3=5步 ===== */
.process-section { background: var(--gray); }
.process-steps {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.process-step h4 {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 6px;
}
.process-step p {
  font-size: 12px;
  color: var(--text-light);
  max-width: 160px;
  margin: 0 auto;
}

/* ===== 新闻资讯预览 ===== */
.news-preview { background: var(--white); }
.news-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  border: 1px solid var(--border);
  padding: 24px;
  transition: all 0.3s;
}
.news-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--shadow);
}
.news-date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.news-card h4 {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.5;
}
.news-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== CTA区域 ===== */
.cta-section {
  background: var(--dark);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .banner { height: 420px; }
  .banner-title { font-size: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 32px; }
  .process-steps::before { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 24px; }
}
