/* ========================================================
   云顶科绘 作品集框架
   配色：深色 Hero + 浅色卡片 + 蓝色强调
   ======================================================== */

:root {
  /* 品牌色（与 logo 蓝青渐变统一） */
  --blue-50: #f0f9ff;
  --blue-100: #e0f2fe;
  --blue-200: #bae6fd;
  --blue-400: #38bdf8;
  --blue-500: #0ea5e9;
  --blue-600: #0284c7;
  --blue-700: #0369a1;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --dark-bg: #0a0e1a;
  --dark-card: #111827;
  --dark-card2: #1e293b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: "Outfit", "Cormorant Garamond",
    -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
html, body { overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ========== Page Loader ========== */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--blue-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.page-loader p { margin-top: 20px; color: var(--gray-400); font-size: 12px; letter-spacing: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 屏幕阅读器专用 / 视觉隐藏（用于 SEO 关键词区） */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ========== Scroll Animation ========== */
.fade-up, .fade-left, .fade-right {
  opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up { transform: translateY(32px); }
.fade-left { transform: translateX(-32px); }
.fade-right { transform: translateX(32px); }
.fade-up.visible, .fade-left.visible, .fade-right.visible {
  opacity: 1; transform: translate(0, 0) scale(1);
}

/* ========== Navbar ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  height: 40px; width: auto; display: block;
  /* SVG 透明背景，浅色深色都好看，无需反相 */
}
.logo-img-dark { height: 40px; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.75);
  position: relative; transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--blue-400);
  border-radius: 1px; transition: width 0.3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff !important; padding: 10px 22px; border-radius: 8px;
  font-weight: 600; box-shadow: 0 2px 12px rgba(59, 130, 246, 0.4);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; cursor: pointer;
}
.menu-toggle span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .menu-toggle span { background: #fff; }
.menu-toggle.active span { background: #fff; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10, 14, 26, 0.98); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.nav-overlay.active { display: flex; }
.nav-overlay a {
  font-size: 20px; font-weight: 600; color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}
.nav-overlay a:hover { color: var(--blue-400); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  position: relative; overflow: hidden;
  background: var(--dark-bg);
  display: flex; align-items: center; justify-content: center;
  padding: 110px 24px 70px;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 800px 600px at 20% 30%, rgba(59, 130, 246, 0.15), transparent 70%),
    radial-gradient(ellipse 600px 500px at 80% 70%, rgba(99, 102, 241, 0.12), transparent 70%),
    linear-gradient(135deg, #0a0e1a 0%, #0f172a 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Hero 浮动光斑 */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle 240px at 18% 28%, rgba(14, 165, 233, 0.12), transparent 65%),
    radial-gradient(circle 300px at 82% 72%, rgba(6, 182, 212, 0.10), transparent 65%),
    radial-gradient(circle 220px at 50% 50%, rgba(99, 102, 241, 0.07), transparent 65%),
    radial-gradient(circle 180px at 70% 25%, rgba(168, 85, 247, 0.05), transparent 70%);
  animation: heroOrb 6s ease-in-out infinite alternate;
}

/* 视频背景层（GIF 轮播） */
.hero-video-bg {
  position: absolute; inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--dark-bg); /* 加载中/失败时的纯色背景 */
  /* 防误选/误拖：禁止文字选择 */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  will-change: opacity; /* 提示浏览器优化 */
  /* 视频背景兜底：加载/解码失败时显示深色底色，避免黑屏 */
  background: var(--dark-bg);
}
.hero-video.is-active { opacity: 1; }
.hero-video-mask {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(10, 14, 26, 0.55); /* 单层简化暗化，节省 GPU */
}
.hero-inner {
  position: relative; z-index: 4; max-width: 820px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  padding: 8px 18px; border-radius: 50px;
  font-size: 13px; color: var(--blue-400); font-weight: 500;
  margin-bottom: 28px; transition: var(--transition);
}
.hero-badge:hover { transform: translateY(-2px); background: rgba(59, 130, 246, 0.2); }
.hero-badge .dot {
  width: 6px; height: 6px; background: #22c55e; border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Hero 浮动光斑动效（不依赖视频，所有视口可见） */
@keyframes heroOrb {
  0%   { transform: translate(0, 0)          scale(1);    opacity: 0.25; }
  25%  { transform: translate(-40px, 50px)   scale(1.15); opacity: 0.40; }
  50%  { transform: translate(50px, -30px)   scale(0.88); opacity: 0.30; }
  75%  { transform: translate(-30px, -40px)  scale(1.12); opacity: 0.38; }
  100% { transform: translate(0, 0)          scale(1);    opacity: 0.28; }
}
/* Hero 背景流动光带（旋转锥形渐变，24s 一周） */
@keyframes heroSpin {
  to { transform: rotate(360deg); }
}
/* 尊重系统的「减少动态」设置，避免眩晕 */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .trust-track, .works-track, .hero-badge .dot { animation: none !important; }
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px); font-weight: 800;
  line-height: 1.1; color: #fff; margin-bottom: 24px;
  letter-spacing: -1.2px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .hero-tagline {
  display: block;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
  margin-top: 12px;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.75);
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; justify-content: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  color: #fff;
  /* iPhone 风格毛玻璃：半透明白底 + 背景模糊 + 细边框 + 微阴影 */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.7s ease;
  pointer-events: none;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-stats {
  display: flex; gap: 52px; flex-wrap: wrap; justify-content: center;
}
.hero-stat-item { text-align: center; min-width: 95px; }
.hero-stat-num {
  font-size: 36px; font-weight: 800; color: var(--blue-400);
  line-height: 1; margin-bottom: 6px;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "tnum" 1;
}
.hero-stat-label { font-size: 12px; color: rgba(255, 255, 255, 0.65); font-weight: 500; }

/* ========== Section Common ========== */
.section { padding: 100px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; color: var(--blue-600);
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  color: var(--gray-900); line-height: 1.2; margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 16px; color: var(--gray-500);
  max-width: 100%; margin: 0 auto; line-height: 1.7;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 12px;
}

/* ========== Trust Strip (合作机构) ========== */
.trust {
  padding: 56px 24px; background: #fff;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  position: relative; z-index: 1;
}
.trust-label {
  text-align: center; font-size: 13px; font-weight: 500;
  color: var(--gray-500); margin-bottom: 32px;
  letter-spacing: 0.5px;
}
.trust-label strong {
  color: var(--gray-900); font-weight: 800; font-size: 15px;
  margin: 0 4px;
}
.trust-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.trust-track {
  display: flex; gap: 36px;
  animation: trustScroll 130s linear infinite;
  width: max-content;
}
.trust-track span {
  color: var(--gray-500); font-size: 17px; font-weight: 500;
  white-space: nowrap; transition: color 0.3s ease;
  cursor: default; letter-spacing: 0.5px;
}
.trust-track span:hover { color: var(--blue-600); }
@keyframes trustScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.trust:hover .trust-track { animation-play-state: paused; }

/* ========== Services ========== */
.services { background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* —— 亮色风格服务卡（顶部真实配图 + 居中文案） —— */
.service-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 16px 22px;
  display: flex; flex-direction: column; gap: 16px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.service-card::before { display: none; }

.service-thumb {
  width: 100%; aspect-ratio: 4 / 3;
  border-radius: 12px; overflow: hidden;
  background: var(--gray-100);
}
.service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.service-card .service-body {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  flex: 1;
}
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin: 0; letter-spacing: -0.2px; }
.service-card p { font-size: 13.5px; color: var(--gray-500); line-height: 1.75; margin: 0; }

.service-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 999px;
  background: var(--gray-50); color: var(--gray-700);
  font-size: 13px; font-weight: 600;
  transition: var(--transition); margin-top: auto;
  border: 1px solid var(--gray-100);
}
.service-btn:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }

