/* ==========================================================================
   BosonMind www.bosonmind.com — 站点样式
   设计令牌继承自原站（SchemeOneVoid）：
   --bg #080808 · --surface #111110 · --text #F5F4F0 · --muted #6B6862
   --brand #D97757 · --tech #5B7FA8 · --gold #D4A574
   ========================================================================== */

:root {
  --bg: #080808;
  --surface: #111110;
  --surface-2: #161614;
  --text: #F5F4F0;
  --muted: #6B6862;
  --brand: #D97757;
  --tech: #5B7FA8;
  --gold: #D4A574;
  --danger: #E05A5A;
  --border: rgba(245, 244, 240, 0.06);
  --border-strong: rgba(245, 244, 240, 0.12);
  --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-display: 'Poppins', 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.topbar.scrolled { border-bottom-color: var(--border); }

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 12px;
  font-size: 14px;          /* 原站顶栏字号过小，整体放大 */
  color: var(--muted);
}
.nav a { transition: color 0.2s ease; padding: 4px 0; }
.nav a:hover, .nav a.active { color: var(--text); }

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #15110F; }
.btn-primary:hover { background: #E58A6B; }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: rgba(245, 244, 240, 0.28); }
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(217, 119, 87, 0.10), transparent 65%);
  pointer-events: none;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 900px;
}
.hero-title .accent { color: var(--brand); }

.hero-sub {
  margin-top: 28px;
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
}

.hero-badges {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.28em;
}
.hero-badges i { width: 28px; height: 1px; background: rgba(217, 119, 87, 0.5); }

.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-note {
  margin-top: 48px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 110px 0; border-top: 1px solid var(--border); position: relative; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.section-sub { margin-top: 18px; color: var(--muted); font-size: 14px; }

.lead { max-width: 640px; color: var(--muted); font-size: 16px; }

.version-tag {
  margin-top: 16px;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(217, 119, 87, 0.35);
  border-radius: 999px;
  font-size: 12px;
  color: var(--brand);
  background: rgba(217, 119, 87, 0.08);
}

/* ---------------- IVS 判据 ---------------- */
.tier-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 36px;
  font-size: 13px;
  color: var(--muted);
}
.tier-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-a { background: var(--brand); }
.dot-f { background: var(--tech); }
.dot-g { background: var(--gold); }

.ivs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.ivs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ivs-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.ivs-card[data-tier="A"] { border-top: 2px solid var(--brand); }
.ivs-card[data-tier="F"] { border-top: 2px solid var(--tech); }
.ivs-card[data-tier="G"] { border-top: 2px solid var(--gold); }
.ivs-tier { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ivs-card h3 { font-size: 17px; margin-bottom: 10px; font-family: var(--font-display); }
.ivs-card p { font-size: 13px; color: var(--muted); }

/* ---------------- 四元组 ---------------- */
.quad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}
.quad-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.quad-index { font-family: var(--font-serif); font-size: 15px; color: var(--brand); }
.quad-card h3 { font-family: var(--font-display); font-size: 19px; margin: 10px 0; }
.quad-card p { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--muted);
}

/* ---------------- 干预推演 ---------------- */
.intervene {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
}
.intervene-head h3 { font-family: var(--font-display); font-size: 22px; }
.intervene-head p { margin-top: 10px; color: var(--muted); font-size: 14px; max-width: 640px; }
.intervene-body {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}
.intervene-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.op {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.op code { font-size: 12px; color: var(--tech); }
.op b { display: block; margin: 6px 0 2px; font-size: 14px; font-weight: 600; }
.op span { font-size: 12px; color: var(--muted); }
.cases-title { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.intervene-cases li {
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  position: relative;
}
.intervene-cases li:last-child { border-bottom: 0; }
.intervene-cases li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--brand);
}

/* ---------------- 统计 ---------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.stat-label { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.stat-label small { display: block; margin-top: 3px; color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 12px; }
.stats-note { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ---------------- 机器人矩阵 ---------------- */
.fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fleet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease;
}
.fleet-card:hover { border-color: var(--border-strong); }
.fleet-media { background: var(--surface-2); padding: 28px; display: grid; place-items: center; }
.fleet-media img { height: 170px; width: auto; object-fit: contain; }
.fleet-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.fleet-name { font-family: var(--font-display); font-size: 20px; }
.fleet-role { font-size: 13px; color: var(--brand); font-weight: 500; }
.fleet-tagline { font-size: 13px; color: var(--muted); }
.fleet-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fleet-specs div { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.fleet-specs dt { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.fleet-specs dd { margin: 2px 0 0; font-size: 12px; font-weight: 600; }
.fleet-desc { font-size: 12.5px; color: var(--muted); }
.fleet-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 12px; }
.fleet-cols h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.fleet-cols li { padding: 4px 0 4px 14px; position: relative; color: var(--muted); }
.fleet-cols li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--tech); }
.fleet-cols .scenarios li::before { background: var(--brand); }

/* ---------------- 计费 ---------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.pricing-card h3 { font-family: var(--font-display); font-size: 16px; }
.pricing-card > p { margin-top: 8px; font-size: 12.5px; color: var(--muted); min-height: 40px; }
.pricing-card b { display: block; margin-top: 14px; font-family: var(--font-display); font-size: 22px; color: var(--tech); }
.pricing-card b small { display: block; font-family: var(--font-sans); font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.pricing-danger b { color: var(--danger); }

/* ---------------- 下载区块 ---------------- */
.download-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(217, 119, 87, 0.25);
  border-radius: 20px;
  padding: 48px;
}
.download-meta { display: flex; gap: 32px; margin: 24px 0; flex-wrap: wrap; }
.download-meta dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.download-meta dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.download-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dl-sha { font-size: 11px; color: var(--muted); font-family: monospace; word-break: break-all; max-width: 320px; }
.dl-upgrade-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 16px; max-width: 640px; }
.download-visual { display: grid; place-items: center; opacity: 0.9; }

/* ---------------- 表单 ---------------- */
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.lead-form input, .lead-form textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease;
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--brand); }
.lead-form .btn { align-self: flex-start; }
.form-status { font-size: 13px; min-height: 20px; }
.form-status.ok { color: var(--brand); }
.form-status.err { color: var(--danger); }

/* ---------------- 页脚 ---------------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-slogan { font-size: 13px; color: var(--muted); }
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(245, 244, 240, 0.15); }
.footer-right { margin-left: auto; display: flex; gap: 20px; }
.footer-right a:hover { color: var(--text); }

/* ---------------- 动效 ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .intervene-body, .download-card { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .download-card { padding: 32px; }
  .topbar-inner { gap: 16px; padding: 12px 18px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .intervene { padding: 26px; }
  .hero-badges { letter-spacing: 0.18em; gap: 10px; }
  .btn-ghost.hide-sm { display: none; }
}

/* ---------------- 版本演进时间线 ---------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.timeline-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--surface);
}
.timeline-item b { display: block; font-size: 13px; font-family: var(--font-display); margin-bottom: 6px; color: var(--text); }
.timeline-item span { font-size: 11.5px; color: var(--muted); line-height: 1.6; display: block; }
.timeline-item.active { border-color: rgba(217, 119, 87, 0.5); background: rgba(217, 119, 87, 0.06); }
.timeline-item.active b { color: var(--brand); }

/* ---------------- 推演演示 ---------------- */
.container-wide { max-width: 1440px; }
.sim-frame {
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  background: #050505;
  aspect-ratio: 16 / 10;
}
.sim-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.sim-note { margin-top: 14px; font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .sim-frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
}
