/* ==========================================================
   GB300 NVL72 产品介绍 — 主样式文件
   设计规范：科技感深色风格 + NVIDIA 品牌色
   ========================================================== */

/* ---------- CSS 变量（设计令牌） ---------- */
:root {
  /* 颜色 */
  --bg-dark:       #0a0a0a;
  --bg-mid:        #111111;
  --bg-light:      #1a1a1a;
  --nvidia-green:  #76B900;
  --accent-cyan:   #00D2BE;
  --text-primary:  #FFFFFF;
  --text-secondary:#CCCCCC;
  --text-muted:    #888888;
  --card-bg:       rgba(255, 255, 255, 0.05);
  --card-border:   rgba(118, 185, 0, 0.3);
  --card-hover-bg: rgba(255, 255, 255, 0.08);
  --glow-green:    rgba(118, 185, 0, 0.4);
  --glow-cyan:     rgba(0, 210, 190, 0.3);

  /* 字体 */
  --font-en:  'Inter', sans-serif;
  --font-zh:  -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-body: var(--font-en), var(--font-zh);

  /* 间距 */
  --section-padding: 120px 0;
  --container-width: 1200px;

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
}

/* ---------- 全局重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* ---------- 通用排版 ---------- */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.text-green { color: var(--nvidia-green); }

/* ---------- 玻璃态卡片 ---------- */
.glass-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal),
              border-color var(--transition-normal),
              box-shadow var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border);
  box-shadow: 0 8px 32px var(--glow-green);
}

/* ---------- 动画类 ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 交错动画延迟 */
.stats-grid .stat-card:nth-child(1) { transition-delay: 0.0s; }
.stats-grid .stat-card:nth-child(2) { transition-delay: 0.12s; }
.stats-grid .stat-card:nth-child(3) { transition-delay: 0.24s; }
.stats-grid .stat-card:nth-child(4) { transition-delay: 0.36s; }

.components-grid .component-card:nth-child(1) { transition-delay: 0.0s; }
.components-grid .component-card:nth-child(2) { transition-delay: 0.1s; }
.components-grid .component-card:nth-child(3) { transition-delay: 0.2s; }
.components-grid .component-card:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================================
   导航栏
   ========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition-normal),
              padding var(--transition-normal),
              box-shadow var(--transition-normal);
}

/* 滚动后状态 */
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  padding: 10px 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nvidia-green);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* 移动端菜单 */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 5%;
  background: rgba(10, 10, 10, 0.96);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================
   #hero — 全屏首页
   ========================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 80%, rgba(118, 185, 0, 0.08) 0%, transparent 60%),
              var(--bg-dark);
}

/* 背景装饰网格 */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 5%;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 210, 190, 0.3);
  border-radius: 100px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg-dark);
  background: var(--nvidia-green);
  border-radius: 100px;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.hero-cta:hover {
  box-shadow: 0 0 24px var(--glow-green), 0 4px 16px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

.scroll-hint-text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-hint-arrow {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================
   #stats — 核心数据
   ========================================================== */
#stats {
  padding: var(--section-padding);
  background: var(--bg-mid);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
}

.stat-number {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--nvidia-green);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================
   #overview — 产品总览
   ========================================================== */
#overview {
  padding: var(--section-padding);
  background: var(--bg-dark);
}

.overview-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  max-width: 55%;
  margin: 1rem auto;
}

.gallery-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.gallery-placeholder:hover img {
  transform: scale(1.05);
}

.placeholder-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ==========================================================
   #model-3d — 3D 交互展示
   ========================================================== */
#model-3d {
  padding: var(--section-padding);
  background: var(--bg-mid);
}

.model-wrapper {
  position: relative;
  padding: 0;
  overflow: hidden;
}

#model-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 400px;
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  cursor: grab;
  opacity: 0;
  transition: opacity 0.8s ease;
}

#model-container.model-ready {
  opacity: 1;
}

