/* ==========================================================================
   霁禾 JEEIO · 科技公司官网样式
   视觉：冷灰底 + 深墨首屏 + 朱砂点缀 + 等宽标签 + 细网格
   ========================================================================== */

:root {
  --bg: #f2f2ee;
  --bg-2: #f8f8f5;
  --bg-3: #e9e9e3;
  --ink: #101413;
  --ink-2: #2f3532;
  --muted: #626a66;
  --faint: #8f9793;
  --line: #dcdcd4;
  --line-soft: #e6e6df;
  --accent: #a4362a;
  --accent-2: #c2543f;
  --accent-soft: rgba(164, 54, 42, 0.08);
  --dark: #101413;
  --dark-2: #171d1b;
  --dark-line: rgba(255, 255, 255, 0.09);
  --dark-muted: rgba(255, 255, 255, 0.56);
  --white: #f6f6f1;

  --sans: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 60px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(16, 20, 19, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 19, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(164, 54, 42, 0.18); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent); }

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 242, 238, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 24px -24px rgba(16, 20, 19, 0.7); }

.nav { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--serif);
  font-size: 17px;
  display: grid;
  place-items: center;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  background: var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 17px; letter-spacing: 0.18em; font-weight: 600; }
.brand-en { font-family: var(--mono); font-size: 9px; letter-spacing: 0.26em; color: var(--faint); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); margin-left: auto; }
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 9px 18px !important;
  font-size: 13px !important;
  transition: background 0.2s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 10px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  content: "";
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -6px; left: 0; }
.nav-toggle span::after { top: 6px; left: 0; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #8d2c22; transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-arrow { font-family: var(--mono); font-size: 12px; }

.btn-try { flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 24px; line-height: 1.3; }
.try-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.7); }
.btn-try .try-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

/* ---------- 首屏（深色） ---------- */

.hero {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--dark-line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25));
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 54, 42, 0.34), transparent 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) 0;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent-2);
  margin: 0 0 26px;
}
.hero h1 {
  font-weight: 600;
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  max-width: 15em;
}
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero-lede {
  max-width: 54ch;
  color: var(--dark-muted);
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.9;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--ink); }

.hero-panel {
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(4px);
}
.hero-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid var(--dark-line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--dark-muted);
}
.hero-panel-head .dot { display: inline-flex; align-items: center; gap: 7px; }
.hero-panel-head .dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6fbf8e;
}
.hero-panel ul { list-style: none; margin: 0; padding: 6px 0; }
.hero-panel li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}
.hero-panel li:last-child a { border-bottom: 0; }
.hero-panel li a:hover { background: rgba(255, 255, 255, 0.05); }
.hero-panel .code { font-family: var(--mono); font-size: 10px; color: var(--accent-2); width: 34px; flex-shrink: 0; }
.hero-panel .name { font-size: 13.5px; color: var(--white); flex: 1; }
.hero-panel .cn { color: var(--dark-muted); font-size: 12px; margin-left: 6px; }
.hero-panel .status { font-family: var(--mono); font-size: 9.5px; color: var(--dark-muted); letter-spacing: 0.08em; }

/* ---------- 统计条 ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stat { padding: 26px clamp(14px, 2.4vw, 30px); border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--faint); display: block; margin-bottom: 7px; }
.stat .v { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.stat .v small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 6px; }

/* ---------- 区块 ---------- */

.section { padding: clamp(60px, 8vw, 100px) 0; border-bottom: 1px solid var(--line-soft); }
.section-dark {
  background: var(--dark);
  color: var(--white);
  border-bottom: 1px solid var(--dark-line);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.section-dark > .wrap { position: relative; z-index: 1; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.section-head .left { max-width: 62ch; }
.section-no {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.section-desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.section-dark .section-title { color: var(--white); }
.section-dark .section-desc { color: var(--dark-muted); }

/* ---------- 产品矩阵 ---------- */

.matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product {
  background: var(--bg-2);
  padding: clamp(22px, 2.6vw, 30px);
  min-height: 292px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background 0.25s ease;
}
.product:hover { background: #fff; }
.product::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.product:hover::before { transform: scaleX(1); }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-code { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--faint); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 8px;
  white-space: nowrap;
}
.badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #5fae7d; }
.badge.offline::before { background: var(--faint); }
.badge.lab::before { background: #c9a04e; }
.product h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.product h3 small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--faint);
  margin-top: 5px;
}
.product p { margin: 0; color: var(--muted); font-size: 13.8px; line-height: 1.8; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-2);
  background: rgba(16, 20, 19, 0.05);
  padding: 3px 8px;
}
.product-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent); }
.product-link:hover { gap: 12px; }

/* ---------- 服务 ---------- */

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.service {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service .no { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--accent); }
.service h3 { font-size: 20px; font-weight: 600; margin: 2px 0 0; }
.service p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; flex: 1; }
.service ul { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-soft); }
.service li { font-size: 13px; color: var(--ink-2); padding: 4px 0 4px 14px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 1px; background: var(--accent); }

/* ---------- 能力底座 ---------- */

.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.cap { background: rgba(255, 255, 255, 0.02); padding: clamp(22px, 2.6vw, 30px); }
.cap .code { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent-2); }
.cap h3 { font-size: 17px; font-weight: 600; margin: 10px 0 8px; color: var(--white); }
.cap p { margin: 0; color: var(--dark-muted); font-size: 13.5px; line-height: 1.85; }

.stack { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stack .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--dark-muted); margin-right: 8px; }
.chip {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--dark-line);
  padding: 5px 10px;
  letter-spacing: 0.04em;
}

/* ---------- 关于 / CTA ---------- */

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.about-card { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(24px, 3.4vw, 38px); }
.about-card .seal {
  width: 46px;
  height: 46px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 20px;
}
.about-card h3 { font-size: 21px; font-weight: 600; margin: 0 0 12px; }
.about-card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.facts { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.facts li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.facts span:first-child { color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
.facts span:last-child { color: var(--ink-2); text-align: right; }

.cta-band {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: clamp(30px, 4.4vw, 54px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 54, 42, 0.45), transparent 65%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h3 { font-size: clamp(21px, 2.6vw, 30px); font-weight: 600; margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--dark-muted); font-size: 14px; }

/* ---------- 页脚 ---------- */

.site-footer { background: var(--dark); color: var(--white); padding: clamp(42px, 5.5vw, 68px) 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(120px, 0.7fr));
  gap: clamp(22px, 4vw, 44px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-line);
}
.footer-brand .brand-mark { background: var(--white); color: var(--ink); }
.footer-brand .brand-mark::after { background: var(--accent); }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin: 16px 0 0; font-size: 12.5px; color: var(--dark-muted); line-height: 1.9; max-width: 30ch; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.4); font-weight: 400; margin: 4px 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: rgba(255, 255, 255, 0.72); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: 12px; color: rgba(255, 255, 255, 0.38); font-family: var(--mono); letter-spacing: 0.02em; }
.footer-bottom a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.18); transition: color 0.2s ease, border-color 0.2s ease; }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.72); border-color: rgba(255, 255, 255, 0.4); }

/* ---------- 产品详情 ---------- */

.detail-hero {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 5vw, 56px);
}
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.detail-hero::after {
  content: attr(data-index);
  position: absolute;
  right: var(--gutter);
  bottom: -0.18em;
  font-family: var(--mono);
  font-size: clamp(90px, 16vw, 200px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.detail-hero > .wrap { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, 0.42); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.2); }
.detail-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.detail-name { font-size: clamp(38px, 5.4vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.detail-name small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.24em; color: rgba(255, 255, 255, 0.42); margin-top: 12px; }
.detail-tagline { font-size: clamp(16px, 1.8vw, 20px); color: var(--accent-2); margin: 18px 0 20px; }
.detail-lede { max-width: 58ch; color: var(--dark-muted); font-size: 15px; line-height: 1.9; margin: 0 0 28px; }
.detail-meta { border-left: 1px solid var(--dark-line); padding-left: clamp(18px, 3vw, 28px); margin: 0; }
.detail-meta div { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.detail-meta div:last-child { border-bottom: 0; }
.detail-meta dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.38); margin-bottom: 2px; }
.detail-meta dd { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.78); line-height: 1.65; }

