:root {
  color-scheme: dark;
  --bg: #090b0f;
  --surface: #101318;
  --border: #2a2e36;
  --muted: #9da4b1;
  --text: #f4f5f6;
  --orange: #ffb962;
  --purple: #bf9bff;
  --blue: #70c8e9;
  --green: #91d6ad;
  --content: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, summary { font: inherit; }
::selection { color: #090b0f; background: #c6b0ff; }
:focus-visible { outline: 2px solid #f4c27c; outline-offset: 4px; }
.container { width: min(calc(100% - 80px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 16px; background: #fff; color: #111; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #24272d; background: rgba(9, 11, 15, .95); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 48px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; font-size: 1.43rem; font-weight: 750; letter-spacing: -.055em; }
.brand-x { color: #ffbd69; }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav a, .header-github { color: #b7bac2; font-size: .83rem; transition: color .2s; }
.desktop-nav a:hover, .header-github:hover, .footer-links a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.header-github span { color: #777e88; }
.language-switch { display: flex; align-items: center; gap: 8px; color: #626873; font-size: .78rem; white-space: nowrap; }
.language-switch a { color: #9399a3; transition: color .2s; }
.language-switch a:hover, .language-switch a[aria-current="page"] { color: #f5bf83; }
.mobile-menu { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; font-size: .87rem; font-weight: 700; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #f5bb78; color: #111216; }
.button-primary:hover { background: #ffd298; }
.button-outline { border-color: #454a52; background: rgba(13, 15, 20, .58); color: #f5f5f5; }
.button-outline:hover { border-color: #989da5; background: #1b1e24; }
.button-light { background: #f2f2ef; color: #101115; }
.button-light:hover { background: #ffca88; }
.button-small { min-height: 38px; gap: 20px; padding-inline: 14px; font-size: .78rem; }

.grid-surface { background-color: #0b0d11; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 54px 54px; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -240px; background: radial-gradient(circle, rgba(134,93,203,.12), transparent 67%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 42px; min-height: 660px; padding-block: 70px 58px; }
.hero-copy { position: relative; z-index: 1; }
.hero-kicker, .eyebrow, .card-index, .visual-topline, .visual-bottomline, .board-header, .board-footer, .interface-label, .interface-tag, .hero-bottom, .footer-end { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .68rem; font-weight: 600; letter-spacing: .12em; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 29px; color: #b8bdc7; }
.status-dot, .board-dot { width: 7px; height: 7px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: #8bd7a7; box-shadow: 0 0 12px rgba(139,215,167,.65); }
.kicker-divider { color: #535963; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 25px; font-size: clamp(2.7rem, 4.2vw, 4.3rem); line-height: 1.19; letter-spacing: -.065em; font-weight: 750; }
html[lang="en"] .hero h1 { font-size: clamp(2.35rem, 3.8vw, 3.65rem); }
html[lang="zh-CN"] .hero h1 { font-size: clamp(2.1rem, 3.5vw, 3.6rem); }
h1 > span, .text-gradient { color: #f7bd83; background: linear-gradient(100deg, #ffc879 0%, #e4a5b3 45%, #bda2ff 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 530px; margin-bottom: 22px; color: #acb1bb; font-size: 1.03rem; line-height: 1.95; }
.agent-prompt { max-width: 560px; margin-bottom: 22px; padding: 15px 17px; border: 1px solid #3b3b44; background: rgba(17, 18, 23, .95); }
.prompt-header, .code-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #858b96; font: 600 .65rem "SFMono-Regular", Consolas, monospace; letter-spacing: .1em; }
.agent-prompt p { margin: 10px 0 0; color: #c5c6ce; font: .78rem/1.75 "SFMono-Regular", Consolas, "PingFang SC", monospace; overflow-wrap: anywhere; }
.copy-button { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0 4px 10px; border: 0; border-left: 1px solid #3f424b; background: transparent; color: #a4a8b2; cursor: pointer; font: 600 .69rem "SFMono-Regular", Consolas, "PingFang SC", monospace; white-space: nowrap; }
.copy-button:hover { color: #f4c38b; }
.copy-result { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 24px 0 0; color: #858b96; font-size: .76rem; }
.hero-note span { width: 15px; height: 1px; background: #f1b575; }
.hero-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid #282b31; color: #777e88; font-size: .62rem; }
.hero-bottom span:last-child span { color: #f0bf8a; }

.hero-visual { position: relative; width: 100%; aspect-ratio: 620 / 520; min-width: 0; overflow: hidden; border: 1px solid #33353e; background: radial-gradient(ellipse at 50% 49%, rgba(119,87,151,.14), transparent 45%), linear-gradient(145deg, rgba(27,27,34,.86), rgba(11,13,17,.95)); }
.hero-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 32px 32px; }
.visual-topline, .visual-bottomline { position: absolute; z-index: 2; right: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; color: #777e89; font-size: .58rem; }
.visual-topline { top: 20px; }
.visual-topline i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #9dd5b4; }
.visual-bottomline { bottom: 20px; gap: 6px; }
.visual-bottomline span:last-child { color: #eab67c; font-size: .9rem; }
.visual-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(180,173,205,.12); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-outer { width: 70%; aspect-ratio: 1; }
.orbit-inner { width: 49%; aspect-ratio: 1; border-style: dashed; }
.visual-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual-lines path { stroke: url(#lineGradient); stroke-width: 1.4; opacity: .7; }
.visual-lines .line-dashed { stroke-dasharray: 4 6; opacity: .4; }
.visual-lines circle { fill: #f2c586; }
.visual-center { position: absolute; top: 50%; left: 50%; width: 20%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid #65616c; background: #18171e; box-shadow: 0 0 45px rgba(193,153,227,.17); transform: translate(-50%, -50%); }
.visual-center img { position: relative; width: 55%; height: auto; }
.visual-center span { position: relative; color: #e9e4ed; font-family: monospace; font-size: .55rem; letter-spacing: .17em; }
.center-glow { position: absolute; inset: 10%; background: radial-gradient(circle, rgba(255,195,113,.12), transparent 70%); }
.visual-node { position: absolute; z-index: 1; display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 10px 12px; border: 1px solid #44434b; background: rgba(21,22,28,.97); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.visual-node small, .visual-node strong { display: block; white-space: nowrap; }
.visual-node small { margin-bottom: 5px; color: #888b97; font: .52rem monospace; letter-spacing: .12em; }
.visual-node strong { color: #ececf0; font-size: .75rem; font-weight: 600; }
.node-intent { top: 28%; left: 5%; }
.node-graph { top: 21%; right: 4%; }
.node-runtime { right: 4%; bottom: 22%; }
.node-icon { display: grid; place-items: center; width: 30px; height: 30px; font-size: 1.2rem; }
.node-icon-orange, .icon-orange, .symbol-orange { color: #f7ba72; background: rgba(240,166,91,.1); }
.node-icon-purple, .icon-purple, .symbol-purple { color: #c9abff; background: rgba(177,136,255,.1); }
.node-icon-cyan, .icon-blue, .symbol-blue { color: #83d2e8; background: rgba(102,195,228,.1); }
.icon-green, .symbol-green { color: #a0dbb3; background: rgba(122,202,153,.1); }

.section { padding: 130px 0; border-bottom: 1px solid var(--border); }
.section-intro { margin-bottom: 55px; }
.split-intro { display: grid; grid-template-columns: 1.15fr .55fr; align-items: end; gap: 70px; }
.eyebrow { margin-bottom: 22px; color: #7d858f; }
.eyebrow span { color: #efb877; }
h2 { margin-bottom: 0; font-size: clamp(2.05rem, 3.2vw, 3.15rem); line-height: 1.32; letter-spacing: -.055em; font-weight: 720; }
.section-lead { max-width: 490px; margin-bottom: 3px; color: var(--muted); font-size: .98rem; line-height: 1.9; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.feature-card { min-height: 295px; padding: 30px 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #101217; transition: background .2s; }
.feature-card:hover { background: #17191f; }
.feature-icon, .step-symbol, .interface-icon { display: grid; place-items: center; width: 42px; height: 42px; font-size: 1.35rem; }
.feature-icon { margin-bottom: 38px; }
.card-index { display: block; margin-bottom: 12px; color: #777e88; font-size: .6rem; }
.feature-card h3, .process-step h3, .start-item h3 { margin-bottom: 12px; font-size: 1.05rem; }
.feature-card p, .process-step p, .interface-card p, .start-item p { margin-bottom: 0; color: var(--muted); font-size: .87rem; line-height: 1.85; }

.process-section { background-color: #0c0e12; }
.process-board { border: 1px solid #353841; background: rgba(13,15,20,.96); }
.board-header, .board-footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px 24px; color: #898f9b; font-size: .6rem; }
.board-header { border-bottom: 1px solid var(--border); }
.board-header > span:first-child { color: #d3d4d9; }
.board-dot { width: 6px; height: 6px; margin-right: 8px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.process-step { position: relative; min-height: 245px; padding: 30px 26px; border-right: 1px solid var(--border); }
.process-step:last-child { border-right: 0; }
.step-number { color: #707782; font-family: monospace; font-size: .72rem; }
.step-symbol { margin: 25px 0 22px; }
.step-arrow { position: absolute; top: 70px; right: -14px; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #3b3e46; border-radius: 50%; background: #15171c; color: #a4a8b0; font-size: .8rem; }
.board-footer { border-top: 1px solid var(--border); color: #838a94; letter-spacing: .04em; }
.board-footer span:last-child { color: #c2b9ba; }

.interface-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.interface-card { display: flex; flex-direction: column; min-height: 290px; padding: 27px; border: 1px solid var(--border); background: linear-gradient(150deg, #15171c, #0d0f13); }
.interface-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 26px; }
.interface-label { color: #7d838d; font-size: .6rem; }
.interface-icon { width: 36px; height: 36px; font-family: monospace; font-size: 1rem; }
.interface-card h3 { margin-bottom: 14px; font-size: 1.65rem; letter-spacing: -.04em; }
.interface-card p { max-width: 320px; margin-bottom: 24px; }
.interface-tag { align-self: flex-start; margin-top: auto; padding: 7px 9px; border: 1px solid #363940; color: #afb3bb; font-size: .6rem; }
.interface-note { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 20px 24px; border: 1px solid #34313a; background: #161419; }
.note-mark { color: #edbe8a; font-size: 1.2rem; }
.interface-note p { flex: 1; margin: 0; color: #a6a6af; font-size: .85rem; line-height: 1.7; }
.interface-note strong { color: #e8e4e6; }
.interface-note a, .text-link { flex-shrink: 0; color: #f1bd86; font-size: .83rem; font-weight: 600; }
.interface-note a:hover, .text-link:hover { color: #ffdaab; }

.quickstart-section { background-color: #0c0e12; }
.quickstart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.code-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--border); background: rgba(16, 18, 23, .96); }
.code-card-intro { min-height: 160px; }
.code-card-intro h3 { margin-bottom: 10px; font-size: 1.18rem; }
.code-card-intro p, .code-caption { color: var(--muted); font-size: .85rem; line-height: 1.8; }
.code-window { min-width: 0; border: 1px solid #343741; background: #0b0c10; }
.code-header { min-height: 47px; padding: 0 16px; border-bottom: 1px solid #2b2e35; letter-spacing: .04em; }
.code-window pre { max-width: 100%; margin: 0; padding: 20px 16px; overflow-x: auto; color: #d3d5dc; font: .76rem/1.8 "SFMono-Regular", Consolas, monospace; tab-size: 2; }
.code-caption { margin: 16px 0 0; }
.code-caption code { color: #edbd89; font-family: "SFMono-Regular", Consolas, monospace; }
.quickstart-footer { margin: 24px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.quickstart-footer a { color: #f1bd86; }
.quickstart-footer a:hover { color: #ffdaab; }

.start-section { background-color: #0d0e12; }
.start-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.start-copy .section-lead { margin: 25px 0 28px; }
.start-list { border-top: 1px solid #3a3b42; }
.start-item { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid #33353c; }
.start-item > span { color: #e3b485; font-family: monospace; font-size: .75rem; }
.start-item h3 { margin-bottom: 6px; }
.faq-layout { display: grid; grid-template-columns: .7fr 1fr; gap: 100px; }
.faq-layout .section-lead { margin: 20px 0; }
.faq-list { border-top: 1px solid #383b42; }
.faq-list details { border-bottom: 1px solid #383b42; }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; cursor: pointer; list-style: none; font-size: .95rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #efbc85; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 580px; margin: -4px 35px 22px 0; color: var(--muted); font-size: .88rem; line-height: 1.85; }

.contact-section { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at 75% 100%, rgba(153,110,162,.15), transparent 45%), #111015; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 100px; }
.contact-inner p:not(.eyebrow) { margin: 20px 0 25px; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.contact-email { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.contact-email a { color: #f1bd86; overflow-wrap: anywhere; }
.contact-email a:hover { color: #ffdaab; }
.contact-qr { flex: 0 0 auto; width: 155px; margin: 0; padding: 12px; background: #f8f8f8; color: #3c3c3c; text-align: center; }
.contact-qr img { width: 100%; aspect-ratio: 1; }
.contact-qr figcaption { padding-top: 8px; font-size: .72rem; }
.site-footer { background: #090a0d; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 36px; padding-block: 40px 30px; }
.footer-brand { font-size: 1.2rem; }
.footer-inner > div:first-child > p { margin: 12px 0 0; color: #767d86; font-size: .76rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; padding-top: 8px; color: #a2a7af; font-size: .78rem; }
.footer-end { grid-column: 1 / -1; margin: 0; padding-top: 25px; border-top: 1px solid #25272d; color: #686e78; font-size: .59rem; }

@media (max-width: 1050px) {
  .header-inner { gap: 25px; }
  .desktop-nav { gap: 20px; }
  .hero-inner { gap: 20px; min-height: 590px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { min-height: 245px; }
  .feature-icon { margin-bottom: 25px; }
  .split-intro { grid-template-columns: 1fr .7fr; gap: 35px; }
  .start-layout, .faq-layout { gap: 55px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 66px; justify-content: space-between; }
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; border: 1px solid #373941; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 18px; height: 1px; margin-inline: auto; background: #f5f5f5; }
  .mobile-menu nav { position: absolute; top: 65px; left: 0; right: 0; display: grid; padding: 12px 20px 20px; border-bottom: 1px solid #33363d; background: #111318; box-shadow: 0 15px 25px rgba(0,0,0,.3); }
  .mobile-menu nav a { padding: 12px 0; color: #d8d9dd; font-size: .9rem; }
  .mobile-languages { display: flex; gap: 24px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #33363d; }
  .mobile-menu nav .mobile-languages a[aria-current="page"] { color: #f5bf83; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 40px), var(--content)); }
  .hero-inner { grid-template-columns: 1fr; gap: 45px; min-height: 0; padding-block: 70px 45px; }
  .hero-visual { max-width: 580px; margin-inline: auto; }
  .hero-bottom { font-size: .55rem; }
  .section { padding-block: 82px; }
  .split-intro, .start-layout, .faq-layout { grid-template-columns: 1fr; gap: 22px; }
  .section-intro { margin-bottom: 35px; }
  .section-lead { max-width: 590px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { min-height: 210px; border-bottom: 1px solid var(--border); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(2) .step-arrow { display: none; }
  .process-step:nth-child(n+3) { border-bottom: 0; }
  .interface-grid { grid-template-columns: 1fr; }
  .interface-card { min-height: 235px; }
  .quickstart-grid { grid-template-columns: 1fr; }
  .code-card-intro { min-height: 0; }
  .code-card-intro p { margin-bottom: 24px; }
  .start-list { margin-top: 20px; }
  .faq-list { margin-top: 15px; }
  .contact-inner { padding-block: 75px; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(2.35rem, 10.1vw, 3.2rem); }
  h2 { font-size: 2rem; }
  .hero-description { font-size: .94rem; }
  .hero-kicker { font-size: .58rem; }
  .hero-visual { min-height: 305px; }
  .visual-node { min-height: 49px; gap: 6px; padding: 6px; }
  .visual-node strong { font-size: .62rem; }
  .visual-node small { font-size: .44rem; }
  .node-icon { width: 23px; height: 23px; font-size: 1rem; }
  .visual-topline, .visual-bottomline { right: 10px; left: 10px; font-size: .45rem; }
  .visual-topline { top: 12px; }
  .visual-bottomline { bottom: 12px; }
  .node-intent { left: 3%; }
  .node-graph, .node-runtime { right: 3%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 25px; }
  .code-card { padding: 20px; }
  .feature-icon { margin-bottom: 25px; }
  .process-step { padding: 25px 18px; }
  .process-step p { font-size: .8rem; }
  .board-header, .board-footer { padding-inline: 14px; font-size: .52rem; }
  .board-header > span:last-child { display: none; }
  .interface-note { align-items: flex-start; flex-wrap: wrap; }
  .interface-note p { flex-basis: calc(100% - 40px); }
  .interface-note a { margin-left: 32px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .contact-qr { width: 135px; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; }
  .footer-end { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}