/* Voxeldojo — EWOS visual system */
:root {
  color-scheme: dark;
  --bg: #060912;
  --bg-deep: #04060d;
  --bg-raised: #0a0e1a;
  --surface: rgba(15, 21, 37, .68);
  --surface-strong: rgba(19, 27, 47, .86);
  --surface-hover: rgba(26, 36, 61, .82);
  --text: #f4f7fc;
  --text-soft: #b6c0d4;
  --text-muted: #8692aa;
  --cyan: #7fd8f5;
  --blue: #5b8def;
  --purple: #9b5cf6;
  --pink: #f08fc8;
  --brand: linear-gradient(115deg, var(--cyan) 0%, var(--blue) 36%, var(--purple) 70%, var(--pink) 100%);
  --brand-soft: linear-gradient(135deg, rgba(127,216,245,.12), rgba(91,141,239,.08) 45%, rgba(155,92,246,.12) 75%, rgba(240,143,200,.08));
  --border: rgba(171, 194, 240, .12);
  --border-hover: rgba(127, 216, 245, .38);
  --shadow-1: 0 12px 32px rgba(0, 0, 0, .22);
  --shadow-2: 0 24px 70px rgba(0, 0, 0, .34);
  --glow: 0 0 0 1px rgba(127,216,245,.06), 0 18px 56px rgba(91,141,239,.14);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --max: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(900px 560px at 50% -10%, rgba(91,141,239,.12), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(127,216,245,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,216,245,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 15%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 15%, #000 15%, transparent 78%);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: rgba(155,92,246,.48); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

#bg-canvas { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .8; }
main, .footer { position: relative; z-index: 1; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  transition: min-height .3s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  min-height: 64px;
  background: rgba(6,9,18,.78);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}
.nav-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 720; letter-spacing: .02em; }
.nav-logo-img { width: 22px; height: 22px; filter: drop-shadow(0 0 8px rgba(91,141,239,.35)); transition: transform .45s var(--ease); }
.nav-logo:hover .nav-logo-img { transform: rotate(-7deg) scale(1.08); }
.logo-text { font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 32px); margin: 0; padding: 0; list-style: none; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--text-soft); font-size: .875rem; text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 6px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: left .3s var(--ease), right .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; left: 0; }
.nav-cta { min-height: 40px !important; padding: 0 18px; border: 1px solid rgba(127,216,245,.35); border-radius: 999px; color: var(--cyan) !important; background: rgba(127,216,245,.06); }
.nav-cta:hover { border-color: var(--cyan); background: rgba(127,216,245,.12); box-shadow: 0 0 24px rgba(91,141,239,.16); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px 10px; border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--text); transition: transform .3s, opacity .2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section {
  width: min(100%, calc(var(--max) + 48px));
  margin: 0 auto;
  padding: clamp(80px, 9vw, 128px) 24px;
  scroll-margin-top: 64px;
}
.section-head { max-width: 800px; margin: 0 auto var(--s8); text-align: center; }
.section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: var(--s5);
  padding: 2px 14px;
  border: 1px solid rgba(127,216,245,.22);
  border-radius: 999px;
  background: rgba(91,141,239,.06);
  color: var(--cyan);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
}
.section h2 { margin: 0 0 var(--s4); font-size: clamp(2rem, 4.4vw, 3.35rem); font-weight: 760; line-height: 1.16; letter-spacing: -.035em; }
.section-lead { margin: 0 auto; color: var(--text-soft); font-size: clamp(.98rem, 1.4vw, 1.1rem); line-height: 1.9; }