.detail-body { padding: clamp(44px, 6vw, 72px) 0; }
.detail-body .stack { margin-top: 0; }
.detail-body .stack .chip { color: var(--ink-2); border-color: var(--line); }
.detail-hero .btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
.detail-hero .btn-ghost:hover { background: var(--white); color: var(--ink); }
.detail-section { margin-bottom: clamp(40px, 5vw, 64px); }
.detail-section:last-child { margin-bottom: 0; }
.detail-section-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.detail-section-head h2 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; margin: 0; }
.detail-section-head .no { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.14em; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.feature { background: var(--bg-2); padding: clamp(18px, 2.4vw, 26px); }
.feature .f-code { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--accent); display: block; margin-bottom: 8px; }
.feature h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.feature p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.82; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.flow li { padding: 18px 16px 20px 0; border-right: 1px solid var(--line-soft); }
.flow li:last-child { border-right: 0; }
.flow .step { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--accent); }
.flow .label { display: block; margin-top: 7px; font-size: 14px; font-weight: 500; }

.detail-cta { border: 1px solid var(--ink); background: var(--ink); color: var(--white); padding: clamp(24px, 3.6vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.detail-cta h3 { font-size: clamp(19px, 2.4vw, 26px); font-weight: 600; margin: 0 0 7px; }
.detail-cta p { margin: 0; color: var(--dark-muted); font-size: 13.5px; }

.chapter-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; }
.chapter-nav a { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.chapter-nav a:hover { color: var(--accent); }
.chapter-nav .dir { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; color: var(--faint); }
.chapter-nav .next { text-align: right; margin-left: auto; }

/* ---------- 产品矩阵页 ---------- */

.page-hero { padding: clamp(44px, 6vw, 76px) 0 clamp(30px, 4vw, 46px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 600; letter-spacing: -0.02em; margin: 14px 0 16px; }
.page-hero p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.9; }

/* ---------- 关于页 ---------- */

.about-hero { padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4vw, 50px); border-bottom: 1px solid var(--line); }
.about-hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.28; margin: 16px 0 18px; max-width: 20em; }
.about-hero p { max-width: 64ch; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.9; }

.about-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 56px); }
.about-columns h3 { font-size: 19px; font-weight: 600; margin: 0 0 12px; }
.about-columns p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.9; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 22px; }
.timeline li::before { content: ""; position: absolute; left: -3px; top: 8px; width: 5px; height: 5px; background: var(--accent); }
.timeline strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.timeline span { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.contact-item { padding: 22px 22px 22px 0; border-right: 1px solid var(--line-soft); }
.contact-item:last-child { border-right: 0; }
.contact-item .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--faint); display: block; margin-bottom: 6px; }
.contact-item .v { font-size: 15.5px; font-weight: 500; color: var(--ink); }
.contact-item a.v:hover { color: var(--accent); }

/* ---------- 首屏视觉 ---------- */

.hero-inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
.hero-media { position: relative; z-index: 1; }
.hero-shot {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b0f0e;
  padding: 8px 8px 0;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.95), 0 0 90px rgba(164, 54, 42, 0.22);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.hero-shot .bar { display: flex; gap: 5px; padding: 1px 3px 8px; }
.hero-shot .bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.hero-shot img { width: 100%; border: 1px solid rgba(255, 255, 255, 0.07); }
.hero-tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(16, 20, 19, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 11px;
  backdrop-filter: blur(6px);
}
.hero-tag b { color: var(--accent-2); font-weight: 400; }
.hero-tag.t1 { left: -22px; top: 10%; }
.hero-tag.t2 { right: -14px; bottom: 16%; }

/* ---------- 架构分层 ---------- */

