/* ================================================================
   沐江电气 — 星座导航设计系统
   配色: 纸色 #f5f3eb / 浅蓝连线 / 绿节点 #2a6b5c
   字体: 宋体标题 / PingFang正文 / 等宽标签
   ================================================================ */

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ========== Custom Properties ========== */
:root {
  --c-bg: #f5f3eb;
  --c-bg-alt: #ede9da;
  --c-paper: #faf8f1;
  --c-ink: #2a2a2a;
  --c-ink-light: #6b6b6b;
  --c-ink-faint: #9a9a9a;
  --c-gold: #c89b3c;
  --c-gold-light: #e0bc6a;
  --c-gold-pale: rgba(200, 155, 60, 0.12);
  --c-line-blue: rgba(130, 170, 210, 0.25);
  --c-watermark: rgba(90, 115, 140, 0.065);  /* 浅灰蓝色水印 */
  --c-ink-blue: #34567a;  /* 墨蓝色 */
  --c-ink-blue-light: rgba(45, 70, 105, 0.85);
  --c-green: #2a6b5c;
  --c-green-light: #3d8a78;
  --c-green-pale: rgba(42, 107, 92, 0.1);
  --c-line: #d4cfbf;
  --c-white: #ffffff;
  --c-danger: #c0392b;

  --font-serif: "Noto Serif SC", "SimSun", "宋体", "STSong", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "微软雅黑", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(42, 42, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(42, 42, 42, 0.08);
  --shadow-lg: 0 8px 32px rgba(42, 42, 42, 0.12);
  --shadow-gold: 0 0 24px rgba(200, 155, 60, 0.3);

  --max-w: 1200px;
  --nav-h: 60px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Base ========== */
body {
  font-family: var(--font-sans);
  color: var(--c-ink);
  background-color: var(--c-bg);
  line-height: 1.7;
  font-size: 15px;
  /* 纸纹背景 */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(200,155,60,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(42,107,92,0.03) 0%, transparent 50%);
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.3; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1em; }

/* ========== Layout Helpers ========== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--c-gold); }
.text-green { color: var(--c-green); }
.mono { font-family: var(--font-mono); }

/* ========== Header / 导航栏（迷你星座） ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(245, 243, 235, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700;
  color: var(--c-ink);
}
.logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-green); position: relative;
}
.logo-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--c-gold); opacity: 0.5;
}
.logo span { color: var(--c-gold); }

/* 迷你星座导航 */
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  position: relative; padding: 8px 14px; font-size: 13px; color: var(--c-ink-light);
  transition: color 0.3s var(--ease); white-space: nowrap;
}
.nav-links a::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--c-gold); opacity: 0; transform: translate(-50%, -50%) scale(0);
  transition: all 0.3s var(--ease);
}
.nav-links a:hover { color: var(--c-green); }
.nav-links a:hover::before { opacity: 1; transform: translate(-50%, -14px) scale(1); }
.nav-links a.active { color: var(--c-green); font-weight: 600; }
.nav-links a.active::before { opacity: 1; transform: translate(-50%, -14px) scale(1); background: var(--c-green); }

/* 移动端菜单 */
.menu-toggle { display: none; font-size: 24px; color: var(--c-ink); }

/* ========== 首页 — 星座 ========== */
.constellation-wrap {
  position: relative; width: 100%; height: 100vh; min-height: 700px;
  overflow: hidden; background: var(--c-bg);
}
.constellation-svg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.constellation-svg line {
  stroke: var(--c-line-blue); stroke-width: 1.5; opacity: 0;
  stroke-dasharray: 300; stroke-dashoffset: 300;
  animation: drawLine 1.5s var(--ease) forwards;
}
.constellation-svg line:nth-child(1) { animation-delay: 0.3s; }
.constellation-svg line:nth-child(2) { animation-delay: 0.4s; }
.constellation-svg line:nth-child(3) { animation-delay: 0.5s; }
.constellation-svg line:nth-child(4) { animation-delay: 0.6s; }
.constellation-svg line:nth-child(5) { animation-delay: 0.7s; }
.constellation-svg line:nth-child(6) { animation-delay: 0.8s; }
@keyframes drawLine { to { opacity: 1; stroke-dashoffset: 0; } }

