:root {
  --bg: #0a0b0d;
  --panel: #12151c;
  --panel-2: #181c26;
  --paper: #f4f2ec;
  --muted: #98a2b3;
  --red: #ff3b24;
  --blue: #1b3bff;
  --green: #22c55e;
  --gold: #fbbf24;
  --border: rgba(244, 242, 236, 0.14);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.mono { font-family: Consolas, "JetBrains Mono", "Courier New", monospace; }
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.hidden { display: none !important; }
.container { width: min(1220px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 2; }

/* 背景精密网格与光晕 */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}
.glow-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.glow-blue {
  width: 680px; height: 680px; left: -220px; top: -180px;
  background: radial-gradient(circle, rgba(27, 59, 255, 0.22), transparent 68%);
}
.glow-red {
  width: 720px; height: 720px; right: -260px; bottom: -200px;
  background: radial-gradient(circle, rgba(255, 59, 36, 0.18), transparent 68%);
}

/* 顶部公告条 */
.announce-bar {
  background: linear-gradient(90deg, #1325a6, var(--blue), #1325a6);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 600;
  position: relative;
  z-index: 20;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.announce-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}

/* 导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(10, 11, 13, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff2e84, var(--red));
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 59, 36, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: #cbd2df;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* 通用按钮 */
.btn {
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.14s, background 0.14s, border-color 0.14s, box-shadow 0.14s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 59, 36, 0.3);
}
.btn-primary:hover { background: #ff513c; }
.btn-outline {
  background: rgba(255,255,255,0.04);
  color: var(--paper);
  border-color: rgba(244, 242, 236, 0.25);
}
.btn-outline:hover { border-color: var(--paper); background: rgba(255,255,255,0.08); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { color: #fff; border-color: rgba(244,242,236,0.4); }
.btn-sm { padding: 8px 16px; font-size: 13px; flex-direction: row; gap: 6px; }
.btn-lg { padding: 14px 24px; font-size: 16px; min-width: 210px; }
.btn-lg small, .btn-xl small { font-size: 12px; font-weight: 500; opacity: 0.85; margin-top: 2px; }
.btn-xl { width: 100%; padding: 16px 24px; font-size: 17px; }

/* Hero 首屏 */
.hero { padding: 62px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.eyebrow .sep { color: var(--red); margin: 0 6px; }
.blue-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  padding: 9px 18px;
  border-radius: 8px;
  border: 2px solid #fff;
  box-shadow: 6px 6px 0 #071266;
  margin-bottom: 22px;
}
.stamp-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.hero h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero-desc {
  color: #c2cad8;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-desc strong { color: #fff; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.metric-num { font-size: 24px; font-weight: 900; color: var(--paper); }
.metric-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 视频展示壳 */
.media-shell {
  background: var(--panel);
  border: 1.5px solid rgba(244, 242, 236, 0.22);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 68px rgba(0,0,0,0.65);
}
.media-hud {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: #0d1016;
}
.promo-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0a0b0d;
}
.media-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: #c5cddb;
  border-top: 1px solid var(--border);
}
.badge-live {
  background: rgba(34, 197, 94, 0.16);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.45);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

/* 通用区块 */
.section { padding: 72px 0; }
.section-alt {
  background: rgba(18, 21, 28, 0.65);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.sec-kicker {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1.2; }
.sec-sub { max-width: 440px; color: var(--muted); font-size: 14px; }

/* Bento 网格 */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.bento-card {
  background: var(--panel);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.bento-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 28px;
}
.bento-card h3 { font-size: 23px; font-weight: 900; margin: 12px 0 10px; }
.bento-card p { color: #b7c0cf; font-size: 14px; line-height: 1.75; }
.tag-red, .tag-green, .tag-blue {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}
.tag-red { background: rgba(255, 59, 36, 0.16); color: var(--red); border: 1px solid rgba(255, 59, 36, 0.4); }
.tag-green { background: rgba(34, 197, 94, 0.16); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.4); }
.tag-blue { background: rgba(27, 59, 255, 0.22); color: #8da2ff; border: 1px solid rgba(105, 132, 255, 0.45); }

.bento-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(244, 242, 236, 0.18);
  background: #0b0d12;
}
.bento-img-wrap img { width: 100%; display: block; object-fit: cover; }
.bento-img-wrap.small img { max-height: 250px; object-position: left top; }

/* 迷你实时硬件监控卡片 */
.mini-telemetry {
  background: #0d1017;
  border: 1.5px solid rgba(34, 197, 94, 0.35);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tele-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; }
.tele-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.tele-track { height: 8px; border-radius: 99px; background: #222735; overflow: hidden; }
.tele-fill { height: 100%; border-radius: 99px; background: var(--green); }

/* 开灯/关灯滑块对比 */
.lamp-pills { display: flex; gap: 8px; }
.pill-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.pill-btn.active { background: var(--paper); color: var(--bg); border-color: var(--paper); }
.compare-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(244, 242, 236, 0.24);
  aspect-ratio: 16 / 9;
  user-select: none;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.compare-overlay {
  position: absolute;
  inset: 0;
  clip-path: inset(0 62% 0 0);
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  width: 3px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.8);
  pointer-events: none;
}
.handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-weight: 900;
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.compare-badge {
  position: absolute;
  bottom: 16px;
  z-index: 3;
  background: rgba(10, 11, 13, 0.84);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}
.compare-badge.left { left: 16px; }
.compare-badge.right { right: 16px; }

/* 成片画廊 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}
.work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  cursor: zoom-in;
  background: #10131a;
}
.work-card.tall { grid-row: span 2; }
.work-card.wide { grid-column: span 2; }
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.work-card:hover img { transform: scale(1.04); }
.work-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(10, 11, 13, 0.86);
  border: 1px solid rgba(244, 242, 236, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.w-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* 04 在线工作台预留展区 */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.roadmap-card {
  background: linear-gradient(155deg, #141824, #0f121a);
  border: 1.5px dashed rgba(244, 242, 236, 0.24);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.roadmap-card:hover {
  border-color: rgba(244, 242, 236, 0.48);
  transform: translateY(-2px);
}
.rm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.rm-status {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}
.roadmap-card h3 { font-size: 25px; font-weight: 900; }
.roadmap-card p { color: #b7c0cf; font-size: 14px; line-height: 1.8; }
.rm-tags {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rm-tags span {
  font-size: 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 8px;
}

/* 下载中心卡片 */
.download-card {
  background: linear-gradient(135deg, #131620, #0d1018);
  border: 2px solid rgba(244, 242, 236, 0.24);
  border-radius: 22px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 28px 64px rgba(0,0,0,0.55);
}
.dl-left h2 { font-size: 36px; font-weight: 900; margin-bottom: 12px; }
.dl-notes { color: #c5cddb; font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.dl-specs { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.dl-right { display: flex; flex-direction: column; gap: 14px; }
.dl-contact { font-size: 13px; color: var(--muted); text-align: center; margin-top: 4px; }

/* 底栏瑞士刻度尺 */
.footer { padding: 28px 0 42px; }
.ruler-line {
  height: 12px;
  border-bottom: 2px solid rgba(244, 242, 236, 0.75);
  background: repeating-linear-gradient(to right, rgba(244,242,236,0.7) 0 2px, transparent 2px 26px);
  margin-bottom: 12px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-row a { color: #cbd2df; text-decoration: none; }
.footer-row a:hover { color: #fff; text-decoration: underline; }

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5, 6, 9, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox img { max-width: min(92vw, 1280px); max-height: 80vh; border-radius: 14px; border: 2px solid rgba(255,255,255,0.2); }
.lightbox p { margin-top: 14px; color: var(--paper); font-weight: 700; font-size: 15px; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(20,22,28,0.8);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid, .bento-wide, .bento-grid, .roadmap-grid, .download-card { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .work-card.tall { grid-row: span 1; }
  .work-card.wide { grid-column: span 1; }
  .download-card { padding: 24px; }
}