.arch { border: 1px solid var(--line); background: var(--bg-2); }
.arch-layer { display: grid; grid-template-columns: 168px minmax(0, 1fr); border-bottom: 1px solid var(--line-soft); }
.arch-layer:last-child { border-bottom: 0; }
.arch-label { padding: 22px 20px; border-right: 1px solid var(--line-soft); background: rgba(16, 20, 19, 0.022); }
.arch-label .code { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--accent); }
.arch-label h3 { font-size: 16px; font-weight: 600; margin: 7px 0 5px; }
.arch-label p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.65; }
.arch-body { padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.arch-node {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  min-width: 156px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.arch-node:hover { border-color: var(--accent); transform: translateY(-1px); }
.arch-node strong { display: block; font-size: 14px; font-weight: 600; }
.arch-node span { font-size: 11.5px; color: var(--muted); }
.arch-node.accent { border-color: rgba(164, 54, 42, 0.5); box-shadow: inset 3px 0 0 var(--accent); }
.arch-note { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.04em; }
.arch-layer.base { background: rgba(16, 20, 19, 0.03); }

/* ---------- 产品场景 ---------- */

.showcase { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.showcase.reverse { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); }
.showcase.reverse .showcase-media { order: 2; }
.showcase-copy .kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--accent); }
.showcase-copy h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; line-height: 1.3; margin: 10px 0 12px; letter-spacing: -0.01em; }
.showcase-copy p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; line-height: 1.9; }
.showcase-copy .metrics { display: flex; flex-wrap: wrap; gap: 22px; margin: 18px 0 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.showcase-copy .metrics div { font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 0.08em; }
.showcase-copy .metrics b { display: block; font-family: var(--sans); font-size: 20px; color: var(--ink); letter-spacing: 0; margin-bottom: 2px; }

.shot-card { border: 1px solid var(--line); background: #fff; box-shadow: 0 34px 70px -50px rgba(16, 20, 19, 0.65); }
.shot-card img { width: 100%; display: block; }
.shot-caption { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 0.06em; }

.phone-frame { width: min(300px, 100%); margin: 0 auto; border: 1px solid var(--line); background: #fff; padding: 6px; border-radius: 20px; box-shadow: 0 34px 70px -40px rgba(16, 20, 19, 0.6); }
.phone-frame img { border-radius: 14px; display: block; width: 100%; }

/* ---------- 终端 / 搜索 / 对比 演示 ---------- */

.terminal { border: 1px solid var(--line); background: #0d1211; color: #e9e9e2; padding: 18px 20px; font-family: var(--mono); font-size: 12px; line-height: 1.85; box-shadow: 0 34px 70px -50px rgba(16, 20, 19, 0.8); }
.terminal .tbar { display: flex; gap: 5px; margin-bottom: 12px; }
.terminal .tbar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.terminal .d { color: rgba(255, 255, 255, 0.42); }
.terminal .g { color: #7fbf95; }
.terminal .r { color: #d97a66; }

.search-demo { border: 1px solid var(--line); background: #fff; }
.search-bar { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-2); }
.search-bar .cmd { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.search-wave { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); background: #fbfbf8; }
.search-wave img { width: 100%; height: 46px; object-fit: cover; opacity: 0.85; }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; }
.result-row:last-child { border-bottom: 0; }
.result-row .why { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.result-row .score { font-family: var(--mono); font-size: 10.5px; color: var(--accent); }

.diff-demo { border: 1px solid var(--line); background: #fff; }
.diff-head { display: flex; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 0.06em; }
.diff-cols { display: grid; grid-template-columns: 1fr 1fr; }
.diff-col { padding: 16px; font-size: 12.5px; line-height: 2; color: var(--ink-2); }
.diff-col + .diff-col { border-left: 1px solid var(--line-soft); }
.del { background: rgba(164, 54, 42, 0.13); text-decoration: line-through; }
.add { background: rgba(58, 140, 90, 0.15); }
.diff-foot { padding: 8px 14px; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 10px; color: var(--faint); }

/* ---------- 统一工作台 ---------- */

.ws-mock { background: #0e1312; border: 1px solid rgba(255, 255, 255, 0.12); color: #e9e9e2; padding: clamp(18px, 2.6vw, 26px); box-shadow: 0 40px 80px -55px rgba(0, 0, 0, 0.8); }
.ws-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.ws-user { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.ws-ava { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #a4362a, #5c2019); }
.ws-top .credit { font-family: var(--mono); font-size: 10px; color: #d97a66; border: 1px solid rgba(217, 122, 102, 0.4); padding: 4px 9px; }
.ws-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.09); margin: 16px 0; }
.ws-card { background: #121816; padding: 14px; }
.ws-card .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.38); }
.ws-card b { display: block; font-size: 20px; margin-top: 4px; }
.ws-lines { display: flex; flex-wrap: wrap; gap: 6px; }
.ws-line { font-family: var(--mono); font-size: 10px; color: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.12); padding: 4px 8px; }
.ws-line.on { color: #f0b3a4; border-color: rgba(217, 122, 102, 0.45); }
.ws-note { margin-top: 14px; font-family: var(--mono); font-size: 10px; color: rgba(255, 255, 255, 0.3); letter-spacing: 0.06em; }

/* ---------- 闭环 ---------- */

.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.loop-step { background: rgba(255, 255, 255, 0.02); padding: clamp(20px, 2.6vw, 28px); position: relative; }
.loop-step .num { font-family: var(--mono); font-size: 10px; color: var(--accent-2); letter-spacing: 0.14em; }
.loop-step h3 { font-size: 17px; font-weight: 600; margin: 9px 0 7px; color: var(--white); }
.loop-step p { margin: 0; font-size: 13px; color: var(--dark-muted); line-height: 1.8; }
.loop-step::after { content: "→"; position: absolute; right: 10px; top: 18px; font-family: var(--mono); color: rgba(255, 255, 255, 0.2); }
.loop-step:last-child::after { content: "↺"; }

/* ---------- 视觉卡片组 ---------- */

.visual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.visual-card { border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; transition: transform 0.25s ease, border-color 0.25s ease; }
.visual-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.visual-card .thumb { border-bottom: 1px solid var(--line-soft); background: #fff; overflow: hidden; }
.visual-card .thumb img { width: 100%; display: block; }
.visual-card .thumb.term { background: #0d1211; }
.visual-card .body { padding: 16px 18px 18px; }
.visual-card .body .code { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--accent); }
.visual-card h3 { font-size: 17px; font-weight: 600; margin: 7px 0 6px; }
.visual-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.8; }

.phone-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.phone-row .phone-frame { width: 216px; }

/* ---------- 一人公司路线 ---------- */

.route-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.route { background: var(--bg-2); padding: clamp(20px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 10px; transition: background 0.25s ease; }
.route:hover { background: #fff; }
.route .no { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--accent); }
.route h3 { font-size: 18px; font-weight: 600; margin: 0; }
.route p { margin: 0; font-size: 12.8px; color: var(--muted); line-height: 1.8; flex: 1; }
.route .chain { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.route .chain span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.04em; color: var(--ink-2); border: 1px solid var(--line); padding: 3px 6px; }
.route .chain span::after { content: "→"; margin-left: 5px; color: var(--faint); }
.route .chain span:last-child::after { content: ""; }

.stats.stats-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }

.wide-shot { border: 1px solid var(--line); background: #fff; margin-top: clamp(24px, 3vw, 34px); box-shadow: 0 34px 70px -50px rgba(16, 20, 19, 0.55); }
.wide-shot img { width: 100%; display: block; }

.tool-note { margin-top: 18px; padding: 16px 18px; border: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tool-note .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--faint); }

.support { border: 1px solid var(--line); background: var(--bg-2); padding: 20px; }
.support .code { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--accent); }
.support h3 { font-size: 17px; font-weight: 600; margin: 6px 0 6px; }
.support p { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- 动效 ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .stats.stats-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-5 .stat:nth-child(2n) { border-right: 0; }
  .stats-5 .stat:nth-child(-n+4) { border-bottom: 1px solid var(--line-soft); }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  .detail-head { grid-template-columns: 1fr; }
  .detail-meta { border-left: 0; padding-left: 0; border-top: 1px solid var(--dark-line); padding-top: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow li:nth-child(3n) { border-right: 0; }
  .about-band { grid-template-columns: 1fr; }
  .hero-shot { transform: none; }
  .showcase, .showcase.reverse { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-media { order: 0; }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-grid { grid-template-columns: 1fr; }
  .arch-layer { grid-template-columns: 1fr; }
  .arch-label { border-right: 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 10px; align-items: baseline; padding: 14px 18px; }
  .arch-label h3 { margin: 0; }
  .arch-label p { display: none; }
}

/* ==========================================================================
   v2 · 五条能力线 + 身份牌 + 抽象视觉（纯 CSS/SVG 光效，无真实截图）
   ========================================================================== */

:root {
  --gold: #c9a04e;
  --gold-2: #e2bd76;
  --night: #0a0d0c;
  --night-2: #0e1312;
}

/* ---- 品牌 logo（与 favicon 一致） ---- */
.brand-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 18px rgba(164, 54, 42, 0.4));
}
.footer-brand .brand-logo { filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6)); }

/* ---- 光斑 / aurora ---- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb.accent { background: radial-gradient(circle, rgba(164, 54, 42, 0.55), transparent 65%); }
.orb.gold { background: radial-gradient(circle, rgba(201, 160, 78, 0.5), transparent 65%); }
.orb.cool { background: radial-gradient(circle, rgba(76, 120, 150, 0.45), transparent 65%); }
.orb.anim { animation: orbFloat 9s ease-in-out infinite alternate; }
.orb.anim.delay { animation-delay: -4.5s; }

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -24px, 0) scale(1.08); }
}

/* ---- 网格光幕 ---- */
.grid-veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.85), transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.85), transparent 72%);
  pointer-events: none;
}

/* ---- 玻璃拟态 ---- */
.glass {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---- 渐变描边 ---- */
.grad-border { position: relative; }
.grad-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(194, 84, 63, 0.9), rgba(201, 160, 78, 0.6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---- 能力线（五条） ---- */
.line-row {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.line-row:last-child { border-bottom: 0; }
.line-row.reverse { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
.line-row.reverse .line-viz { order: 2; }

.line-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.line-no::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(164,54,42,.4), transparent); }
.line-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--faint); text-transform: uppercase; }
.line-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -0.01em;
  margin: 10px 0 14px;
}
.line-title em { font-style: normal; color: var(--accent); }
.line-desc { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 54ch; }

.line-products { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.line-product {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 10px 14px;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.line-product:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(164, 54, 42, 0.6); }
.line-product .p-name { font-size: 15px; font-weight: 600; }
.line-product .p-sub { font-size: 11.5px; color: var(--muted); }
.line-product .p-go { font-family: var(--mono); font-size: 11px; color: var(--accent); }

/* ---- 抽象视觉容器 ---- */
.viz {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(164, 54, 42, 0.06), transparent 50%),
    radial-gradient(120% 120% at 100% 100%, rgba(201, 160, 78, 0.07), transparent 50%),
    #0d1211;
  color: #e9e9e2;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  box-shadow: 0 40px 90px -55px rgba(16, 20, 19, 0.85);
}
.viz::after {
  content: "";
  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: 40px 40px;
  pointer-events: none;
}
.viz > * { position: relative; z-index: 1; }
.viz-caption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

/* 故事骨架（比魂） */
.skeleton { display: flex; flex-direction: column; gap: 10px; }
.sk-node {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 13px;
  font-size: 13px;
}
.sk-node .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(194, 84, 63, 0.16), 0 0 14px rgba(194, 84, 63, 0.7);
  flex-shrink: 0;
}
.sk-node .sk-tag { font-family: var(--mono); font-size: 9.5px; color: rgba(255, 255, 255, 0.4); width: 44px; flex-shrink: 0; }
.sk-node .sk-name { flex: 1; }
.sk-node .sk-st { font-family: var(--mono); font-size: 9.5px; color: #7fbf95; }
.sk-conn { width: 1px; height: 8px; background: linear-gradient(rgba(194,84,63,.5), transparent); margin-left: 16px; }

/* 游戏化：终端 + 关卡 */
.level-bar { margin-top: 14px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.02); padding: 13px; }
.level-bar .lb-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: rgba(255, 255, 255, 0.5); margin-bottom: 9px; }
.level-bar .lb-track { height: 6px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.level-bar .lb-fill { height: 100%; width: 64%; background: linear-gradient(90deg, var(--accent), var(--gold)); box-shadow: 0 0 16px rgba(201, 160, 78, 0.6); }

/* 资源：波形 + 结果 */
.wave-bars { display: flex; align-items: center; gap: 3px; height: 44px; margin: 6px 2px 4px; }
.wave-bars i { flex: 1; display: block; background: linear-gradient(180deg, var(--accent-2), rgba(194,84,63,.15)); border-radius: 1px; animation: wavePulse 1.4s ease-in-out infinite alternate; }
.wave-bars i:nth-child(2n) { animation-delay: -0.5s; }
.wave-bars i:nth-child(3n) { animation-delay: -0.9s; }
@keyframes wavePulse { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

/* 雷达 */
.radar {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(220px, 100%);
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle, rgba(164, 54, 42, 0.08), transparent 60%);
}
.radar::before, .radar::after {
  content: "";
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}
.radar::before { inset: 32%; }
.radar::after { inset: 12%; }
.radar .cross-h, .radar .cross-v { position: absolute; background: rgba(255, 255, 255, 0.08); }
.radar .cross-h { left: 0; right: 0; top: 50%; height: 1px; }
.radar .cross-v { top: 0; bottom: 0; left: 50%; width: 1px; }
.radar .sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(194, 84, 63, 0.55), transparent 60deg);
  animation: radarSweep 3.4s linear infinite;
}
.radar .blip { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.radar .blip.b1 { top: 26%; left: 62%; }
.radar .blip.b2 { top: 64%; left: 34%; }
.radar .blip.b3 { top: 40%; left: 24%; }
@keyframes radarSweep { to { transform: rotate(360deg); } }

/* 财务 KPI */
.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 13px;
}
.kpi .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.42); }
.kpi .v { font-size: 22px; font-weight: 600; margin-top: 4px; }
.kpi .v.up { color: #7fbf95; }
.kpi .v.warn { color: var(--gold-2); }

/* ---- 身份牌 ---- */
.id-card {
  position: relative;
  width: min(360px, 100%);
  margin: 0 auto;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(140deg, rgba(194, 84, 63, 0.85), rgba(201, 160, 78, 0.6) 45%, rgba(255, 255, 255, 0.12) 70%);
  box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.9), 0 0 60px -10px rgba(194, 84, 63, 0.4);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.id-card-inner {
  position: relative;
  border-radius: 18px;
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(201, 160, 78, 0.16), transparent 46%),
    radial-gradient(120% 130% at 0% 100%, rgba(164, 54, 42, 0.22), transparent 50%),
    #0e1312;
  padding: 22px 22px 20px;
  overflow: hidden;
}
.id-card-inner::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 60%;
  height: 240%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: rotate(12deg);
  animation: idShine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes idShine {
  0%, 55% { transform: translateX(0) rotate(12deg); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translateX(460%) rotate(12deg); opacity: 0; }
}
.id-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.id-top .id-brand { display: flex; align-items: center; gap: 9px; }
.id-top .id-brand .lbl { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.5); }
.id-top .id-lv {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold-2);
  border: 1px solid rgba(201, 160, 78, 0.5);
  padding: 3px 9px;
  letter-spacing: 0.08em;
}
.id-no {
  font-family: var(--mono);
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: 0.16em;
  color: #fff;
  margin: 4px 0 3px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}
