/* ═══════════════════════════════════════════════════
   MOERIN TECH — 萌凛科技 · geek / cyber design system
   ═══════════════════════════════════════════════════ */
:root {
  --bg: #04060c;
  --bg-2: #070b14;
  --panel: #0a101d;
  --panel-2: #0d1424;
  --line: rgba(95, 242, 192, 0.13);
  --line-strong: rgba(95, 242, 192, 0.35);
  --mint: #5ff2c0;
  --mint-soft: rgba(95, 242, 192, 0.55);
  --purple: #b9a7f2;
  --purple-soft: rgba(185, 167, 242, 0.5);
  --text: #dce7f2;
  --muted: #7f8ea1;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --rad: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(95, 242, 192, 0.28); color: #eafff6; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #16223a; border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(95, 242, 192, 0.4); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ─────────── buttons ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--mono); font-size: 15px; font-weight: 500;
  padding: 13px 26px; letter-spacing: 0.4px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.18s ease, color 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--mint), #38d9a9);
  color: #03130c;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost {
  border: 1px solid var(--line-strong); color: var(--mint);
  background: rgba(95, 242, 192, 0.04);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-ghost:hover { background: rgba(95, 242, 192, 0.12); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { width: 100%; margin-top: 18px; }

/* ─────────── nav ─────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(4, 6, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1360px; margin: 0 auto; padding: 0 28px;
  height: 72px; display: flex; align-items: center; gap: 34px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo {
  width: 46px; height: 46px; border-radius: 12px; overflow: hidden;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s;
}
.nav-brand:hover .nav-logo { border-color: var(--line-strong); }
.nav-logo img {
  width: 68%; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}
.nav-name { display: flex; flex-direction: column; line-height: 1.2; }
.nav-name b { font-size: 17px; letter-spacing: 1px; }
.nav-name i { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--mint); letter-spacing: 2.5px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; color: var(--muted); padding: 8px 12px; border-radius: 8px;
  transition: color 0.2s, background 0.2s; position: relative; white-space: nowrap;
}
.nav-links a::before { content: "> "; font-family: var(--mono); color: var(--mint); opacity: 0; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::before, .nav-links a.active::before { opacity: 1; }
.nav-links a.active { background: rgba(95, 242, 192, 0.07); color: var(--mint); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-status {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--mint-soft);
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
  display: inline-block; flex-shrink: 0;
}
.lang-toggle {
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--mint); border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 6px 12px; background: rgba(95, 242, 192, 0.05);
  transition: background 0.2s; white-space: nowrap;
}
.lang-toggle:hover { background: rgba(95, 242, 192, 0.15); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--mint); transition: 0.25s; }

/* ─────────── hero ─────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px 28px 70px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  opacity: 0.36;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.55) 68%, transparent 98%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.55) 68%, transparent 98%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(95, 242, 192, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 242, 192, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, 0.09) 3px 4px);
  opacity: 0.5;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 980px; }
.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px;
  color: var(--mint); border: 1px solid var(--line-strong);
  padding: 5px 14px; border-radius: 6px; background: rgba(95, 242, 192, 0.06);
}
.chip-purple { color: var(--purple); border-color: var(--purple-soft); background: rgba(185, 167, 242, 0.06); }
.hero-title {
  font-size: clamp(42px, 7.2vw, 86px); font-weight: 800; line-height: 1.18;
  letter-spacing: 2px; margin-bottom: 26px;
}
.hl {
  color: var(--mint); position: relative;
  text-shadow: 0 0 20px rgba(95, 242, 192, 0.35);
}
.caret { color: var(--mint); animation: blink 1s steps(1) infinite; font-weight: 400; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
.hero-typed {
  font-family: var(--mono); font-size: clamp(14px, 2vw, 18px); color: var(--text);
  min-height: 1.9em; margin-bottom: 18px;
}
.prompt { color: var(--mint); margin-right: 10px; }
.typed-caret { color: var(--mint); animation: blink 0.9s steps(1) infinite; }
.hero-sub { color: var(--muted); font-size: 16.5px; margin-bottom: 38px; }
.hero-sub b { color: var(--purple); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 58px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  max-width: 880px; margin: 0 auto;
}
.stat { background: rgba(6, 9, 17, 0.86); padding: 20px 12px; }
.stat b {
  display: block; font-family: var(--mono); font-size: clamp(24px, 3vw, 34px);
  color: var(--mint); font-weight: 700; line-height: 1.2;
}
.stat b i { font-style: normal; }
.stat span { font-size: 13px; color: var(--muted); letter-spacing: 0.5px; }

.hero-terminal { position: relative; z-index: 2; width: min(860px, 94vw); margin-top: 64px; }
.term {
  background: rgba(7, 11, 20, 0.92); border: 1px solid var(--line);
  border-radius: var(--rad); overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: rgba(13, 20, 36, 0.9); border-bottom: 1px solid var(--line);
}
.term-btn { width: 12px; height: 12px; border-radius: 50%; }
.term-btn.r { background: #ff5f57; } .term-btn.y { background: #febc2e; } .term-btn.g { background: #28c840; }
.term-title { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-left: 10px; }
.term-clock { font-family: var(--mono); font-size: 12px; color: var(--mint-soft); margin-left: auto; }
.term-body {
  font-family: var(--mono); font-size: 13.5px; line-height: 1.85;
  padding: 18px 22px 22px; min-height: 416px; text-align: left;
  white-space: pre-wrap; word-break: break-all;
}
.term-body .t-cmd { color: #e8f6ef; }
.term-body .t-out { color: var(--muted); }
.term-body .t-ok { color: var(--mint); }
.term-body .t-warn { color: #ffd166; }
.term-body .t-purple { color: var(--purple); }
.term-body .t-prompt { color: var(--mint); }
.term-static { min-height: 0; }
.term-static pre { font-family: var(--mono); font-size: 13.5px; line-height: 1.8; }
.c-key { color: var(--mint); } .c-str { color: #ffd8a8; } .c-num { color: var(--purple); } .c-ok { color: #69db7c; }
.hero-scrollhint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: 4px; color: var(--muted);
  animation: float-y 2.4s ease-in-out infinite; z-index: 3;
}
@keyframes float-y { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ─────────── ticker ─────────── */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.7); overflow: hidden; padding: 14px 0;
}
.ticker-track {
  display: flex; gap: 34px; width: max-content;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 1.5px; color: var(--muted);
  animation: ticker 36s linear infinite;
}
.ticker-track span { white-space: nowrap; }
.ticker-track em { font-style: normal; color: var(--mint); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ─────────── sections ─────────── */
.section { padding: 118px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-tag {
  font-family: var(--mono); font-size: 13px; letter-spacing: 3px;
  color: var(--mint); margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; letter-spacing: 1.5px; }
.sec-desc { color: var(--muted); margin-top: 16px; font-size: 16px; }

/* ─────────── nodes map ─────────── */
.nodes-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 30px; align-items: start; }
.map-frame {
  position: relative; background: rgba(7, 11, 20, 0.85);
  border: 1px solid var(--line); border-radius: var(--rad); padding: 18px;
}
.map-frame-corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--mint); opacity: 0.8; }
.map-frame-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; border-radius: var(--rad) 0 0 0; }
.map-frame-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; border-radius: 0 var(--rad) 0 0; }
.map-frame-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; border-radius: 0 0 0 var(--rad); }
.map-frame-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; border-radius: 0 0 var(--rad) 0; }
#mapCanvas { width: 100%; display: block; cursor: crosshair; }
.map-legend {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 12px; padding: 0 6px 4px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.map-legend span { display: flex; align-items: center; gap: 7px; }
.lg { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lg-hq { background: var(--mint); }
.lg-cn { background: #ffd166; }
.lg-global { background: var(--purple); }

.nodes-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.ntab {
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); padding: 8px 16px; border-radius: 8px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.ntab b { color: inherit; margin-left: 4px; }
.ntab:hover { color: var(--text); border-color: var(--line-strong); }
.ntab.active { color: #03130c; background: var(--mint); border-color: var(--mint); font-weight: 700; }
.nodes-list { list-style: none; display: flex; flex-direction: column; gap: 8px; max-height: 460px; overflow-y: auto; padding-right: 4px; }
.node-item {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 16px; background: rgba(10, 16, 29, 0.6);
  transition: border-color 0.2s, background 0.2s; cursor: pointer;
}
.node-item:hover, .node-item.hl-node { border-color: var(--line-strong); background: rgba(95, 242, 192, 0.06); }
.node-item.dim { opacity: 0.25; }
.node-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.node-dot.cn { background: #ffd166; }
.node-dot.global { background: var(--purple); }
.node-dot.hq { background: var(--mint); }
.node-city { font-weight: 600; font-size: 15.5px; }
.node-code { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 1px; margin-left: 2px; }
.node-meta { margin-left: auto; text-align: right; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.5; }
.node-meta b { display: block; color: var(--mint-soft); font-weight: 500; }

/* ─────────── services ─────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--panel);
  padding: 30px 26px 24px; overflow: hidden;
  transition: border-color 0.25s ease;
}
.svc-card:hover { border-color: var(--line-strong); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(95, 242, 192, 0.07);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.svc-icon svg { width: 26px; height: 26px; stroke: var(--mint); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-icon svg .fill { fill: var(--mint); stroke: none; }
.svc-card h3 { font-size: 19px; letter-spacing: 0.5px; }
.svc-en { font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px; color: var(--mint-soft); margin: 4px 0 14px; }
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.8; }
.svc-card ul { list-style: none; margin-top: 14px; }
.svc-card li { font-size: 13px; color: var(--text); opacity: 0.85; padding: 3px 0 3px 18px; position: relative; }
.svc-card li::before { content: "▸"; position: absolute; left: 0; color: var(--mint); font-family: var(--mono); }
.svc-more {
  display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 12px;
  color: var(--muted); letter-spacing: 1px; transition: color 0.2s;
}
.svc-card:hover .svc-more { color: var(--mint); }

/* ─────────── enterprise ─────────── */
#enterprise { position: relative; overflow: hidden; }
.ent-texture {
  position: absolute; inset: 0; pointer-events: none;
  background: url("../assets/ent-texture.png") center right / cover no-repeat;
  opacity: 0.1;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 25%, transparent 88%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 25%, transparent 88%);
}
#enterprise .container { position: relative; z-index: 1; }
.ent-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: center; }
.ent-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.ent-item:last-child { border-bottom: none; }
.ent-item h4 { font-size: 17.5px; margin-bottom: 6px; letter-spacing: 0.5px; }
.ent-item p { font-size: 14px; color: var(--muted); }
.ent-panel .term { margin-bottom: 22px; }
.ent-steps { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.estep {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px;
  background: rgba(10, 16, 29, 0.6); transition: border-color 0.2s;
}
.estep:hover { border-color: var(--line-strong); }
.estep i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--mint); }
.estep span { font-size: 14px; font-weight: 600; }
.estep-arrow { color: var(--mint-soft); font-family: var(--mono); }

/* ─────────── projects ─────────── */
.proj-list { display: flex; flex-direction: column; gap: 26px; }
.proj-row {
  display: grid; grid-template-columns: 400px 1fr;
  border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden;
  background: var(--panel);
  transition: border-color 0.25s ease;
}
.proj-row:hover { border-color: var(--line-strong); }
.proj-row:nth-child(even) { grid-template-columns: 1fr 400px; }
.proj-row:nth-child(even) .proj-visual { order: 2; border-right: none; border-left: 1px solid var(--line); }
.proj-visual {
  background: var(--panel-2); border-right: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 42px 38px; position: relative; overflow: hidden;
}
.proj-visual img { max-width: 100%; max-height: 110px; width: auto; position: relative; z-index: 1; }
.proj-visual img.proj-logo-mascot { max-height: 190px; }
.proj-info { padding: 34px 38px 30px; display: flex; flex-direction: column; }
.proj-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.proj-head h3 { font-size: 23px; letter-spacing: 0.5px; }
.proj-badge {
  margin-left: auto; font-family: var(--mono); font-size: 13.5px; font-weight: 700;
  letter-spacing: 1.5px; padding: 8px 18px; border-radius: 6px; white-space: nowrap;
}
.badge-spunoff {
  color: #cfc2ff; border: 1px solid var(--purple-soft);
  background: rgba(185, 167, 242, 0.12);
}
.badge-active {
  color: var(--mint); border: 1px solid var(--line-strong);
  background: rgba(95, 242, 192, 0.12);
}
.proj-desc { font-size: 14px; color: var(--muted); line-height: 1.85; }
.proj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.proj-chips span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px;
  color: var(--mint-soft); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 6px; background: rgba(95, 242, 192, 0.04);
}
.proj-note {
  font-size: 12px; color: var(--muted); opacity: 0.78; line-height: 1.8;
  border-left: 2px solid var(--line-strong); padding-left: 12px; margin-top: 16px;
}
.proj-link {
  margin-top: auto; padding-top: 20px;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.5px; color: var(--mint);
  display: inline-block;
}
.proj-link:hover { text-decoration: underline; }

/* ─────────── advantages ─────────── */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  border: 1px solid var(--line); border-radius: var(--rad); padding: 34px 26px;
  background: var(--panel);
  transition: border-color 0.25s;
}
.adv-card:hover { border-color: var(--line-strong); }
.adv-num {
  display: block; font-family: var(--mono); font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700; color: var(--mint); line-height: 1.15; margin-bottom: 12px;
}
.adv-num span { font-size: 16px; color: var(--mint-soft); margin-left: 2px; }
.adv-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.adv-card p { font-size: 13.5px; color: var(--muted); }

