/* ==========================================================================
   NISSAT.COM - 工业机器人与自动化全景网站
   极简精密工程线描设计系统 (Precision Blueprint & Line Art Design System)
   ========================================================================== */

:root {
  /* 基础色板 */
  --bg-primary: #06080f;
  --bg-secondary: #0c101a;
  --bg-tertiary: #131826;
  --bg-trans-panel: rgba(12, 16, 26, 0.78);
  --bg-trans-dark: rgba(6, 8, 15, 0.88);

  /* 线条与高光色系 */
  --line-main: rgba(255, 255, 255, 0.15);
  --line-bright: rgba(255, 255, 255, 0.4);
  --line-solid: #ffffff;
  --grid-line: rgba(0, 240, 255, 0.06);
  --grid-ruler: rgba(0, 240, 255, 0.2);

  /* 主题荧光与强调色 */
  --cyan-bright: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --cyan-dim: rgba(0, 240, 255, 0.12);
  --amber-bright: #ffaa00;
  --amber-dim: rgba(255, 170, 0, 0.15);
  --blue-laser: #0066ff;
  --success: #00ff88;

  /* 文字颜色 */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --text-highlight: #38bdf8;

  /* 字体族 */
  --font-mono: 'JetBrains Mono', 'Share Tech Mono', Consolas, 'SF Mono', monospace;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* 尺寸与边距 */
  --header-height: 72px;
  --container-max: 1360px;
  --border-radius-sm: 2px;
  --border-radius: 4px;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-main);
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 自定义选中文本样式 */
::selection {
  background: var(--cyan-dim);
  color: var(--cyan-bright);
}

/* 自定义十字准星游标HUD */
#hud-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  display: none;
}
@media (min-width: 1024px) {
  #hud-cursor {
    display: block;
  }
}
.hud-crosshair-h, .hud-crosshair-v {
  position: fixed;
  background-color: rgba(0, 240, 255, 0.12);
  pointer-events: none;
}
.hud-crosshair-h {
  left: 0;
  width: 100vw;
  height: 1px;
}
.hud-crosshair-v {
  top: 0;
  width: 1px;
  height: 100vh;
}
.hud-coord-box {
  position: fixed;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan-bright);
  background: rgba(6, 8, 15, 0.85);
  border: 1px solid var(--cyan-dim);
  padding: 2px 6px;
  letter-spacing: 1px;
  pointer-events: none;
  border-radius: 2px;
}

/* 背景 Canvas 画布 */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* 全局布局容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   页面顶部 HUD 导航栏 (Technical Header)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-trans-dark);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-main);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.3));
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  font-size: 10px;
  padding: 1px 6px;
  border: 1px solid var(--cyan-bright);
  color: var(--cyan-bright);
  border-radius: 2px;
  font-weight: 500;
  background: var(--cyan-dim);
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* 导航链接 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link .nav-idx {
  font-size: 10px;
  color: var(--cyan-bright);
  opacity: 0.7;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan-bright);
  box-shadow: 0 0 6px var(--cyan-bright);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

/* 右侧控制套件 (BGM + 状态仪表) */
.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* BGM 模块 */
.bgm-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--cyan-dim);
  padding: 4px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bgm-widget:hover {
  border-color: var(--cyan-bright);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.bgm-btn {
  background: none;
  border: none;
  color: var(--cyan-bright);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.bgm-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-main);
  letter-spacing: 0.5px;
  user-select: none;
}

/* 音频可视化波形 Canvas */
#audio-visualizer {
  width: 48px;
  height: 18px;
  display: block;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-left: 1px solid var(--line-main);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-main);
  color: var(--text-main);
  padding: 8px;
  border-radius: 2px;
  cursor: pointer;
}

/* ==========================================================================
   Hero 主视觉展区
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-main);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--cyan-bright);
  padding: 4px 12px;
  border: 1px solid var(--cyan-dim);
  background: rgba(0, 240, 255, 0.04);
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan-bright);
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-title .title-accent {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.btn-tech-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cyan-bright);
  color: #06080f;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 2px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.btn-tech-primary:hover {
  background: #ffffff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-tech-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 1px;
  padding: 13px 26px;
  text-decoration: none;
  border: 1px solid var(--line-bright);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.btn-tech-outline:hover {
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
  background: var(--cyan-dim);
}

/* 核心技术指标看板 */
.tech-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line-main);
  padding-top: 24px;
}

.metric-card {
  border-left: 2px solid var(--line-bright);
  padding-left: 12px;
}