.id-name { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 16px; }
.id-holo {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
  background-size: 200% 100%;
  animation: holoShift 4s linear infinite;
  margin-bottom: 16px;
  box-shadow: 0 0 18px rgba(201, 160, 78, 0.5);
}
@keyframes holoShift { to { background-position: -200% 0; } }
.id-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.id-lines { display: flex; gap: 6px; flex-wrap: wrap; }
.id-line {
  width: 30px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
}
.id-line.on { border-color: rgba(194, 84, 63, 0.7); color: #f0b3a4; background: rgba(164, 54, 42, 0.2); box-shadow: 0 0 10px rgba(194, 84, 63, 0.4); }
.id-points { text-align: right; }
.id-points .k { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.4); display: block; }
.id-points .v { font-size: 18px; font-weight: 600; color: var(--gold-2); }

/* ---- 登录流程示意 ---- */
.login-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.login-opt {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.login-opt:hover { border-color: rgba(194, 84, 63, 0.6); background: rgba(255, 255, 255, 0.05); }
.login-opt .ico { font-size: 22px; display: block; margin-bottom: 7px; }
.login-opt .t { font-size: 13px; color: #fff; }
.login-opt .s { font-family: var(--mono); font-size: 9px; color: rgba(255, 255, 255, 0.42); margin-top: 3px; }

/* ---- 轮播 marquee ---- */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  position: relative;
}
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }
.marquee-item b { color: #fff; font-weight: 600; }
.marquee-item .sep { color: var(--accent-2); font-family: var(--mono); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- 3D 翻转卡片（hover） ---- */
.tilt { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease; }
.tilt:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-4deg) translateY(-4px);
  box-shadow: 0 40px 80px -45px rgba(164, 54, 42, 0.55);
}

/* ---- 徽章 ---- */
.planning-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
  border: 1px solid rgba(201, 160, 78, 0.45);
  padding: 5px 11px;
}
.planning-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* 动效降低偏好 */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .radar .sweep, .id-card-inner::after, .id-holo, .wave-bars i, .orb.anim { animation: none !important; }
}

@media (max-width: 1024px) {
  .line-row, .line-row.reverse { grid-template-columns: 1fr; }
  .line-row.reverse .line-viz { order: 0; }
  .id-card { transform: none; }
}

@media (max-width: 768px) {
  .login-mock { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { height: 62px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6px var(--gutter) 14px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .matrix { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cap-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-columns { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li { border-right: 0; border-bottom: 1px solid var(--line-soft); padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .detail-cta { flex-direction: column; align-items: flex-start; }
  .contact-item { border-right: 0; border-bottom: 1px solid var(--line-soft); padding-right: 0; }
  .chapter-nav { flex-direction: column; }
  .hero-panel ul { padding: 4px 0; }
  .hero-panel .cn { display: none; }
  .hero-tag { display: none; }
  .loop { grid-template-columns: 1fr; }
  .ws-cards { grid-template-columns: 1fr; }
  .phone-row .phone-frame { width: min(260px, 100%); }
  .route-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v3 · 五条产线 + 身份牌「芯片待嵌入 → 身份卡生成」特效
   ========================================================================== */

/* 身份牌舞台 */
.id-stage { position: relative; width: min(360px, 100%); margin: 0 auto; }

/* ---- 未登录：芯片待嵌入插槽 ---- */
.id-socket {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  border: none;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(140deg, rgba(194, 84, 63, 0.55), rgba(255, 255, 255, 0.08) 42%, rgba(201, 160, 78, 0.4) 82%);
  font: inherit;
  color: inherit;
  text-align: inherit;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.id-socket:hover { transform: translateY(-2px); box-shadow: 0 32px 64px -42px rgba(0, 0, 0, 0.9), 0 0 42px -12px rgba(194, 84, 63, 0.55); }
.id-socket-inner {
  position: relative;
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(194, 84, 63, 0.10), transparent 55%),
    #0b100e;
  min-height: 236px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}
.id-socket-inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}
.id-circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.85; }
.id-circuit path { stroke: rgba(194, 84, 63, 0.55); stroke-width: 1.4; fill: none; stroke-dasharray: 5 7; animation: currentIn 1.6s linear infinite; }
.id-circuit path.p2 { stroke: rgba(201, 160, 78, 0.42); animation-duration: 2.3s; animation-direction: reverse; }
@keyframes currentIn { to { stroke-dashoffset: -24; } }

.id-plus {
  position: relative; z-index: 2;
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid rgba(194, 84, 63, 0.55);
  background: rgba(164, 54, 42, 0.10);
  color: var(--accent-2);
  font-size: 30px; line-height: 1; font-weight: 300;
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(194, 84, 63, 0.06);
  transition: transform 0.2s ease;
}
.id-socket.charging .id-plus { animation: chargePulse 0.5s ease-in-out infinite; }
@keyframes chargePulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(194,84,63,.06); } 50% { transform: scale(1.12); box-shadow: 0 0 0 14px rgba(194,84,63,.18), 0 0 30px rgba(194,84,63,.5); } }
.id-plus::before, .id-plus::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(194, 84, 63, 0.35);
  animation: ringOut 2.4s ease-out infinite;
}
.id-plus::after { animation-delay: 1.2s; }
@keyframes ringOut { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }

.id-socket-label { position: relative; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.5); text-align: center; line-height: 1.9; padding: 0 18px; }
.id-socket-label b { color: var(--gold-2); font-weight: 600; }

