/* ===================================================
   Yuanzheng Tian — oriventh.site
   =================================================== */

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

:root {
  --bg:        #07090f;
  --bg-2:      #0a0e18;
  --bg-3:      #0f1524;
  --surface:   rgba(255,255,255,.028);
  --surface-2: rgba(255,255,255,.045);
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --ink:       #eef2f8;
  --ink-2:     #a2adc0;
  --ink-3:     #6b7688;
  --c1:        #4f8dff;
  --c2:        #a855f7;
  --c3:        #22d3ee;
  --c4:        #f59e0b;
  --ok:        #34d399;
  --warn:      #fbbf24;
  --bad:       #f87171;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --max: 1180px;
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 全局氛围光 */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 12% -5%,  rgba(79,141,255,.13), transparent 65%),
    radial-gradient(50rem 36rem at 88% 12%,  rgba(168,85,247,.10), transparent 65%),
    radial-gradient(46rem 34rem at 50% 105%, rgba(34,211,238,.07), transparent 65%);
}
/* 细噪点，去掉塑料感 */
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(79,141,255,.32); color: #fff; }

a { color: inherit; }

/* ---------- 通用 ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--c3); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .5; }

.h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  line-height: 1.15; letter-spacing: -.025em; margin-bottom: 18px;
}
.lede { color: var(--ink-2); font-size: 1.02rem; max-width: 62ch; }

.grad {
  background: linear-gradient(102deg, #7fb0ff 0%, #c084fc 48%, #5eead4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

section { position: relative; }
.sec { padding: clamp(80px, 11vw, 140px) 0; }
.sec-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.014) 22%, rgba(255,255,255,.014) 78%, transparent); }

.hr {
  height: 1px; border: 0; max-width: var(--max); margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: .94rem; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s, background .22s, border-color .22s, opacity .22s;
}
.btn-1 {
  background: linear-gradient(112deg, var(--c1), var(--c2));
  color: #fff; box-shadow: 0 8px 30px -8px rgba(79,141,255,.6);
}
.btn-1:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(79,141,255,.7); }
.btn-2 { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn-2:hover { border-color: rgba(127,176,255,.5); color: #fff; transform: translateY(-2px); }
.btn-3 { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-3:hover { color: var(--ink); border-color: var(--line-2); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-full { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: 68px;
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(7,9,15,.72); backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-in { max-width: var(--max); margin: 0 auto; padding: 0 28px; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-family: var(--display); font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.brand i { font-style: normal; color: var(--c1); }
.nav-mid { display: flex; gap: 4px; align-items: center; }
.nav-mid a {
  font-size: .88rem; color: var(--ink-2); text-decoration: none; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-mid a:hover { color: var(--ink); background: var(--surface-2); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  padding: 9px 20px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  text-decoration: none; color: #fff; background: linear-gradient(112deg, var(--c1), var(--c2));
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(79,141,255,.7); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: .28s; }
.burger span + span { margin-top: 5px; }
.burger.on span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.drawer {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 89;
  background: rgba(7,9,15,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line); padding: 12px 28px 22px;
  display: none; flex-direction: column;
}
.drawer.on { display: flex; }
.drawer a { padding: 14px 4px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); font-size: .98rem; }
.drawer a:last-child { border: 0; }
.progress { position: fixed; top: 0; left: 0; height: 2px; z-index: 95; width: 0;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3)); transition: width .1s linear; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(127,176,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,176,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 40% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 40%, #000 10%, transparent 72%);
}
.hero-in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 28px; width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 13px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .78rem; color: var(--ink-2); backdrop-filter: blur(10px); margin-bottom: 30px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 7.4vw, 5.1rem); line-height: 1.04;
  letter-spacing: -.038em; margin-bottom: 26px; max-width: 20ch;
}
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.16rem); color: var(--ink-2); max-width: 58ch; margin-bottom: 40px; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-act { display: flex; gap: 12px; flex-wrap: wrap; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fact { background: var(--bg-2); padding: 22px 20px; transition: background .25s; }
.fact:hover { background: var(--bg-3); }
.fact-k { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; }
.fact-v { font-size: .78rem; color: var(--ink-3); margin-top: 4px; font-family: var(--mono); letter-spacing: .04em; }

/* 关键词跑马灯 */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 15px 0; background: rgba(255,255,255,.012); }
.marquee-track { display: flex; gap: 42px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 42px;
}
.marquee-track span::after { content: '◇'; color: rgba(127,176,255,.4); font-size: .62rem; }