/* 星点装饰 */
.star-dot {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: rgba(130, 170, 210, 0.5); opacity: 0;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0; } 50% { opacity: 0.6; } }

/* 中心节点 */
.constellation-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 10; text-align: center; width: 280px;
}
.center-node {
  width: 80px; height: 80px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--c-white);
  border: 2px solid var(--c-green); display: flex; align-items: center; justify-content: center;
  position: relative; cursor: pointer;
  box-shadow: 0 0 0 8px rgba(42,107,92,0.08), var(--shadow-md);
  transition: all 0.4s var(--ease);
}
.center-node:hover { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(42,107,92,0.12), var(--shadow-gold); }
.center-node::before {
  content: ''; position: absolute; inset: -16px; border-radius: 50%;
  border: 1px dashed var(--c-gold); opacity: 0.4; animation: rotate 20s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.center-node svg { width: 32px; height: 32px; color: var(--c-green); }
.center-label {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600;
  color: var(--c-ink); margin-bottom: 4px;
}
.center-sub { font-size: 12px; color: var(--c-ink-light); }

/* 卫星节点 */
.satellite-node {
  position: absolute; z-index: 10; text-align: center; width: 140px;
  cursor: pointer; transition: all 0.4s var(--ease);
  opacity: 0; animation: nodeIn 0.6s var(--ease) forwards;
}
.satellite-node:nth-child(1) { animation-delay: 0.6s; }
.satellite-node:nth-child(2) { animation-delay: 0.7s; }
.satellite-node:nth-child(3) { animation-delay: 0.8s; }
.satellite-node:nth-child(4) { animation-delay: 0.9s; }
.satellite-node:nth-child(5) { animation-delay: 1.0s; }
.satellite-node:nth-child(6) { animation-delay: 1.1s; }
@keyframes nodeIn { to { opacity: 1; } }

.satellite-node .node-dot {
  width: 56px; height: 56px; margin: 0 auto 10px;
  border-radius: 50%; background: var(--c-paper);
  border: 1.5px solid var(--c-gold); display: flex; align-items: center; justify-content: center;
  position: relative; transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.satellite-node .node-dot svg { width: 24px; height: 24px; color: var(--c-gold); transition: color 0.3s; }
.satellite-node:hover .node-dot {
  border-color: var(--c-green); background: var(--c-white);
  transform: scale(1.1); box-shadow: var(--shadow-gold);
}
.satellite-node:hover .node-dot svg { color: var(--c-green); }
.satellite-node .node-dot::before {
  content: '+'; position: absolute; top: -6px; right: -6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-green); color: var(--c-white);
  font-size: 10px; line-height: 14px; text-align: center; font-family: var(--font-mono);
}
.satellite-node .node-label {
  font-family: var(--font-serif); font-size: 0.95rem; color: var(--c-ink-blue-light);
  transition: color 0.3s;
}
.satellite-node:hover .node-label { color: var(--c-green); }
.satellite-node .node-sub { font-size: 11px; color: var(--c-ink-faint); margin-top: 2px; }

/* 首页 Hero 文案 */
.hero-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, calc(-50% + 140px));
  z-index: 5; text-align: center; width: 90%; max-width: 600px;
  opacity: 0; animation: fadeIn 1s ease 1.3s forwards;
}
.hero-text h1 {
  font-size: 2.2rem; color: var(--c-ink); margin-bottom: 8px;
}
.hero-text h1 span { color: var(--c-gold); }
.hero-text .subtitle {
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--c-green);
  margin-bottom: 12px;
}
.hero-text .desc {
  font-size: 14px; color: var(--c-ink-light); max-width: 480px; margin: 0 auto;
  line-height: 1.8;
}
@keyframes fadeIn { to { opacity: 1; } }