/* ---- 登录后：身份卡生成 + 电流外溢 ---- */
.id-card { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease, opacity 0.5s ease, filter 0.5s ease; }
.id-card.is-active { animation: cardBirth 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes cardBirth {
  0% { transform: perspective(1200px) rotateY(-6deg) scale(0.82); opacity: 0; filter: blur(8px); }
  55% { filter: blur(0); }
  100% { transform: perspective(1200px) rotateY(-6deg) scale(1); opacity: 1; filter: none; }
}
.id-burst { position: absolute; inset: -34px; pointer-events: none; z-index: 3; }
.id-burst .ray {
  position: absolute; top: 50%; left: 50%;
  width: 132px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent-2), rgba(201, 160, 78, 0.45), transparent);
  transform-origin: left center;
  opacity: 0;
}
.id-burst.is-on .ray { animation: rayOut 0.9s ease-out forwards; }
.id-burst .ray:nth-child(2) { animation-delay: 0.06s; }
.id-burst .ray:nth-child(3) { animation-delay: 0.12s; }
.id-burst .ray:nth-child(4) { animation-delay: 0.18s; }
.id-burst .ray:nth-child(5) { animation-delay: 0.24s; }
.id-burst .ray:nth-child(6) { animation-delay: 0.30s; }
.id-burst .ray:nth-child(7) { animation-delay: 0.36s; }
.id-burst .ray:nth-child(8) { animation-delay: 0.42s; }
@keyframes rayOut { 0% { transform: rotate(var(--a)) scaleX(0); opacity: 0.95; } 100% { transform: rotate(var(--a)) scaleX(1); opacity: 0; } }

/* 卡片真实感增强 */
.id-card-inner { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
.id-card::before {
  content: ""; position: absolute; left: 26px; top: -1px; width: 64px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  z-index: 4;
}

/* 激活提示 */
.id-activated-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: #7fbf95;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.id-activated-note.is-on { opacity: 1; transform: translateY(0); }
.id-activated-note::before { content: "✦"; color: var(--gold-2); }

/* 产线名称徽标（首页能力线） */
.line-kicker-en { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--faint); text-transform: uppercase; }

/* 办公产线：工具条目 */
.tool-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tool-item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); background: var(--bg-2);
  padding: 14px 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tool-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 16px 34px -26px rgba(164, 54, 42, 0.6); }
.tool-item .t-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 16px; flex-shrink: 0; }
.tool-item .t-name { font-size: 14.5px; font-weight: 600; display: block; }
.tool-item .t-sub { font-size: 11.5px; color: var(--muted); }
.tool-item .t-go { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .id-circuit path, .id-plus::before, .id-plus::after, .id-burst .ray, .id-socket.charging .id-plus { animation: none !important; }
}

/* ---- 通行证入口（身份牌由托管浮层展示） ---- */
.passport-entry {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(16, 20, 19, 0.08);
  border-radius: 18px;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 34px 60px -44px rgba(16, 20, 19, 0.85);
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.passport-entry::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(201, 160, 78, 0.28), transparent 70%);
  pointer-events: none;
}
.passport-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 40px 70px -44px rgba(16, 20, 19, 0.9);
}
.passport-ava {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.passport-meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.passport-name {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.passport-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.52);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.passport-cta {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  color: var(--gold-2);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   v4 · 首页芯片槽 + 全站抽象动效
   ========================================================================== */

[hidden] { display: none !important; }

.hero > .wrap { position: relative; z-index: 1; }

/* ---- 全屏电流：从面板边缘向芯片槽汇聚 ---- */
.hero-currents {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
.hero-currents .wire {
  stroke: url(#wireGrad);
  stroke-width: 1.25;
  fill: none;
  stroke-dasharray: 9 16;
  animation: wireFlow 3.2s linear infinite;
}
.hero-currents .w2 { animation-duration: 4.4s; animation-direction: reverse; }
.hero-currents .w3 { animation-duration: 2.8s; }
.hero-currents .w4 { animation-duration: 4.8s; animation-direction: reverse; }
.hero-currents .w5 { animation-duration: 3.6s; }
.hero-currents .w6 { animation-duration: 5.2s; animation-direction: reverse; }
.hero-currents .w7 { animation-duration: 4.1s; }
.hero-currents .w8 { animation-duration: 3.3s; animation-direction: reverse; }
.hero-currents .sparks circle { fill: #ffb9a8; filter: drop-shadow(0 0 6px rgba(194, 84, 63, 0.9)); }
@keyframes wireFlow { to { stroke-dashoffset: -50; } }

/* ---- 芯片控制台 ---- */
.chip-console { width: min(430px, 100%); margin: 0 auto; position: relative; z-index: 2; }
.chip-console-head {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 10px;
}
.chip-console-head span:last-child { color: var(--gold-2); }

.chip-well {
  position: relative;
  border-radius: 26px;
  padding: 18px;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(194, 84, 63, 0.12), transparent 55%),
    #080c0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.05),
    inset 0 -22px 46px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(0, 0, 0, 0.65),
    0 44px 90px -48px rgba(0, 0, 0, 0.95);
}
.chip-well::before {
  content: "";
  position: absolute; inset: 9px;
  border-radius: 19px;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.well-screw {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a423e, #0a0e0c 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 3;
}
.well-screw.s1 { left: 14px; top: 14px; }
.well-screw.s2 { right: 14px; top: 14px; }
.well-screw.s3 { left: 14px; bottom: 14px; }
.well-screw.s4 { right: 14px; bottom: 14px; }
.well-aura {
  position: absolute; inset: 12%;
  background: radial-gradient(circle, rgba(194, 84, 63, 0.20), transparent 62%);
  filter: blur(18px);
  animation: auraPulse 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes auraPulse { 0%, 100% { opacity: 0.5; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }

.chip-socket {
  position: relative;
  width: 100%;
  min-height: 306px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 28px 18px;
  border: 1px solid rgba(194, 84, 63, 0.26);
  border-radius: 17px;
  background:
    radial-gradient(circle at 50% 46%, rgba(194, 84, 63, 0.14), transparent 58%),
    #060a09;
  box-shadow: inset 0 0 46px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  color: inherit;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.chip-socket:hover {
  border-color: rgba(194, 84, 63, 0.55);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.95), 0 0 46px -14px rgba(194, 84, 63, 0.55);
}
.socket-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 72%);
}
.socket-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(226, 189, 118, 0.8), transparent);
  box-shadow: 0 0 18px rgba(226, 189, 118, 0.6);
  animation: socketScan 4.2s ease-in-out infinite;
}
@keyframes socketScan { 0%, 100% { transform: translateY(10px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 0.7; } 100% { transform: translateY(292px); } }
.socket-circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.socket-circuit path {
  stroke: rgba(194, 84, 63, 0.5);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 5 10;
  animation: currentIn 2.1s linear infinite;
}
.socket-circuit path:nth-child(2n) { stroke: rgba(201, 160, 78, 0.4); animation-duration: 3.1s; animation-direction: reverse; }
.socket-core {
  position: relative;
  z-index: 2;
  width: 98px; height: 98px;
  border-radius: 20px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #161d1a, #080c0b 62%);
  border: 1px solid rgba(194, 84, 63, 0.6);
  color: var(--gold-2);
  font-size: 32px; font-weight: 300; line-height: 1;
  box-shadow:
    0 0 0 7px rgba(194, 84, 63, 0.05),
    0 0 34px rgba(194, 84, 63, 0.34),
    inset 0 0 22px rgba(194, 84, 63, 0.16);
  animation: corePulse 3.2s ease-in-out infinite;
}
.socket-core::before, .socket-core::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 5px;
  background: repeating-linear-gradient(90deg, rgba(194, 84, 63, 0.75) 0 9px, transparent 9px 18px);
  opacity: 0.7;
}
.socket-core::before { top: -8px; }
.socket-core::after { bottom: -8px; }
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(194,84,63,.05), 0 0 30px rgba(194,84,63,.28), inset 0 0 22px rgba(194,84,63,.14); }
  50% { box-shadow: 0 0 0 14px rgba(194,84,63,.09), 0 0 54px rgba(194,84,63,.55), inset 0 0 26px rgba(194,84,63,.25); }
}
.socket-copy {
  position: relative; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  line-height: 2; text-align: center; color: rgba(255, 255, 255, 0.46);
}
.socket-copy b { color: var(--gold-2); font-weight: 600; letter-spacing: 0.16em; }

.chip-console-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 18px; margin-top: 12px;
}
.chip-foot-hint { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.38); }

