/* ══════════════════════════════════════════════════
   四时织锦·舟游四海 — vision.css
   规划愿景区 + 时间轴  ·  全面升级版
   ══════════════════════════════════════════════════ */

.vision {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.vision-bg { position: absolute; inset: 0; z-index: 0; }
.vision-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(.28) saturate(.6);
}
.vision-mask {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(160deg, rgba(10,30,10,.92) 0%, rgba(0,0,0,.8) 60%, rgba(15,42,15,.88) 100%);
}
/* 顶部金色细线 */
.vision::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), var(--green-mid), transparent);
  z-index: 3;
}
.vision-inner { position: relative; z-index: 2; }

/* ─── Section 副标题 ─── */
.vision-sub {
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vision-sub::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,.2), transparent);
}

/* ─── 三列数据区 — 对齐修复 ─── */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: stretch;   /* ★ 关键：三列等高拉伸 */
  margin-bottom: 80px;
}

/* ─── 进度条面板 ─── */
.vision-bars {
  display: flex;
  flex-direction: column;
}
.vbar-item {
  margin-bottom: 20px;
  padding: 16px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  transition: background var(--transition), border-color var(--transition);
}
.vbar-item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.vbar-item:last-child { margin-bottom: 0; }
.vbar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.vbar-name  { font-size: .88rem; color: rgba(255,255,255,.75); }
.vbar-value {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold-light);
  font-family: 'Noto Serif SC', serif;
}
.vbar-track {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.vbar-fill {
  height: 100%;
  width: 0;
  background: var(--c, var(--gold));
  border-radius: 3px;
  transition: width 1.6s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
/* 进度条光泽流动 */
.vbar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: -60px;
  width: 50px; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.35), transparent);
  animation: barShimmer 2.5s infinite;
}
@keyframes barShimmer {
  0%   { transform: translateX(0); }
  100% { transform: translateX(400px); }
}
.vbar-note { font-size: .72rem; color: rgba(255,255,255,.35); letter-spacing: .03em; }

/* ─── Chart 卡片 — 等高修复 ─── */
.vision-chart,
.vision-radar {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), background var(--transition);
}
.vision-chart:hover,
.vision-radar:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}
/* ★ 关键：chart-wrap 弹性填满剩余空间 */
.chart-wrap {
  position: relative;
  flex: 1;
  min-height: 240px;
}
.chart-wrap canvas {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* ─── 时间轴 ─── */
.timeline {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--green-mid), var(--sky));
}
.tl-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.tl-items::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 16.67%; right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--green-mid) 50%, var(--sky) 100%);
  z-index: 0;
}
.tl-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
.tl-dot {
  width: 28px; height: 28px;
  border: 3px solid var(--white);
  border-radius: 50%;
  margin-bottom: 24px;
  position: relative; z-index: 1;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tl-item:nth-child(1) .tl-dot { background: var(--gold); box-shadow: 0 0 16px rgba(200,134,10,.5); }
.tl-item:nth-child(2) .tl-dot { background: var(--green-mid); box-shadow: 0 0 16px rgba(45,90,39,.5); }
.tl-item:nth-child(3) .tl-dot { background: var(--sky); box-shadow: 0 0 16px rgba(74,127,165,.5); }
.tl-item:hover .tl-dot { transform: scale(1.2); }
.tl-phase {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.tl-item:nth-child(1) .tl-phase { color: var(--gold-light); }
.tl-item:nth-child(2) .tl-phase { color: #7BC47B; }
.tl-item:nth-child(3) .tl-phase { color: #7BB8D4; }
.tl-time  {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  letter-spacing: .06em;
}
.tl-body p {
  font-size: .87rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 14px;
}
.tl-mark {
  display: inline-block;
  font-size: .76rem;
  padding: 5px 14px;
  border-radius: var(--radius-xl);
  letter-spacing: .04em;
}
.tl-item:nth-child(1) .tl-mark {
  background: rgba(200,134,10,.15);
  border: 1px solid rgba(200,134,10,.35);
  color: var(--gold-light);
}
.tl-item:nth-child(2) .tl-mark {
  background: rgba(45,90,39,.2);
  border: 1px solid rgba(90,138,80,.4);
  color: #7BC47B;
}
.tl-item:nth-child(3) .tl-mark {
  background: rgba(74,127,165,.15);
  border: 1px solid rgba(74,127,165,.35);
  color: #7BB8D4;
}