/* ---------- Bento / About ---------- */
.about-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.prose p { color: var(--ink-2); margin-bottom: 17px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px; overflow: hidden;
  transition: transform .3s cubic-bezier(.4,0,.2,1), border-color .3s, background .3s;
}
.tile::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(30rem 20rem at var(--mx,50%) var(--my,0%), rgba(127,176,255,.13), transparent 60%);
  transition: opacity .35s;
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.tile:hover::after { opacity: 1; }
.tile-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(79,141,255,.18), rgba(168,85,247,.12));
  border: 1px solid var(--line-2); margin-bottom: 16px;
}
.tile-ico svg { width: 20px; height: 20px; stroke: #9dc0ff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile h4 { font-size: .98rem; font-weight: 600; margin-bottom: 7px; letter-spacing: -.01em; }
.tile p { font-size: .855rem; color: var(--ink-3); line-height: 1.62; }
.tile-wide { grid-column: 1 / -1; }

/* 履历 */
.tl { margin-top: 72px; }
.tl-list { display: grid; gap: 14px; margin-top: 26px; }
.tl-row {
  display: grid; grid-template-columns: 128px 1fr; gap: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 28px; transition: border-color .3s, background .3s, transform .3s;
  position: relative; overflow: hidden;
}
.tl-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--c1), var(--c2)); opacity: 0; transition: opacity .3s;
}
.tl-row:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateX(4px); }
.tl-row:hover::before { opacity: 1; }
.tl-when { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--c3); padding-top: 3px; }
.tl-row h4 { font-size: 1.06rem; font-weight: 650; margin-bottom: 9px; letter-spacing: -.015em; }
.tl-row p { color: var(--ink-2); font-size: .92rem; }
.tl-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; padding: 4px 11px;
  border-radius: 999px; background: rgba(127,176,255,.09); border: 1px solid rgba(127,176,255,.2); color: #9dc0ff;
}

.creds { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cred {
  display: flex; align-items: center; gap: 13px; padding: 15px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .3s, transform .3s;
}
.cred:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cred-b { font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.cred-s { font-size: .78rem; color: var(--ink-3); }

/* ---------- 文章 ---------- */
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin: 34px 0 30px; }
.fbtn {
  padding: 9px 19px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); font-family: var(--sans); font-size: .85rem; cursor: pointer; transition: all .22s;
}
.fbtn:hover { border-color: var(--line-2); color: var(--ink); }
.fbtn.on { background: linear-gradient(112deg, var(--c1), var(--c2)); color: #fff; border-color: transparent; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.post {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; cursor: pointer; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; text-align: left; width: 100%;
  font-family: inherit; color: inherit;
  transition: transform .3s cubic-bezier(.4,0,.2,1), border-color .3s, background .3s, box-shadow .3s;
}
.post::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; opacity: 0; transition: opacity .3s;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
}
.post:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--surface-2); box-shadow: 0 20px 50px -22px rgba(0,0,0,.7); }
.post:hover::before { opacity: 1; }
.post-cat { font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--c3); }
.post h3 { font-size: 1.13rem; font-weight: 650; line-height: 1.42; letter-spacing: -.015em; }
.post-ex { font-size: .875rem; color: var(--ink-3); line-height: 1.65; flex: 1; }
.post-ft { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); padding-top: 8px; border-top: 1px solid var(--line); }
.post-arrow { transition: transform .3s; color: var(--c1); }
.post:hover .post-arrow { transform: translateX(4px); }
.state { grid-column: 1/-1; text-align: center; padding: 56px 0; color: var(--ink-3); font-size: .9rem; }

/* ---------- 测评 ---------- */
.quiz-shell { max-width: 800px; margin: 40px auto 0; }
.quiz-card {
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: clamp(26px, 4.5vw, 46px); position: relative; overflow: hidden;
}
.quiz-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127,176,255,.5), transparent);
}
.quiz-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.quiz-bar-track { flex: 1; height: 3px; background: rgba(255,255,255,.09); border-radius: 999px; overflow: hidden; }
.quiz-bar-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--c1), var(--c2)); transition: width .4s cubic-bezier(.4,0,.2,1); }
.quiz-bar-n { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); white-space: nowrap; }