/* ---- 登录后：芯片嵌入并凸出 ---- */
.chip-well .id-card {
  position: relative; z-index: 3;
  width: 100%; max-width: 380px;
  margin: 0 auto;
  cursor: pointer;
  outline: none;
}
.chip-well .id-card:focus-visible { box-shadow: 0 0 0 2px var(--gold-2), 0 40px 90px -45px rgba(0,0,0,.9); }
.chip-well .id-card.is-active {
  animation: chipSeat 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both, cardShadow 7s ease-in-out 1.2s infinite;
}
@keyframes chipSeat {
  0% { opacity: 0; transform: perspective(1200px) rotateY(-12deg) rotateX(8deg) translateY(34px) scale(0.74); filter: blur(9px); }
  55% { filter: blur(0); }
  100% { opacity: 1; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) translateY(-42px) scale(1.045); filter: none; }
}
@keyframes cardShadow {
  0%, 100% { box-shadow: 0 42px 92px -46px rgba(0,0,0,.95), 0 0 46px -12px rgba(194,84,63,.42); }
  50% { box-shadow: 0 50px 110px -42px rgba(0,0,0,.98), 0 0 74px -8px rgba(201,160,78,.55); }
}
.id-card-hint {
  margin-top: 14px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.42);
  text-align: right;
}
.chip-well .id-card:hover .id-card-hint { color: var(--gold-2); }

@media (max-width: 980px) {
  .hero-currents { display: none; }
  .chip-console { width: min(420px, 100%); }
}
@media (max-width: 620px) {
  .chip-socket { min-height: 260px; }
  .socket-scan { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-currents .wire, .hero-currents .sparks, .socket-scan, .socket-circuit path,
  .socket-core, .well-aura, .chip-well .id-card.is-active { animation: none !important; }
}

/* ---- 功能网格：奇数个时最后一项占满，消除空白灰格 ---- */
.feature-grid > .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---- 产品矩阵：用抽象动效填满空网格 ---- */
.matrix { align-items: stretch; }
.line-visual {
  position: relative;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.line-visual.wide { grid-column: span 2; }
.lv-head {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.42);
}
.lv-head span:last-child { color: var(--gold-2); }

/* 故事管线 */
.story-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding-top: 10px; }
.story-rail::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,84,63,.6), rgba(201,160,78,.6), transparent);
}
.story-node {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: rgba(255,255,255,.58);
}
.story-node::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid rgba(194,84,63,.8); background: #0d1211;
  box-shadow: 0 0 14px rgba(194,84,63,.5);
}
.story-node.on::before { background: var(--accent-2); box-shadow: 0 0 22px rgba(194,84,63,.9); }
.story-node.live::before { animation: nodePulse 2.2s ease-in-out infinite; }
@keyframes nodePulse { 0%,100% { box-shadow: 0 0 10px rgba(201,160,78,.5); } 50% { box-shadow: 0 0 26px rgba(201,160,78,.95); } }
.story-dot {
  position: absolute; top: 19px; left: 4%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 12px var(--gold-2);
  animation: storyTravel 4.4s linear infinite;
}
@keyframes storyTravel { 0% { left: 4%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 94%; opacity: 0; } }

/* 关卡曲线 */
.level-plot { width: 100%; height: 150px; }
.level-plot .track { stroke: rgba(255,255,255,.14); stroke-width: 1.4; fill: none; }
.level-plot .trace { stroke: rgba(194,84,63,.85); stroke-width: 1.6; fill: none; stroke-dasharray: 6 8; animation: currentIn 3s linear infinite; }
.level-plot .knot { fill: var(--gold); }

/* 办公流 */
.office-stream { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 9.5px; color: rgba(255,255,255,.55); }
.office-row { position: relative; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); padding: 9px 11px; overflow: hidden; }
.office-row::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(194,84,63,.22), transparent);
  animation: officeScan 3.6s ease-in-out infinite;
}
.office-row:nth-child(2)::after { animation-delay: 1.2s; }
.office-row b { color: var(--gold-2); font-weight: 400; }
@keyframes officeScan { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* 社区轨道 */
.orbit { position: relative; width: min(260px, 100%); aspect-ratio: 1 / 1; margin: 0 auto; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.orbit::before { inset: 12%; }
.orbit::after { inset: 30%; border-style: dashed; }
.orbit .core {
  position: absolute; inset: 42%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(194,84,63,.45), rgba(13,18,17,.9) 70%);
  color: var(--gold-2); font-family: var(--serif); font-size: 22px;
  box-shadow: 0 0 26px rgba(194,84,63,.4);
}
.orbit i {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal;
  font-family: var(--mono); font-size: 8px; color: rgba(255,255,255,.7);
  background: #0b100e; border: 1px solid rgba(194,84,63,.5);
  box-shadow: 0 0 14px rgba(194,84,63,.3);
}
.orbit i:nth-of-type(1) { top: 2%; left: 46%; }
.orbit i:nth-of-type(2) { top: 42%; right: 0; }
.orbit i:nth-of-type(3) { bottom: 4%; left: 46%; }
.orbit i:nth-of-type(4) { top: 42%; left: 0; }
.orbit .sweep { position: absolute; inset: 12%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(194,84,63,.35), transparent 70deg); animation: radarSweep 6s linear infinite; }

/* ---- 详情页英雄区：抽象信号场 ---- */
.hero-signal { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-signal svg { width: 100%; height: 100%; opacity: .62; }
.hero-signal .sig-ring { fill: none; stroke: rgba(194,84,63,.32); stroke-width: 1; }
.hero-signal .sig-ring.faint { stroke: rgba(255,255,255,.12); }
.hero-signal .sig-arc { fill: none; stroke: rgba(201,160,78,.4); stroke-width: 1; stroke-dasharray: 4 10; animation: wireFlow 5s linear infinite; }
.hero-signal .sig-node { fill: rgba(226,189,118,.9); }
.hero-signal .sig-scan { fill: rgba(194,84,63,.35); }
.hero-signal .sig-spark { fill: #ffb9a8; filter: drop-shadow(0 0 6px rgba(194,84,63,.9)); }
@media (max-width: 900px) { .hero-signal { opacity: .55; } }

/* ---- 产品结构示意：轻微扫描，避免静态灰块 ---- */
.terminal, .diff-demo, .search-demo, .finance-board { position: relative; overflow: hidden; }
.terminal::after, .diff-demo::after, .search-demo::after, .finance-board::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(194,84,63,.07) 50%, transparent 100%);
  transform: translateY(-100%);
  animation: panelScan 7s ease-in-out infinite;
}
.terminal:nth-of-type(2n)::after { animation-delay: 1.4s; }
@keyframes panelScan { 0% { transform: translateY(-100%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: .7; } 100% { transform: translateY(100%); opacity: 0; } }

@media (max-width: 760px) {
  .line-visual.wide { grid-column: auto; }
  .story-rail { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .story-rail::before { display: none; }
  .story-dot { display: none; }
}

/* 首页芯片：更强电极光 */
.hero-currents { opacity: 0.98; }
.hero-currents .wire { stroke-width: 1.65; stroke-dasharray: 10 13; }
.hero-currents .junctions circle {
  fill: #ffc7b8;
  filter: drop-shadow(0 0 8px rgba(194, 84, 63, 0.95));
  animation: nodePulse 3s ease-in-out infinite;
}
.hero-currents .junctions circle:nth-child(2n) { animation-delay: 1.1s; }
.chip-well { border-color: rgba(194, 84, 63, 0.18); }
.chip-socket { min-height: 320px; }
.socket-core { width: 112px; height: 112px; font-size: 38px; }
.socket-copy { font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.socket-copy b { font-size: 13px; display: inline-block; margin-top: 4px; }

/* 芯片槽外部能量环与更醒目的加入文案 */
.chip-console::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 560px; height: 560px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(194,84,63,.16) 79%, rgba(226,189,118,.12) 84%, transparent 90%);
  filter: blur(7px);
  animation: radarSweep 11s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.chip-console > * { position: relative; z-index: 1; }
.socket-copy { color: rgba(255,255,255,.7); font-size: 11.5px; letter-spacing: .16em; }
.socket-copy b { font-size: 14px; letter-spacing: .18em; }
@media (max-width: 620px) { .chip-console::before { width: 380px; height: 380px; } }

/* 产品页英雄信号场更清晰 */
.hero-signal svg { opacity: .82; }
.hero-signal .sig-ring { stroke: rgba(194,84,63,.42); }
.hero-signal .sig-ring.faint { stroke: rgba(255,255,255,.16); }
.hero-signal .sig-arc { stroke: rgba(201,160,78,.52); }
.hero-signal .sig-hex polygon { fill: rgba(194,84,63,.035); stroke: rgba(201,160,78,.5); stroke-width: 1; }
.hero-signal .sig-hex circle { fill: rgba(226,189,118,.9); }

/* About 五条产线：用一条链路视觉填满空网格 */
.route-visual {
  grid-column: span 3;
  border: 0;
  min-height: 0;
  padding: clamp(20px, 2.6vw, 30px);
}
@media (max-width: 1100px) { .route-visual { grid-column: span 2; } }
@media (max-width: 760px) { .route-visual { grid-column: span 1; } }

/* 抽象面板的动态底光 */
.viz::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: radial-gradient(circle at 32% 28%, rgba(194, 84, 63, 0.16), transparent 46%);
  animation: vizDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes vizDrift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); opacity: .55; }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: 1; }
}

