:root {
  --black: #101010;
  --paper: #f3f1eb;
  --white: #fff;
  --muted: #7c7a74;
  --line: rgba(16, 16, 16, .14);
  --yellow: #ffd600;
  --pink: #ff3aa5;
  --cyan: #19d4cf;
  --blue: #5478ff;
  --orange: #ff7d3b;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--black); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.header { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; min-height: 74px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; color: white; border-bottom: 1px solid rgba(255,255,255,.14); transition: min-height .25s, background-color .25s; }
.header.is-scrolled { min-height: 62px; background: rgba(16,16,16,.95); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
.logo strong { font-size: 20px; }
.logo > span { padding-left: 9px; border-left: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.5); font-size: 10px; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); font-size: 13px; }
.nav > a { color: rgba(255,255,255,.68); }
.nav > a:hover { color: white; }
.nav .nav-cta { padding: 11px 15px; color: var(--black); background: var(--yellow); font-weight: 800; }
.menu-button { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: none; }
.menu-button span { display: block; height: 1px; margin: 7px 0; background: white; transition: transform .2s; }

.hero { position: relative; min-height: 88svh; padding: 108px max(calc((100vw - var(--max)) / 2), 5vw) 90px; display: grid; place-items: center; overflow: hidden; color: white; background: #111 url("./assets/product-1.jpg") center/cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5,5,7,.32); }
.hero-text { position: relative; z-index: 2; text-align: center; max-width: 940px; margin: 0 auto; }
.eyebrow, .section-no { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0; }
.eyebrow { color: var(--yellow); }
.eyebrow span { display: inline-block; width: 24px; height: 1px; margin: 0 8px 3px 0; background: var(--yellow); }
.hero h1 { margin: 14px 0 0; font-size: clamp(72px, 10vw, 148px); line-height: .9; letter-spacing: 0; }
.hero-lead { margin: 24px 0 0; font-size: clamp(28px, 4vw, 54px); font-weight: 800; line-height: 1.16; }
.hero-copy { max-width: 680px; margin: 22px auto 0; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; font-weight: 800; }
.button-hot { color: var(--black); background: var(--yellow); }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.28); }