.hero {
  width: 100%;
  max-width: none;
  min-height: max(720px, 100svh);
  display: grid;
  place-items: center;
  padding-top: 120px;
  padding-bottom: 112px;
  isolation: isolate;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(900px, 90vw);
  aspect-ratio: 1.45;
  border-radius: 50%;
  background: conic-gradient(from 210deg, rgba(127,216,245,.13), rgba(91,141,239,.15), rgba(155,92,246,.14), rgba(240,143,200,.08), rgba(127,216,245,.13));
  filter: blur(80px);
  opacity: .6;
}
.hero-inner { width: min(880px, 100%); }
.hero-badge { display: inline-flex; align-items: center; min-height: 34px; margin-bottom: var(--s6); padding: 3px 16px; border: 1px solid var(--border); border-radius: 999px; background: rgba(15,21,37,.54); color: var(--text-soft); font-size: .78rem; letter-spacing: .1em; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-title { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 0 0 var(--s6); line-height: 1; }
.gradient-text {
  display: inline-block;
  background: var(--brand);
  background-size: 160% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(4.5rem, 14vw, 9.5rem);
  font-weight: 850;
  letter-spacing: -.075em;
  padding-right: 0.12em;
  filter: drop-shadow(0 18px 45px rgba(91,141,239,.2));
  animation: gradientDrift 8s ease-in-out infinite alternate;
}
.hero-subtitle-line { padding: 10px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: clamp(1.05rem, 2.7vw, 1.65rem); font-weight: 550; letter-spacing: clamp(.2em, .7vw, .48em); }
.hero-tagline { margin: 0 0 var(--s4); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 650; letter-spacing: .06em; }
.hero-desc { max-width: 680px; margin: 0 auto var(--s7); color: var(--text-soft); font-size: clamp(.98rem, 1.5vw, 1.08rem); line-height: 2; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4); margin-bottom: clamp(48px, 7vw, 80px); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font-size: .92rem; font-weight: 680; letter-spacing: .04em; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--brand); color: #060912; box-shadow: 0 12px 34px rgba(91,141,239,.23); }
.btn-primary:hover { box-shadow: 0 18px 48px rgba(91,141,239,.34); }
.btn-ghost { border-color: var(--border); background: rgba(15,21,37,.6); color: var(--text); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: var(--border-hover); background: rgba(25,34,57,.72); }
.hero-creed { max-width: 760px; margin: 0 auto; padding-top: var(--s6); border-top: 1px solid var(--border); }
.creed-en, .creed-cn { display: block; }
.creed-en { margin-bottom: var(--s3); color: var(--text-muted); font-family: Inter, system-ui, sans-serif; font-size: .84rem; font-style: italic; line-height: 1.7; }
.creed-cn { color: var(--text-soft); font-size: .95rem; letter-spacing: .08em; }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; width: 26px; height: 42px; padding-top: 8px; border: 1px solid rgba(182,192,212,.35); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { display: block; width: 3px; height: 8px; margin: 0 auto; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.8s infinite; }

.arch-stack { position: relative; max-width: 900px; margin: 0 auto var(--s8); padding-left: 24px; counter-reset: layer; }
.arch-stack::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 7px;
  width: 2px;
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 22px rgba(91,141,239,.28);
}
.arch-stack::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 16px;
  border: 1px solid rgba(155,92,246,.28);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  pointer-events: none;
}
.arch-layer {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: var(--s5);
  min-height: 78px;
  margin-bottom: var(--s3);
  padding: 15px 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  transition: transform .4s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.arch-layer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(127,216,245,.09), transparent 40%); opacity: 0; pointer-events: none; transition: opacity .3s; }
.arch-layer:hover, .arch-layer:focus-visible, .arch-layer.active-layer { z-index: 2; transform: translateX(8px); border-color: var(--border-hover); background: var(--surface-hover); box-shadow: var(--glow); }
.arch-layer:hover::after, .arch-layer.active-layer::after { opacity: 1; }
.layer-num { display: grid; place-items: center; width: 48px; height: 40px; border: 1px solid rgba(127,216,245,.24); border-radius: var(--r-sm); background: rgba(127,216,245,.06); color: var(--cyan); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .82rem; font-weight: 750; }
.layer-body h3 { margin: 0; font-size: 1.05rem; font-weight: 680; letter-spacing: .015em; }
.layer-body p { max-height: 0; margin: 0; overflow: hidden; color: var(--text-soft); font-size: .9rem; opacity: 0; transform: translateY(-4px); transition: max-height .45s var(--ease), margin .4s, opacity .3s, transform .4s var(--ease); }
.arch-layer:hover .layer-body p, .arch-layer:focus-visible .layer-body p, .arch-layer.active-layer .layer-body p { max-height: 96px; margin-top: 5px; opacity: 1; transform: none; }
.highlight-layer { border-color: rgba(127,216,245,.28); background: var(--brand-soft); }
.feedback-layer { border-color: rgba(155,92,246,.3); border-style: dashed; }
.feedback-layer .layer-num { border-color: rgba(240,143,200,.28); color: var(--pink); }

.arch-pillars, .promise-grid, .stat-row, .team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.pillar, .promise-card, .stat, .team-card, .route, .quad-card, .traction {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.pillar, .promise-card, .stat, .team-card, .quad-card { padding: clamp(24px, 3vw, 36px); }
.pillar { text-align: left; }
.pillar::before, .promise-card::before, .team-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 1px; background: var(--brand); opacity: .42; }
.pillar h4 { margin: 0 0 var(--s3); color: var(--cyan); font-size: 1rem; }
.pillar p, .promise-card p, .team-card p { margin: 0; color: var(--text-soft); font-size: .9rem; }