/* 滚动提示 */
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 5; text-align: center; font-size: 11px; color: var(--c-ink-faint);
  font-family: var(--font-mono); letter-spacing: 2px;
  opacity: 0; animation: fadeIn 1s ease 1.6s forwards;
}
.scroll-hint .arrow {
  display: block; margin: 4px auto 0; width: 1px; height: 24px;
  background: var(--c-ink-faint); position: relative; overflow: hidden;
}
.scroll-hint .arrow::after {
  content: ''; position: absolute; top: -24px; left: 0; width: 1px; height: 24px;
  background: var(--c-gold); animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0% { top: -24px; } 100% { top: 24px; } }

/* ================================================================
   严格还原首页：全屏星座图
   ================================================================ */
.constellation-strict {
  position: relative; width: 100vw; height: 100vh; min-height: 600px;
  overflow: hidden; background: var(--c-bg);
  /* 纸纹：SVG noise + 柔光渐变 */
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    radial-gradient(circle at 20% 30%, rgba(200,155,60,0.04) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(42,107,92,0.04) 0%, transparent 45%);
}

/* 背景水印：公司名称大字 */
.company-watermark {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  user-select: none;
}
.watermark-name {
  font-family: var(--font-serif); font-size: 18vw; font-weight: 700;
  color: var(--c-watermark); letter-spacing: 0.05em;
  white-space: nowrap; line-height: 1;
  transform: translateY(6vh);
}
.watermark-sub {
  font-family: var(--font-mono); font-size: 2.4vw; letter-spacing: 1.2em;
  color: rgba(90, 115, 140, 0.09); text-transform: uppercase;
  transform: translateY(-2vh) translateX(0.6em);
}

/* 左下角小导航：极小、浅灰 */
.bottom-left-nav {
  position: absolute; left: 28px; bottom: 28px; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.08em;
  color: rgba(100, 100, 100, 0.5);
}
.bottom-left-nav a {
  color: rgba(100, 100, 100, 0.5); transition: color 0.3s ease;
  padding: 2px 0;
}
.bottom-left-nav a:hover { color: var(--c-green); }
.bottom-left-nav .nav-sep { color: rgba(100, 100, 100, 0.25); }