/* ========== Works (Dark) ========== */
.works { background: var(--dark-bg); }
.works .section-tag { color: var(--blue-400); }
.works .section-title { color: #f1f5f9; }
.works .section-desc { color: var(--gray-400); }

/* ========== Carousel Common ========== */
.carousel-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  gap: 16px;
}
.carousel {
  width: 100%;
  padding: 40px 110px;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 110px, black calc(100% - 110px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 110px, black calc(100% - 110px), transparent 100%);
}
.carousel-track {
  display: grid; grid-template-rows: repeat(2, 1fr); grid-auto-flow: column;
  gap: 16px; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform; width: max-content;
}
.carousel-btn {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gray-400); font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0;
  line-height: 1; padding: 0;
}
.carousel-btn:hover { background: rgba(59, 130, 246, 0.2); border-color: var(--blue-500); color: #fff; }

/* ========== Works 双行双向轮播（精选期刊封面）========== */
.works-rows {
  display: flex; flex-direction: column;
  gap: 18px;
  padding: 40px 0;
  position: relative;
}
.works-row {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 4%, black 96%, transparent 100%);
}
.works-track {
  display: flex; gap: 16px;
  width: max-content;
  will-change: transform;
}
#worksTrack1 {
  /* 第一行：从左往右 */
  animation: scroll-right 80s linear infinite;
}
#worksTrack2 {
  /* 第二行：从右往左，错开 20s 启动，让两行处于不同相位 */
  animation: scroll-left 80s linear infinite;
  animation-delay: -20s;
}
.works-row:hover .works-track {
  animation-play-state: paused;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* Works cards (dark) - 在双行轮播中使用 */
.works-track .work-card {
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 0.7 / 1; cursor: pointer;
  transition: box-shadow 0.2s ease;
  position: relative; width: 240px; z-index: 1; flex-shrink: 0;
  background: var(--dark-card2);
  /* 离屏的卡片不渲染（性能优化） */
  content-visibility: auto;
  contain-intrinsic-size: 240px 343px;
}
.works-track .work-card:hover {
  box-shadow: 0 0 0 2px var(--blue-500);
  z-index: 10;
}
.work-card-img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  position: absolute; inset: 0;
  background-color: var(--dark-card2);
}
.work-card-img-text {
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8); text-align: center; padding: 16px;
  position: relative; z-index: 1;
}
.work-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