.section-promise { width: 100%; max-width: none; }
.section-promise > * { max-width: var(--max); margin-right: auto; margin-left: auto; }
.promise-card, .stat, .team-card, .quad-card { transition: transform .4s var(--ease), border-color .3s, background .3s, box-shadow .3s; }
.promise-card:hover, .stat:hover, .team-card:hover, .quad-card:hover { transform: translateY(-6px); border-color: var(--border-hover); background: var(--surface-hover); box-shadow: var(--glow); }
.promise-card { text-align: left; }
.promise-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--s5); border: 1px solid rgba(127,216,245,.2); border-radius: 15px; background: var(--brand-soft); color: var(--cyan); font-size: 1.6rem; line-height: 1; box-shadow: inset 0 1px rgba(255,255,255,.04); }
.promise-card h3 { margin: 0 0 var(--s3); font-size: 1.16rem; }

.stat-row { margin-bottom: var(--s8); }
.stat { padding: var(--s7) var(--s5); text-align: center; }
.stat-num { margin-bottom: var(--s4); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 820; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat-num > span:not(.count-value) { color: var(--text-soft); font-size: .42em; letter-spacing: 0; -webkit-text-fill-color: var(--text-soft); }
.stat-label { color: var(--text-soft); font-size: .86rem; line-height: 1.75; }
.market-insight { max-width: 900px; margin: 0 auto var(--s8); }
.market-insight:last-child { margin-bottom: 0; }
.market-insight > h3 { margin: 0 0 var(--s6); font-size: 1.35rem; text-align: center; }
.route-compare, .quad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.route { padding: clamp(24px, 3vw, 34px); }
.route-tag, .quad-tag { display: inline-flex; align-items: center; min-height: 26px; margin-bottom: var(--s4); padding: 2px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-family: ui-monospace, monospace; font-size: .68rem; letter-spacing: .12em; }
.highlight-tag { border: 0; background: var(--brand); color: #060912; font-weight: 750; }
.route h4, .quad-card h4 { margin: 0 0 var(--s3); font-size: 1.16rem; }
.route p { margin: 0 0 var(--s3); color: var(--text-soft); font-size: .9rem; }
.route-examples { margin: var(--s5) 0 0 !important; color: var(--text-muted) !important; font-family: ui-monospace, monospace; font-size: .78rem !important; }
.route-open { border-color: rgba(127,216,245,.32); background: var(--brand-soft); box-shadow: var(--glow); }
.pain-list { max-width: 800px; margin: 0 auto; padding: 0; list-style: none; }
.pain-list li { position: relative; padding: 16px 16px 16px 38px; border-bottom: 1px solid var(--border); color: var(--text-soft); }
.pain-list li::before { content: ""; position: absolute; top: 26px; left: 12px; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 12px rgba(91,141,239,.35); transform: rotate(45deg); }

.quad-grid { margin-bottom: var(--s7); }
.quad-card p { margin: var(--s2) 0 0; font-size: .88rem; }
.quad-pro { color: #a9def0; }
.quad-con { color: #d9a9ca; }
.quad-confirm { color: var(--cyan); }
.quad-card-highlight { border-color: rgba(127,216,245,.34); background: var(--brand-soft); box-shadow: var(--glow); }
.traction { max-width: 860px; margin: 0 auto; padding: clamp(24px, 3vw, 36px); border-left: 3px solid var(--blue); }
.traction h3 { margin: 0 0 var(--s3); font-size: 1.2rem; }
.traction p { margin: 0 0 var(--s3); color: var(--text-soft); font-size: .92rem; }
.traction p:last-child { margin-bottom: 0; }
.traction-path strong { color: var(--cyan); }

.team-card h3 { display: inline-block; margin: 0 0 var(--s1); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.28rem; }
.team-en { margin-bottom: var(--s4) !important; color: var(--text-muted) !important; font-family: ui-monospace, monospace; font-size: .75rem !important; }

.section-contact { width: 100%; max-width: none; padding-top: clamp(100px, 12vw, 160px); padding-bottom: clamp(100px, 12vw, 160px); background: radial-gradient(ellipse 50% 70% at 50% 50%, rgba(91,141,239,.1), transparent 72%); text-align: center; }
.contact-inner { max-width: 900px; margin: 0 auto; }
.contact-inner h2 { margin: 0 0 var(--s5); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 830; line-height: 1.1; }
.contact-inner > p { margin: 0 0 var(--s7); color: var(--text-soft); font-size: clamp(.98rem, 1.5vw, 1.08rem); }
.contact-cta { display: flex; justify-content: center; }

.footer { padding: var(--s7) 24px; border-top: 1px solid var(--border); background: rgba(4,6,13,.72); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); max-width: var(--max); margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.footer-logo-img { width: 28px; height: 28px; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 3px; color: var(--text-muted); font-size: .76rem; }
.footer-icp { min-height: 1em; }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0ms); }
.fade-in.visible { opacity: 1; transform: none; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-3px); } 45% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes gradientDrift { to { background-position: 100% 50%; } }

@media (min-width: 1440px) {
  :root { --max: 1240px; }
  .section { padding-top: 144px; padding-bottom: 144px; }
}

@media (max-width: 900px) {
  .nav { padding-right: 20px; padding-left: 20px; }
  .nav-toggle { display: block; z-index: 102; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 360px);
    padding: 104px 32px 40px;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    border-left: 1px solid var(--border);
    background: rgba(6,9,18,.96);
    box-shadow: -24px 0 70px rgba(0,0,0,.38);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { width: 100%; min-height: 52px; padding: 0 12px; font-size: 1rem; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 12px; }
  .arch-pillars, .promise-grid, .stat-row, .team-grid { grid-template-columns: 1fr; }
  .pillar, .promise-card, .team-card { max-width: 640px; width: 100%; margin: 0 auto; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}

@media (max-width: 680px) {
  .section { padding-right: 18px; padding-left: 18px; }
  .section-head { margin-bottom: var(--s7); }
  .hero { padding-top: 112px; padding-bottom: 96px; }
  .hero-subtitle-line { padding-right: 12px; padding-left: 12px; }
  .route-compare, .quad-grid { grid-template-columns: 1fr; }
  .arch-stack { padding-left: 16px; }
  .arch-stack::before { left: 4px; }
  .arch-stack::after { left: -2px; width: 12px; }
  .arch-layer { grid-template-columns: 44px 1fr; gap: 14px; min-height: 76px; padding: 14px; }
  .arch-layer:hover, .arch-layer:focus-visible, .arch-layer.active-layer { transform: translateX(3px); }
  .layer-num { width: 42px; height: 38px; }
  .stat-row { gap: var(--s4); }
  .contact-inner > p br { display: none; }
}

@media (max-width: 420px) {
  .logo-text { font-size: .98rem; }
  .hero-title { gap: 16px; }
  .gradient-text { font-size: clamp(4rem, 24vw, 6rem); }
  .hero-subtitle-line { font-size: .98rem; letter-spacing: .18em; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
  .hero-creed { text-align: left; }
  .arch-layer { grid-template-columns: 40px 1fr; }
  .layer-num { width: 38px; font-size: .75rem; }
  .layer-body h3 { font-size: .98rem; }
  .layer-body p { font-size: .84rem; }
  .contact-inner h2 { font-size: 2.45rem; }
  .contact-cta .btn { padding-right: 14px; padding-left: 14px; font-size: .78rem; letter-spacing: 0; }
}

@media (hover: none) {
  .arch-layer .layer-body p { max-height: 96px; margin-top: 5px; opacity: 1; transform: none; }
  .promise-card:hover, .stat:hover, .team-card:hover, .quad-card:hover { transform: none; }
}

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

@media (prefers-contrast: more) {
  :root { --text-soft: #d5dced; --text-muted: #b4bed2; --border: rgba(210,224,255,.28); }
}

/* ============================================================
 * 多页站扩展（导航 / 生态卡片 / 闭环图 / 文档页 / 占位）
 * 全部基于 :root 变量，不引入硬编码色值或魔法间距。
 * ============================================================ */

/* ---- 多页导航：当前页高亮（复用 .active 视觉）---- */
.nav-links a[aria-current="page"],
.nav-links a[aria-current="page"]:hover { color: var(--text); }
.nav-links a[aria-current="page"]::after { right: 0; left: 0; }

/* ---- 生态卡片网格（首页 .eco-grid）---- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
  max-width: var(--max);
  margin: 0 auto var(--s8);
}
.eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  transition: transform .4s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.eco-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--brand);
  opacity: .42;
}
.eco-card:hover, .eco-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--surface-hover);
  box-shadow: var(--glow);
}
.eco-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--s5);
  border: 1px solid rgba(127,216,245,.2);
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--cyan);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.eco-card-title { margin: 0 0 var(--s3); font-size: 1.16rem; color: var(--text); }
.eco-card-desc { flex: 1; margin: 0 0 var(--s5); color: var(--text-soft); font-size: .9rem; }
.eco-card-link { color: var(--cyan); font-size: .88rem; font-weight: 680; letter-spacing: .04em; }
.eco-card-soon {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(240,143,200,.12);
  color: var(--pink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
}

/* ---- 闭环可视化 .loop ---- */
.loop-wrap { max-width: var(--max); margin: 0 auto; text-align: center; }
.loop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s4);
  margin: 0 0 var(--s5);
  padding: 0;
  list-style: none;
}
.loop-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 150px;
  padding: var(--s4) var(--s5);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.loop-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: calc(var(--s4) * -1);
  transform: translate(50%, -50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}
.loop-idx {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--cyan);
}
.loop-name { font-size: .92rem; font-weight: 600; color: var(--text); }
.loop-node-start { border-color: rgba(127,216,245,.32); background: var(--brand-soft); }
.loop-node-end { border-color: rgba(155,92,246,.32); border-style: dashed; }
.loop-node-end .loop-idx { color: var(--pink); }
.loop-back { color: var(--text-muted); font-size: .82rem; letter-spacing: .04em; }

/* ---- 文档/资源页布局 .doc ---- */
.doc-section { max-width: var(--max); }
.doc {
  max-width: 820px;
  margin: 0 auto;
}
.doc > h3 {
  margin: var(--s7) 0 var(--s4);
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 680;
}
.doc > h3:first-child { margin-top: 0; }
.doc > p { margin: 0 0 var(--s4); color: var(--text-soft); font-size: .96rem; line-height: 1.95; }
.doc-list { max-width: 100%; margin: 0 0 var(--s4); padding: 0; list-style: none; }
.doc-list li {
  position: relative;
  padding: 10px 16px 10px 32px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: .92rem;
}
.doc-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(91,141,239,.35);
  transform: rotate(45deg);
}
.doc a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(127,216,245,.3); }
.doc a:hover { border-color: var(--cyan); }
.doc-related { color: var(--text-muted); font-size: .85rem; }
.doc-status { color: var(--text-muted); font-family: ui-monospace, monospace; font-size: .8rem; }