#model-container:active {
  cursor: grabbing;
}

/* ---------- 静态预览图 ---------- */
.model-preview {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-dark);
  transition: opacity 0.6s ease;
}

.model-preview.hidden {
  opacity: 0;
  pointer-events: none;
}

.model-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.7) saturate(0.8);
}

.preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 48px;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 50%);
}

.preview-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
}

/* ---------- 环形进度加载 ---------- */
.progress-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  z-index: 6;
  transition: opacity 0.6s ease;
}

.progress-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.progress-ring-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 6;
}

.progress-ring-fill {
  fill: none;
  stroke: url(#progressGrad);
  stroke: var(--nvidia-green);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 0.4s ease;
}

.progress-percent {
  position: absolute;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nvidia-green);
}

.progress-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.progress-size {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- 加载失败/超时覆盖层 ---------- */
.model-error-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.9);
  border-radius: var(--radius-md);
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.model-error-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.model-error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
}

.model-error-content svg {
  color: var(--nvidia-green);
  opacity: 0.7;
}

.model-error-msg {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.model-retry-btn {
  margin-top: 4px;
  padding: 10px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-dark);
  background: var(--nvidia-green);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.model-retry-btn:hover {
  box-shadow: 0 0 20px var(--glow-green);
  transform: translateY(-2px);
}

/* ---------- 加载完成后操作提示 ---------- */
.model-interaction-tip {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(118, 185, 0, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.model-interaction-tip.visible {
  opacity: 1;
}

.model-interaction-tip.fade-out {
  opacity: 0;
}

.tip-sep {
  color: var(--nvidia-green);
  opacity: 0.5;
}

/* ---------- 底部操作提示栏 ---------- */
.model-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.model-hint svg {
  flex-shrink: 0;
}

/* ==========================================================
   #components — 核心组件
   ========================================================== */
#components {
  padding: var(--section-padding);
  background: var(--bg-dark);
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.component-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.component-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(118, 185, 0, 0.1);
  color: var(--nvidia-green);
}

.component-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.component-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.component-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================
   #tech — 技术亮点
   ========================================================== */
#tech {
  padding: var(--section-padding);
  background: var(--bg-mid);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.tech-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tech-item.reverse {
  direction: rtl;
}

.tech-item.reverse > * {
  direction: ltr;
}

.tech-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 1rem auto;
}

.tech-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

/* 前两张技术亮点图片缩小显示 */
.tech-item:nth-child(1) .tech-visual,
.tech-item:nth-child(2) .tech-visual {
  max-width: 65%;
}

.tech-visual:hover img {
  transform: scale(1.05);
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: var(--nvidia-green);
  margin-bottom: 12px;
}

.tech-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.tech-info p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ==========================================================
   #specs — 技术规格
   ========================================================== */
#specs {
  padding: var(--section-padding);
  background: var(--bg-dark);
}

.specs-table-wrapper {
  padding: 0;
  overflow: hidden;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table thead {
  background: rgba(118, 185, 0, 0.12);
}

.specs-table th,
.specs-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.specs-table th {
  font-weight: 600;
  color: var(--nvidia-green);
  letter-spacing: 0.03em;
}

.specs-table td {
  color: var(--text-secondary);
}

.specs-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.specs-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================================
   #tests — 权威测试验证体系
   ========================================================== */
#tests {
  padding: var(--section-padding);
  background: var(--bg-mid);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 780px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.tests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.test-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.test-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border);
  box-shadow: 0 12px 40px var(--glow-green);
}

.test-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--nvidia-green);
  background: rgba(118, 185, 0, 0.08);
  color: var(--nvidia-green);
  flex-shrink: 0;
}

.test-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.test-tool {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
  padding: 4px 12px;
  background: rgba(0, 210, 190, 0.08);
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}

.test-purpose h4,
.test-ai-relevance h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.test-purpose h4 {
  color: var(--nvidia-green);
}