/* SVG 连线层 */
.constellation-lines {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5;
  pointer-events: none;
}
.constellation-lines line {
  stroke: var(--c-line-blue); stroke-width: 1; opacity: 0; vector-effect: non-scaling-stroke;
  stroke-dasharray: 800; stroke-dashoffset: 800;
  animation: drawConstellation 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.constellation-lines line:nth-child(odd) { animation-delay: 0.2s; }
.constellation-lines line:nth-child(3n) { animation-delay: 0.4s; }
@keyframes drawConstellation { to { opacity: 1; stroke-dashoffset: 0; } }

/* 星座节点：十字锚点 + 标签偏移（连线精确到十字中心） */
.constellation-node {
  position: absolute; z-index: 20;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  opacity: 0; animation: nodeFadeIn 0.8s ease forwards;
  transition: filter 0.3s ease;
}
.constellation-node:hover { filter: brightness(1.3); }
.constellation-node:hover .node-label { color: var(--c-green); }
.constellation-node:hover .node-cross::before,
.constellation-node:hover .node-cross::after { background: var(--c-green); }

/* 十字：绝对定位，中心对齐到节点的 (left%, top%) 锚点 */
.node-cross {
  position: absolute;
  width: 14px; height: 14px;
  left: -7px; top: -7px;
  display: flex; align-items: center; justify-content: center;
}
.node-cross::before,
.node-cross::after {
  content: ''; position: absolute; background: var(--c-green);
  transition: background 0.3s ease;
}
.node-cross::before { width: 14px; height: 1.5px; }
.node-cross::after { width: 1.5px; height: 14px; }

/* 标签：绝对定位，从十字偏移 */
.node-label {
  position: absolute;
  font-family: var(--font-serif); font-size: 15px;
  color: var(--c-ink-blue-light);
  letter-spacing: 0.06em; transition: color 0.3s ease;
  line-height: 1; top: 0; transform: translateY(-50%);
}

/* 左侧节点：标签在十字右边 */
.node-center .node-label { left: 10px; color: var(--c-ink-blue); font-size: 16px; }
.node-top-left .node-label { left: 10px; }
.node-left-mid .node-label { left: 10px; }
.node-left-bottom .node-label { left: 10px; }

/* 右侧节点：标签在十字左边 */
.node-right-top .node-label { left: auto; right: 10px; text-align: right; }
.node-right-mid .node-label { left: auto; right: 10px; text-align: right; }
.node-right-bottom .node-label { left: auto; right: 10px; text-align: right; }

/* 可点击区域伪元素（覆盖十字+标签） */
.constellation-node::after {
  content: ''; position: absolute; z-index: -1; border-radius: 4px;
}
.node-center::after { top: -12px; left: -12px; right: -80px; bottom: -12px; }
.node-top-left::after { top: -12px; left: -12px; right: -80px; bottom: -12px; }
.node-left-mid::after { top: -12px; left: -12px; right: -80px; bottom: -12px; }
.node-left-bottom::after { top: -12px; left: -12px; right: -80px; bottom: -12px; }
.node-right-top::after { top: -12px; left: -80px; right: -12px; bottom: -12px; }
.node-right-mid::after { top: -12px; left: -80px; right: -12px; bottom: -12px; }
.node-right-bottom::after { top: -12px; left: -80px; right: -12px; bottom: -12px; }

@keyframes nodeFadeIn { to { opacity: 1; } }

/* 节点定位：(left, top) 即十字中心，无 transform 偏移 */
.node-center { left: 50%; top: 50%; animation-delay: 0.4s; }
.node-top-left { left: 26%; top: 13%; animation-delay: 0.5s; }
.node-left-mid { left: 7%; top: 42%; animation-delay: 0.6s; }
.node-left-bottom { left: 9%; top: 78%; animation-delay: 0.7s; }
.node-right-top { left: 78%; top: 30%; animation-delay: 0.55s; }
.node-right-mid { left: 86%; top: 52%; animation-delay: 0.65s; }
.node-right-bottom { left: 92%; top: 82%; animation-delay: 0.75s; }

/* 响应式：桌面大屏微调 */
@media (min-width: 1600px) {
  .node-label { font-size: 16px; }
  .node-top-left { left: 28%; top: 14%; }
  .node-left-mid { left: 8%; top: 43%; }
  .node-left-bottom { left: 10%; top: 79%; }
  .node-right-top { left: 76%; top: 31%; }
  .node-right-mid { left: 85%; top: 53%; }
  .node-right-bottom { left: 91%; top: 83%; }
}

/* 响应式：平板 */
@media (max-width: 1024px) {
  .watermark-name { font-size: 24vw; color: rgba(90, 115, 140, 0.055); }
  .watermark-sub { font-size: 3.6vw; color: rgba(90, 115, 140, 0.08); }
  .node-top-left { left: 22%; top: 12%; }
  .node-left-mid { left: 5%; top: 40%; }
  .node-left-bottom { left: 6%; top: 76%; }
  .node-right-top { left: 80%; top: 28%; }
  .node-right-mid { left: 88%; top: 50%; }
  .node-right-bottom { left: 93%; top: 80%; }
  .node-label { font-size: 13px; }
}

/* 响应式：移动端 — 垂直居中，标签统一在右边 */
@media (max-width: 768px) {
  .company-watermark { justify-content: flex-start; padding-top: 12vh; }
  .watermark-name { font-size: 28vw; transform: none; color: rgba(90, 115, 140, 0.065); }
  .watermark-sub { display: none; }
  .bottom-left-nav { left: 18px; bottom: 18px; font-size: 10px; }
  .constellation-strict { height: 100vh; min-height: 700px; }

  .constellation-node { left: 50% !important; }
  /* 移动端标签统一在十字右边 */
  .constellation-node .node-label {
    left: 10px !important; right: auto !important;
    text-align: left !important;
  }

  .node-center { top: 48%; }
  .node-top-left { top: 16%; }
  .node-left-mid { top: 28%; }
  .node-left-bottom { top: 40%; }
  .node-right-top { top: 60%; }
  .node-right-mid { top: 72%; }
  .node-right-bottom { top: 84%; }
}

/* ========== 内页通用 ========== */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 40px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px dashed var(--c-gold); opacity: 0.15;
}
.page-hero::after {
  content: ''; position: absolute; top: 30%; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid var(--c-green); opacity: 0.08;
}
.page-hero .breadcrumb {
  font-size: 12px; color: var(--c-ink-faint); margin-bottom: 16px;
  font-family: var(--font-mono); position: relative; z-index: 1;
}
.page-hero .breadcrumb a:hover { color: var(--c-gold); }
.page-hero .breadcrumb span { margin: 0 6px; }
.page-hero h1 {
  font-size: 2.4rem; color: var(--c-ink); position: relative; z-index: 1;
}
.page-hero .hero-sub {
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--c-green);
  margin-top: 8px; position: relative; z-index: 1;
}
/* 页面标题装饰 */
.page-hero .deco-line {
  width: 60px; height: 2px; margin: 24px auto;
  background: linear-gradient(to right, transparent, var(--c-gold), transparent);
  position: relative; z-index: 1;
}