/* 真实图片卡的悬浮遮罩（占位，保留以备扩展） */
.work-card-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 14px;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 26, 0.85) 100%);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.works-track .work-card:hover .work-card-overlay { opacity: 1; }

/* Cases (light) - 论文配图案例 · 网格布局 */
.cases { background: var(--gray-50); }
.figures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.figure-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  position: relative;
}
.figure-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
  border-color: var(--blue-200);
}
.figure-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ffffff;
}
.figure-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;    /* 按比例缩放填满卡片，统一视觉尺寸 */
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.figure-card:hover .figure-img { transform: scale(1.02); }
.figure-link::after {
  content: '🔍';
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.figure-card:hover .figure-link::after {
  opacity: 1;
  transform: scale(1);
}
.figure-caption {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.figure-journal {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.figure-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.5;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.figure-title:hover { color: var(--blue-600); }

/* "查看全部" 链接 */
.section-actions {
  text-align: center;
  margin-top: 32px;
}
.read-more-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600;
  color: var(--blue-600);
  padding: 12px 28px;
  border: 1.5px solid var(--blue-200);
  border-radius: 50px;
  background: #fff;
  transition: all 0.3s ease;
}
.read-more-link:hover {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

/* ========== 配图分类筛选工具栏 ========== */
.cases-filter {
  display: none;
  margin-bottom: 32px;
}
.cases-filter.open { display: block; }
.cases-filter-title {
  font-size: 20px; font-weight: 700; color: var(--ink-900);
  margin: 0 0 18px;
}
.filter-pills {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: stretch;
}
.filter-pill {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  min-width: 132px;
  min-height: 62px;
  padding: 12px 22px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px; font-weight: 600;
  color: var(--ink-900);
  text-align: center;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.filter-pill small {
  font-size: 11px; font-weight: 500; color: var(--gray-500);
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--blue-300);
  transform: translateY(-2px);
}
.filter-pill.active {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.28);
}
.filter-pill.active small { color: rgba(255, 255, 255, 0.92); }
.filter-pill.active small span { color: rgba(255,255,255,0.92); }

/* 查看全部按钮 */
.view-all-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  color: #fff;
  border: none;
  text-decoration: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}
.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.4);
}

