/* ============================================================
   置换云 · 设计系统基础层
   ============================================================ */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b12;
  --bg-elev: #0a1019;
  --surface: rgba(19, 27, 42, 0.72);
  --surface-solid: #101828;
  --surface-2: rgba(27, 38, 57, 0.66);
  --surface-3: #182335;
  --line: rgba(147, 165, 192, 0.13);
  --line-strong: rgba(147, 165, 192, 0.24);
  --text: #e9eef7;
  --text-soft: #c2cddd;
  --muted: #8b99ae;
  --dim: #5d6c84;
  --mint: #35e2ae;
  --mint-deep: #12b78a;
  --cyan: #4cc9f0;
  --amber: #f6b95c;
  --rose: #ff6e86;
  --violet: #9c8cff;
  --blue: #5b9dff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 18px 46px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 0 0 1px rgba(53, 226, 174, 0.22), 0 18px 44px rgba(20, 190, 145, 0.16);
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --mono: 'SFMono-Regular', 'JetBrains Mono', 'Space Grotesk', Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(53, 226, 174, 0.13), transparent 62%),
    radial-gradient(900px 520px at 12% 4%, rgba(76, 201, 240, 0.1), transparent 60%),
    radial-gradient(760px 520px at 60% 108%, rgba(156, 140, 255, 0.09), transparent 60%),
    linear-gradient(180deg, #070b12 0%, #060a11 100%);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(147, 165, 192, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 165, 192, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
::selection { background: rgba(53, 226, 174, 0.26); color: #fff; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(147, 165, 192, 0.22);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(147, 165, 192, 0.4); background-clip: content-box; }

:focus-visible { outline: 2px solid rgba(53, 226, 174, 0.6); outline-offset: 2px; border-radius: 6px; }

.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  flex: none;
}
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 22px; height: 22px; }

.num { font-family: 'Space Grotesk', var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mint { color: var(--mint); }
.rose { color: var(--rose); }
.amber { color: var(--amber); }
.cyan { color: var(--cyan); }
.tiny { font-size: 12px; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; }
.hidden { display: none !important; }
.text-right { text-align: right; }
.text-center { text-align: center; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 226, 174, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(53, 226, 174, 0); }
}
@keyframes shimmer {
  0% { background-position: -280px 0; }
  100% { background-position: 280px 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes dash-move { to { stroke-dashoffset: -1000; } }