/* 内容区块 */
.content-block { max-width: 800px; margin: 0 auto 48px; }
.content-block h2 {
  font-size: 1.5rem; color: var(--c-ink); margin-bottom: 16px;
  padding-left: 16px; border-left: 3px solid var(--c-gold);
  position: relative;
}
.content-block h2::before {
  content: ''; position: absolute; left: -3px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--c-green);
  border: 2px solid var(--c-bg); z-index: -1; opacity: 0;
}
.content-block p { color: var(--c-ink-light); line-height: 2; }
.content-block .intro-text { font-size: 1.05rem; color: var(--c-ink); }

/* 卡片网格 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.card {
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-md);
  padding: 24px; transition: all 0.3s var(--ease); position: relative;
}
.card:hover { border-color: var(--c-gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .card-icon { width: 40px; height: 40px; margin-bottom: 12px; color: var(--c-green); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--c-ink-light); }
.card .card-num {
  position: absolute; top: 16px; right: 16px; font-family: var(--font-mono);
  font-size: 12px; color: var(--c-gold); opacity: 0.6;
}

/* 统计数字 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.stat-box {
  text-align: center; padding: 24px 16px; background: var(--c-paper);
  border-radius: var(--radius-md); border: 1px solid var(--c-line);
  position: relative; overflow: hidden;
}
.stat-box::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 2px; background: var(--c-gold);
}
.stat-num { font-family: var(--font-serif); font-size: 2.2rem; color: var(--c-green); font-weight: 700; }
.stat-label { font-size: 13px; color: var(--c-ink-light); margin-top: 4px; }

/* 流程步骤 */
.process-steps { display: flex; flex-direction: column; gap: 0; margin: 32px 0; }
.step {
  display: flex; gap: 20px; padding: 20px 0; position: relative;
  border-bottom: 1px dashed var(--c-line);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-paper); border: 2px solid var(--c-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--c-gold);
  font-weight: 700; position: relative;
}
.step-num::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed var(--c-gold); opacity: 0.3;
}
.step-content h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--c-ink); }
.step-content p { font-size: 14px; color: var(--c-ink-light); }

/* 标签云 */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag {
  padding: 6px 14px; background: var(--c-paper); border: 1px solid var(--c-line);
  border-radius: 20px; font-size: 13px; color: var(--c-ink-light);
  transition: all 0.2s;
}
.tag:hover { border-color: var(--c-gold); color: var(--c-gold); }

/* 预格式化文本 */
.pre-text {
  white-space: pre-wrap; font-family: var(--font-sans);
  color: var(--c-ink-light); line-height: 2;
}

