:root {
  --bg: #000;
  --text: #f5f5f7;
  --mute: #86868b;
  --mute2: #a1a1a6;
  --card: #141416;
  --line: #2a2a2d;
  --blue: #2997ff;
  --grad: linear-gradient(95deg, #5ea2ff 0%, #8f7bff 36%, #d47cff 66%, #ff8db0 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "PingFang SC", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(22px, 5vw);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; }
p, figure { margin: 0; }
strong { color: var(--text); font-weight: 600; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.grad-a { background: linear-gradient(95deg, #5ea2ff, #8f7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-b { background: linear-gradient(95deg, #3ee0b0, #5ea2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-c { background: linear-gradient(95deg, #b77bff, #ff7bb5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-d { background: linear-gradient(95deg, #ffb35c, #ff6f61); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: var(--mute); }

/* ---------- 顶栏（产品页的本地导航） ---------- */
.lnav { position: fixed; inset: 0 0 auto; z-index: 50; height: 52px; transition: background 0.4s, box-shadow 0.4s; }
.lnav.solid { background: rgba(22, 22, 23, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.lnav-in { max-width: 1040px; height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.lnav-name { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.lnav-links { display: flex; gap: 24px; margin-left: auto; font-size: 12px; color: #d2d2d7; }
.lnav-links a { opacity: 0.8; transition: opacity 0.2s; }
.lnav-links a:hover { opacity: 1; }
.lnav-cta { font-size: 12px; font-weight: 500; background: #0071e3; color: #fff; padding: 4px 13px; border-radius: 980px; }
.lnav-cta:hover { background: #0077ed; }

/* ---------- 开场 ---------- */
.hero { position: relative; height: 470vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 var(--gutter); overflow: hidden; }
.hero-glow { position: absolute; inset: -20%; background: radial-gradient(40% 35% at 30% 60%, rgba(94, 162, 255, 0.16), transparent 70%), radial-gradient(35% 30% at 72% 40%, rgba(212, 124, 255, 0.14), transparent 70%); filter: blur(10px); opacity: var(--glow, 0.6); transition: opacity 0.8s; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(3%, -2%, 0) scale(1.06); } }
.hero-web { position: absolute; left: 50%; top: 50%; width: min(1800px, 160vw); max-width: none; transform: translate(-50%, -50%) scale(var(--webs, 1.15)); opacity: var(--webo, 0.22); mix-blend-mode: screen; -webkit-mask-image: radial-gradient(50% 60% at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(50% 60% at 50% 50%, #000 30%, transparent 75%); pointer-events: none; }
.hero-name { position: relative; font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; color: var(--mute); margin-bottom: 3vh; transition: opacity 0.5s; }
.hero-lines { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: clamp(40px, min(8.6vw, 12.5vh), 120px); line-height: 1.03; font-weight: 700; letter-spacing: -0.05em; }
.hl { display: block; opacity: 0.1; transform: translateY(0.16em); transition: opacity 0.55s ease, transform 0.7s var(--ease), font-size 0.8s var(--ease), letter-spacing 0.8s var(--ease); }
.hl.on { opacity: 1; transform: none; }
.hl.past { opacity: 0.26; transform: none; }
.hl-final { margin-top: 0.3em; font-size: 0.94em; max-height: 0; overflow: hidden; transition: opacity 0.6s ease, transform 0.8s var(--ease), max-height 0.9s var(--ease); }
.hl-final.on { max-height: 4em; }
.hero.ending .hl:not(.hl-final) { opacity: 0.3; font-size: 0.4em; letter-spacing: -0.03em; }
.hero.ending .hero-name { opacity: 0; }
.hero-scroll { position: absolute; bottom: 5vh; width: 22px; height: 36px; border: 1.5px solid #48484a; border-radius: 12px; transition: opacity 0.4s; }
.hero-scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #86868b; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(9px); opacity: 0; } 61% { transform: none; opacity: 0; } }
.hero.moved .hero-scroll { opacity: 0; }

/* ---------- 窗口 ---------- */
.window { position: relative; border-radius: 16px; overflow: hidden; background: #1c1c1e; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 50px 120px -30px rgba(0, 0, 0, 0.9); }
.window::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); pointer-events: none; }

/* 主图升起 */
.reveal { position: relative; padding: 0 var(--gutter) 0; }
.reveal-media { max-width: 1240px; margin: -12vh auto 0; perspective: 1600px; }
.reveal .window { transform-origin: 50% 0; transform: rotateX(var(--rx, 14deg)) scale(var(--s, 0.82)); transition: transform 0.1s linear; }
.statement { max-width: 980px; margin: 150px auto 0; }
.statement-text { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.22; font-weight: 600; letter-spacing: -0.03em; color: var(--mute); }
.cta-row { margin-top: 44px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-block; background: #0071e3; color: #fff; font-size: 17px; padding: 12px 24px; border-radius: 980px; }
.btn:hover { background: #0077ed; }
.link { color: var(--blue); font-size: 19px; }
.link:hover { text-decoration: underline; }

/* ---------- 近看 ---------- */
.closer { padding: 200px var(--gutter) 40px; max-width: 1340px; margin: 0 auto; }
.section-title { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.05; letter-spacing: -0.045em; margin-bottom: 56px; }
.closer-stage { position: relative; aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); margin: 0 auto; border-radius: 28px; overflow: hidden; background: radial-gradient(80% 80% at 50% 30%, #1d1d24, #0b0b0d); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07); }
.closer-shot { position: absolute; inset: 7% 7% 0; display: flex; justify-content: center; opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.7s ease, transform 0.9s var(--ease); }
.closer-shot.on { opacity: 1; transform: none; }
.closer-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); pointer-events: none; z-index: 1; }
.closer-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 -20px 80px -20px rgba(143, 123, 255, 0.35); }
.closer-shot[data-k="docubase"] img { width: auto; max-width: 52%; object-fit: cover; }
.closer-cap { margin: -30px 0 40px; max-width: 640px; font-size: clamp(19px, 1.6vw, 21px); color: var(--mute2); font-weight: 500; min-height: 1.5em; transition: opacity 0.3s; }
.closer-tabs { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 6px; width: fit-content; max-width: 100%; border-radius: 980px; background: rgba(66, 66, 69, 0.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.closer-tabs button { font: inherit; font-size: 15px; font-weight: 500; color: #d2d2d7; background: none; border: 0; padding: 9px 20px; border-radius: 980px; cursor: pointer; transition: background 0.25s, color 0.25s; }
.closer-tabs button.on { background: #f5f5f7; color: #1d1d1f; }

/* ---------- 章节 ---------- */
.chapter { position: relative; padding: 200px var(--gutter) 40px; }
.chapter-head { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.chapter-head.center { text-align: center; }
.eyebrow { font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; color: #5ea2ff; margin-bottom: 14px; letter-spacing: -0.015em; }
.eb-b { color: #3ee0b0; }
.eb-c { color: #c58bff; }
.eb-d { color: #ffa45c; }
.eb-e { color: #ff8db0; }
.chapter-title { font-size: clamp(44px, 7vw, 96px); line-height: 1.02; letter-spacing: -0.05em; }
.body { max-width: 720px; margin-top: 32px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.42; color: var(--mute); font-weight: 500; }
.center-body { margin: 56px auto 0; text-align: center; }
.media { position: relative; max-width: 1240px; margin: 90px auto 0; }
.media::before { content: ""; position: absolute; inset: 8% 10% -6%; border-radius: 50%; filter: blur(70px); opacity: 0.45; z-index: -1; }
.glow-a::before { background: radial-gradient(#3a6dff, transparent 70%); }
.glow-b::before { background: radial-gradient(#13a884, transparent 70%); }
.glow-c::before { background: radial-gradient(#9b4dff, transparent 70%); }
.facts { max-width: 1240px; margin: 70px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.facts h3 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 6px; }
.facts p { color: var(--mute); font-size: 16px; }

/* Canvas：背后整张关系网 */
.canvas { overflow: hidden; }
.canvas-bg { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; pointer-events: none; }
.canvas-bg img { width: 170%; max-width: none; margin-top: 4%; opacity: 0.28; mix-blend-mode: screen; transform: translateY(var(--py, 0)); -webkit-mask-image: linear-gradient(#000 20%, transparent 85%); mask-image: linear-gradient(#000 20%, transparent 85%); }
.numbers { position: relative; z-index: 1; max-width: 1000px; margin: 80px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.numbers b { display: block; font-size: clamp(48px, 6vw, 84px); line-height: 1; letter-spacing: -0.05em; background: linear-gradient(160deg, #fff, #8e8e93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers span { display: block; margin-top: 10px; color: var(--mute); font-size: 17px; font-weight: 500; }

/* Docubase */
.fmt-grid { max-width: 1240px; margin: 90px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fmt-grid figure { position: relative; aspect-ratio: 4 / 3.7; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07); }
.fmt-grid img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.fmt-grid figure:hover img { transform: scale(1.04); }
.fmt-grid figure::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); pointer-events: none; }
.fmt-grid figcaption { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.formats { max-width: 900px; margin: 56px auto 0; text-align: center; color: var(--mute); font-size: 17px; line-height: 1.9; }

/* 数字条 */
.stats { max-width: 1240px; margin: 0 auto; padding: 200px var(--gutter) 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat b { display: block; font-size: clamp(64px, 8vw, 120px); line-height: 1; letter-spacing: -0.06em; }
.stat span { display: block; margin-top: 12px; color: var(--mute); font-size: 17px; font-weight: 500; max-width: 15em; }

/* 设备 */
.devices { max-width: 1150px; margin: 90px auto 0; position: relative; padding-right: 9%; }
.laptop-screen { border: 14px solid #0d0d0e; border-bottom-width: 18px; border-radius: 22px 22px 6px 6px; background: #000; overflow: hidden; box-shadow: 0 0 0 1.5px #3a3a3c; }
.laptop-base { height: 16px; margin: 0 -6%; border-radius: 0 0 18px 18px; background: linear-gradient(#5b5b60, #2c2c2e 60%, #1c1c1e); position: relative; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 6px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #48484a; }
.phone { position: absolute; right: 0; bottom: -40px; width: 24%; min-width: 150px; border: 9px solid #0d0d0e; border-radius: 46px; overflow: hidden; background: #000; box-shadow: 0 0 0 1.5px #48484a, 0 30px 70px -10px rgba(0, 0, 0, 0.9); }
.phone img { border-radius: 37px; }
.platforms { list-style: none; padding: 0; margin: 110px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 44px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.025em; }

/* 结尾 */
.final { text-align: center; padding: 220px var(--gutter) 180px; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(143, 123, 255, 0.22), transparent); pointer-events: none; }
.final-icon { position: relative; margin: 0 auto 44px; width: 116px; filter: drop-shadow(0 20px 44px rgba(143, 123, 255, 0.5)); }
.final-title { position: relative; font-size: clamp(52px, 8.6vw, 124px); line-height: 1.0; letter-spacing: -0.055em; }
.final-sub { position: relative; margin-top: 26px; color: var(--mute); font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; }
.dl { position: relative; max-width: 880px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dl-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 18px 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); font-weight: 600; font-size: 18px; transition: background 0.2s; }
.dl-btn small { font-size: 12.5px; font-weight: 500; color: var(--mute); }
.dl-btn:not(.soon):hover { background: #0071e3; }
.dl-btn.soon { cursor: default; }

.foot { border-top: 1px solid #1d1d1f; }
.foot-in { max-width: 1040px; margin: 0 auto; padding: 22px var(--gutter) 34px; display: flex; justify-content: space-between; color: #6e6e73; font-size: 12px; }

/* 进场 */
.rise { opacity: 0; transform: translateY(48px); transition: opacity 1s ease, transform 1.1s var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* ---------- 窄屏 ---------- */
@media (max-width: 860px) {
  .lnav-links { display: none; }
  .lnav-cta { margin-left: auto; }
  .lnav-name { font-size: 19px; }
  .chapter, .closer { padding-top: 130px; }
  .statement { margin-top: 100px; }
  .media { margin-top: 56px; }
  .window { border-radius: 10px; }
  .closer-stage { aspect-ratio: 4 / 3.6; border-radius: 20px; }
  .closer-stage { overflow: visible; margin-bottom: 70px; }
  .closer-stage::after { border-radius: 0 0 20px 20px; }
  .closer-shot { overflow: hidden; }
  .closer-tabs { bottom: -62px; flex-wrap: nowrap; gap: 0; padding: 4px; }
  .closer-cap { margin-top: -20px; }
  .closer-shot { inset: 7% 5% 0; }
  .closer-shot[data-k="docubase"] img { max-width: 78%; }
  .closer-tabs button { padding: 7px 12px; font-size: 13.5px; white-space: nowrap; }
  .facts { grid-template-columns: 1fr; gap: 26px; margin-top: 48px; }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; margin-top: 56px; }
  .fmt-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 56px; }
  .fmt-grid figure { border-radius: 16px; }
  .fmt-grid figcaption { left: 12px; bottom: 10px; font-size: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; padding-top: 130px; }
  .laptop-screen { border-width: 7px 7px 9px; border-radius: 12px 12px 4px 4px; }
  .laptop-base { height: 9px; }
  .phone { border-width: 5px; border-radius: 26px; width: 27%; min-width: 0; bottom: -24px; }
  .phone img { border-radius: 21px; }
  .platforms { margin-top: 70px; gap: 10px 26px; }
  .dl { grid-template-columns: 1fr 1fr; }
  .final { padding-top: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero-sticky { position: relative; min-height: 100vh; }
  .hl, .hl-final { opacity: 1 !important; transform: none !important; max-height: none !important; transition: none; }
  .hero-glow { animation: none; }
  .reveal .window { transform: none !important; }
  .rise { opacity: 1; transform: none; transition: none; }
  .hero-scroll { display: none; }
}