/* 独立配图页页头 */
.page-banner {
  background: linear-gradient(160deg, #0f172a 0%, #0c4a6e 100%);
  padding: 76px 0 44px;
  text-align: center;
}
.page-banner .section-title { color: #fff; }
.page-banner .section-desc { color: rgba(255, 255, 255, 0.75); margin-top: 12px; }
.page-banner .breadcrumb {
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--blue-200);
}
.page-banner .breadcrumb a { color: var(--blue-200); text-decoration: none; transition: color 0.3s ease; }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb span { opacity: 0.85; }

@media (max-width: 1200px) {
  .work-card { width: 200px; }
  .carousel { padding: 30px 90px; }
}
@media (max-width: 1024px) {
  .work-card { width: 180px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel { padding: 30px 80px; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  /* 中等屏：服务卡文字更紧凑 */
  .service-card { padding: 14px 14px 20px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 13px; line-height: 1.7; }
}
@media (max-width: 768px) {
  .work-card { width: 150px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 70px 20px; }
  .carousel { padding: 24px 60px; }
  .carousel-btn { width: 36px; height: 36px; font-size: 18px; flex: 0 0 36px; }
  .about-grid { grid-template-columns: 1fr !important; gap: 40px !important; max-width: 560px; margin: 0 auto; }
  .about-image-wrap { position: static; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .hero-stats { gap: 28px; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .figure-caption { padding: 14px 16px 18px; }
  .figure-title { font-size: 13.5px; }
  .figure-journal { font-size: 11.5px; }
  .workflow-image-wrap { padding: 0 8px; }
  .workflow-image-wrap img { border-radius: 12px; }

  /* 小屏：调暗背景轮播图让前景文字突出 */
  .hero-bg-mask {
    background:
      radial-gradient(ellipse 600px 500px at 30% 25%, rgba(14, 165, 233, 0.18), transparent 70%),
      radial-gradient(ellipse 500px 400px at 80% 75%, rgba(6, 182, 212, 0.14), transparent 70%),
      linear-gradient(180deg, rgba(10, 14, 26, 0.6) 0%, rgba(15, 23, 42, 0.75) 100%);
  }
}
@media (max-width: 480px) {
  /* —— 通用：更紧的边距 —— */
  .section { padding: 56px 16px; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 24px; letter-spacing: -0.3px; }
  .section-desc { font-size: 14px; padding: 0 6px; }

  /* —— Hero —— */
  .hero { min-height: 88vh; padding: 0 16px; }
  .hero h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.8px; }
  .hero h1 .hero-tagline { font-size: 14px; margin-top: 10px; letter-spacing: 0.5px; }
  .hero-sub { font-size: 14px; margin-bottom: 28px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 20px; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 10px; margin-bottom: 40px; }
  .hero-buttons .btn-primary { width: 100%; justify-content: center; padding: 13px 22px; font-size: 14px; }

  /* —— Hero 数字统计 —— */
  .hero-stats { gap: 14px; }
  .hero-stat-item { min-width: 68px; }
  .hero-stat-num { font-size: 26px; }
  .hero-stat-label { font-size: 11px; }

  /* —— 合作机构 —— */
  .trust { padding: 36px 16px; }
  .trust-label { font-size: 12px; margin-bottom: 22px; }
  .trust-label strong { font-size: 13px; margin: 0 2px; }
  .trust-track { gap: 24px; }
  .trust-track span { font-size: 14px; }

  /* —— 服务卡 —— */
  .service-card { padding: 14px 14px 20px; }
  .service-card h3 { font-size: 16px; }
  .service-card p { font-size: 13px; }
  .service-btn { font-size: 13px; padding: 7px 20px; }

  /* —— 精选封面 + 案例网格 —— */
  .work-card { width: 130px; }
  .carousel { padding: 18px 48px; }
  .carousel-btn { width: 32px; height: 32px; font-size: 16px; flex: 0 0 32px; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .figure-caption { padding: 12px 14px 16px; }
  .figure-title { font-size: 12.5px; }
  .figure-journal { font-size: 11px; }

  /* —— About 联系卡 —— */
  .about-contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .about-contact-card { padding: 14px 10px; }
  .about-contact-card h4 { font-size: 12.5px; }

  /* —— 合作流程整图 —— */
  .workflow-image-wrap { padding: 0 4px; }
  .workflow-image-wrap img { border-radius: 10px; }

  /* —— Footer —— */
  .footer { padding: 40px 16px 20px; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer h4 { font-size: 14px; margin-bottom: 14px; }
  .footer-brand p { font-size: 13px; }
  .footer-bottom { font-size: 12px; gap: 6px; flex-direction: column; text-align: center; }

  /* —— 配图页工具栏（筛选 pills） —— */
  .page-banner { padding: 60px 16px 32px; }
  .page-banner .section-title { font-size: 24px; }
  .filter-pills { gap: 8px; }
  .filter-pill { min-width: 96px; padding: 8px 12px; font-size: 12px; }
  .filter-pill small { font-size: 10px; }
  .view-all-btn { font-size: 12px; padding: 8px 18px; }

  /* —— 灯箱（移动端紧凑化） —— */
  .lb-prev, .lb-next { width: 36px; height: 36px; font-size: 18px; }
  .lb-info { padding: 18px 18px; }
  .lb-title { font-size: 16px; }
  .lb-summary-cn { font-size: 12.5px; }

  /* —— 返回顶部按钮 —— */
  .back-to-top { width: 40px; height: 40px; font-size: 18px; bottom: 20px; right: 20px; }
}

/* 极小屏 (<360px)：进一步压缩 */
@media (max-width: 360px) {
  .hero h1 { font-size: 28px; }
  .hero h1 .hero-tagline { font-size: 13px; }
  .hero-stats { gap: 8px; }
  .hero-stat-item { min-width: 60px; }
  .hero-stat-num { font-size: 22px; }
  .section-title { font-size: 22px; }
  .work-card { width: 116px; }
  .carousel { padding: 16px 40px; }
}

/* ========== About ========== */
.about { background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-image-wrap {
  position: sticky; top: 88px;
  max-width: 640px; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
}
.about-image {
  display: block; width: 100%; height: auto;
  object-fit: contain;
}
.about-image-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.85); gap: 12px;
}
.about-image-placeholder svg { width: 48px; height: 48px; opacity: 0.6; }
.about-image-placeholder span { font-size: 13px; opacity: 0.8; }

.about-content { display: flex; flex-direction: column; gap: 24px; }
.about-header h3 {
  font-size: 28px; font-weight: 800; color: var(--gray-900);
  line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.5px;
}
.about-header h3 span { color: var(--blue-600); }
.about-header p { font-size: 15px; color: var(--gray-600); line-height: 1.85; }

.about-features {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 20px;
}
.about-feature-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--gray-700);
  padding: 12px 16px; background: var(--gray-50);
  border: 1px solid var(--gray-100); border-radius: 10px;
  transition: var(--transition);
}
.about-feature-item:hover { background: var(--blue-50); border-color: var(--blue-200); transform: translateX(4px); }
.feat-icon {
  width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.about-contact-section { margin-top: 24px; }
.about-contact-section .acs-title {
  font-size: 12px; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px;
}
.about-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-contact-card {
  background: #fff; border-radius: 14px; padding: 16px 10px;
  border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; cursor: pointer; transition: var(--transition);
}
.about-contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.ac-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.ac-icon svg { width: 22px; height: 22px; }
.ac-wechat { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.ac-wechat svg { stroke: #059669; }
.ac-phone { background: linear-gradient(135deg, var(--blue-100), var(--blue-200)); }
.ac-phone svg { stroke: var(--blue-600); }
.ac-email { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.ac-email svg { stroke: #7c3aed; }
.about-contact-card h4 { font-size: 13px; font-weight: 700; color: var(--gray-800); }
.about-contact-card p { font-size: 12px; color: var(--gray-500); transition: var(--transition); }
.about-contact-card p.copied,
.about-contact-card .ac-copy.copied { color: #059669 !important; font-weight: 700; }

/* 联系卡内可点击的多值（每个号独立复制） */
.ac-multi { line-height: 1.5; font-size: 11px; word-break: normal; overflow-wrap: break-word; letter-spacing: -0.2px; }
.ac-copy {
  cursor: pointer;
  padding: 2px 3px;
  border-radius: 4px;
  transition: var(--transition);
  color: var(--gray-700);
  font-weight: 500;
}
.ac-copy:hover { background: var(--blue-50); color: var(--blue-600); }
.ac-copy:active { transform: scale(0.96); }
.ac-copied { background: #d1fae5 !important; color: #059669 !important; font-weight: 700; }
.ac-sep { color: var(--gray-300); user-select: none; padding: 0 4px; }

/* ========== Process ========== */
.process { background: #fff; }
.workflow {
  max-width: 1180px; margin: 0 auto;
}
.workflow-image {
  display: block; width: 100%; height: auto; max-width: 1180px;
  margin: 0 auto;
}

/* 阶段标签 */
.stage-label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.stage-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  font-family: "Outfit", sans-serif;
}
.stage-name {
  font-size: 17px; font-weight: 700; color: var(--gray-800);
}
.loop-hint {
  font-size: 12px; font-weight: 500; color: var(--gray-500);
}

/* 阶段 1 / 3：横向轨道 */
.stage-track {
  display: flex; align-items: center; gap: 0;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 28px 18px;
}
.stage-track-reverse { flex-direction: row-reverse; }

.wf-step {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; padding: 8px 4px;
}
.wf-step-large {
  background: #fff; border: 1.5px solid var(--blue-200);
  border-radius: var(--radius);
  padding: 18px 20px; box-shadow: 0 2px 8px rgba(14, 165, 233, 0.05);
  text-align: center;
}
.wf-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  color: #fff; font-weight: 800; font-size: 15px;
  font-family: "Outfit", sans-serif;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}
.wf-name {
  font-size: 14px; font-weight: 600; color: var(--gray-800);
  line-height: 1.4;
}
.wf-name .pct { color: var(--blue-600); font-weight: 800; }
.wf-tip {
  font-size: 12px; color: var(--gray-500);
  font-weight: 500; margin-top: 4px; line-height: 1.4;
}

.wf-line {
  flex: 0 0 24px; height: 2px;
  background: linear-gradient(to right, var(--blue-400), var(--cyan-400));
  border-radius: 1px;
  align-self: center;
  position: relative; top: -10px;
}
.wf-line::after {
  content: ''; position: absolute; right: -3px; top: -3px;
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--cyan-400);
}

/* 阶段 2：修改循环 */
.stage-loop .stage-label { margin-bottom: 12px; }
.loop-row {
  display: grid; grid-template-columns: 1fr 180px 1fr;
  gap: 20px; align-items: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfeff 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.loop-side { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.loop-side-left .wf-step-large { width: 100%; max-width: 260px; }
.loop-side-right { gap: 14px; }
.loop-side-right .wf-step-large { width: 100%; max-width: 260px; }
.wf-arrow-down {
  color: var(--blue-400); font-size: 22px; font-weight: 700; line-height: 1;
}
.loop-arc { display: flex; align-items: center; justify-content: center; }
.loop-arc svg { width: 100%; height: 80px; }
.loop-arc svg path { animation: loopDash 1.6s linear infinite; }
@keyframes loopDash { to { stroke-dashoffset: -16; } }

/* 再次合作 */
.workflow-loop-tip {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 8px; color: var(--gray-500); font-size: 14px;
}
.loop-arrow-left {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  color: #fff; font-size: 18px; font-weight: 700;
  font-family: "Outfit", sans-serif;
}

@media (max-width: 600px) {
  .about-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; gap: 10px; }
}

/* ========== CTA ========== */
.cta { padding: 80px 24px; }
.cta-card {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--cyan-500) 100%);
  border-radius: var(--radius-lg); padding: 64px 32px;
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08), transparent 50%);
}
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.cta-card p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ========== Footer ========== */
.footer { background: #060a12; color: var(--gray-500); padding: 60px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand .logo-img { height: 40px; }
/* SVG 透明背景，在深色页脚上直接显示 */
.footer-brand .company-name {
  font-size: 14px; font-weight: 600; color: #cbd5e1;
  margin: 4px 0 12px; letter-spacing: 0.3px;
}
.footer-brand > p { font-size: 13px; line-height: 1.7; margin-bottom: 20px; color: var(--gray-500); }
.company-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.info-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-500);
  line-height: 1.5;
}
.info-row svg { flex-shrink: 0; opacity: 0.6; }
.social { display: flex; gap: 12px; margin-top: 8px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); transition: var(--transition);
}
.social-link:hover { background: var(--blue-500); color: #fff; transform: translateY(-2px); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #cbd5e1; margin-bottom: 20px; }
.footer-col a {
  display: block; font-size: 13px; color: var(--gray-500);
  padding: 6px 0; transition: var(--transition);
}
.footer-col a:hover { color: var(--blue-400); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--gray-500);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--gray-400); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--blue-400); }

/* ========== Lightbox（含论文信息侧栏）============ */
.lb-overlay {
  position: fixed; inset: 0;
  background: rgba(244, 247, 250, 0.96);   /* 浅灰白背景 */
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
  padding: 40px 80px;
}
.lb-overlay.active { opacity: 1; visibility: visible; }
.lb-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  max-width: 1280px;
  width: 100%;
  align-items: start;
}
.lb-img {
  /* 贴合图片自身比例，容器不额外留白（避免 contain 撑出白色区域） */
  width: auto;
  height: auto;
  max-width: 100%;                 /* 不超出左列宽 */
  max-height: calc(100vh - 80px);  /* 不超出视口高 - overlay上下内边距(40*2) */
  object-fit: contain;
  object-position: center;
  justify-self: center;
  border-radius: 8px;
  box-shadow: 0 12px 56px rgba(0, 0, 0, 0.6);
  background: #fff;
}