/* ========== 联系页面 ========== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.contact-info { padding: 32px; background: var(--c-paper); border-radius: var(--radius-lg); border: 1px solid var(--c-line); }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item .ci-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-green-pale); display: flex; align-items: center; justify-content: center;
  color: var(--c-green);
}
.contact-item .ci-label { font-size: 12px; color: var(--c-ink-faint); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; }
.contact-item .ci-value { font-size: 15px; color: var(--c-ink); margin-top: 2px; }

.contact-form { padding: 32px; background: var(--c-white); border-radius: var(--radius-lg); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--c-ink-light); margin-bottom: 6px; font-weight: 500; }
.form-group label .req { color: var(--c-danger); }
.form-control {
  width: 100%; padding: 10px 14px; border: 1px solid var(--c-line);
  border-radius: var(--radius-sm); background: var(--c-paper);
  font-size: 14px; color: var(--c-ink); transition: all 0.2s;
  font-family: var(--font-sans);
}
.form-control:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px var(--c-gold-pale); background: var(--c-white); }
textarea.form-control { resize: vertical; min-height: 120px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 500; transition: all 0.3s var(--ease); border: none; cursor: pointer;
}
.btn-primary { background: var(--c-green); color: var(--c-white); }
.btn-primary:hover { background: var(--c-green-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--c-gold); color: var(--c-white); }
.btn-gold:hover { background: var(--c-gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border: 1px solid var(--c-line); color: var(--c-ink); background: transparent; }
.btn-outline:hover { border-color: var(--c-gold); color: var(--c-gold); }
.btn-danger { background: var(--c-danger); color: var(--c-white); }
.btn-sm { padding: 6px 16px; font-size: 12px; }

/* 表单提示 */
.form-msg { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; display: none; }
.form-msg.success { background: rgba(42, 107, 92, 0.1); color: var(--c-green); display: block; }
.form-msg.error { background: rgba(192, 57, 43, 0.1); color: var(--c-danger); display: block; }