.product-preview-band { position: relative; z-index: 4; padding: 0 0 80px; background: var(--black); }
.product-stage { position: relative; width: min(1240px, 92vw); margin: -56px auto 0; overflow: hidden; color: var(--black); background: #eaf4fc; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.product-shot { width: 100%; height: auto; aspect-ratio: 1588 / 994; object-fit: contain; background: #eaf4fc; }
.product-stage figcaption { min-height: 54px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #777; background: white; font-size: 10px; }
.product-stage figcaption strong { color: var(--black); font-size: 12px; }
.app-topbar { height: 58px; padding: 0 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: white; }
.app-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.app-brand img { width: 26px; border-radius: 7px; }
.model-control { min-width: 130px; height: 34px; padding: 0 11px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); font-size: 12px; }
.model-control i { width: 7px; height: 7px; border-radius: 50%; background: var(--black); }
.model-control b { margin-left: auto; color: #999; }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.top-actions button { width: 30px; height: 30px; border: 0; background: transparent; font-size: 20px; }
.avatar { width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--black); border-radius: 50%; font-size: 11px; }
.app-body { height: calc(100% - 58px); display: grid; grid-template-columns: 180px 1fr 240px; }
.app-sidebar { padding: 16px 12px; background: #eceae4; border-right: 1px solid var(--line); }
.app-sidebar button { width: 100%; border: 0; text-align: left; }
.side-action { height: 36px; padding: 0 10px; color: white; background: var(--black); font-size: 12px; font-weight: 700; }
.side-action span { margin-right: 7px; color: var(--yellow); }
.side-label { margin: 20px 8px 7px; color: #9a9993; font-size: 9px; font-weight: 800; }
.side-link { height: 34px; padding: 0 9px; display: flex; align-items: center; gap: 8px; background: transparent; font-size: 11px; }
.side-link.is-active { background: white; }
.side-link b { margin-left: auto; padding: 2px 5px; color: var(--black); background: var(--yellow); font-size: 8px; }
.app-sidebar p { margin: 9px 8px; color: #777; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-main { position: relative; padding: 20px 26px; background: white; }
.context-line { display: flex; gap: 8px; align-items: center; color: #999; font-size: 9px; }
.context-line b { padding: 5px 8px; color: #575650; background: #f0eee8; font-weight: 500; }
.conversation { margin-top: 48px; }
.user-message { max-width: 74%; margin-left: auto; padding: 13px 15px; background: #eceae4; font-size: 12px; line-height: 1.6; }
.ai-message { margin-top: 24px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.ai-icon img { width: 30px; border-radius: 8px; }
.ai-message strong { font-size: 14px; }
.ai-message p { max-width: 480px; margin: 9px 0 0; color: #666; font-size: 12px; line-height: 1.7; }
.composer { position: absolute; left: 26px; right: 26px; bottom: 18px; height: 48px; padding: 0 8px 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); color: #aaa; font-size: 10px; }
.composer button { width: 32px; height: 32px; border: 0; color: white; background: var(--black); }
.memory-panel { padding: 18px 14px; background: #f0eee8; border-left: 1px solid var(--line); }
.panel-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.panel-head span { padding: 2px 6px; background: var(--yellow); font-size: 9px; }
.memory-panel article { margin-top: 14px; padding: 13px; background: white; border: 1px solid rgba(16,16,16,.08); }
.memory-panel small { color: #999; font-size: 8px; }
.memory-panel p { margin: 8px 0 10px; font-size: 10px; line-height: 1.6; }
.tag { padding: 3px 6px; font-size: 8px; }
.tag-yellow { background: #fff0a6; }.tag-cyan { background: #b9eeeb; }.tag-pink { background: #ffd0e9; }

.wrap { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
.memory { padding: 132px 0; background: var(--paper); }
.memory-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.section-no { color: #777; }
.section-intro h2, .feature-heading h2, .network-copy h2, .closing h2 { margin: 28px 0 0; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.08; letter-spacing: 0; }
.section-intro > p:last-child, .feature-heading > p:last-child, .network-copy > p { max-width: 570px; margin: 30px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.memory-demo { border-top: 1px solid var(--black); }
.memory-toolbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.memory-toolbar strong { font-size: 18px; }
.filters { display: flex; gap: 4px; }
.filters button { padding: 7px 10px; border: 0; background: transparent; color: #888; font-size: 11px; cursor: pointer; }
.filters button.is-active { color: var(--black); background: var(--yellow); }
.memory-stream article { min-height: 108px; padding: 16px 0; display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: start; border-bottom: 1px solid var(--line); transition: opacity .2s; }
.memory-stream article.is-hidden { display: none; }
.source { width: 36px; height: 36px; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.source-note { background: var(--yellow); }.source-web { color: white; background: var(--cyan); }.source-chat { color: white; background: var(--blue); }
.memory-stream small { color: #999; font-size: 10px; }
.memory-stream p { margin: 8px 0 9px; font-size: 14px; }
.memory-stream b { color: #888; font-size: 9px; }
.memory-stream time { color: #aaa; font-size: 9px; }

.features { padding: 132px 0; color: white; background: var(--black); }
.feature-heading { display: grid; grid-template-columns: 190px 1fr 320px; gap: 44px; align-items: end; }
.feature-heading h2 { margin: 0; }
.feature-heading > p:last-child { margin: 0; }
.model-lab { margin: 78px 0 90px 234px; display: grid; grid-template-columns: 260px 1fr; border: 1px solid #353535; }
.model-tabs { display: flex; flex-direction: column; border-right: 1px solid #353535; }
.model-tabs button { height: 62px; padding: 0 18px; display: flex; align-items: center; gap: 10px; text-align: left; border: 0; border-bottom: 1px solid #353535; color: #888; background: transparent; cursor: pointer; }
.model-tabs button:last-child { border-bottom: 0; }
.model-tabs button.is-active { color: var(--black); background: var(--yellow); font-weight: 800; }
.model-dot { width: 9px; height: 9px; border-radius: 50%; }.dot-black{background:#111}.dot-orange{background:var(--orange)}.dot-blue{background:var(--blue)}.dot-cyan{background:var(--cyan)}
.model-output { min-height: 248px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.output-meta { display: flex; justify-content: space-between; color: #777; font-size: 10px; }
.output-meta span:first-child { color: var(--yellow); font-weight: 800; }
.model-output > p { max-width: 700px; margin: 38px 0; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.5; }
.output-sources { display: flex; gap: 8px; }
.output-sources span { padding: 6px 9px; color: #aaa; background: #252525; font-size: 9px; }
.feature-list { margin-left: 234px; border-top: 1px solid #353535; }
.feature-row { min-height: 140px; display: grid; grid-template-columns: 60px 260px 1fr 150px; gap: 20px; align-items: center; border-bottom: 1px solid #353535; }
.feature-row > span { color: var(--yellow); font-size: 11px; }
.feature-row h3 { margin: 0; font-size: 24px; }
.feature-row p { max-width: 520px; margin: 0; color: #888; line-height: 1.7; }
.feature-row > strong { color: #555; font-size: 10px; text-align: right; }

.network { padding: 132px 0; overflow: hidden; background: #e8e5dd; }
.network-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.workflow-steps { margin-top: 54px; border-top: 1px solid var(--black); }
.workflow-steps div { min-height: 66px; display: grid; grid-template-columns: 48px 120px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.workflow-steps span { color: var(--pink); font-size: 10px; font-weight: 800; }
.workflow-steps small { color: #888; }
.graph { position: relative; min-height: 610px; }
.node { position: absolute; z-index: 2; min-width: 134px; min-height: 68px; padding: 10px 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid rgba(16,16,16,.18); background: var(--paper); cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.node:hover, .node.is-active { border-color: var(--pink); transform: translateY(-2px); }
.node span { font-weight: 800; }.node small { margin-top: 4px; color: #999; font-size: 9px; }
.node-main { left: 40%; top: 39%; min-width: 150px; min-height: 94px; flex-direction: row; align-items: center; gap: 12px; background: var(--yellow); border-color: var(--black); }
.node-main img { width: 48px; border-radius: 11px; }
.node-a { left: 5%; top: 10%; }.node-b { right: 2%; top: 12%; }.node-c { left: 3%; bottom: 10%; }.node-d { right: 4%; bottom: 12%; }
.graph-line { position: absolute; z-index: 1; height: 1px; background: rgba(16,16,16,.22); transform-origin: left center; }
.line-a { width: 270px; left: 16%; top: 24%; transform: rotate(31deg); }.line-b { width: 250px; left: 55%; top: 47%; transform: rotate(-42deg); }.line-c { width: 260px; left: 17%; top: 75%; transform: rotate(-34deg); }.line-d { width: 230px; left: 55%; top: 55%; transform: rotate(39deg); }.line-e { width: 360px; left: 23%; top: 50%; transform: rotate(2deg); }
.graph-status { position: absolute; left: 40%; bottom: 2%; display: flex; gap: 8px; font-size: 10px; }.graph-status span { color: #888; }

.closing { position: relative; min-height: 720px; padding: 120px 22px; display: grid; place-items: center; overflow: hidden; text-align: center; color: white; background: var(--black) url("./assets/product-1.jpg") center/cover no-repeat; }
.closing::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.closing-inner { position: relative; max-width: 900px; }
.closing-inner > img { width: 88px; margin: 0 auto 26px; border-radius: 20px; }
.closing h2 { color: var(--yellow); }
.closing-inner > p:not(.section-no) { max-width: 610px; margin: 26px auto 32px; color: rgba(255,255,255,.68); line-height: 1.8; }
.download-actions { display: flex; justify-content: center; gap: 12px; }
.download-button { min-width: 210px; min-height: 68px; padding: 0 18px; display: flex; align-items: center; gap: 14px; text-align: left; color: var(--black); background: var(--yellow); border: 0; cursor: pointer; }
.download-button:last-child { background: white; }
.download-button:hover { transform: translateY(-2px); }
.download-button > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.download-button small { font-size: 9px; color: #777; }
.download-button strong { font-size: 15px; }
.os-mark { width: 34px; font-size: 30px; line-height: 1; text-align: center; }
.apple-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--black); border-radius: 50%; font-size: 13px; font-weight: 800; }
.download-toast { position: fixed; z-index: 80; left: 50%; bottom: 28px; min-width: 230px; padding: 14px 18px; color: white; background: var(--black); border: 1px solid #3a3a3a; text-align: center; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: opacity .2s, transform .2s; }
.download-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.footer { min-height: 90px; padding: 22px clamp(20px, 4vw, 64px); display: grid; grid-template-columns: 1fr auto auto auto; gap: 32px; align-items: center; color: #999; background: var(--black); border-top: 1px solid #303030; font-size: 10px; }
.footer div { display: flex; align-items: center; gap: 12px; }.footer strong { color: white; font-size: 15px; }.footer a:hover { color: var(--yellow); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .header { min-height: 62px; }
  .menu-button { display: block; }
  .nav { position: fixed; inset: 62px 0 0; padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 0; background: var(--black); transform: translateX(100%); transition: transform .25s; }
  .nav.is-open { transform: translateX(0); }
  .nav > a { padding: 18px 4px; border-bottom: 1px solid #303030; font-size: 22px; }
  .nav .nav-cta { margin-top: 22px; text-align: center; }
  .menu-open .menu-button span:first-child { transform: translateY(4px) rotate(45deg); }.menu-open .menu-button span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .memory-layout, .network-layout { grid-template-columns: 1fr; }
  .feature-heading { grid-template-columns: 1fr; }
  .model-lab, .feature-list { margin-left: 0; }
  .feature-row { grid-template-columns: 50px 220px 1fr; }
  .feature-row > strong { display: none; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .logo > span { display: none; }
  .hero { min-height: 88svh; padding: 94px 18px 76px; }
  .hero h1 { font-size: 78px; }
  .hero-lead { font-size: 29px; }
  .hero-copy { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .product-preview-band { padding-bottom: 50px; }
  .product-stage { width: calc(100vw - 28px); margin-top: -42px; }
  .product-stage figcaption { min-height: 48px; padding: 0 12px; }
  .product-stage figcaption strong { font-size: 10px; }
  .app-topbar { grid-template-columns: 1fr auto; }
  .model-control { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .app-sidebar, .memory-panel { display: none; }
  .app-main { padding: 18px; }
  .conversation { margin-top: 36px; }
  .user-message { max-width: 88%; }
  .composer { left: 18px; right: 18px; }
  .memory { padding: 92px 0; }
  .memory-layout { gap: 54px; }
  .section-intro h2, .feature-heading h2, .network-copy h2, .closing h2 { font-size: 38px; }
  .section-intro > p:last-child, .feature-heading > p:last-child, .network-copy > p { font-size: 14px; }
  .memory-toolbar { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding: 16px 0; }
  .memory-stream article { grid-template-columns: 42px 1fr; }
  .memory-stream time { display: none; }
  .features, .network { padding: 92px 0; }
  .feature-heading { gap: 26px; }
  .model-lab { display: block; margin-top: 54px; margin-bottom: 65px; }
  .model-tabs { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid #353535; }
  .model-tabs button { height: 50px; border-right: 1px solid #353535; }
  .model-output { padding: 22px; }
  .output-meta span:last-child { display: none; }
  .model-output > p { font-size: 20px; }
  .output-sources { flex-wrap: wrap; }
  .feature-row { min-height: 180px; grid-template-columns: 38px 1fr; padding: 24px 0; }
  .feature-row h3 { font-size: 21px; }
  .feature-row p { grid-column: 2; font-size: 14px; }
  .network-layout { gap: 36px; }
  .workflow-steps div { grid-template-columns: 38px 92px 1fr; }
  .graph { min-height: 480px; transform: scale(.86); transform-origin: center top; margin-bottom: -65px; }
  .node-main { left: 31%; }.node-a { left: 0; }.node-b { right: 0; }.node-c { left: 0; }.node-d { right: 0; }
  .line-a { left: 10%; width: 210px; }.line-b { left: 50%; width: 190px; }.line-c { left: 10%; width: 220px; }.line-d { left: 50%; width: 190px; }.line-e { left: 15%; width: 290px; }
  .closing { min-height: 680px; }
  .download-actions { flex-direction: column; align-items: center; }
  .download-button { width: min(280px, 86vw); }
  .footer { grid-template-columns: 1fr; gap: 14px; padding-top: 30px; padding-bottom: 30px; }
}

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