/* ---- coming soon 占位块 ---- */
.coming-soon {
  margin: var(--s6) 0;
  padding: clamp(28px, 4vw, 48px);
  border: 1px dashed var(--border-hover);
  border-radius: var(--r-lg);
  background: var(--brand-soft);
  text-align: left;
}
.coming-soon > h3 { margin: var(--s3) 0 var(--s4); color: var(--text); font-size: 1.2rem; }
.coming-soon > p { color: var(--text-soft); font-size: .94rem; }
.coming-soon-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 12px;
  border-radius: 999px;
  background: rgba(240,143,200,.14);
  color: var(--pink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
}

/* ---- 占位表格 ---- */
.placeholder-table {
  margin: var(--s5) 0 var(--s6);
  border: 1px dashed var(--border-hover);
  border-radius: var(--r-md);
  overflow: hidden;
}
.placeholder-row {
  display: grid;
  grid-template-columns: 0.6fr 2fr 1fr 1fr;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .88rem;
}
.placeholder-row:last-child { border-bottom: 0; }
.placeholder-head { color: var(--text-soft); font-weight: 600; font-size: .82rem; letter-spacing: .04em; }
.placeholder-empty { grid-column: 1 / -1; text-align: center; padding: var(--s6); color: var(--text-muted); }

/* ---- forum 全页占位 ---- */
.section-forum { display: grid; place-items: center; min-height: max(560px, calc(100svh - 200px)); }
.coming-soon-large { max-width: 760px; margin: 0 auto; text-align: center; }
.coming-soon-large > h2 {
  margin: var(--s4) 0 var(--s5);
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 820;
}
.coming-soon-lead { margin: 0 0 var(--s4); color: var(--text); font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 600; }
.coming-soon-desc { margin: 0 0 var(--s7); color: var(--text-soft); font-size: .96rem; line-height: 1.95; }
.coming-soon-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4); }

/* ---- 多页站响应式 ---- */
@media (max-width: 900px) {
  .eco-grid { grid-template-columns: 1fr; max-width: 640px; }
}

@media (max-width: 680px) {
  .eco-grid { gap: var(--s4); }
  .loop { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .loop-node { min-width: 0; flex-direction: row; justify-content: flex-start; gap: var(--s4); }
  .loop-node:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: calc(var(--s4) * -1);
    transform: translate(50%, 50%) rotate(90deg);
  }
  .placeholder-row { grid-template-columns: 0.5fr 1.5fr; }
  .placeholder-row > *:nth-child(3),
  .placeholder-row > *:nth-child(4) { display: none; }
  .placeholder-head > *:nth-child(3),
  .placeholder-head > *:nth-child(4) { display: none; }
}

@media (hover: none) {
  .eco-card:hover { transform: none; }
}