/* 封面作品 lightbox：去掉右侧信息栏 + 图片按原始比例完整铺满视口，不留白 */
.lb-overlay.mode-works .lb-content {
  grid-template-columns: 1fr;
  max-width: none;
  width: auto;
  height: auto;
  max-height: none;
  align-items: center;
  justify-items: center;
}
.lb-overlay.mode-works .lb-img {
  /* 不锁 width/height，让浏览器按图片固有比例在 max-width/max-height 范围内自适应 */
  width: auto;
  height: auto;
  max-width: calc(100vw - 160px);   /* 视口宽 - 左右内边距(80px) */
  max-height: calc(100vh - 80px);   /* 视口高 - 上下内边距(40px) */
  object-fit: contain;
  border-radius: 6px;
}
.lb-overlay.mode-works .lb-info { display: none; }
.lb-info {
  color: #fff;
  display: flex; flex-direction: column; gap: 14px;
  max-height: 86vh; overflow-y: auto;
  padding: 8px 4px;
  align-self: center;
}
/* 右侧信息栏：白卡样式 + 字段行 */
.lb-info {
  color: var(--gray-800);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  padding: 26px 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  max-height: 86vh;
  overflow-y: auto;
  align-self: start;
}
.lb-info::-webkit-scrollbar { width: 6px; }
.lb-info::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.15); border-radius: 3px; }
.lb-info::-webkit-scrollbar-track { background: transparent; }