.q-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c3); margin-bottom: 12px; }
.q-text { font-family: var(--display); font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 650; line-height: 1.38; letter-spacing: -.02em; margin-bottom: 26px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: flex-start; gap: 14px; padding: 17px 20px; cursor: pointer;
  background: rgba(255,255,255,.022); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, background .2s, transform .2s; text-align: left; width: 100%;
  font-family: inherit; font-size: .93rem; color: var(--ink-2); line-height: 1.55;
}
.opt:hover { border-color: rgba(127,176,255,.45); background: rgba(79,141,255,.07); color: var(--ink); transform: translateX(3px); }
.opt.on { border-color: var(--c1); background: rgba(79,141,255,.12); color: var(--ink); }
.opt-mark {
  flex-shrink: 0; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--line-2);
  margin-top: 2px; display: grid; place-items: center; transition: border-color .2s, background .2s;
}
.opt.on .opt-mark { border-color: var(--c1); background: var(--c1); }
.opt-mark::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .2s; }
.opt.on .opt-mark::after { opacity: 1; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

/* 分数 */
.score-wrap { text-align: center; }
.gauge { position: relative; width: 200px; height: 200px; margin: 0 auto 26px; }
.gauge svg { transform: rotate(-90deg); }
.gauge-bg { stroke: rgba(255,255,255,.07); }
.gauge-fg { stroke: url(#gaugeGrad); stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.34,1.2,.64,1); }
.gauge-mid { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; }
.gauge-n { font-family: var(--display); font-size: 3.1rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.gauge-d { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.lv-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 20px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; margin-bottom: 16px;
  background: rgba(79,141,255,.13); border: 1px solid rgba(79,141,255,.3); color: #9dc0ff;
}
.lv-desc { color: var(--ink-2); max-width: 54ch; margin: 0 auto 30px; font-size: .96rem; }

.gate { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 8px; text-align: left; }
.gate-h { font-family: var(--display); font-size: 1.16rem; font-weight: 650; margin-bottom: 8px; }
.gate-p { color: var(--ink-3); font-size: .875rem; margin-bottom: 22px; }
.gate-p b { color: var(--ink-2); font-weight: 600; }

/* 表单 */
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; color: var(--ink-3); margin-bottom: 7px; font-weight: 500; }
.field label .req { color: var(--c1); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; background: rgba(255,255,255,.035);
  border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink);
  font-family: inherit; font-size: .94rem; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .65; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c1); background: rgba(79,141,255,.06);
}
.field textarea { resize: vertical; min-height: 118px; }
.note { font-size: .78rem; color: var(--ink-3); margin-top: 12px; line-height: 1.6; }
.msg { font-size: .86rem; margin-top: 14px; padding: 11px 14px; border-radius: var(--r-sm); display: none; }
.msg.on { display: block; }
.msg.ok  { background: rgba(52,211,153,.1);  border: 1px solid rgba(52,211,153,.28);  color: #6ee7b7; }
.msg.err { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.28); color: #fca5a5; }

/* 报告 */
.rep { text-align: left; }
.rep-head { text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.rep-sec { margin-bottom: 34px; }
.rep-sec:last-child { margin-bottom: 0; }
.rep-h { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c3); margin-bottom: 16px; }
.rep-note { color: var(--ink-2); font-size: .94rem; padding: 18px 20px; background: rgba(255,255,255,.028);
  border: 1px solid var(--line); border-left: 2px solid var(--c1); border-radius: var(--r-sm); }

.bars { display: grid; gap: 11px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 34px; gap: 14px; align-items: center; }
.bar-k { font-size: .84rem; color: var(--ink-2); }
.bar-t { height: 6px; background: rgba(255,255,255,.07); border-radius: 999px; overflow: hidden; }
.bar-f { height: 100%; border-radius: 999px; width: 0; transition: width .9s cubic-bezier(.4,0,.2,1); }
.bar-f.b0 { background: linear-gradient(90deg, #f87171, #fb923c); }
.bar-f.b1 { background: linear-gradient(90deg, #fb923c, #fbbf24); }
.bar-f.b2 { background: linear-gradient(90deg, #fbbf24, #4f8dff); }
.bar-f.b3 { background: linear-gradient(90deg, #4f8dff, #34d399); }
.bar-n { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); text-align: right; }

.diag { background: rgba(255,255,255,.028); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 13px; }
.diag-top { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; flex-wrap: wrap; }
.diag-n { font-size: 1.02rem; font-weight: 650; }
.pill { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; }
.pill-w { background: rgba(251,191,36,.13); border: 1px solid rgba(251,191,36,.28); color: #fcd34d; }
.pill-s { background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--ink-3); }
.diag-f { color: var(--ink-2); font-size: .91rem; margin-bottom: 15px; }
.diag ul { list-style: none; display: grid; gap: 9px; }
.diag li { position: relative; padding-left: 20px; font-size: .885rem; color: var(--ink-2); line-height: 1.6; }
.diag li::before { content: ''; position: absolute; left: 3px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--c1); }
.diag-w { margin-top: 15px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: .82rem; color: var(--ink-3); }
.diag-w b { color: var(--ink-2); font-weight: 600; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.plan { background: rgba(255,255,255,.028); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.plan-h { font-family: var(--display); font-size: 1rem; font-weight: 650; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.plan-h em { font-style: normal; font-family: var(--mono); font-size: .68rem; padding: 3px 9px; border-radius: 999px;
  background: rgba(127,176,255,.12); border: 1px solid rgba(127,176,255,.25); color: #9dc0ff; }
.plan ol { list-style: none; counter-reset: p; display: grid; gap: 10px; }
.plan li { counter-increment: p; position: relative; padding-left: 26px; font-size: .875rem; color: var(--ink-2); line-height: 1.6; }
.plan li::before {
  content: counter(p); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(127,176,255,.13); border: 1px solid rgba(127,176,255,.25); color: #9dc0ff;
  font-family: var(--mono); font-size: .66rem; display: grid; place-items: center;
}
.strong-list { display: flex; gap: 8px; flex-wrap: wrap; }
.strong-list .pill { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.26); color: #6ee7b7; font-size: .74rem; padding: 5px 13px; }
.disclaim { font-size: .78rem; color: var(--ink-3); line-height: 1.65; padding: 16px 18px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: var(--r-sm); margin-top: 28px; }

/* ---------- 联系 ---------- */
.ct-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.ct-items { display: grid; gap: 2px; margin-top: 30px; }
.ct-item { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.ct-item:last-child { border: 0; }
.ct-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--line); }
.ct-ico svg { width: 17px; height: 17px; stroke: #9dc0ff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct-k { font-size: .74rem; color: var(--ink-3); font-family: var(--mono); letter-spacing: .05em; }
.ct-v { font-weight: 550; font-size: .94rem; margin-top: 2px; }
.ct-v a { color: #9dc0ff; text-decoration: none; }
.ct-v a:hover { text-decoration: underline; }
.ct-form { background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 36px); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot p { font-size: .82rem; color: var(--ink-3); }
.foot-links { display: flex; gap: 22px; }
.foot-links a { font-size: .82rem; color: var(--ink-3); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--ink); }

/* ---------- 弹窗 ---------- */
.sheet { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.sheet.on { display: flex; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet-bd { position: absolute; inset: 0; background: rgba(3,5,10,.82); backdrop-filter: blur(8px); }
.sheet-box {
  position: relative; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-xl);
  max-width: 780px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: clamp(28px, 5vw, 52px); animation: rise .3s cubic-bezier(.34,1.15,.64,1);
}
@keyframes rise { from { transform: translateY(22px) scale(.98); opacity: 0; } }
.sheet-x {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
  cursor: pointer; display: grid; place-items: center; font-size: 1.15rem; line-height: 1; transition: all .2s; z-index: 2;
}
.sheet-x:hover { background: rgba(248,113,113,.14); border-color: rgba(248,113,113,.35); color: #fca5a5; }
.art-h { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700;
  line-height: 1.24; letter-spacing: -.025em; margin: 12px 0 10px; }
.art-m { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.art-b { color: var(--ink-2); font-size: 1rem; line-height: 1.85; }
.art-b h2 { font-family: var(--display); font-size: 1.22rem; font-weight: 650; color: var(--ink);
  margin: 34px 0 13px; letter-spacing: -.015em; }
.art-b h2:first-child { margin-top: 0; }
.art-b p { margin-bottom: 17px; }
.art-b ul { list-style: none; margin: 0 0 18px; display: grid; gap: 9px; }
.art-b li { position: relative; padding-left: 20px; }
.art-b li::before { content: ''; position: absolute; left: 3px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--c1); }

/* ---------- 滚动入场 ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .about-top, .ct-grid { grid-template-columns: 1fr; gap: 44px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-mid { display: none; }
  .nav-end .nav-cta { display: none; }
  .burger { display: block; }
  .wrap, .nav-in, .hero-in, .foot-in { padding-inline: 20px; }
  .bento { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .f-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 84px 1fr 30px; gap: 10px; }
  .quiz-nav { flex-direction: column-reverse; }
  .quiz-nav .btn { width: 100%; }
  .gauge { width: 172px; height: 172px; }
  .gauge-n { font-size: 2.6rem; }
  .foot-in { flex-direction: column; text-align: center; }
}

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

/* ============ 作品展示 Works ============ */
.works-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:30px; }
.works-note { font-size:.82rem; color:var(--ink-3); border:1px solid var(--line); border-radius:999px; padding:7px 15px; white-space:nowrap; }
.shots { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.shot { position:relative; display:block; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; background:var(--surface); text-decoration:none; transition:transform .35s cubic-bezier(.4,0,.2,1), border-color .3s, box-shadow .35s; }
.shot:hover { transform:translateY(-5px); border-color:var(--line-2, var(--line)); box-shadow:0 22px 50px rgba(0,0,0,.35); }
.shot-img { position:relative; aspect-ratio:16/10; overflow:hidden; background:#0b0f18; }
.shot-img img { width:100%; height:100%; object-fit:cover; object-position:top left; display:block; transition:transform .5s cubic-bezier(.4,0,.2,1); }
.shot:hover .shot-img img { transform:scale(1.04); }
.shot-cap { padding:16px 18px 18px; }
.shot-cap b { display:block; font-size:.95rem; color:var(--ink); font-weight:600; margin-bottom:5px; }
.shot-cap span { font-size:.8rem; color:var(--ink-3); line-height:1.55; }
.shot-zoom { position:absolute; inset:0; display:grid; place-items:center; background:rgba(7,9,15,.55); opacity:0; transition:opacity .3s; }
.shot:hover .shot-zoom { opacity:1; }
.shot-zoom em { font-style:normal; font-size:.8rem; color:#fff; border:1px solid rgba(255,255,255,.45); border-radius:999px; padding:8px 16px; backdrop-filter:blur(3px); }
.works-foot { margin-top:26px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.works-dis { font-size:.8rem; color:var(--ink-3); line-height:1.7; flex:1; min-width:260px; }
.works-log { margin-top:30px; border-top:1px solid var(--line); padding-top:22px; }
.works-log .eyebrow { margin-bottom:14px; }
.log-list { display:flex; flex-direction:column; gap:9px; }
.log-row { display:flex; gap:14px; font-size:.85rem; color:var(--ink-2); align-items:baseline; }
.log-row time { font-family:'JetBrains Mono',monospace; font-size:.78rem; color:var(--ink-3); min-width:64px; }
/* 灯箱 */
.lb { position:fixed; inset:0; z-index:120; display:none; background:rgba(4,6,11,.9); backdrop-filter:blur(6px); }
.lb.on { display:grid; place-items:center; padding:28px; }
.lb img { max-width:min(1400px,96vw); max-height:88vh; border-radius:12px; border:1px solid rgba(255,255,255,.14); box-shadow:0 30px 80px rgba(0,0,0,.6); }
.lb-x { position:absolute; top:20px; right:24px; width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.07); color:#fff; font-size:22px; cursor:pointer; }
.lb-x:hover { background:rgba(255,255,255,.16); }
.lb-cap { position:absolute; bottom:24px; left:0; right:0; text-align:center; font-size:.84rem; color:rgba(255,255,255,.75); }
@media (max-width:900px){ .shots { grid-template-columns:1fr; } .works-note { white-space:normal; } }