/* ─────────── certifications ─────────── */
.cert-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.cert-card {
  grid-column: span 3;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--panel);
  padding: 18px 18px 20px; color: inherit; text-decoration: none;
  transition: border-color 0.25s ease;
}
.cert-card:hover { border-color: var(--line-strong); }
.cert-wide { grid-column: span 4; }
.cert-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 2px;
  color: var(--mint); opacity: 0.8; margin-bottom: 12px;
}
.cert-img {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px; margin-bottom: 14px; min-height: 170px; overflow: hidden;
}
.cert-img img {
  max-width: 100%; max-height: 300px; border-radius: 4px;
}
.cert-name { font-weight: 700; font-size: 14.5px; line-height: 1.45; }
.cert-sub { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 6px; letter-spacing: 0.5px; }
.cert-note {
  margin-top: 26px; text-align: center;
  font-size: 12.5px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.5px;
}

/* ─────────── about / contact ─────────── */
.about-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: start; }
.about-figure {
  border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden;
  margin-bottom: 26px; background: var(--panel);
  transition: border-color 0.25s;
}
.about-figure:hover { border-color: var(--line-strong); }
.about-figure img { width: 100%; display: block; }
.about-figure figcaption {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--mint-soft);
  padding: 10px 16px; border-top: 1px solid var(--line); background: rgba(13, 20, 36, 0.9);
}
.about-lead { font-size: 17.5px; margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-copy p b { color: var(--text); font-weight: 600; }
.about-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.badge {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.5px;
  border: 1px solid var(--line-strong); color: var(--mint);
  padding: 6px 14px; border-radius: 6px; background: rgba(95, 242, 192, 0.05);
}
.badge-purple { color: var(--purple); border-color: var(--purple-soft); background: rgba(185, 167, 242, 0.06); }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--panel);
  padding: 30px 28px;
}
.contact-head { margin-bottom: 20px; }
.contact-status {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--mint-soft);
  display: flex; align-items: center; gap: 7px; margin-bottom: 8px;
}
.contact-head h3 { font-size: 24px; letter-spacing: 1px; }
.c-row {
  display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line);
  font-size: 14.5px; align-items: baseline;
}
.c-row:last-of-type { border-bottom: none; }
.c-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--mint-soft); width: 74px; flex-shrink: 0; }
.c-value { color: var(--text); line-height: 1.7; }
.c-tel { font-family: var(--mono); font-size: 20px; color: var(--mint); font-weight: 700; letter-spacing: 1px; }
.c-tel:hover { text-decoration: underline; }
.c-qq { font-family: var(--mono); font-size: 17px; color: var(--mint); font-weight: 700; letter-spacing: 1px; }
.c-qq:hover { text-decoration: underline; }
.c-wechat { display: flex; align-items: center; gap: 12px; }
.qr-thumb {
  width: 88px; height: 88px; flex-shrink: 0;
  background: #fff; border-radius: 8px; padding: 5px;
  border: 1px solid var(--line-strong);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: left center; position: relative; z-index: 2;
}
.qr-thumb img { width: 100%; height: 100%; }
.qr-thumb:hover { transform: scale(2.1); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); }