/* 信息卡片标题 */
.lb-info-heading {
  font-size: 15px; font-weight: 700;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 10px;
  margin-bottom: 4px;
}

/* 字段行 */
.lb-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: start;
  padding: 4px 0;
}
.lb-row-label {
  font-size: 12px; font-weight: 600;
  color: var(--gray-500);
  text-align: left;
  padding-top: 2px;
}
.lb-row-value {
  font-size: 13.5px; font-weight: 500;
  color: var(--gray-800);
  line-height: 1.65;
  word-break: break-word;
}
.lb-row-value a {
  color: var(--blue-600);
  text-decoration: none;
  word-break: break-all;
}
.lb-row-value a:hover { text-decoration: underline; }
.lb-row-value.is-mono { font-family: 'JetBrains Mono', 'Consolas', monospace; font-size: 12.5px; }

/* 摘要块：跨满整行 */
.lb-row-block {
  grid-column: 1 / -1;
  padding: 10px 0 4px 0;
  border-top: 1px solid var(--gray-100);
}
.lb-row-block .lb-row-label {
  font-size: 12px; font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 6px;
  display: block;
  padding-top: 0;
  text-align: left;
}
.lb-summary-text {
  font-size: 13.5px; line-height: 1.75;
  color: var(--gray-700);
  margin: 0;
}