/* ========== Footer ========== */
.site-footer {
  background: var(--c-ink); color: rgba(255,255,255,0.6); padding: 48px 0 24px;
  margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand .logo { color: var(--c-white); margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-col h4 { font-size: 14px; color: var(--c-white); margin-bottom: 12px; font-family: var(--font-sans); font-weight: 600; }
.footer-col a { display: block; font-size: 13px; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--c-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}
.footer-bottom .links { display: flex; gap: 16px; }
.footer-bottom a:hover { color: var(--c-gold); }

/* ========== 404 ========== */
.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.not-found .nf-code { font-family: var(--font-serif); font-size: 6rem; color: var(--c-gold); opacity: 0.3; }
.not-found h2 { font-size: 1.5rem; margin: 16px 0; }
.not-found p { color: var(--c-ink-light); margin-bottom: 24px; }

/* ========== 后台管理 ========== */
.admin-body { background: #f0f0f3; }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--c-bg); }
.admin-login-card {
  background: var(--c-white); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg); width: 360px; text-align: center;
}
.admin-login-card .logo { justify-content: center; margin-bottom: 24px; }
.admin-login-card h2 { font-size: 1.3rem; margin-bottom: 8px; }
.admin-login-card .sub { font-size: 13px; color: var(--c-ink-light); margin-bottom: 24px; }
.admin-login-card .form-group { text-align: left; }
.admin-login-card .btn { width: 100%; }
.admin-login-card .alert { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; background: rgba(192,57,43,0.1); color: var(--c-danger); }
.admin-login-card .hint { font-size: 12px; color: var(--c-ink-faint); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-line); }

/* 后台布局 */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px; background: var(--c-ink); color: rgba(255,255,255,0.7);
  display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0;
  z-index: 100;
}
.admin-sidebar .as-brand { padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar .as-brand .logo { color: var(--c-white); font-size: 1.1rem; }
.admin-sidebar .as-brand .logo span { color: var(--c-gold); }
.admin-sidebar nav { flex: 1; padding: 16px 0; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 24px;
  font-size: 14px; color: rgba(255,255,255,0.6); transition: all 0.2s;
}
.admin-sidebar nav a:hover { background: rgba(255,255,255,0.05); color: var(--c-white); }
.admin-sidebar nav a.active { background: rgba(200,155,60,0.15); color: var(--c-gold); border-left: 3px solid var(--c-gold); padding-left: 21px; }
.admin-sidebar nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-sidebar .as-footer { padding: 16px 24px; font-size: 12px; color: rgba(255,255,255,0.3); border-top: 1px solid rgba(255,255,255,0.1); }

.admin-main { flex: 1; margin-left: 220px; padding: 32px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-topbar h1 { font-size: 1.5rem; }
.admin-topbar .user-info { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.admin-topbar .badge { background: var(--c-danger); color: var(--c-white); font-size: 11px; padding: 2px 8px; border-radius: 10px; }

/* 后台卡片 */
.admin-card { background: var(--c-white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.admin-card h3 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }

/* 仪表盘统计 */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.dash-stat { background: var(--c-white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.dash-stat .ds-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; }
.dash-stat .ds-label { font-size: 13px; color: var(--c-ink-light); margin-top: 4px; }
.dash-stat .ds-icon { width: 36px; height: 36px; margin-bottom: 12px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.dash-stat.green .ds-icon { background: var(--c-green-pale); color: var(--c-green); }
.dash-stat.gold .ds-icon { background: var(--c-gold-pale); color: var(--c-gold); }
.dash-stat.blue .ds-icon { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.dash-stat.red .ds-icon { background: rgba(192, 57, 43, 0.1); color: var(--c-danger); }

/* 内容管理列表 */
.page-list { list-style: none; }
.page-list li { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--c-line); }
.page-list li:last-child { border-bottom: none; }
.page-list .pl-info { display: flex; align-items: center; gap: 12px; }
.page-list .pl-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--c-gold-pale); color: var(--c-gold); display: flex; align-items: center; justify-content: center; }
.page-list .pl-title { font-weight: 500; font-size: 14px; }
.page-list .pl-meta { font-size: 12px; color: var(--c-ink-faint); }

/* 留言列表 */
.msg-list { list-style: none; }
.msg-item { padding: 20px; border-bottom: 1px solid var(--c-line); display: flex; gap: 16px; }
.msg-item:last-child { border-bottom: none; }
.msg-item.unread { background: rgba(200,155,60,0.03); }
.msg-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-green); color: var(--c-white); display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.msg-body { flex: 1; }
.msg-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.msg-name { font-weight: 600; font-size: 14px; }
.msg-time { font-size: 12px; color: var(--c-ink-faint); }
.msg-meta { font-size: 12px; color: var(--c-ink-light); margin-bottom: 8px; }
.msg-meta span { margin-right: 12px; }
.msg-text { font-size: 14px; color: var(--c-ink-light); line-height: 1.6; }
.msg-actions { display: flex; gap: 8px; margin-top: 12px; }
.unread-badge { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-danger); margin-right: 8px; }

/* 设置表单 */
.settings-form .form-group { margin-bottom: 20px; }
.settings-section { margin-bottom: 32px; }
.settings-section h3 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); }

/* ========== 响应式 ========== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--c-bg); padding: 16px; border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 12px; width: 100%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* 星座移动端布局 */
  .constellation-wrap { height: auto; min-height: auto; padding: 80px 24px 60px; }
  .constellation-svg { display: none; }
  .constellation-center { position: relative; top: auto; left: auto; transform: none; margin-bottom: 40px; }
  .satellite-node { position: relative; top: auto; left: auto; transform: none; margin: 0 auto 24px; display: flex; align-items: center; gap: 16px; width: 100%; max-width: 320px; text-align: left; }
  .satellite-node .node-dot { margin: 0; }
  .satellite-node .node-text { text-align: left; }
  .hero-text { position: relative; top: auto; left: auto; transform: none; margin-top: 40px; }
  .scroll-hint { display: none; }

  /* 后台移动端 */
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  .section { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