/* 芯片槽保持稳定高度，登录前后不跳动 */
.chip-well { min-height: 356px; display: flex; align-items: center; justify-content: center; }
.chip-well .chip-socket, .chip-well .id-card { flex: 0 0 auto; }
@media (max-width: 620px) { .chip-well { min-height: 310px; } }

/* 平板宽度：避免产品矩阵 / 五产线链路出现新的空网格 */
@media (max-width: 1100px) {
  .line-visual { grid-column: 1 / -1; }
  .matrix > .product:only-of-type { grid-column: 1 / -1; }
  .route-visual { grid-column: 1 / -1; }
  .route-grid > .route:nth-of-type(5) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .route-visual { grid-column: auto; }
  .route-grid > .route:nth-of-type(5) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .chip-console::before, .well-aura, .socket-scan, .socket-core, .socket-circuit path,
  .hero-currents .wire, .hero-currents .sparks, .hero-currents .junctions circle,
  .story-dot, .office-row::after, .viz::before, .hero-signal .sig-arc,
  .terminal::after, .diff-demo::after, .search-demo::after, .finance-board::after { animation: none !important; }
  .hero-currents .sparks, .hero-signal .sig-spark { display: none; }
}

/* 电极光脉冲：在电缆上跑动的短高光 */
.hero-currents .pulse {
  fill: none;
  stroke: #ffe3ca;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 3 46;
  opacity: .95;
  animation: wireFlow 2.4s linear infinite;
}
.hero-currents .p2 { animation-duration: 3.1s; }
.hero-currents .p3 { animation-duration: 2.2s; }
.hero-currents .p4 { animation-duration: 3.6s; }
.hero-currents .p5 { animation-duration: 3.3s; }
.hero-currents .p6 { animation-duration: 2.7s; }
.hero-currents .p7 { animation-duration: 4.0s; }
.hero-currents .p8 { animation-duration: 2.9s; }
.chip-well .id-card.is-active { filter: drop-shadow(0 26px 26px rgba(0,0,0,.55)); }

/* ==========================================================================
   v5 · 霁禾壳下载页
   ========================================================================== */

.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.detail-hero .download-actions .btn-ghost { border-color: rgba(255,255,255,.3); color: var(--white); }
.detail-hero .download-actions .btn-ghost:hover { background: var(--white); color: var(--ink); }
.dl-detect { margin: 14px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.46); }