/* 关闭按钮：浅色背景下的深色叉 */
.lb-close {
  position: absolute; top: 20px; right: 28px; background: #fff;
  border: none; width: 40px; height: 40px;
  border-radius: 50%; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  font-size: 24px; color: var(--gray-700);
  opacity: 0.9; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; z-index: 10; cursor: pointer;
}
.lb-close:hover { opacity: 1; transform: rotate(90deg); color: var(--gray-900); }

/* 前后按钮：白底深色 */
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: #fff; border: none;
  color: var(--gray-800); font-size: 32px; width: 52px; height: 52px;
  border-radius: 50%; cursor: pointer; transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; padding: 0; z-index: 10;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.18);
  font-weight: 300;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev:hover, .lb-next:hover {
  background: var(--blue-500); color: #fff; transform: translateY(-50%) scale(1.08);
}

@media (max-width: 1024px) {
  .lb-content { grid-template-columns: 1fr; gap: 18px; max-height: none; }
  .lb-img { max-height: 38vh; }
  .lb-info { max-height: 50vh; padding: 22px 22px; }
}

/* ========== Toast ========== */
.copy-toast {
  position: fixed; top: 24px; left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff; padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600; z-index: 10000;
  opacity: 0; pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(5, 150, 105, 0.3);
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; border: none; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
  opacity: 0; visibility: hidden; transition: var(--transition);
  z-index: 100;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5); }

