:root {
  --bg: #f7f7f4;
  --surface: #fff;
  --surface-soft: #efefea;
  --ink: #191a1d;
  --muted: #6e7280;
  --border: #e4e4e0;
  --accent: #7357b8;
  --accent-soft: #e8e1f4;
  --terminal: #211f2d;
  --container: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "Geist", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(115,87,184,.32); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 120; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 128px 0 140px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.section-heading { max-width: 720px; }
.section-heading h2, .section-intro h2, .contact-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
.section-heading > p:last-child, .section-intro > p:last-child { max-width: 62ch; margin: 22px 0 0; color: var(--muted); font-size: 16px; text-wrap: pretty; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 40; height: 64px; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(247,247,244,.82); border-bottom: 1px solid rgba(228,228,224,.72); box-shadow: 0 5px 26px rgba(43,38,50,.04); backdrop-filter: blur(22px); }
.nav-shell { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(var(--container), calc(100% - 48px)); height: 64px; margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 17px; font-weight: 600; }
.brand img { width: 34px; height: 34px; object-fit: cover; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 34px; color: var(--muted); font-size: 13px; }
.nav-links a { position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-contact { justify-self: end; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-dark { color: white; background: var(--ink); box-shadow: 0 9px 28px rgba(25,26,29,.12); }
.button-dark:hover { background: #303136; }
.button-light { color: var(--ink); background: rgba(255,255,255,.58); border-color: rgba(25,26,29,.16); backdrop-filter: blur(10px); }
.button-light:hover { background: white; border-color: rgba(25,26,29,.3); }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; min-height: 940px; overflow: hidden; padding: 126px 0 34px; border-bottom: 1px solid rgba(228,228,224,.8); user-select: none; }
.hero-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom,rgba(247,247,244,.06),rgba(247,247,244,.5) 78%,rgba(247,247,244,.82)); }
.hero-inner { position: relative; z-index: 2; display: flex; min-height: 770px; flex-direction: column; justify-content: space-between; }
.hero-copy { width: min(940px, calc(100% - 48px)); margin: 0 auto; text-align: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; padding: 5px 12px; color: #4c3b72; background: rgba(255,255,255,.5); border: 1px solid rgba(115,87,184,.18); border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); font-size: 12px; backdrop-filter: blur(10px); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.3s ease-in-out infinite; }
.type-caret { width: 1px; height: 13px; background: var(--accent); animation: blink .85s steps(1) infinite; }
@keyframes pulse { 50% { opacity: .42; transform: scale(.72); } }
@keyframes blink { 50% { opacity: 0; } }
.hero-title { margin: 20px 0 0; font-weight: 600; letter-spacing: -.055em; line-height: 1.08; text-wrap: balance; }
.hero-line-one, .hero-line-two { display: block; }
.hero-line-one { font-size: clamp(48px, 5.2vw, 66px); }
.hero-line-two { margin-top: 5px; font-size: clamp(34px, 4vw, 52px); }
.lead-word { margin-right: .2em; }
.focus-word { position: relative; display: inline-block; color: rgba(115,87,184,.62); filter: blur(2.4px); opacity: .72; transition: filter .52s, opacity .52s, color .52s, transform .52s; }
.focus-word::before, .focus-word::after { content: ""; position: absolute; width: 8px; height: 8px; opacity: 0; transition: opacity .4s, transform .4s var(--ease); }
.focus-word::before { left: -7px; top: -4px; border-left: 1px solid var(--accent); border-top: 1px solid var(--accent); transform: translate(4px,4px); }
.focus-word::after { right: -7px; bottom: -3px; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); transform: translate(-4px,-4px); }
.focus-word.is-active { color: var(--accent); filter: blur(0); opacity: 1; transform: translateY(-1px); }
.focus-word.is-active::before, .focus-word.is-active::after { opacity: 1; transform: none; }
.plus { margin-inline: .12em; color: rgba(25,26,29,.22); font-weight: 400; }
.hero-subtitle { max-width: 620px; margin: 26px auto 0; color: #555966; font-size: 17px; line-height: 1.75; text-wrap: balance; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-avatar-sticker { position: absolute; z-index: 3; top: 48px; left: calc(50% + clamp(390px,20vw,410px)); width: clamp(172px,11.5vw,205px); margin: 0; cursor: grab; pointer-events: auto; touch-action: none; will-change: transform; }
.hero-avatar-sticker.is-dragging { z-index: 8; cursor: grabbing; }
.hero-avatar-motion { position: relative; transform-origin: 50% 72%; will-change: transform; animation: hero-avatar-float 3.4s ease-in-out infinite; }
.hero-avatar-sticker.is-dragging .hero-avatar-motion, .hero-avatar-sticker.is-returning .hero-avatar-motion { animation-play-state: paused; }
.hero-avatar-art { position: relative; transform: rotate(2.1deg); transform-origin: 50% 75%; }
.hero-avatar-art img { width: 100%; height: auto; filter: drop-shadow(5px 0 0 white) drop-shadow(-5px 0 0 white) drop-shadow(0 5px 0 white) drop-shadow(0 -5px 0 white) drop-shadow(0 16px 18px rgba(48,39,70,.17)); transition: filter .2s ease; }
.hero-avatar-sticker.is-dragging .hero-avatar-art img { filter: drop-shadow(5px 0 0 white) drop-shadow(-5px 0 0 white) drop-shadow(0 5px 0 white) drop-shadow(0 -5px 0 white) drop-shadow(0 24px 26px rgba(48,39,70,.22)); }
.hero-avatar-star { position: absolute; z-index: 2; right: 4%; top: 8%; width: 22px; height: 22px; background: rgba(115,87,184,.72); clip-path: polygon(50% 0,58% 40%,100% 50%,58% 60%,50% 100%,42% 60%,0 50%,42% 40%); }
.hero-avatar-heart { position: absolute; z-index: 2; left: -10%; top: 25%; width: 44px; height: 36px; background: rgba(255,255,255,.88); border: 1px solid rgba(115,87,184,.12); border-radius: 50%; box-shadow: 0 8px 18px rgba(62,50,83,.1); transform: rotate(-7deg); }
.hero-avatar-heart::before { content: "♥"; display: grid; height: 100%; place-items: center; color: var(--accent); font-size: 20px; line-height: 1; }
.hero-avatar-heart::after { content: ""; position: absolute; right: 4px; bottom: -4px; width: 10px; height: 10px; background: inherit; border-right: inherit; border-bottom: inherit; transform: rotate(35deg); }
@keyframes hero-avatar-float { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-17px,0); } }
.hero-enter { opacity: 0; transform: translateY(18px); }
.no-gsap .hero-enter { animation: enter .7s var(--ease) forwards; }
@keyframes enter { to { opacity: 1; transform: none; } }
.platform-showcase { width: 100%; margin-top: 72px; }
.marquee-label { margin: 0 0 16px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-align: center; }
.marquee-window { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 16px; padding: 5px 0; animation: marquee-left 62s linear infinite; }
.marquee-track + .marquee-track { margin-top: 9px; }
.marquee-right { animation-name: marquee-right; animation-duration: 54s; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-left { to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.edge-fade { position: absolute; z-index: 3; top: 0; bottom: 0; width: min(10vw, 132px); pointer-events: none; }
.edge-fade-left { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.edge-fade-right { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.platform-card { display: grid; grid-template-columns: 44px 1fr; gap: 15px; width: 260px; min-height: 96px; align-items: center; padding: 14px 17px; text-align: left; background: rgba(255,255,255,.55); border: 1px solid rgba(115,87,184,.13); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); backdrop-filter: blur(10px); cursor: pointer; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.platform-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.88); box-shadow: 0 14px 34px rgba(43,38,50,.07); }
.platform-icon { display: grid; width: 44px; height: 44px; place-items: center; overflow: hidden; background: white; border-radius: 12px; font-size: 13px; font-weight: 600; transition: transform .3s var(--ease); }
.platform-card:hover .platform-icon { transform: scale(1.08) rotate(-2deg); }
.platform-logo img { width: 100%; height: 100%; object-fit: cover; }
.platform-x { color: white; background: #202126; }
.project-icon { color: var(--accent); background: var(--accent-soft); font-family: "JetBrains Mono", monospace; }
.wechat-mark { color: white; background: #21a867; }
.platform-card b, .platform-card small, .platform-card em { display: block; }
.platform-card b { font-size: 14px; font-weight: 600; }
.platform-card small { margin-top: 1px; color: var(--muted); font-size: 11px; }
.platform-card em { margin-top: 6px; color: var(--accent); font-size: 10px; font-style: normal; }

.journey-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; align-items: start; }
.section-intro { position: sticky; top: 120px; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.timeline li { position: relative; display: grid; grid-template-columns: 138px 1fr; gap: 25px; padding: 0 0 48px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--accent); border-radius: 50%; transition: background .3s, transform .3s var(--ease); }
.timeline li:hover::before { background: var(--accent); transform: scale(1.3); }
.timeline time { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 10px; line-height: 2.2; font-variant-numeric: tabular-nums; }
.timeline h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.timeline p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.skill-tags, .product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.skill-tags span, .product-tags span { padding: 5px 9px; color: #514462; background: rgba(232,225,244,.7); border: 1px solid rgba(115,87,184,.12); border-radius: 7px; font-size: 11px; line-height: 1.4; transition: transform .25s var(--ease), background .25s; }
.timeline li:hover .skill-tags span { background: var(--accent-soft); transform: translateY(-2px); }

.product-section { background: #f3eef9; border-block: 1px solid rgba(115,87,184,.12); }
.product-console-layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(520px,1.18fr); gap: 84px; align-items: center; margin-top: 88px; }
.product-selector { min-width: 0; }
.product-selector-label { margin: 0 0 12px; color: #82798e; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.product-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 50px; }
.product-tab { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 9px 14px; color: #6d6877; text-align: left; background: rgba(255,255,255,.42); border: 1px solid rgba(115,87,184,.1); border-radius: 8px; cursor: pointer; transition: color .25s, background .25s, border-color .25s, transform .28s var(--ease), box-shadow .28s; }
.product-tab span { color: var(--accent); font: 9px/1 "JetBrains Mono", monospace; }
.product-tab:hover { transform: translateY(-2px); border-color: rgba(115,87,184,.24); background: rgba(255,255,255,.72); }
.product-tab:active { transform: translateY(0) scale(.98); }
.product-tab.is-active { color: white; background: #24212f; border-color: #24212f; box-shadow: 0 9px 24px rgba(44,35,62,.16); }
.product-tab.is-active span { color: #c4acec; }
.product-copy-live { min-height: 286px; }
.product-copy h3 { margin: 8px 0 0; font-size: clamp(28px,3vw,42px); font-weight: 600; letter-spacing: -.04em; line-height: 1.12; }
.product-copy > p { max-width: 55ch; margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.product-index { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 11px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; color: var(--accent); font-size: 13px; font-weight: 600; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(3px,-3px); }
.terminal-stack { position: relative; min-height: 520px; padding: 48px 18px 28px 44px; perspective: 1100px; }
.terminal-layer { position: absolute; display: grid; align-content: start; gap: 12px; width: calc(100% - 82px); min-height: 390px; padding: 24px; color: rgba(255,255,255,.62); background: #353148; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; box-shadow: 0 24px 65px rgba(48,39,70,.16); font: 10px/1.7 "JetBrains Mono", monospace; transform-origin: center bottom; transition: transform .65s var(--ease); }
.terminal-layer span { color: rgba(255,255,255,.38); }
.terminal-layer code { margin-top: 42px; color: rgba(255,255,255,.68); }
.terminal-layer-back { left: 8px; top: 4px; transform: rotate(-5deg) translateY(12px); }
.terminal-layer-middle { right: 0; top: 19px; background: #2b293b; transform: rotate(4deg) translateY(7px); }
.terminal-shell { min-height: 430px; overflow: hidden; color: #eeeaf8; background: linear-gradient(145deg,#252233,#191824); border: 1px solid rgba(255,255,255,.13); border-radius: 22px; box-shadow: 0 34px 70px rgba(45,36,65,.24), inset 0 1px 0 rgba(255,255,255,.1); }
.terminal-shell-main { position: relative; z-index: 3; transform: rotate(.7deg); transition: transform .65s var(--ease); }
.terminal-shell-incoming { position: absolute; z-index: 2; top: 48px; right: 18px; left: 44px; min-height: 430px; pointer-events: none; will-change: transform, opacity; }
.terminal-stack:hover .terminal-layer-back { transform: rotate(-7deg) translate(-8px,-6px); }
.terminal-stack:hover .terminal-layer-middle { transform: rotate(5.5deg) translate(8px,-4px); }
.terminal-stack:hover .terminal-shell-main { transform: rotate(0) translateY(-5px); }
.terminal-stack.is-switching .terminal-layer, .terminal-stack.is-switching .terminal-shell-main { transition: none; }
.terminal-stack[aria-busy="true"] .terminal-arrow, .product-tab[aria-disabled="true"] { cursor: wait; }
.terminal-top { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 20px; color: rgba(238,234,248,.55); border-bottom: 1px solid rgba(255,255,255,.08); font-family: "JetBrains Mono", monospace; font-size: 10px; }
.terminal-status { display: flex; align-items: center; gap: 7px; }
.terminal-status i { width: 6px; height: 6px; border-radius: 50%; background: #b79bea; box-shadow: 0 0 12px rgba(183,155,234,.7); animation: pulse 1.6s infinite; }
.terminal-output { min-height: 370px; margin: 0; padding: 30px; white-space: pre-wrap; color: #eeeaf8; font: 12px/1.9 "JetBrains Mono", monospace; }
.terminal-output code { color: inherit; font: inherit; }
.terminal-caret { position: absolute; right: 28px; bottom: 29px; width: 8px; height: 16px; background: #a98bdc; animation: caret-blink .8s steps(1) infinite; }
.terminal-navigation { position: absolute; z-index: 6; right: 18px; bottom: 0; left: 44px; display: flex; align-items: center; justify-content: center; gap: 13px; }
.terminal-arrow { display: grid; width: 35px; height: 35px; padding: 0; place-items: center; color: #5f5869; background: rgba(255,255,255,.56); border: 1px solid rgba(115,87,184,.12); border-radius: 50%; cursor: pointer; transition: color .25s, background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.terminal-arrow:hover { color: white; background: #24212f; border-color: #24212f; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(44,35,62,.16); }
.terminal-arrow:active { transform: translateY(0) scale(.94); }
.terminal-dots { display: flex; align-items: center; gap: 7px; }
.terminal-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(115,87,184,.2); transition: width .3s var(--ease), background .3s; }
.terminal-dots i.is-active { width: 18px; border-radius: 999px; background: var(--accent); }
@keyframes caret-blink { 50% { opacity: 0; } }

.content-section { background: var(--bg); }
.content-group { margin-top: 76px; }
.content-group + .content-group { margin-top: 108px; }
.group-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 22px 0; border-block: 1px solid var(--border); }
.group-heading > div { display: flex; align-items: baseline; gap: 16px; }
.group-heading span { color: var(--accent); font: 10px/1 "JetBrains Mono", monospace; }
.group-heading h3 { margin: 0; font-size: 25px; font-weight: 600; letter-spacing: -.03em; }
.group-heading p { max-width: 35ch; margin: 0; color: var(--muted); text-align: right; font-size: 12px; }
.content-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 26px; }
.content-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.content-card:hover, .content-card:focus-visible { transform: translateY(-7px); border-color: rgba(115,87,184,.25); box-shadow: 0 24px 50px rgba(48,43,55,.09); }
.content-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-soft); }
.content-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.content-card:hover img { transform: scale(1.035); }
.hover-sticker { position: absolute; right: 16px; top: 16px; padding: 7px 10px; color: var(--accent); background: rgba(255,255,255,.9); border: 1px solid rgba(115,87,184,.16); border-radius: 7px; box-shadow: 0 7px 22px rgba(43,38,50,.08); font-size: 10px; font-weight: 600; opacity: 0; transform: translate(0,14px) rotate(4deg); transition: opacity .4s, transform .4s var(--ease); }
.content-card:hover .hover-sticker { opacity: 1; transform: translate(0,0) rotate(-2deg); }
.content-body { padding: 20px; }
.card-kicker { color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.content-body h3 { margin: 7px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.45; }
.content-body p { display: flex; gap: 15px; margin: 17px 0 0; color: var(--muted); font-size: 11px; }
.content-more { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); }
.content-more > span { color: var(--muted); font-size: 12px; }

.life-section { background: #efefec; border-block: 1px solid rgba(70,70,67,.1); overflow: hidden; }
.life-section .container { position: relative; }
.life-sticker-field { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.life-ambient-sticker { --tilt: 0deg; --float-y: -16px; --float-duration: 3.8s; --float-delay: 0s; --sticker-color: #7357b8; position: absolute; display: block; width: 118px; cursor: grab; pointer-events: auto; touch-action: none; user-select: none; will-change: transform; }
.life-ambient-sticker.is-dragging { z-index: 12; cursor: grabbing; }
.life-sticker-motion { position: relative; display: block; filter: drop-shadow(0 15px 13px rgba(57,50,67,.18)) drop-shadow(0 3px 2px rgba(57,50,67,.1)); transform-origin: 50% 65%; will-change: transform; animation: life-sticker-drift var(--float-duration) ease-in-out var(--float-delay) infinite; transition: filter .2s ease; }
.life-ambient-sticker.is-dragging .life-sticker-motion, .life-ambient-sticker.is-returning .life-sticker-motion { animation-play-state: paused; }
.life-ambient-sticker.is-dragging .life-sticker-motion { filter: drop-shadow(0 22px 18px rgba(57,50,67,.24)) drop-shadow(0 5px 3px rgba(57,50,67,.12)); }
.life-sticker-motion img { display: block; width: 100%; height: auto; }
.life-sticker-motion > span { position: absolute; left: 50%; bottom: -7px; padding: 6px 9px 5px; color: var(--sticker-color); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.88); border-radius: 8px; box-shadow: 0 7px 15px rgba(47,43,54,.14); font-size: 10px; font-weight: 700; letter-spacing: .02em; line-height: 1; white-space: nowrap; transform: translateX(-50%) rotate(-2deg); }
.life-sticker-passion { --tilt: -4deg; --float-y: -17px; --float-duration: 3.5s; --float-delay: -.8s; --sticker-color: #388e54; left: 49%; top: 122px; width: 132px; }
.life-sticker-reading { --tilt: 5deg; --float-y: -16px; --float-duration: 3.9s; --float-delay: -2.1s; --sticker-color: #6043a7; right: 3%; top: 138px; width: 144px; }
.life-sticker-running { --tilt: 3deg; --float-y: -15px; --float-duration: 3.3s; --float-delay: -1.4s; --sticker-color: #b57a0d; left: 66%; top: 288px; width: 108px; }
.life-sticker-joy { --tilt: 7deg; --float-y: -17px; --float-duration: 3.7s; --float-delay: -.3s; --sticker-color: #b95774; right: -1%; top: 350px; width: 126px; }
.life-sticker-longterm { --tilt: -6deg; --float-y: -15px; --float-duration: 4.1s; --float-delay: -2.7s; --sticker-color: #6850a8; right: 5%; top: 640px; width: 106px; }
.life-sticker-recharge { --tilt: -7deg; --float-y: -18px; --float-duration: 3.6s; --float-delay: -1.9s; --sticker-color: #347ba8; left: 1%; bottom: 40px; width: 128px; }
@keyframes life-sticker-drift { 0%,100% { transform: translate3d(0,0,0) rotate(var(--tilt)); } 50% { transform: translate3d(0,var(--float-y),0) rotate(var(--tilt)); } }
.folder-grid { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 0; align-items: start; min-height: 540px; margin-top: 58px; }
.folder-card { display: block; width: 100%; padding: 0; text-align: left; background: none; border: 0; cursor: pointer; transform-origin: center bottom; transition: transform .55s var(--ease); }
.folder-card:nth-child(1) { grid-column: 1 / 6; transform: translate(-20px,54px) rotate(-2.4deg); }
.folder-card:nth-child(2) { grid-column: 5 / 9; transform: translate(12px,112px) rotate(1.6deg); }
.folder-card:nth-child(3) { grid-column: 9 / 13; transform: translate(18px,12px) rotate(-1.1deg); }
.folder-card:hover, .folder-card[aria-expanded="true"] { z-index: 4; }
.folder-scene { position: relative; display: block; height: 430px; perspective: 900px; }
.folder-back, .folder-front { position: absolute; left: 7%; right: 7%; bottom: 20px; display: block; border-radius: 18px; }
.folder-back { z-index: 2; height: 190px; background: #d8d8d3; border: 1px solid rgba(44,45,48,.08); box-shadow: 0 20px 38px rgba(48,49,52,.12); transition: transform .58s var(--ease); }
.folder-back::before { content: ""; position: absolute; left: 0; top: -34px; width: 42%; height: 58px; background: inherit; border-radius: 16px 22px 0 0; }
.folder-front { z-index: 8; height: 165px; padding: 54px 25px 22px; color: #303136; background: linear-gradient(155deg,#f4f4f1,#dfdfda); border: 1px solid rgba(255,255,255,.82); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 20px 38px rgba(48,49,52,.11); transform-origin: center bottom; transition: transform .58s var(--ease); }
.folder-front b { position: absolute; right: 22px; top: 20px; color: rgba(56,45,67,.55); font: 10px/1 "JetBrains Mono", monospace; }
.folder-front strong, .folder-front small { display: block; }
.folder-front strong { font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.folder-front small { margin-top: 4px; color: rgba(56,45,67,.58); font-size: 11px; }
.folder-photo { position: absolute; z-index: 5; left: 50%; bottom: 120px; width: 60%; padding: 7px; overflow: hidden; background: #fff; border: 1px solid rgba(70,56,82,.1); border-radius: 12px; box-shadow: 0 18px 32px rgba(55,43,67,.18); transform: translate(-50%,58px) rotate(0) scale(.82); transform-origin: center bottom; transition: transform .68s var(--ease), opacity .38s; }
.folder-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 7px; }
.folder-photo.photo-two { transform: translate(-50%,66px) rotate(2deg) scale(.8); }
.folder-photo.photo-three { transform: translate(-50%,72px) rotate(-2deg) scale(.78); }
.folder-photo.photo-four { transform: translate(-50%,76px) scale(.76); }
.book-cover { width: 42%; }
.book-cover img { aspect-ratio: 3/4; }
.folder-sticker { position: absolute; z-index: 10; display: grid; place-items: center; color: #3f4045; background: #f5f1ca; box-shadow: 0 10px 20px rgba(55,56,60,.1); font-size: 9px; font-weight: 700; letter-spacing: .06em; pointer-events: none; transition: transform .6s var(--ease); }
.sticker-round { right: 2%; bottom: 56px; width: 56px; height: 56px; border-radius: 50%; transform: rotate(9deg); }
.sticker-note { left: 0; bottom: 4px; padding: 8px 11px; border-radius: 5px; transform: rotate(-5deg); }
.folder-running .folder-back, .folder-reading .folder-back { background: #d8d8d3; }.folder-running .folder-front, .folder-reading .folder-front { color: #303136; background: linear-gradient(155deg,#f4f4f1,#dfdfda); }
.folder-card:hover .folder-back, .folder-card[aria-expanded="true"] .folder-back { transform: translateY(-6px) rotateX(4deg); }
.folder-card:hover .folder-front, .folder-card[aria-expanded="true"] .folder-front { transform: translateY(12px) rotateX(-12deg); }
.folder-card:hover .photo-one, .folder-card[aria-expanded="true"] .photo-one { transform: translate(-105%,-95px) rotate(-10deg) scale(1); }
.folder-card:hover .photo-two, .folder-card[aria-expanded="true"] .photo-two { transform: translate(-50%,-142px) rotate(2deg) scale(1.03); }
.folder-card:hover .photo-three, .folder-card[aria-expanded="true"] .photo-three { transform: translate(5%,-92px) rotate(10deg) scale(1); }
.folder-card:hover .photo-four, .folder-card[aria-expanded="true"] .photo-four { transform: translate(-48%,-55px) rotate(-1deg) scale(.9); }
.folder-card:hover .sticker-round, .folder-card[aria-expanded="true"] .sticker-round { transform: translate(7px,-12px) rotate(18deg); }
.folder-card:hover .sticker-note, .folder-card[aria-expanded="true"] .sticker-note { transform: translate(-7px,-9px) rotate(-8deg); }
@media (prefers-reduced-motion: no-preference) { .folder-card:not(:hover):not([aria-expanded="true"]) .folder-scene { animation: folder-float 5s ease-in-out infinite; }.folder-card:nth-child(2) .folder-scene { animation-delay: -1.7s; }.folder-card:nth-child(3) .folder-scene { animation-delay: -3.2s; } }
@keyframes folder-float { 50% { transform: translateY(-7px); } }

.contact-section { background: var(--surface); }
.contact-heading { max-width: 520px; }
.contact-routes { display: grid; grid-template-columns: 1.3fr .7fr; gap: 0; margin-top: 56px; border-block: 1px solid var(--border); }
.contact-route { min-height: 310px; padding: 32px; }
.contact-route + .contact-route { border-left: 1px solid var(--border); }
.route-index { color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 10px; }
.contact-route h3 { margin: 42px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.contact-route p { margin: 10px 0 26px; color: var(--muted); font-size: 13px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.social-links a { padding: 7px 10px; background: var(--surface-soft); border-radius: 7px; font-size: 12px; transition: color .25s, transform .25s var(--ease); }
.social-links a:hover { color: var(--accent); transform: translateY(-2px); }
.footprint-action { margin-top: 24px; }
.footprint-stamps { position: relative; min-height: 76px; margin-top: 14px; }
.footprint { display: block; width: 54px; color: #ef6255; transform: rotate(-12deg); filter: drop-shadow(0 7px 12px rgba(181,70,58,.16)); }
.footprint svg { display: block; width: 100%; height: auto; overflow: visible; }
.footprint .foot-main { fill: currentColor; }.footprint .foot-detail { fill: rgba(120,45,38,.55); }

.site-footer { padding: 62px 0 26px; color: rgba(255,255,255,.78); background: #1c1d20; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 62px; }
.brand-light { color: white; }
.footer-brand p { max-width: 34ch; margin: 24px 0 0; color: rgba(255,255,255,.55); font-size: 13px; }
.footer-grid h2 { margin: 4px 0 18px; color: rgba(255,255,255,.45); font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.footer-grid > div:not(.footer-brand) a, .footer-grid > div:not(.footer-brand) button { display: block; width: max-content; margin: 9px 0; padding: 0; color: rgba(255,255,255,.72); background: none; border: 0; font-size: 12px; cursor: pointer; transition: color .2s; }
.footer-grid a:hover, .footer-grid button:hover { color: white !important; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 52px; padding-top: 22px; color: rgba(255,255,255,.38); border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; }

.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; padding: 10px 15px; color: white; background: rgba(25,26,29,.92); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%,12px); transition: opacity .3s, transform .3s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.wechat-popover { position: fixed; z-index: 60; top: 74px; right: 20px; width: 204px; padding: 16px; background: rgba(255,255,255,.94); border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 18px 46px rgba(38,34,44,.12), inset 0 1px 0 white; backdrop-filter: blur(18px); }
.wechat-popover[hidden] { display: none; }
.wechat-popover > strong { display: block; padding-right: 24px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.wechat-popover-close { position: absolute; right: 7px; top: 6px; width: 28px; height: 28px; color: var(--muted); background: none; border: 0; cursor: pointer; }
.wechat-copy { margin-top: 11px; padding: 6px 10px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(115,87,184,.14); border-radius: 7px; font-size: 11px; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.wechat-copy:hover { background: #ded4ef; transform: translateY(-1px); }
.wechat-copy:active { transform: translateY(0) scale(.97); }
.floating-avatar { position: fixed; z-index: 38; right: 22px; bottom: 22px; display: grid; width: 62px; height: 62px; place-items: center; padding: 3px; overflow: hidden; background: rgba(255,255,255,.9); border: 1px solid rgba(115,87,184,.2); border-radius: 50%; box-shadow: 0 13px 32px rgba(48,39,70,.16), inset 0 1px 0 white; cursor: pointer; backdrop-filter: blur(12px); transition: transform .3s var(--ease), box-shadow .3s; }
.floating-avatar img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(48,39,70,.12)); }
.floating-avatar:hover { transform: translateY(-4px) rotate(-2deg); box-shadow: 0 18px 38px rgba(48,39,70,.2), inset 0 1px 0 white; }
.floating-avatar:active { transform: translateY(-1px) scale(.96); }

.js .reveal, .js .reveal-stagger > * { opacity: 0; transform: translateY(24px); }
.js .reveal.is-visible, .js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }

@media (max-width: 1365px) {
  .hero-avatar-sticker { top: 330px; right: clamp(34px,7vw,82px); left: auto; width: 132px; }
}

@media (max-width: 1023px) {
  .section { padding: 100px 0 112px; }
  .journey-layout, .product-console-layout { grid-template-columns: 1fr; gap: 56px; }
  .section-intro { position: static; }
  .product-tabs { display: flex; }
  .product-copy-live { min-height: 230px; }
  .terminal-stack { width: min(680px,100%); }
  .content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .life-sticker-passion { left: 48%; top: 130px; }
  .life-sticker-reading { right: 0; top: 160px; }
  .life-sticker-running { left: 68%; top: 400px; }
  .life-sticker-joy { display: none; }
  .life-sticker-longterm { right: 3%; top: 680px; bottom: auto; }
  .life-sticker-recharge { left: 0; bottom: 120px; }
  .folder-grid { grid-template-columns: repeat(2,minmax(0,1fr)); min-height: auto; }
  .folder-card:nth-child(1) { grid-column: auto; transform: translateY(26px) rotate(-1.6deg); }
  .folder-card:nth-child(2) { grid-column: auto; transform: translateY(74px) rotate(1.3deg); }
  .folder-card:nth-child(3) { grid-column: 1/-1; width: 50%; justify-self: center; transform: translateY(20px) rotate(-1deg); }
  .contact-routes { grid-template-columns: 1.15fr .85fr; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 40px,var(--container)); }
  .section { padding: 78px 0 88px; }
  .nav-shell { width: calc(100% - 40px); grid-template-columns: 1fr auto; }
  .nav-links, .nav-contact { display: none; }
  .menu-toggle { display: grid; width: 38px; height: 38px; place-content: center; gap: 4px; padding: 0; background: rgba(255,255,255,.64); border: 1px solid var(--border); border-radius: 10px; }
  .menu-toggle span { display: block; width: 16px; height: 1px; background: var(--ink); }
  .mobile-menu { position: absolute; top: 60px; right: 0; display: grid; width: 180px; padding: 10px; background: rgba(255,255,255,.96); border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 18px 45px rgba(42,38,48,.12); backdrop-filter: blur(16px); }
  .mobile-menu[hidden] { display: none; }.mobile-menu a { padding: 9px 10px; border-radius: 7px; font-size: 13px; }.mobile-menu a:active { background: var(--surface-soft); }
  .hero { min-height: 1010px; padding: 106px 0 32px; }
  .hero-inner { min-height: 850px; }
  .hero-copy { width: calc(100% - 40px); text-align: left; }
  .hero-title { margin-top: 17px; }.hero-line-one { font-size: 40px; }.hero-line-two { max-width: 10em; margin-top: 8px; font-size: 31px; line-height: 1.2; }
  .hero-subtitle { max-width: 31em; margin: 20px 0 0; font-size: 15px; text-wrap: pretty; }
  .hero-actions { justify-content: flex-start; gap: 8px; margin-top: 26px; }.hero-actions .button { min-height: 44px; padding-inline: 16px; }
  .hero-avatar-sticker { position: relative; top: auto; right: auto; left: auto; align-self: flex-end; width: min(37vw,140px); margin: 22px 30px -6px 0; }
  .hero-avatar-heart { left: -13%; top: 24%; width: 38px; height: 31px; }.hero-avatar-heart::before { font-size: 17px; }.hero-avatar-star { right: 2%; width: 18px; height: 18px; }.hero-avatar-star::before { height: 18px; }.hero-avatar-star::after { width: 18px; }
  .platform-showcase { margin-top: 48px; }.platform-card { width: 220px; min-height: 88px; }.marquee-label { text-align: left; padding-left: 20px; }
  .section-heading h2, .section-intro h2, .contact-heading h2 { font-size: 34px; }
  .journey-layout { gap: 54px; }.timeline li { grid-template-columns: 1fr; gap: 5px; padding-left: 28px; padding-bottom: 43px; }.timeline time { line-height: 1.6; }
  .product-console-layout { margin-top: 58px; gap: 40px; }.product-tabs { margin-bottom: 36px; }.product-tab { flex: 1 1 150px; justify-content: center; }.product-copy-live { min-height: 300px; }.terminal-stack { min-height: 466px; padding: 35px 5px 62px 18px; }.terminal-layer { width: calc(100% - 36px); min-height: 330px; }.terminal-shell { min-height: 370px; }.terminal-shell-main { transform: none; }.terminal-output { min-height: 318px; padding: 22px; font-size: 10px; line-height: 1.85; }.terminal-caret { right: 20px; bottom: 24px; }.terminal-navigation { right: 5px; left: 18px; }
  .content-group { margin-top: 54px; }.content-group + .content-group { margin-top: 76px; }.group-heading { display: block; }.group-heading p { margin-top: 10px; text-align: left; }.content-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }.hover-sticker { opacity: 1; transform: rotate(-2deg); }.content-more { align-items: flex-start; flex-direction: column; margin-top: 44px; }
  .life-sticker-field { position: relative; inset: auto; height: 126px; margin: 26px 0 -8px; }
  .life-ambient-sticker { width: 84px; }
  .life-sticker-motion > span { bottom: -5px; padding: 5px 7px 4px; font-size: 8px; }
  .life-sticker-passion { left: 3%; top: 6px; width: 78px; }
  .life-sticker-reading { right: 4%; top: 18px; width: 90px; }
  .life-sticker-recharge { left: 41%; top: 25px; bottom: auto; width: 88px; }
  .life-sticker-running, .life-sticker-joy, .life-sticker-longterm { display: none; }
  .folder-grid { grid-template-columns: 1fr; gap: 2px; margin-top: 14px; }.folder-card:nth-child(1), .folder-card:nth-child(2), .folder-card:nth-child(3) { grid-column: auto; width: 100%; transform: none; }.folder-scene { height: 390px; }.folder-back, .folder-front { left: 9%; right: 9%; }.folder-photo { width: 55%; }.book-cover { width: 38%; }.folder-card:hover .photo-one, .folder-card[aria-expanded="true"] .photo-one { transform: translate(-100%,-78px) rotate(-9deg) scale(.96); }.folder-card:hover .photo-two, .folder-card[aria-expanded="true"] .photo-two { transform: translate(-50%,-122px) rotate(2deg) scale(.98); }.folder-card:hover .photo-three, .folder-card[aria-expanded="true"] .photo-three { transform: translate(0,-76px) rotate(9deg) scale(.96); }.folder-card:hover .photo-four, .folder-card[aria-expanded="true"] .photo-four { transform: translate(-48%,-46px) rotate(-1deg) scale(.86); }
  .contact-routes { grid-template-columns: 1fr; margin-top: 40px; }.contact-route { min-height: auto; padding: 28px 4px; }.contact-route + .contact-route { border-top: 1px solid var(--border); border-left: 0; }.contact-route h3 { margin-top: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }.footer-brand { grid-column: 1/-1; }.footer-bottom { margin-top: 40px; }
  .wechat-popover { right: 14px; top: 70px; width: min(204px,calc(100vw - 28px)); }
  .floating-avatar { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
  .hero-enter, .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .marquee-window { overflow-x: auto; scrollbar-width: none; }.marquee-track { animation: none; }.marquee-right { display: none; }
  .focus-word { filter: blur(0); opacity: .78; }.focus-word:last-of-type { color: var(--accent); opacity: 1; }
  .hero-avatar-motion { animation: none !important; }
  .life-sticker-motion { animation: none !important; }
}
