/* 首页专属样式 */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #0a1420;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.35) 100%);
}
.hero-copy {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.hero-copy h1 {
  font-family: var(--head-font);
  font-weight: 900;
  font-size: 72px;
  line-height: 1.25;
  letter-spacing: 8px;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-btns {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 48px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 66px;
  padding: 0 40px;
  border-radius: 66px;
  font-size: 22px;
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-btn-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.hero-btn.ghost { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.85); backdrop-filter: blur(4px); }
.hero-btn.solid { background: var(--cyan); color: var(--text-1); }

/* slogan */
.slogan-section { background: #fff; padding: 70px 0 30px; }

/* ---------- 数据统计 ---------- */
.stats-section {
  position: relative;
  background: #fff;
  padding: 30px 0 80px;
  overflow: hidden;
}
.stats-section .ring {
  position: absolute;
  width: 662px; height: 662px;
  border: 169px solid #bde4ff;
  border-radius: 50%;
  opacity: .18;
  pointer-events: none;
}
.stats-section .ring-1 { left: -320px; top: -300px; }
.stats-section .ring-2 { right: -320px; bottom: -360px; border-width: 150px; }

.stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.stat { text-align: center; width: 310px; }
.stat-ico {
  width: 180px; height: 180px;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
}
.stat-ico img { width: auto; max-height: 150px; }
.stat-ico-team {
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f6ff, #d3ecff);
  color: var(--blue);
  font-family: var(--head-font);
  font-weight: 900;
  font-size: 40px;
  line-height: 1.15;
}
.stat-num {
  font-size: 64px;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.2;
}
.stat-label {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-1);
}
.stat-divider { width: 1px; height: 100px; background: #e2e2e2; }

.stats-slogan {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  color: var(--text-1);
  margin-top: 70px;
}
.stats-sub {
  text-align: center;
  font-size: 26px;
  color: var(--text-2);
  margin-top: 18px;
  line-height: 1.6;
}

/* ---------- 公司简介 ---------- */
.intro-section { padding: 80px 0 100px; }
.intro-body {
  display: flex;
  align-items: stretch;
  margin-top: 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(19,45,76,.06);
}
.intro-photo { flex: 0 0 42%; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-text {
  flex: 1;
  background: var(--bg-blue-soft);
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.intro-text p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-1);
  text-align: justify;
  text-indent: 2em;
}

/* ---------- 发展里程碑 ---------- */
.timeline-section { background: #fff; padding: 90px 0 120px; }
.timeline {
  position: relative;
  max-width: 1120px;
  margin: 60px auto 0;
  padding: 20px 0;
}
.tl-axis {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #80e7f9, #089df3);
  border-radius: 4px;
}
.tl-row {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.tl-row.left { justify-content: flex-start; }
.tl-row.right { justify-content: flex-end; }
.tl-card {
  width: 476px;
  background: linear-gradient(180deg, #f9fcff, #f6fbff);
  border-radius: 28px;
  padding: 34px 40px;
  box-sizing: border-box;
}
.tl-row.left .tl-card { margin-right: 80px; }
.tl-row.right .tl-card { margin-left: 80px; }
.tl-card { position: relative; z-index: 1;  }
/* 卡片角标图标（切图，位于卡片外侧下角） */
.tl-ico {
  position: absolute;
  bottom: -16px;
  width: 68px; height: 68px;
  filter: drop-shadow(0 6px 14px rgba(8,157,243,.18));
}
.tl-row.left  .tl-ico { left: -38px;bottom:72px; }
.tl-row.right .tl-ico { right: -38px;bottom:72px; }
.tl-year { font-size: 34px; font-weight: 600; color: var(--blue); }
.tl-title { font-size: 40px; font-weight: 500; color: var(--text-1); margin: 12px 0; }
.tl-desc { font-size: 32px; line-height: 1.7; color: var(--text-2); text-align: justify; }
/* 连接节点（切图：小圆点 + 连线 + 带光环大节点） */
.tl-node {
  position: absolute;
  top: 50%;
  width: 100px; height: 34px;
  background: url('../images/figma/Group%202090056664@2x.png') no-repeat center / contain;
  transform: translateY(-50%);
  z-index: 2;
}
.tl-row.left  .tl-node { left: calc(50% - 83px); }
.tl-row.right .tl-node { left: calc(50% - 17px); transform: translateY(-50%) scaleX(-1); }
/* 右上角城市线条装饰 */
.tl-decor {
  position: absolute;
  top: 30px; right: 0;
  width: 380px; height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .hero-copy h1 { font-size: 56px; }
  .stat-num { font-size: 52px; }
  .stats-slogan { font-size: 32px; }
  .stats-sub { font-size: 22px; }
}
@media (max-width: 992px) {
  .intro-body { flex-direction: column; }
  .intro-photo { flex: none; height: 280px; }
  .intro-text { padding: 40px; }
}
@media (max-width: 768px) {
  .hero { min-height: 480px; }
  .hero-copy h1 { font-size: 32px; letter-spacing: 4px; }
  .stats { gap: 30px; }
  .stat { width: 48%; }
  .stat-divider { display: none; }
  .stat-ico { width: 120px; height: 120px; }
  .stat-ico img { max-height: 96px; }
  .stat-num { font-size: 38px; }
  .stat-label { font-size: 20px; }
  .stats-slogan { font-size: 24px; margin-top: 48px; }
  .stats-sub { font-size: 17px; }
  .stats-section .ring { display: none; }
  .intro-text p { font-size: 16px; }
  /* 时间轴移动端单列 */
  .tl-decor { display: none; }
  .tl-axis { left: 14px; }
  .tl-row.left, .tl-row.right { justify-content: flex-start; }
  .tl-card { width: 100%; margin: 0 0 0 60px !important; }
  .tl-node,
  .tl-row.left .tl-node,
  .tl-row.right .tl-node {
    left: -12px;
    width: 72px; height: 24px;
    transform: translateY(-50%);
  }
  .tl-year { font-size: 26px; }
  .tl-title { font-size: 20px; }
  .tl-ico,
  .tl-row.left .tl-ico,
  .tl-row.right .tl-ico {
    width: 48px; height: 48px;
    left: auto; right: 12px;
    bottom: -12px;
  }
}