/* ========== 案例卡片：期刊·学科 + 中文章节标题 + 中文摘要 ========== */
.figure-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase; letter-spacing: 1.2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.figure-cat {
  color: var(--blue-500);
  font-weight: 600;
  text-transform: none; letter-spacing: 0;
  font-size: 12px;
}
.figure-title-cn {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.figure-summary-cn {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
}

/* ========== Lightbox 信息栏：学科 + 中文标题 + 中文摘要 ========== */
.lb-cat {
  font-size: 11px; font-weight: 600;
  color: var(--blue-300);
  letter-spacing: 0.5px;
}
.lb-title-cn {
  font-size: 15.5px; font-weight: 600;
  line-height: 1.55; color: rgba(255,255,255,0.92);
  margin: 0 0 6px 0;
}
.lb-summary-cn {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin: 0;
}
.lb-summary {
  display: none !important;  /* 默认隐藏英文 summary，改为折叠展开 */
}
.lb-summary-original {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 10px;
}
.lb-summary-original summary {
  cursor: pointer;
  color: var(--blue-300);
  font-size: 12px;
  user-select: none;
  outline: none;
  list-style: none;
}
.lb-summary-original summary::-webkit-details-marker { display: none; }
.lb-summary-original summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.2s ease;
}
.lb-summary-original[open] summary::before { content: '▾ '; }
.lb-summary-original p { margin: 8px 0 0 0; }