.metric-card.active-metric {
  border-left-color: var(--cyan-bright);
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.metric-unit {
  font-size: 13px;
  color: var(--cyan-bright);
  margin-left: 2px;
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Hero 右侧蓝图视窗 */
.hero-blueprint-frame {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--line-main);
  padding: 16px;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* 蓝图角标定位线 */
.corner-decor {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--cyan-bright);
  pointer-events: none;
}
.corner-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.corner-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.frame-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-main);
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.frame-badge {
  color: var(--amber-bright);
}

.blueprint-img-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: #040711;
  border-radius: 2px;
  cursor: zoom-in;
}

.blueprint-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: contrast(1.05) brightness(0.95);
}

.blueprint-img-wrapper:hover img {
  transform: scale(1.03);
  filter: contrast(1.1) brightness(1.05);
}

.blueprint-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-bright), transparent);
  box-shadow: 0 0 8px var(--cyan-bright);
  animation: scanline-anim 4s infinite linear;
  pointer-events: none;
}

@keyframes scanline-anim {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.frame-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.btn-inspect {
  background: none;
  border: 1px solid var(--line-main);
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-inspect:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan-bright);
}

/* ==========================================================================
   板块共用标题规范 (Section Headers)
   ========================================================================== */
.section-header {
  margin-bottom: 56px;
  position: relative;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--cyan-bright);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-tag::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--cyan-bright);
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* ==========================================================================
   板块 1: 工业革命发展历程 (The 5 Epochs of Industrial Revolution)
   ========================================================================== */
.section-evolution {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--line-main);
}

/* 大长卷展示全景图 */
.evolution-master-view {
  margin-bottom: 60px;
  background: var(--bg-secondary);
  border: 1px solid var(--line-main);
  padding: 18px;
  border-radius: var(--border-radius);
  position: relative;
}

.master-view-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.evolution-img-box {
  position: relative;
  border: 1px solid rgba(0, 240, 255, 0.2);
  overflow: hidden;
  cursor: zoom-in;
}

.evolution-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* 交互式历程时间轴 (The Interactive Epoch Track) */
.epoch-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.epoch-node {
  background: var(--bg-secondary);
  border: 1px solid var(--line-main);
  padding: 24px 20px;
  border-radius: var(--border-radius);
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.epoch-node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--line-main);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.epoch-node:hover, .epoch-node.active-epoch {
  border-color: var(--cyan-bright);
  background: var(--bg-tertiary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.epoch-node:hover::before, .epoch-node.active-epoch::before {
  background: var(--cyan-bright);
  box-shadow: 0 0 10px var(--cyan-bright);
}

.epoch-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan-bright);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.epoch-tag {
  font-size: 9px;
  padding: 2px 5px;
  border: 1px solid var(--line-bright);
  color: var(--text-muted);
  border-radius: 2px;
}

.epoch-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.epoch-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.epoch-features {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--line-main);
  padding-top: 12px;
}

.epoch-features li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.epoch-features li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--cyan-bright);
}

/* ==========================================================================
   板块 2: 现代工业机器人解构矩阵 (Anatomy of Robotics)
   ========================================================================== */
.section-robotics {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--line-main);
}

.robotics-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.blueprint-interactive-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--line-main);
  padding: 20px;
  border-radius: var(--border-radius);
  position: relative;
}

.interactive-img-container {
  position: relative;
  border: 1px solid rgba(0, 240, 255, 0.25);
  background: #040711;
  overflow: hidden;
  border-radius: 2px;
}

.interactive-img-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* 蓝图热点图钉 (Blueprint Hotspots) */
.blueprint-hotspot {
  position: absolute;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.hotspot-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--cyan-bright);
  box-shadow: 0 0 8px var(--cyan-bright);
  animation: ripple 2s infinite ease-out;
}

@keyframes ripple {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hotspot-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: var(--cyan-bright);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan-bright);
}

/* 热点卡片右侧列表 */
.robot-components-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.component-card {
  background: var(--bg-secondary);
  border: 1px solid var(--line-main);
  padding: 16px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.25s ease;
}

.component-card:hover, .component-card.active-component {
  border-color: var(--cyan-bright);
  background: var(--bg-tertiary);
  transform: translateX(6px);
}

.component-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.component-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.component-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-bright);
}

.component-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.component-specs {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-main);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-highlight);
}

/* 四大机器人类型矩阵 (4 Classic Types) */
.robot-types-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.type-card {
  background: var(--bg-secondary);
  border: 1px solid var(--line-main);
  padding: 24px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  position: relative;
}