/* ─────────── footer ─────────── */
.footer { border-top: 1px solid var(--line); background: #03050a; padding-top: 64px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.f-brand p { color: var(--muted); font-size: 13.5px; margin-top: 18px; }
.f-mono { font-family: var(--mono); font-size: 12px !important; color: var(--mint-soft) !important; }
.f-col h5 {
  font-family: var(--mono); font-size: 12px; letter-spacing: 2.5px;
  color: var(--mint); margin-bottom: 18px;
}
.f-col a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; transition: color 0.2s; }
.f-col a:hover { color: var(--mint); }
.footer-bar { padding: 26px 0 30px; text-align: center; }
.footer-bar p { font-size: 13px; color: var(--muted); }
.footer-bar b { color: var(--text); }
.f-beian { margin-top: 8px; font-family: var(--mono); font-size: 12px !important; }
.f-beian a { color: var(--muted); transition: color 0.2s; }
.f-beian a:hover { color: var(--mint); }
.f-beian .sep { margin: 0 12px; color: #26334d; }

/* ─────────── backtop ─────────── */
.backtop {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: rgba(7, 11, 20, 0.9);
  color: var(--mint); display: flex; align-items: center; justify-content: center;
  font-size: 15px; opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.backtop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.backtop:hover { background: rgba(95, 242, 192, 0.1); }

/* ─────────── reveal animation ─────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.9, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────── responsive ─────────── */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-row, .proj-row:nth-child(even) { grid-template-columns: 1fr; }
  .proj-row:nth-child(even) .proj-visual { order: 0; border-left: none; border-right: none; }
  .proj-visual { border-right: none; border-bottom: 1px solid var(--line); padding: 34px 30px; }
  .proj-visual img { max-height: 120px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-card, .cert-wide { grid-column: span 6; }
  .cert-tax { grid-column: span 12; }
  .nodes-layout { grid-template-columns: 1fr; }
  .nodes-list { max-height: 320px; }
  .ent-layout, .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-status { display: none; }
  .nav-inner { gap: 16px; padding: 0 20px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 7px; font-size: 13px; }
  .nav-right { gap: 12px; }
}
@media (max-width: 990px) {
  .nav-cta { display: none; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 20px 20px;
    background: rgba(4, 6, 12, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform 0.3s ease; backdrop-filter: blur(14px);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 10px; font-size: 16px; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .hero { padding-top: 120px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 84px 0; }
}
@media (max-width: 640px) {
  .term-body { font-size: 12px; min-height: 490px; }
  .svc-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .cert-card, .cert-wide, .cert-tax { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { width: 100%; }
  .ent-steps { justify-content: flex-start; }
  .estep-arrow { display: none; }
  .container { padding: 0 20px; }
  .backtop { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