.test-ai-relevance h4 {
  color: var(--accent-cyan);
}

.test-purpose p,
.test-ai-relevance p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 交错动画延迟 */
.tests-grid .test-card:nth-child(1) { transition-delay: 0.0s; }
.tests-grid .test-card:nth-child(2) { transition-delay: 0.1s; }
.tests-grid .test-card:nth-child(3) { transition-delay: 0.2s; }
.tests-grid .test-card:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================================
   #token-factory — Token Factory 架构解析
   ========================================================== */
#token-factory {
  padding: var(--section-padding);
  background: var(--bg-dark);
}

/* 问题阐述 */
.tf-intro {
  max-width: 800px;
  margin-bottom: 56px;
}

.tf-intro > p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.tf-needs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tf-need-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tf-need-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(118, 185, 0, 0.1);
  color: var(--nvidia-green);
}

.tf-need-item strong {
  color: var(--text-primary);
}

.tf-need-item div {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 架构图 */
.tf-architecture {
  max-width: 900px;
  margin: 0 auto 56px;
  padding: 24px;
  border-color: rgba(118, 185, 0, 0.15);
}

.tf-architecture:hover {
  transform: none;
  box-shadow: 0 4px 24px rgba(118, 185, 0, 0.1);
}

.tf-arch-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* 组件说明卡片 */
.tf-components {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tf-comp-card {
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tf-comp-badge {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.tf-comp-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tf-comp-metaphor {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nvidia-green);
  font-style: italic;
}

.tf-comp-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tf-components .tf-comp-card:nth-child(1) { transition-delay: 0.0s; }
.tf-components .tf-comp-card:nth-child(2) { transition-delay: 0.1s; }
.tf-components .tf-comp-card:nth-child(3) { transition-delay: 0.2s; }
.tf-components .tf-comp-card:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================================
   #footer — 页脚
   ========================================================== */
#footer {
  padding: 48px 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-notice {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  opacity: 0.7;
  margin-top: 8px;
  letter-spacing: 0.05em;
}

/* ==========================================================
   响应式设计
   ========================================================== */

/* 平板 */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-gallery .gallery-placeholder:last-child {
    grid-column: span 2;
  }

  /* 平板端图片适配 */
  .gallery-placeholder {
    max-width: 80%;
  }

  .tech-item:nth-child(1) .tech-visual,
  .tech-item:nth-child(2) .tech-visual {
    max-width: 80%;
  }

  .tech-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tech-item.reverse {
    direction: ltr;
  }

  .tests-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tf-components {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 手机 */
@media (max-width: 640px) {
  :root {
    --section-padding: 80px 0;
  }

  /* 导航 */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* 数据卡片 */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card { padding: 28px 20px; }

  /* 画廊 */
  .overview-gallery {
    grid-template-columns: 1fr;
  }

  .overview-gallery .gallery-placeholder:last-child {
    grid-column: span 1;
  }

  /* 手机端图片适配 */
  .gallery-placeholder {
    max-width: 100%;
  }

  .tech-item:nth-child(1) .tech-visual,
  .tech-item:nth-child(2) .tech-visual {
    max-width: 100%;
  }

  /* 组件 */
  .components-grid {
    grid-template-columns: 1fr;
  }

  /* 3D 容器 */
  #model-container {
    min-height: 280px;
  }

  .model-interaction-tip {
    font-size: 0.7rem;
    padding: 8px 16px;
    gap: 6px;
    bottom: 48px;
  }

  .progress-ring-wrapper {
    width: 80px;
    height: 80px;
  }

  /* 测试卡片 */
  .tests-grid {
    grid-template-columns: 1fr;
  }

  /* Token Factory */
  .tf-components {
    grid-template-columns: 1fr;
  }

  .tf-architecture {
    padding: 12px;
  }

  /* 规格表 */
  .specs-table th,
  .specs-table td {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}

/* 超宽屏优化 */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }
}
