/* ============================================================
   TokenRock · 向量云 简洁品牌官网
   深色 · 极简 · 宽字距；系统字体栈，无外部依赖
   ============================================================ */

:root {
  --bg: #05080f;
  --bg-2: #0a1018;
  --text: #e8eef6;
  --white: #ffffff;
  --muted: #8b97a8;
  --dim: #5b6675;
  --line: rgba(148, 163, 184, 0.14);
  --teal: #5eead4;
  --violet: #8b5cf6;
  --sky: #38bdf8;
  --container: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; }

::selection { background: rgba(94, 234, 212, 0.24); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.narrow { max-width: 900px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-text {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links { display: flex; align-items: center; gap: 44px; }
.nav-links a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}
.nav-links a span {
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.nav-links a small {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.18em;
  transition: color 0.2s ease;
}
.nav-links a:hover span { color: var(--teal); }
.nav-links a:hover small { color: var(--muted); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .glow {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
}
.glow-a { top: -320px; left: -220px; background: radial-gradient(circle, rgba(56, 189, 248, 0.5), transparent 62%); }
.glow-b { top: -260px; right: -260px; background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent 62%); }
.hero-bg .ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 52%;
  opacity: 0.9;
}

.hero-inner { position: relative; }
.hero-eyebrow {
  margin: 0 0 26px;
  font-size: 12px;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  color: var(--teal);
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(40px, 6.6vw, 76px);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  line-height: 1.28;
  color: var(--white);
}
.hero-sub {
  margin: 30px 0 0;
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: 0.08em;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.3em;
  transition: color 0.2s ease;
}
.scroll-hint svg { animation: bob 2s ease-in-out infinite; }
.scroll-hint:hover { color: var(--teal); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section-line { background: var(--bg-2); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
}
.label { font-size: 14px; letter-spacing: 0.12em; color: var(--text); }
.label-en { font-size: 11px; letter-spacing: 0.28em; color: var(--dim); }

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 34px;
}

.prose { color: var(--muted); font-size: 16px; line-height: 2; }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.inline-link { color: var(--teal); border-bottom: 1px solid rgba(94, 234, 212, 0.4); }
.inline-link:hover { border-bottom-color: var(--teal); }

/* ---------- Facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.fact {
  padding: 30px 26px;
  background: var(--bg);
}
.fact-no {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 14px;
}
.fact h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 10px;
}
.fact p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ---------- Contacts ---------- */
.contacts { border-top: 1px solid var(--line); }
.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.contact-k {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.contact-v {
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
a.contact-v:hover { color: var(--teal); }

/* ---------- Footer ---------- */
.footer {
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 28px 28px;
    background: rgba(5, 8, 15, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 767px) {
  .container { padding: 0 22px; }
  .section { padding: 84px 0; }
  .facts { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: 0.1em; text-indent: 0.1em; }
  .hero-eyebrow { letter-spacing: 0.4em; text-indent: 0.4em; }
  .contact-row { flex-direction: column; gap: 6px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