.type-card:hover {
  border-color: var(--cyan-bright);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
}

.type-icon-box {
  width: 48px;
  height: 48px;
  border: 1px solid var(--cyan-dim);
  background: rgba(0, 240, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--cyan-bright);
  font-size: 22px;
}

.type-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.type-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.type-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.type-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border-radius: 2px;
}

/* ==========================================================================
   板块 3: 交互式运动学机械臂控制实验室 (Kinematics Lab)
   ========================================================================== */
.section-simulator {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--line-main);
  background: linear-gradient(180deg, var(--bg-primary) 0%, #090d16 100%);
}

.sim-container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--line-main);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
  position: relative;
}

.sim-canvas-wrap {
  position: relative;
  background: #040711;
  border: 1px solid var(--line-main);
  border-radius: 2px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#sim-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.sim-overlay-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-bright);
  background: rgba(6, 8, 15, 0.85);
  border: 1px solid var(--cyan-dim);
  padding: 8px 12px;
  border-radius: 2px;
  line-height: 1.6;
  pointer-events: none;
}

.sim-controls-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-panel-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-main);
  border-bottom: 1px solid var(--line-main);
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.joint-control-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.joint-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.joint-label-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.joint-val {
  color: var(--cyan-bright);
  font-weight: bold;
}

.joint-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line-main);
  border-radius: 2px;
  outline: none;
}

.joint-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 8px var(--cyan-bright);
  cursor: pointer;
}

.sim-preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.btn-sim-preset {
  background: var(--bg-tertiary);
  border: 1px solid var(--line-main);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sim-preset:hover {
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}

.btn-sim-preset.active {
  border-color: var(--cyan-bright);
  color: #06080f;
  background: var(--cyan-bright);
  font-weight: 700;
}

/* ==========================================================================
   板块 4: 未来的展望 (The Future Vision)
   ========================================================================== */
.section-future {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--line-main);
}

.future-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.future-card {
  background: var(--bg-secondary);
  border: 1px solid var(--line-main);
  padding: 32px 28px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.future-card:hover {
  border-color: var(--cyan-bright);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 240, 255, 0.1);
}

.future-card-bg-wire {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.future-card:hover .future-card-bg-wire {
  opacity: 0.2;
}

.future-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan-bright);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.future-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}

.future-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.future-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line-main);
  padding-top: 16px;
}

.future-tag-item {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-highlight);
  background: rgba(56, 189, 248, 0.08);
  padding: 3px 8px;
  border-radius: 2px;
}

/* ==========================================================================
   板块 5: 关于 NISSAT 与愿景 (About & Manifesto)
   ========================================================================== */
.section-manifesto {
  padding: 80px 0;
  border-bottom: 1px solid var(--line-main);
  background: var(--bg-secondary);
}

.manifesto-box {
  border: 1px solid var(--line-main);
  background: var(--bg-primary);
  padding: 48px;
  border-radius: var(--border-radius);
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.manifesto-quote {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 20px;
}

.manifesto-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.manifesto-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px dashed var(--line-main);
  border-radius: 4px;
  text-align: center;
}

.manifesto-logo-wrap img {
  max-width: 220px;
  height: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.3));
}

.manifesto-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-bright);
  letter-spacing: 1px;
}

/* ==========================================================================
   底部技术规范页脚 (Technical Footer)
   ========================================================================== */
.site-footer {
  padding: 60px 0 30px;
  background: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 12px;
  line-height: 1.7;
  max-width: 380px;
}

.footer-col-title {
  color: var(--text-main);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  border-left: 2px solid var(--cyan-bright);
  padding-left: 8px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-main);
  padding-top: 24px;
  font-size: 11px;
}

/* ==========================================================================
   全屏蓝图灯箱模态窗口 (Image Inspection Modal)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 17, 0.95);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  background: var(--bg-secondary);
  border: 1px solid var(--cyan-bright);
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan-bright);
  border-bottom: 1px solid var(--line-main);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.modal-close-btn {
  background: none;
  border: 1px solid var(--line-bright);
  color: var(--text-main);
  padding: 4px 10px;
  font-family: var(--font-mono);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--cyan-bright);
  color: #000;
  border-color: var(--cyan-bright);
}

.modal-img-container {
  overflow: auto;
  max-height: calc(90vh - 80px);
}

.modal-img-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   响应式调整 (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .robotics-grid, .sim-container, .manifesto-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .epoch-track {
    grid-template-columns: 1fr;
  }
  .robot-types-row, .future-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .robot-types-row, .future-cards-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}
