.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 6%;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: 'Noto Serif SC', serif; font-size: 1.1rem; font-weight: 700; text-decoration: none; color: var(--black); }
.nav-links { list-style: none; display: flex; gap: 1.8rem; }
.nav-links a { text-decoration: none; color: var(--gray); font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.detail-hero { padding: 5rem 6% 4rem; }
.detail-hero.bg-light { background: var(--light-bg); }
.detail-hero-inner { max-width: 960px; margin: 0 auto; }
.detail-tag-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }

.detail-hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2; margin-bottom: 0.6rem;
  animation: fadeUp 0.7s ease both;
}
.detail-sub {
  font-size: 1.15rem; color: var(--accent);
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  animation: fadeUp 0.7s 0.1s ease both;
}

/* 项目横幅 */
.project-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 2rem;
  animation: fadeUp 0.7s 0.2s ease both;
}
.project-banner-label {
  display: none;
}
.project-banner-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.6rem; color: var(--black);
  margin-bottom: 0.4rem; font-weight: 700;
}
.project-banner-title::before {
  display: none;
}
.project-banner-role { font-size: 0.95rem; color: var(--gray); }

/* 主体 */
.detail-body { padding: 0 6%; }
.detail-inner { max-width: 960px; margin: 0 auto; padding: 4rem 0 6rem; display: flex; flex-direction: column; gap: 3.5rem; }

/* 区块标题 */
.section-heading {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 1.4rem; color: var(--black);
}
.section-heading::before {
  content: '';
  display: inline-block; width: 4px; height: 1.3rem;
  background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
.section-heading::after {
  content: ''; flex: 1;
  height: 1px; background: var(--border);
}

/* 正文 */
.detail-p { font-size: 0.95rem; color: #555; line-height: 1.9; }

/* 列表 */
.detail-list { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.detail-list li {
  font-size: 0.95rem; color: #444; line-height: 1.8;
  padding: 1rem 1.3rem;
  background: var(--light-bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.detail-list li strong {
  color: var(--black); display: block;
  margin-bottom: 0.3rem; font-size: 1rem;
}

/* 数字卡片 */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.metric-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.metric-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.metric-card:hover::before { transform: scaleX(1); }
.metric-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.metric-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--accent); margin-bottom: 0.5rem;
}
.metric-label { font-size: 0.85rem; color: var(--gray); }

/* badge */
.badge-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.badge { font-size: 0.82rem; padding: 0.35rem 0.9rem; background: var(--light-bg); border: 1px solid var(--border); border-radius: 100px; color: var(--gray); }

/* 标签颜色 */
.tag-blue   { background: #e8f0fe; color: #185FA5; }
.tag-teal   { background: #E1F5EE; color: #0F6E56; }
.tag-amber  { background: #FAEEDA; color: #854F0B; }
.tag-purple { background: #EEEDFE; color: #534AB7; }
.exp-tag { font-size: 0.8rem; padding: 0.25rem 0.8rem; border-radius: 100px; }
.exp-date { font-size: 0.85rem; color: var(--gray); }

/* 页脚 */
.footer { text-align: center; padding: 1.5rem; background: var(--black); color: #444; font-size: 0.8rem; border-top: 1px solid #222; }

/* 滚动动画 */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .detail-hero { padding: 3rem 6% 2.5rem; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1rem; }
}