:root {
  --public-bg: #ffffff;
  --public-surface: #ffffff;
  --public-ink: #102044;
  --public-body: #42506d;
  --public-muted: #77849e;
  --public-line: #dfe7f5;
  --public-blue: #2463eb;
  --public-blue-deep: #1749c7;
  --public-blue-soft: #eff5ff;
  --public-green: #20a77b;
  --public-danger: #d5485b;
  --public-shadow: 0 18px 60px rgba(47, 80, 144, .12);
  --public-font: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.public-page, body.auth-page { margin: 0; font-family: var(--public-font); color: var(--public-ink); background: var(--public-bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.public-nav { height: 72px; padding: 0 clamp(20px, 5vw, 74px); display: flex; align-items: center; gap: 28px; border-bottom: 1px solid rgba(223, 231, 245, .8); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.public-brand, .auth-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--public-ink); font-weight: 760; font-size: 18px; letter-spacing: -.4px; }
.public-mark { width: 30px; height: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 8px; background: linear-gradient(135deg, #3977ff, #1554d6); box-shadow: 0 8px 18px rgba(36,99,235,.24); }
.public-mark i { display: block; border-radius: 2px; background: #fff; opacity: .96; }
.public-nav-links { display: flex; align-items: center; gap: 36px; margin-left: auto; color: #4b5b78; font-size: 14px; }
.public-nav-links a:hover { color: var(--public-blue); }
.public-nav-actions { display: flex; gap: 12px; align-items: center; }
.public-btn, .auth-submit { border: 1px solid var(--public-line); min-height: 42px; padding: 0 18px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: #1d3157; font-size: 14px; font-weight: 650; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.public-btn:hover, .auth-submit:hover { transform: translateY(-1px); border-color: #aac5ff; box-shadow: 0 8px 20px rgba(36,99,235,.12); }
.public-btn.primary, .auth-submit { background: var(--public-blue); color: #fff; border-color: var(--public-blue); box-shadow: 0 9px 20px rgba(36,99,235,.22); }
.public-btn.primary:hover, .auth-submit:hover { background: var(--public-blue-deep); border-color: var(--public-blue-deep); }
.public-btn.large { min-height: 50px; padding: 0 23px; font-size: 15px; }

.landing-main { overflow: hidden; }
.landing-hero { position: relative; min-height: 590px; padding: 94px clamp(20px, 6vw, 92px) 76px; display: grid; grid-template-columns: minmax(320px, .88fr) minmax(500px, 1.12fr); align-items: center; gap: 54px; background: radial-gradient(circle at 86% 75%, rgba(160,196,255,.3), transparent 32%), linear-gradient(135deg, #fff 26%, #f4f8ff 100%); }
.landing-hero::before { content: ""; position: absolute; width: 620px; height: 620px; left: -330px; bottom: -310px; border: 1px solid #d5e3ff; border-radius: 50%; box-shadow: 0 0 0 34px rgba(226,237,255,.55), 0 0 0 70px rgba(237,244,255,.72); pointer-events: none; }
.hero-copy, .workflow-preview { position: relative; z-index: 1; }
.hero-copy h1 { max-width: 560px; margin: 0; color: #0d2048; font-size: clamp(39px, 4.1vw, 62px); line-height: 1.18; letter-spacing: -2.6px; font-weight: 780; }
.hero-copy p { max-width: 510px; margin: 24px 0 31px; color: var(--public-body); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.workflow-preview { min-height: 392px; border: 1px solid #d7e4fb; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: var(--public-shadow); overflow: hidden; }
.preview-top { height: 54px; padding: 0 21px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--public-line); font-size: 14px; font-weight: 700; }
.preview-top .public-mark { width: 22px; height: 22px; border-radius: 5px; gap: 2px; padding: 2px; }
.preview-spacer { flex: 1; }
.preview-project { padding: 5px 10px; border: 1px solid var(--public-line); border-radius: 6px; color: #52617c; font-size: 12px; font-weight: 550; }
.preview-steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 25px 24px 17px; gap: 8px; }
.preview-step { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 7px; align-items: center; font-size: 12px; font-weight: 700; color: #29446f; }
.preview-step:not(:last-child)::after { content: ""; position: absolute; left: calc(100% - 2px); top: 10px; width: 10px; border-top: 1px dashed #7eacff; }
.step-number { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--public-blue); color: #fff; font-size: 11px; }
.preview-columns { display: grid; grid-template-columns: 1.18fr 1fr 1fr 1fr; gap: 12px; padding: 0 24px 24px; }
.preview-column { min-height: 230px; padding: 14px; border: 1px solid #dce6f8; border-radius: 8px; background: #fff; }
.preview-column h3 { margin: 0 0 12px; font-size: 12px; color: #243d68; }
.upload-slot { height: 88px; display: grid; place-items: center; text-align: center; border: 1px dashed #9cc0ff; border-radius: 7px; background: #f7faff; color: #4c75bb; font-size: 11px; line-height: 1.5; }
.file-line, .node-line, .channel-line { min-height: 24px; margin-top: 7px; padding: 5px 7px; display: flex; justify-content: space-between; align-items: center; border-radius: 4px; background: #f7faff; color: #52617b; font-size: 10px; }
.node-line b, .channel-line b { color: #2766eb; }
.article-sheet { min-height: 150px; padding: 14px 11px; border-radius: 6px; background: #f8fbff; color: #23395f; font-size: 11px; font-weight: 700; line-height: 1.5; }
.article-sheet span { display: block; height: 6px; margin-top: 9px; border-radius: 20px; background: #e0e9fa; }
.article-sheet span:nth-child(2) { width: 91%; }.article-sheet span:nth-child(3) { width: 73%; }.article-sheet span:nth-child(4) { width: 83%; }
.channel-line em { padding: 2px 4px; border-radius: 3px; color: #1e9b69; background: #e8fbf3; font-style: normal; }

.public-section { max-width: 1320px; margin: 0 auto; padding: 86px clamp(20px, 5vw, 70px); }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(29px, 3vw, 42px); line-height: 1.25; letter-spacing: -1.5px; color: #102044; }
.section-heading p { margin: 0; color: var(--public-body); font-size: 16px; line-height: 1.75; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--public-line); border-radius: 14px; overflow: hidden; background: #fff; }
.value-item { min-height: 300px; padding: 32px; border-right: 1px solid var(--public-line); }.value-item:last-child { border-right: none; }
.value-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 12px; background: linear-gradient(135deg, #3d78fa, #1856da); color: #fff; font-size: 22px; box-shadow: 0 9px 18px rgba(36,99,235,.18); }
.value-item h3 { margin: 0 0 10px; color: #14284d; font-size: 21px; letter-spacing: -.6px; }.value-item p { margin: 0; color: var(--public-body); font-size: 14px; line-height: 1.8; }
.value-visual { min-height: 95px; margin-top: 28px; padding: 12px; border-radius: 9px; background: linear-gradient(135deg, #f8fbff, #eef5ff); border: 1px solid #e2ecff; }
.value-visual .mini-line { height: 8px; margin: 8px 0; border-radius: 10px; background: #d7e5ff; }.value-visual .mini-line:nth-child(2) { width: 70%; }.value-visual .mini-line:nth-child(3) { width: 48%; }
.security-strip { padding: 29px 34px; border: 1px solid var(--public-line); border-radius: 14px; background: #f8fbff; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 22px; align-items: center; }.security-strip h3 { margin: 0; font-size: 20px; }.security-strip p { margin: 5px 0 0; font-size: 13px; color: var(--public-body); }.security-item { color: #30486f; font-size: 13px; font-weight: 650; }.security-item::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border: 1px solid #b9d2ff; border-radius: 50%; color: var(--public-blue); }
.public-footer { padding: 28px 20px; border-top: 1px solid var(--public-line); color: #74819c; text-align: center; font-size: 13px; }

.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 42px; background: radial-gradient(circle at 68% 18%, #e7f0ff, transparent 29%), radial-gradient(circle at 4% 88%, #f1f6ff, transparent 26%), #fbfdff; }
.auth-layout { width: min(1100px, 100%); min-height: 650px; display: grid; grid-template-columns: minmax(340px, .9fr) minmax(410px, 1.1fr); overflow: hidden; border: 1px solid var(--public-line); border-radius: 18px; background: rgba(255,255,255,.87); box-shadow: 0 22px 80px rgba(32, 67, 128, .14); }
.auth-panel { padding: clamp(40px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center; }.auth-brand { margin-bottom: auto; }.auth-form-wrap { width: min(100%, 365px); margin: 44px 0 auto; }.auth-form-wrap h1 { margin: 0; font-size: 34px; letter-spacing: -1.4px; line-height: 1.2; }.auth-form-wrap p { margin: 12px 0 32px; color: var(--public-body); font-size: 14px; }
.auth-field { margin-bottom: 18px; }.auth-field label { display: block; margin-bottom: 7px; color: #263a5c; font-size: 13px; font-weight: 650; }.auth-field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d7e1f0; border-radius: 8px; background: #fff; color: #14284d; outline: none; transition: border .16s ease, box-shadow .16s ease; }.auth-field input::placeholder { color: #a0acc0; }.auth-field input:focus { border-color: #76a3ff; box-shadow: 0 0 0 3px rgba(36,99,235,.12); }
.auth-submit { width: 100%; height: 50px; margin-top: 4px; }.auth-submit:disabled, .auth-submit.is-loading { cursor: wait; opacity: .7; }.auth-error { display: none; margin: 0 0 14px; padding: 9px 11px; border: 1px solid #f3c8cf; border-radius: 7px; color: var(--public-danger); background: #fff6f7; font-size: 13px; }.auth-footer { margin-top: 22px; color: #6d7b94; font-size: 13px; }.auth-footer a { margin-left: 5px; color: var(--public-blue); font-weight: 650; }
.auth-art { position: relative; overflow: hidden; padding: 56px; display: grid; place-items: center; background: linear-gradient(145deg, #f8fbff, #edf4ff); }.auth-art::before, .auth-art::after { content: ""; position: absolute; border: 1px solid #d6e5ff; border-radius: 50%; }.auth-art::before { width: 460px; height: 460px; }.auth-art::after { width: 620px; height: 620px; }.knowledge-network { position: relative; z-index: 1; width: min(400px, 100%); aspect-ratio: 1; }.knowledge-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, #8bb3ff, transparent); transform-origin: left center; }.knowledge-line:nth-child(1) { width: 80%; left: 10%; top: 52%; transform: rotate(28deg); }.knowledge-line:nth-child(2) { width: 75%; left: 20%; top: 38%; transform: rotate(124deg); }.knowledge-line:nth-child(3) { width: 68%; left: 18%; top: 70%; transform: rotate(-40deg); }.knowledge-line:nth-child(4) { width: 69%; left: 17%; top: 25%; transform: rotate(68deg); }.knowledge-core, .knowledge-node { position: absolute; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid #c6d9ff; box-shadow: 0 8px 22px rgba(55,104,193,.16); }.knowledge-core { width: 74px; height: 74px; left: calc(50% - 37px); top: calc(50% - 37px); background: linear-gradient(135deg, #3e7dff, #1856da); color: #fff; font-size: 28px; }.knowledge-node { width: 17px; height: 17px; }.knowledge-node.n1 { left: 9%; top: 31%; }.knowledge-node.n2 { right: 12%; top: 22%; }.knowledge-node.n3 { right: 8%; bottom: 24%; }.knowledge-node.n4 { left: 21%; bottom: 17%; }.floating-doc { position: absolute; width: 112px; padding: 13px; border: 1px solid #d6e3fa; border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: 0 12px 26px rgba(48, 82, 144, .11); }.floating-doc::before { content: ""; display: block; height: 9px; width: 48%; margin-bottom: 10px; border-radius: 9px; background: #9dc0ff; }.floating-doc span { display: block; height: 6px; margin-top: 6px; border-radius: 5px; background: #dce9ff; }.floating-doc.d1 { left: -2%; top: 8%; }.floating-doc.d2 { right: -2%; bottom: 8%; }

:focus-visible { outline: 3px solid rgba(36,99,235,.35); outline-offset: 3px; }
@media (max-width: 980px) { .landing-hero { grid-template-columns: 1fr; padding-top: 72px; }.hero-copy { text-align: center; }.hero-copy h1, .hero-copy p { margin-left: auto; margin-right: auto; }.hero-actions { justify-content: center; }.security-strip { grid-template-columns: repeat(2, 1fr); }.security-strip > div:first-child { grid-column: 1 / -1; }.auth-layout { grid-template-columns: 1fr; max-width: 590px; }.auth-art { display: none; } }
@media (max-width: 820px) { .public-nav { height: 64px; padding: 0 18px; }.public-nav-links { display: none; }.public-nav-actions { margin-left: auto; }.public-nav-actions .public-btn:not(.primary) { display: none; }.landing-hero { min-height: auto; padding: 62px 20px 58px; }.workflow-preview { margin-top: 2px; }.preview-steps, .preview-columns { min-width: 690px; }.workflow-preview { overflow-x: auto; }.public-section { padding: 58px 20px; }.value-grid { grid-template-columns: 1fr; }.value-item { min-height: auto; border-right: 0; border-bottom: 1px solid var(--public-line); }.value-item:last-child { border-bottom: none; }.security-strip { grid-template-columns: 1fr; }.auth-page { padding: 16px; }.auth-layout { min-height: 0; border-radius: 14px; }.auth-panel { min-height: calc(100vh - 32px); padding: 32px 27px; }.auth-form-wrap { margin-top: 62px; }.auth-form-wrap h1 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