/* 壳概念窗 */
.shell-mock {
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
  background: #0b100e;
  box-shadow: 0 50px 100px -60px rgba(0,0,0,.95);
  overflow: hidden;
}
.shell-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: rgba(255,255,255,.42);
}
.shell-bar i { width: 8px; height: 8px; border-radius: 50%; background: #39413d; }
.shell-bar i:nth-child(1) { background: #a4362a; }
.shell-bar i:nth-child(2) { background: #c9a04e; }
.shell-bar span { margin-left: 8px; color: rgba(255,255,255,.65); letter-spacing: .18em; }
.shell-bar em { margin-left: auto; font-style: normal; color: var(--gold-2); letter-spacing: .14em; }
.shell-body { display: grid; grid-template-columns: 62px minmax(0,1fr); min-height: 330px; }
.shell-side {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 0; border-right: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.015);
}
.shell-ava {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 4px;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  color: #fff; font-family: var(--serif); font-size: 15px;
}
.shell-app {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.1); border-radius: 9px;
  font-family: var(--serif); font-size: 12px; color: rgba(255,255,255,.5);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.shell-app.on { border-color: rgba(194,84,63,.6); color: #f0b3a4; background: rgba(164,54,42,.16); box-shadow: 0 0 16px rgba(194,84,63,.25); }
.shell-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.shell-account {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: rgba(255,255,255,.55);
}
.shell-account .dot { width: 6px; height: 6px; border-radius: 50%; background: #7fbf95; box-shadow: 0 0 10px #7fbf95; animation: shellDot 2.6s ease-in-out infinite; }
.shell-account b { margin-left: auto; color: var(--gold-2); font-weight: 400; letter-spacing: .14em; }
@keyframes shellDot { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
.shell-tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.shell-tile {
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025);
  padding: 12px 12px 11px; display: flex; flex-direction: column; gap: 5px;
  animation: tileBreathe 5.2s ease-in-out infinite;
}
.shell-tile:nth-child(2n) { animation-delay: 1.4s; }
.shell-tile.on { border-color: rgba(194,84,63,.35); background: rgba(164,54,42,.08); }
.shell-tile b { font-size: 12px; font-weight: 600; color: #fff; }
.shell-tile small { font-family: var(--mono); font-size: 8.5px; color: rgba(255,255,255,.38); letter-spacing: .06em; }
@keyframes tileBreathe { 0%,100% { border-color: rgba(255,255,255,.07); } 50% { border-color: rgba(194,84,63,.28); } }
.shell-stream { display: flex; align-items: flex-end; gap: 3px; height: 36px; margin-top: 2px; }
.shell-stream i { flex: 1; height: 22%; background: linear-gradient(180deg, var(--accent-2), rgba(194,84,63,.12)); border-radius: 1px; animation: streamPulse 1.6s ease-in-out infinite alternate; }
.shell-stream i:nth-child(2n) { height: 48%; animation-delay: -.4s; }
.shell-stream i:nth-child(3n) { height: 72%; animation-delay: -.8s; }
.shell-stream i:nth-child(4n) { height: 36%; animation-delay: -1.1s; }
@keyframes streamPulse { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.shell-foot { margin-top: auto; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; color: rgba(255,255,255,.28); }
.shell-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(194,84,63,.08) 50%, transparent 100%);
  transform: translateY(-100%); animation: panelScan 8s ease-in-out infinite;
}

.shell-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.shell-tool {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 18px; background: var(--bg-2); color: inherit; text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.shell-tool:hover { background: #fff; transform: translateY(-2px); }
.st-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 15px; }
.st-name { font-size: 14.5px; font-weight: 600; }
.st-sub { font-size: 12px; color: var(--muted); line-height: 1.7; }
.shell-tool em { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 8.5px; font-style: normal; letter-spacing: .1em; color: var(--faint); border: 1px solid var(--line); padding: 2px 6px; background: var(--bg); }

/* 下载平台卡 */
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.dl-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border: 1px solid var(--line); background: var(--bg-2);
  color: inherit; text-decoration: none;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.dl-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 26px 50px -40px rgba(164,54,42,.55); }
.dl-card.is-detected { border-color: var(--accent); box-shadow: inset 0 0 0 1px rgba(164,54,42,.18), 0 24px 48px -40px rgba(164,54,42,.5); }
.dl-os { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--accent); }
.dl-os em { font-style: normal; font-size: 8.5px; color: var(--white); background: var(--accent); padding: 3px 7px; letter-spacing: .06em; }
.dl-card b { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.dl-card small { font-size: 13px; line-height: 1.75; color: var(--muted); }
.dl-actions { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-version { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--faint); }
.dl-soon { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--faint); border: 1px dashed var(--line); padding: 10px 14px; }
.dl-card.is-soon { opacity: .72; }
.dl-sha { margin: 4px 0 0; font-family: var(--mono); font-size: 9.5px; color: var(--faint); }
.dl-sha summary { cursor: pointer; letter-spacing: .08em; }
.dl-sha code { display: block; margin-top: 7px; padding: 8px; background: rgba(16,20,19,.05); color: var(--ink-2); font-size: 9px; word-break: break-all; line-height: 1.6; }
.dl-fineprint { margin: 18px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--muted); }

/* 产品详情页的壳提示 */
.module-note {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid var(--line); background: var(--bg-2); padding: 14px 18px; margin-bottom: 28px;
  font-size: 13px; color: var(--muted);
}
.module-note b { color: var(--ink); font-weight: 600; margin-right: 8px; }
.module-note a { color: var(--accent); white-space: nowrap; font-size: 12.5px; }

@media (max-width: 900px) {
  .shell-tool-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shell-body { grid-template-columns: 54px minmax(0,1fr); }
  .shell-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .download-grid { grid-template-columns: 1fr; }
  .module-note { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 520px) {
  .shell-tool-grid { grid-template-columns: 1fr; }
  .shell-tiles { grid-template-columns: 1fr; }
  .shell-body { grid-template-columns: 44px minmax(0,1fr); }
  .shell-main { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .shell-tile, .shell-stream i, .shell-account .dot, .shell-scan { animation: none !important; }
}

/* ==========================================================================
   v6 · 芯片集成电路走线（直角、过孔、电光电子）
   ========================================================================== */

.hero-currents .wire {
  fill: none;
  stroke: rgba(201, 160, 78, 0.4);
  stroke-width: 1.15;
  stroke-linejoin: miter;
  stroke-linecap: square;
  stroke-dasharray: none;
  animation: none;
}
.hero-currents .wire.a { stroke: rgba(194, 84, 63, 0.52); }
.hero-currents .wire.b { stroke: rgba(226, 189, 118, 0.4); }
.hero-currents .wire.c { stroke: rgba(201, 160, 78, 0.28); }

.hero-currents .vias circle {
  fill: #0a0e0c;
  stroke: rgba(226, 189, 118, 0.7);
  stroke-width: 1.1;
}
.hero-currents .pads rect {
  fill: rgba(201, 160, 78, 0.78);
  stroke: rgba(255, 225, 180, 0.8);
  stroke-width: 0.7;
}
.hero-currents .electrons circle {
  fill: #fff1d4;
  filter: drop-shadow(0 0 6px rgba(255, 196, 120, 0.95));
}

.socket-circuit path {
  fill: none;
  stroke: rgba(201, 160, 78, 0.5);
  stroke-width: 1.15;
  stroke-linejoin: miter;
  stroke-linecap: square;
  stroke-dasharray: none;
  animation: none;
}
.socket-circuit .socket-vias circle {
  fill: #090d0b;
  stroke: rgba(226, 189, 118, 0.65);
  stroke-width: 1.1;
}
.socket-circuit .socket-electrons circle {
  fill: #fff1d4;
  filter: drop-shadow(0 0 5px rgba(255, 196, 120, 0.95));
}

.socket-core .pin-col {
  position: absolute;
  top: 13px; bottom: 13px;
  width: 5px;
  background: repeating-linear-gradient(180deg, rgba(194, 84, 63, 0.75) 0 9px, transparent 9px 18px);
  opacity: 0.75;
}
.socket-core .pin-col.left { left: -8px; }
.socket-core .pin-col.right { right: -8px; }

.socket-copy { line-height: 1.9; }
.socket-state {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.76);
}
.socket-copy b { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-currents .electrons, .socket-electrons { display: none; }
}

/* 芯片内核：淡die纹理 */
.socket-core {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(145deg, #161d1a, #080c0b 62%);
}

/* ==========================================================================
   v7 · 高密度 PCB 辉光层（参考芯片板质感，沿用品牌红/金）
   ========================================================================== */

.hero-currents .trace-halo path {
  fill: none;
  stroke: rgba(194, 84, 63, 0.22);
  stroke-width: 6;
  stroke-linejoin: miter;
  filter: blur(4px);
}
.hero-currents .pcb-etch path {
  fill: none;
  stroke: rgba(201, 160, 78, 0.13);
  stroke-width: 0.8;
  stroke-linejoin: miter;
}
.hero-currents .traces .wire {
  fill: none;
  stroke: url(#traceGrad);
  stroke-width: 1.35;
  stroke-linejoin: miter;
  stroke-linecap: square;
  opacity: 0.65;
}
.hero-currents .traces .wire.b { opacity: 0.54; }
.hero-currents .traces .wire.c { opacity: 0.44; }

.hero-currents .smd rect {
  fill: #2a1814;
  stroke: rgba(226, 189, 118, 0.42);
  stroke-width: 0.6;
}
.hero-currents .smd rect.cap {
  fill: rgba(226, 189, 118, 0.72);
  stroke: none;
}
.hero-currents .electrons .tail {
  fill: #ffd9a8;
  opacity: 0.38;
}

.hero-currents .vias circle { r: 2.7; }
.socket-core {
  box-shadow:
    0 0 0 8px rgba(194, 84, 63, 0.05),
    0 0 44px rgba(194, 84, 63, 0.45),
    inset 0 0 26px rgba(194, 84, 63, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
@media (prefers-reduced-motion: reduce) {
  .hero-currents .electrons { display: none; }
}

/* ==========================================================================
   v8 · 收敛密度与辉光，保留芯片电路质感与留白
   ========================================================================== */

.hero-currents { opacity: 0.8; }
.hero-currents .trace-halo path {
  stroke: rgba(194, 84, 63, 0.12);
  stroke-width: 4;
  filter: blur(3px);
}
.hero-currents .pcb-etch path {
  stroke: rgba(201, 160, 78, 0.08);
  stroke-width: 0.7;
}
.hero-currents .traces .wire { stroke-width: 1.1; opacity: 0.5; }
.hero-currents .traces .wire.b { opacity: 0.42; }
.hero-currents .traces .wire.c { opacity: 0.34; }
.hero-currents .vias circle { stroke: rgba(226, 189, 118, 0.5); }
.hero-currents .pads rect { fill: rgba(201, 160, 78, 0.6); }
.hero-currents .smd { opacity: 0.7; }
.hero-currents .electrons circle { filter: drop-shadow(0 0 4px rgba(255, 196, 120, 0.8)); }

.socket-circuit path { stroke: rgba(201, 160, 78, 0.4); }
.socket-circuit .socket-vias circle { stroke: rgba(226, 189, 118, 0.5); }
.socket-core {
  box-shadow:
    0 0 0 7px rgba(194, 84, 63, 0.04),
    0 0 30px rgba(194, 84, 63, 0.3),
    inset 0 0 22px rgba(194, 84, 63, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.well-aura { opacity: 0.7; }

/* ==========================================================================
   v9 · 身份卡嵌入插槽：居中贴合，仅轻微凸出
   ========================================================================== */

.chip-well.is-seated { min-height: 0; padding: 14px; }
.chip-well.is-seated .id-card { width: 100%; max-width: none; }
.chip-well.is-seated .id-card-inner {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.chip-well.is-seated .id-foot { margin-top: auto; }
.chip-well.is-seated .id-card.is-active {
  animation: chipSeatFlat 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both, cardShadow 7s ease-in-out 1.2s infinite;
}
@keyframes chipSeatFlat {
  0% { opacity: 0; transform: translateY(26px) scale(0.9); filter: blur(8px); }
  60% { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: none; }
}
@media (max-width: 620px) {
  .chip-well.is-seated .id-card-inner { min-height: 260px; }
}
