/* ============================================================
   AIPC UP 产品官网样式（基于 AionUi 官网首页复刻改造）
   上游项目: https://github.com/iOfficeAI/AionUi (Apache-2.0)
   产品: AIPC UP · https://github.com/learncodesmart/AIPC-UP
   ============================================================ */

:root {
  --canvas: #faf9f6;
  --surface: #ffffff;
  --tint: #f1eef6;
  --ink: #13111c;
  --ink-70: #3d3850;
  --ink-50: #6b6575;
  --ink-30: #a8a3b5;
  --line: rgba(19, 17, 28, .06);
  --moss: #3d7a5a;
  --plum: #4b3c7a;
  --plum-hi: #6a55a8;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-serif: "New York", "Iowan Old Style", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* 浏览器默认样式重置（与原站一致） */
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; }
button { font-family: inherit; }



/* ===== 从外部样式包提取的补充规则（含媒体查询） ===== */

.pi-modal-footer { padding:12px 36px 36px;text-align:right;background:transparent;border-radius:0 0 14px 14px;display:flex;gap:12px }
.pi-modal-footer .pi-btn { flex:1 1 0%;font-weight:500;padding-left:26px;padding-right:26px }
.pi-mobile-drawer .pi-drawer-footer { display:flex;justify-content:center;gap:20px;position:sticky;bottom:0;z-index:10;--tw-bg-opacity: 1;background-color:rgb(var(--color-card) / var(--tw-bg-opacity));padding:34px;border-style:none }
.pi-mobile-drawer .pi-drawer-footer button { width:50% }
.pi-modal-wrap-rtl .pi-modal-footer { text-align:left }
.pi-modal-wrap-rtl .pi-modal-footer .pi-btn+.pi-btn { margin-right:8px;margin-left:0 }
.pi-modal-sm .pi-modal-footer { padding-left:24px;padding-right:24px;padding-bottom:24px }
.pi-layout-header,.pi-layout-footer { flex:0 0 auto }
.pi-layout-footer { padding:24px 50px;color:#000000d9;font-size:14px;--tw-bg-opacity: 1;background-color:rgb(var(--color-bg) / var(--tw-bg-opacity)) }
.pi-drawer-footer { flex-shrink:0;padding:10px 16px;border-top:1px solid rgba(0,0,0,.06) }
.pi-empty-footer { margin-top:16px }
.pi-table.pi-table-middle .pi-table-title,.pi-table.pi-table-middle .pi-table-footer,.pi-table.pi-table-middle .pi-table-thead>tr>th,.pi-table.pi-table-middle .pi-table-tbody>tr>td,.pi-table.pi-table-middle tfoot>tr>th,.pi-table.pi-table-middle tfoot>tr>td { padding:12px 8px }
.pi-table.pi-table-small .pi-table-title,.pi-table.pi-table-small .pi-table-footer,.pi-table.pi-table-small .pi-table-thead>tr>th,.pi-table.pi-table-small .pi-table-tbody>tr>td,.pi-table.pi-table-small tfoot>tr>th,.pi-table.pi-table-small tfoot>tr>td { padding:8px }
.pi-table.pi-table-bordered>.pi-table-footer { border:1px solid rgba(0,0,0,.06);border-top:0 }
.pi-table-footer { padding:16px;color:#000000d9;background:#fafafa }
.pi-table-footer { border-radius:0 0 16px 16px }
.pi-picker-footer { width:-moz-min-content;width:min-content;min-width:100%;line-height:38px;text-align:center;border-bottom:1px solid transparent }
.pi-picker-panel .pi-picker-footer { border-top:1px solid rgba(0,0,0,.06) }
.pi-picker-footer-extra { padding:0 12px;line-height:38px;text-align:left }
.pi-picker-footer-extra:not(:last-child) { border-bottom:1px solid rgba(0,0,0,.06) }
.pi-picker-dropdown-rtl .pi-picker-footer-extra { direction:rtl;text-align:right }
.pi-list-header,.pi-list-footer { background:transparent }
.pi-list-header,.pi-list-footer { padding-top:12px;padding-bottom:12px }
.pi-list-split.pi-list-empty .pi-list-footer { border-top:1px solid rgba(0,0,0,.06) }
.pi-list-bordered .pi-list-header,.pi-list-bordered .pi-list-footer,.pi-list-bordered .pi-list-item { padding-right:24px;padding-left:24px }
.pi-list-bordered.pi-list-sm .pi-list-item,.pi-list-bordered.pi-list-sm .pi-list-header,.pi-list-bordered.pi-list-sm .pi-list-footer { padding:8px 16px }
.pi-list-bordered.pi-list-lg .pi-list-item,.pi-list-bordered.pi-list-lg .pi-list-header,.pi-list-bordered.pi-list-lg .pi-list-footer { padding:16px 24px }
.pi-pro-layout-sider-footer { display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:16px;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:12px;line-height:18px;font-weight:600;--tw-text-opacity: 1;color:rgb(var(--color-secondary) / var(--tw-text-opacity)) }
.pi-pro-layout-sider-footer-item { flex:1 1 0% }
.pi-pro-layout-sider-footer-item-content { margin-left:auto;margin-right:auto;display:flex;width:-moz-fit-content;width:fit-content;cursor:pointer;align-items:center;gap:4px }
.reveal { opacity:0;transform:translateY(48px);transition:opacity 1.1s var(--ease-out),transform 1.1s var(--ease-out) }
.reveal.visible { opacity:1;transform:translateY(0) }
.reveal.reveal-instant { transition:none }
.reveal-delay-1 { transition-delay:.18s }
.reveal-delay-2 { transition-delay:.36s }
.reveal-delay-3 { transition-delay:.54s }
.reveal-delay-4 { transition-delay:.72s }
.demo-sider-btn,.demo-sider-nav,.demo-sider-item { border:none;background:none;font:inherit;color:inherit;text-align:left;box-sizing:border-box;width:auto;align-self:stretch }
.demo-sider-btn:focus,.demo-sider-nav:focus,.demo-sider-item:focus { outline:none }
.demo-sider-btn:disabled,.demo-sider-nav:disabled,.demo-sider-item:disabled { opacity:inherit }
.demo-section { padding:0 60px 100px;max-width:1440px;margin:0 auto }
.demo-section.reveal { transform:translateY(32px) scale(.97) }
.demo-section.reveal.visible { transform:translateY(0) scale(1) }
.demo-frame { background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 1px 1px #13111c0a,0 4px 8px #13111c0a,0 16px 32px #13111c0f,0 40px 80px #4b3c7a14;position:relative }
.demo-frame:before { content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 0 1px #13111c0a;border-radius:18px;z-index:10 }
.demo-titlebar { display:flex;align-items:center;height:36px;padding:0 12px;background:#f2f3f5;border-bottom:1px solid #e5e6eb;gap:6px }
.demo-tb-dots { display:flex;gap:7px;padding:0 6px;width:70px;flex-shrink:0 }
.demo-dot { width:10px;height:10px;border-radius:50% }
.demo-dot-r { background:#ff5f57 }
.demo-dot-y { background:#ffbd2e }
.demo-dot-g { background:#28c840 }
.demo-tb-left { display:flex;align-items:center;gap:4px;flex-shrink:0 }
.demo-tb-btn { width:26px;height:26px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#86909c;cursor:default }
.demo-tb-center { flex:1;text-align:center;font-size:12px;color:#86909c;font-weight:500;letter-spacing:.1px }
.demo-tb-right { display:flex;align-items:center;gap:4px;width:70px;justify-content:flex-end;flex-shrink:0 }
.demo-body { display:flex;height:640px;background:#f9fafb }
.demo-sider { width:220px;background:#f2f3f5;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid #e5e6eb;overflow:hidden }
.demo-sider-header { display:flex;align-items:center;gap:8px;padding:14px 16px 14px 18px }
.demo-sider-logo { width:28px;height:28px;border-radius:6px;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden }
.demo-sider-logo img,.demo-sider-logo svg { width:28px;height:28px;object-fit:cover }
.demo-sider-brand { font-size:15px;font-weight:700;color:#1d2129;flex:1 }
.demo-sider-toolbar { display:flex;align-items:center;gap:4px;padding:0 8px 6px }
.demo-sider-btn { flex:1;display:flex;align-items:center;justify-content:center;gap:5px;height:26px;border-radius:8px;font-size:11.5px;color:#1d2129;cursor:pointer;font-weight:500;background:#fff;border:1px solid #e5e6eb;transition:background .15s }
.demo-sider-btn:hover { background:#eee }
.demo-sider-btn svg { flex-shrink:0 }
.demo-sider-search { margin:0 8px 1px;padding:5px 10px;border-radius:8px;font-size:12.5px;color:#1d2129;display:flex;align-items:center;gap:8px;cursor:default;transition:background .15s;font-weight:500 }
.demo-sider-search svg { color:#86909c }
.demo-sider-nav { margin:0 8px 1px;padding:5px 10px;border-radius:8px;font-size:12.5px;color:#1d2129;font-weight:500;display:flex;align-items:center;gap:8px;cursor:pointer;transition:background .15s }
.demo-sider-nav:hover { background:#0000000a }
.demo-sider-nav.active { background:#0000000f;font-weight:600 }
.demo-sider-nav svg { flex-shrink:0;color:#86909c }
.demo-sider-divider { height:1px;background:#e5e6eb;margin:4px 14px }
.demo-sider-scroll { flex:1;overflow-y:auto;padding:0 0 8px;min-height:0;display:flex;flex-direction:column }
.demo-sider-group { font-size:10px;color:#86909c;letter-spacing:.8px;padding:8px 18px 3px;font-weight:600;text-transform:uppercase }
.demo-sider-item { display:flex;align-items:center;gap:6px;height:33px;padding:0 10px;margin:0 8px;border-radius:8px;cursor:pointer;transition:background .12s;font-size:12.5px;color:#1d2129;font-weight:500;overflow:hidden }
.demo-sider-item:hover { background:#0000000a }
.demo-sider-item.static { cursor:default }
.demo-sider-item.static:hover { background:none }
.demo-sider-item.active { background:#0000000f;font-weight:600 }
.demo-sider-item-icon { width:26px;height:26px;display:flex;align-items:center;justify-content:center;flex-shrink:0 }
.demo-sider-item-icon img,.demo-sider-item-icon svg { width:20px;height:20px;border-radius:50%;object-fit:cover }
.demo-sider-item-icon .emoji-av { font-size:15px;line-height:1 }
.demo-sider-item-name { flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis }
.demo-sider-footer { border-top:1px solid #e5e6eb;padding:4px 12px;display:flex;align-items:center;gap:6px }
.demo-sider-footer-btn { width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#86909c;cursor:default }
.demo-main { flex:1;display:flex;flex-direction:column;background:#f9fafb;min-width:0;overflow:hidden }
.demo-view { flex:1;display:flex;flex-direction:column;animation:fadeView .35s ease;overflow:hidden }
.demo-guid { align-items:center;justify-content:flex-start;padding:6% 28px 6px;gap:0;position:relative;overflow-y:auto }
.demo-guid-bottom-actions { display:flex;align-items:center;justify-content:center;gap:16px;margin-top:auto;padding-bottom:8px }
.demo-guid-action-btn { width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#86909c;cursor:default;border:1px solid #e5e6eb }
.demo-guid-action-btn svg { width:16px;height:16px }
.demo-guid-skills-toggle { position:absolute;top:10px;right:14px;display:flex;align-items:center;gap:6px;font-size:10.5px;color:#4e5969;white-space:nowrap;cursor:default }
.demo-toggle { width:28px;height:16px;border-radius:8px;background:#c9cdd4;position:relative;display:inline-block;transition:background .2s }
.demo-toggle:after { content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:transform .2s }
.demo-toggle.on { background:#7583b2 }
.demo-toggle.on:after { transform:translate(12px) }
.demo-guid-greeting { font-size:22px;font-weight:700;color:#1d2129;text-align:center;margin:0 0 14px }
.demo-guid-agent-bar { display:flex;align-items:center;gap:3px;padding:5px 8px;border-radius:22px;background:#eaecf7;justify-content:center;flex-wrap:wrap;max-width:520px;margin-bottom:12px }
.demo-guid-pill { display:flex;align-items:center;gap:0;padding:5px;border-radius:100px;font-size:11px;color:#1d2129;cursor:pointer;transition:all .2s;white-space:nowrap;opacity:.55 }
.demo-guid-pill:hover { opacity:.85 }
.demo-guid-pill.active { background:#fff;font-weight:600;box-shadow:0 1px 3px #00000014;opacity:1;gap:4px;padding:6px 12px }
.demo-guid-pill:not(.active) span.pill-name { display:none }
.demo-guid-sep { color:#c9cdd4;font-size:14px;line-height:1;padding:0 1px;-webkit-user-select:none;user-select:none;opacity:.5 }
.demo-guid-pill svg,.demo-guid-pill img { width:18px;height:18px;flex-shrink:0 }
.demo-guid-pill.active svg,.demo-guid-pill.active img { width:18px;height:18px }
.demo-guid-asst-section { width:100%;max-width:560px;display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:16px }
.demo-guid-asst-label { font-size:11px;color:#86909c;letter-spacing:.3px }
.demo-guid-asst-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:100% }
.demo-guid-asst-card { display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;border:1px solid #e5e6eb;background:#fff;cursor:default;transition:background .15s;overflow:hidden }
.demo-guid-asst-card:hover { background:#f7f8fa }
.demo-guid-asst-emoji { font-size:18px;line-height:1;flex-shrink:0 }
.demo-guid-asst-avatar { width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0 }
.demo-guid-asst-info { min-width:0;flex:1 }
.demo-guid-asst-name { font-size:11px;font-weight:600;color:#1d2129;white-space:nowrap;overflow:hidden;text-overflow:ellipsis }
.demo-guid-asst-desc { font-size:9.5px;color:#86909c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis }
.demo-guid-asst-more { display:flex;align-items:center;justify-content:center;gap:4px;padding:8px 10px;border-radius:10px;border:1px dashed #c9cdd4;color:#86909c;font-size:11px;cursor:default }
.demo-guid-input { width:100%;max-width:560px;border:1px solid #e5e6eb;border-radius:18px;background:#fff;padding:14px 16px 12px;display:flex;flex-direction:column;gap:8px }
.demo-guid-textarea { font-size:13px;color:#86909c;line-height:1.5;border:none;outline:none;resize:none;background:transparent;font-family:inherit;min-height:36px }
.demo-guid-toolbar { display:flex;align-items:center;justify-content:space-between }
.demo-guid-tools { display:flex;align-items:center;gap:3px }
.demo-guid-chip { display:flex;align-items:center;gap:4px;padding:4px 10px;border-radius:100px;font-size:10.5px;color:#86909c;background:#f2f3f5;white-space:nowrap }
.demo-guid-chip svg { width:12px;height:12px;flex-shrink:0 }
.demo-guid-send { width:28px;height:28px;border-radius:50%;background:#c9cdd4;display:flex;align-items:center;justify-content:center }
.demo-guid-send.can-send { background:#165dff }
.demo-guid-prompts { display:none }
.demo-asst-detail { align-items:center;justify-content:flex-start;padding:8% 32px 8px;gap:0;position:relative;background:#f9fafb;overflow-y:auto }
.demo-asst-detail-header { display:flex;align-items:center;gap:10px;width:100%;max-width:560px;margin-bottom:14px }
.demo-asst-detail-back { width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#86909c;cursor:pointer;flex-shrink:0;transition:background .15s }
.demo-asst-detail-back:hover { background:#f2f3f5 }
.demo-asst-detail-avatar { font-size:24px;line-height:1;flex-shrink:0;width:36px;height:36px;border-radius:50%;overflow:hidden }
.demo-asst-detail-title { font-size:20px;font-weight:600;color:#1d2129;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis }
.demo-asst-detail-edit { color:#c9cdd4;flex-shrink:0;cursor:default }
.demo-asst-detail-agent { margin-left:auto;display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:100px;font-size:11px;color:#4e5969;cursor:default }
.demo-asst-detail-desc { width:100%;max-width:560px;padding:10px 14px;border-radius:16px;background:#f2f3f5a6;font-size:12px;color:#4e5969;line-height:1.6;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden }
.demo-asst-detail-input { width:100%;max-width:560px;border:1px solid #e5e6eb;border-radius:20px;background:#fff;padding:14px 16px 10px;display:flex;flex-direction:column;gap:6px;margin-bottom:14px }
.demo-asst-detail-input-text { font-size:13px;color:#a1a2aa;line-height:1.5;min-height:36px }
.demo-asst-detail-input-bar { display:flex;align-items:center;justify-content:space-between }
.demo-asst-detail-input-tools { display:flex;align-items:center;gap:4px }
.demo-asst-detail-prompts { width:100%;max-width:560px }
.demo-asst-detail-prompts-label { font-size:11px;color:#86909c;margin-bottom:8px }
.demo-asst-detail-prompt { padding:8px 14px;border-radius:14px;background:#f2f3f5a6;font-size:11.5px;color:#4e5969;line-height:1.6;margin-bottom:6px;cursor:default;transition:background .15s;box-shadow:0 1px 2px #0000000a }
.demo-asst-detail-prompt:hover { background:#f2f3f5e6 }
.demo-chat { background:#f9fafb;border-radius:0 }
.demo-chat-header { display:flex;align-items:center;gap:8px;padding:6px 16px;min-height:36px;background:#f9fafbd9;-webkit-backdrop-filter:saturate(110%) blur(6px);backdrop-filter:saturate(110%) blur(6px);position:relative;z-index:1 }
.demo-chat-header:after { content:"";position:absolute;left:0;right:0;bottom:-12px;height:12px;background:linear-gradient(180deg,rgba(249,250,251,.5),transparent);pointer-events:none }
.demo-chat-header-logo { width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0 }
.demo-chat-header-logo img,.demo-chat-header-logo svg { width:18px;height:18px;border-radius:50% }
.demo-chat-header-name { font-size:13px;font-weight:600;color:#1d2129;flex:1;text-align:center }
.demo-chat-header-pill { display:flex;align-items:center;gap:5px;padding:3px 10px 3px 4px;border-radius:100px;font-size:11.5px;color:#1d2129;background:#f2f3f5;font-weight:600 }
.demo-chat-header-pill img { width:22px!important;height:22px!important;border:1.5px solid #fff;box-shadow:0 1px 3px #0000001a }
.demo-chat-header-pill-model { font-weight:400;color:#4e5969;font-size:10.5px }
.demo-chat-messages { flex:1;display:flex;flex-direction:column;padding:16px 20px;gap:10px;overflow-y:auto }
.demo-msg { max-width:76%;font-size:12px;line-height:1.65 }
.demo-msg-user { align-self:flex-end;background:#f2f3f5;color:#1d2129;padding:8px 12px;border-radius:8px 0 8px 8px }
.demo-msg-assistant { align-self:flex-start;color:#1d2129;padding:2px 0;font-size:12px;line-height:1.7 }
.demo-msg-code { align-self:flex-start;max-width:84%;background:#1d2129;border-radius:8px;padding:12px 14px;font-family:SF Mono,JetBrains Mono,Fira Code,monospace;font-size:10.5px;color:#e5e6eb;line-height:1.8 }
.demo-msg-output { align-self:flex-start;max-width:84%;border-radius:8px;overflow:hidden;background:#fff;border:1px solid #e5e6eb }
.demo-msg-status { display:flex;align-items:center;gap:6px;font-size:10.5px;color:#86909c;margin-top:auto;padding-top:4px }
.demo-msg-status .dot { width:6px;height:6px;border-radius:50%;background:#00b42a;box-shadow:0 0 6px #00b42a66;flex-shrink:0 }
.typing-dots { display:inline-flex;gap:3px;margin-left:2px }
.typing-dots span { width:4px;height:4px;border-radius:50%;background:#c9cdd4;animation:typingDot 1.2s infinite ease-in-out }
.typing-dots span:nth-child(2) { animation-delay:.15s }
.typing-dots span:nth-child(3) { animation-delay:.3s }
@keyframes typingDot { 0%,60%,100% { transform:translateY(0);opacity:.5 } 30% { transform:translateY(-2px);opacity:1 } }
.demo-chat-sendbox { margin:0 16px 8px;border:1px solid #e5e6eb;border-radius:16px;padding:8px 14px;background:#fff;display:flex;flex-direction:column;gap:6px }
.demo-chat-sendbox-input { font-size:12px;color:#a1a2aa;line-height:1.4 }
.demo-chat-sendbox-bar { display:flex;align-items:center;justify-content:space-between }
.demo-chat-sendbox-tools { display:flex;gap:3px }
.demo-chat-plus { width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#86909c;cursor:default;background:#f2f3f5 }
.demo-chat-sendbox .demo-guid-chip { background:transparent;color:#86909c;padding:4px 6px }
.demo-send-btn { width:28px;height:28px;border-radius:50%;background:#d3d4d9;display:flex;align-items:center;justify-content:center }
.demo-send-btn.active { background:#165dff }
.demo-msg-user-file { align-self:flex-end;background:#fff;border:1px solid #e5e6eb;border-radius:8px;padding:8px 10px;display:flex;align-items:center;gap:8px;max-width:76% }
.demo-msg-user-file-icon { width:32px;height:32px;border-radius:6px;background:#eef0f8;display:flex;align-items:center;justify-content:center;flex-shrink:0 }
.demo-msg-user-file-icon svg { width:18px;height:18px;color:#6b7785 }
.demo-msg-user-file-info { font-size:11px;line-height:1.3 }
.demo-msg-user-file-name { font-weight:600;color:#1d2129 }
.demo-msg-user-file-meta { font-size:9.5px;color:#86909c }
.demo-msg-user-img { align-self:flex-end;max-width:55%;border-radius:8px;overflow:hidden;border:1px solid #e5e6eb }
.demo-msg-img-output { align-self:flex-start;max-width:55%;border-radius:8px;overflow:hidden;border:1px solid #e5e6eb }
.demo-chat-with-panel { flex-direction:row!important;overflow:hidden }
.demo-chat-with-panel .demo-chat-left { flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden }
.demo-chat-with-panel .demo-chat-left .demo-chat-header { border-right:none }
.demo-chat-with-panel .demo-chat-left .demo-chat-messages { flex:1;overflow-y:auto }
.demo-preview-panel { width:44%;flex-shrink:0;border-left:1px solid #e5e6eb;display:flex;flex-direction:column;background:#f9fafb }
.demo-preview-tab { display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid #e5e6eb;font-size:11px;color:#1d2129;font-weight:500;background:#fff;min-height:38px }
.demo-preview-tab-name { display:flex;align-items:center;gap:4px;background:#f2f3f5;padding:3px 8px;border-radius:6px;font-size:10.5px }
.demo-preview-tab-close { color:#86909c;font-size:14px;cursor:default;line-height:1 }
.demo-preview-tab-expand { margin-left:auto;color:#86909c;cursor:default }
.demo-preview-actions { display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:6px 12px;font-size:10px;color:#4e5969;border-bottom:1px solid #e5e6eb }
.demo-preview-actions span { display:flex;align-items:center;gap:3px;cursor:default }
.demo-preview-actions svg { width:11px;height:11px }
.demo-preview-content { flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center }
.demo-preview-page { width:100%;aspect-ratio:16/9;border-radius:6px;overflow:hidden;position:relative;flex-shrink:0 }
.demo-preview-page-num { position:absolute;bottom:8px;right:10px;font-size:9px;color:#86909c }
.demo-workspace-panel { width:44%;flex-shrink:0;border-left:1px solid #e5e6eb;display:flex;flex-direction:column;background:#fff }
.demo-workspace-header { display:flex;align-items:center;justify-content:space-between;padding:10px 14px 0 }
.demo-workspace-title { font-size:13px;font-weight:600;color:#1d2129 }
.demo-workspace-icons { display:flex;align-items:center;gap:6px;color:#86909c }
.demo-workspace-icons svg { width:14px;height:14px;cursor:default }
.demo-workspace-tabs { display:flex;align-items:center;gap:0;padding:6px 14px;border-bottom:1px solid #e5e6eb;font-size:11px }
.demo-workspace-tab { padding:4px 10px;color:#86909c;cursor:pointer;position:relative }
.demo-workspace-tab.active { color:#1d2129;font-weight:500 }
.demo-workspace-tab.active:after { content:"";position:absolute;left:10px;right:10px;bottom:-6px;height:2px;background:#1d2129;border-radius:1px }
.demo-workspace-content-pane { display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden }
.demo-workspace-content-pane[hidden] { display:none }
/* ---------- 文件管理器（对齐 fork: FileManagerPanel + FileTree） ---------- */
.demo-fm-panel { position:relative;flex:1;display:flex;flex-direction:column;min-width:0;background:#fff;color:#0f172a;overflow:hidden }
.demo-fm-rootbar { display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #e2e8f0;flex-shrink:0 }
.demo-fm-root-input { flex:1;min-width:0;height:28px;border:1px solid #e2e8f0;border-radius:6px;padding:0 10px;font-size:12px;color:#334155;background:#fff;outline:none;box-sizing:border-box }
.demo-fm-root-input:focus { border-color:#94a3b8;box-shadow:0 0 0 1px rgba(100,116,139,.25) }
.demo-fm-root-input.err { border-color:#ef4444 }
.demo-fm-select { height:28px;border:1px solid #e2e8f0;border-radius:6px;font-size:11.5px;color:#334155;padding:0 10px;background:#fff;display:flex;align-items:center;gap:6px;flex-shrink:0;white-space:nowrap }
.demo-fm-error { border-bottom:1px solid #fecaca;background:#fef2f2;color:#dc2626;font-size:11.5px;padding:5px 12px;flex-shrink:0 }
.demo-fm-toolbar { display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-bottom:1px solid #e2e8f0;flex-shrink:0 }
.demo-fm-searchwrap { position:relative;flex:1;min-width:0 }
.demo-fm-search { width:100%;box-sizing:border-box;height:28px;border:1px solid #e2e8f0;border-radius:6px;padding:0 30px;font-size:12px;color:#334155;background:#fff;outline:none }
.demo-fm-search:focus { border-color:#94a3b8 }
.demo-fm-search::placeholder { color:#94a3b8 }
.demo-fm-searchwrap > svg { position:absolute;left:8px;top:50%;transform:translateY(-50%);color:#94a3b8;width:13px;height:13px;pointer-events:none }
.demo-fm-btns { display:flex;align-items:center;gap:1px;flex-shrink:0 }
.demo-fm-btn { width:28px;height:28px;border-radius:6px;border:none;background:none;display:flex;align-items:center;justify-content:center;color:#64748b;cursor:pointer;transition:background .15s,color .15s;flex-shrink:0 }
.demo-fm-btn:hover { background:#f1f5f9;color:#0f172a }
.demo-fm-btn.on { background:#e2e8f0;color:#0f172a }
.demo-fm-btn svg.spin { animation:fm-spin .6s linear }
@keyframes fm-spin { to { transform:rotate(360deg) } }
.demo-fm-div { width:1px;height:16px;background:#e2e8f0;margin:0 5px;flex-shrink:0 }
.demo-fm-toast { position:absolute;right:14px;bottom:14px;z-index:5;background:#0f172a;color:#f8fafc;font-size:11.5px;padding:8px 14px;border-radius:8px;box-shadow:0 6px 18px rgba(2,8,23,.25);opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s;pointer-events:none }
.demo-fm-toast.show { opacity:1;transform:translateY(0) }
.demo-fm-cols { display:grid;grid-template-columns:minmax(0,5fr) minmax(0,2fr) minmax(0,3fr) minmax(0,2fr);gap:8px;align-items:center;padding:5px 10px;border-bottom:1px solid #e2e8f0;font-size:10px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#94a3b8;flex-shrink:0 }
.demo-fm-col { display:flex;align-items:center;min-width:0 }
.demo-fm-col.sep { border-left:1px solid #e2e8f0;padding-left:8px }
.demo-fm-check { width:13px;height:13px;accent-color:#2563eb;cursor:pointer;flex-shrink:0;margin:0 }
.demo-fm-name { display:flex;align-items:center;gap:1px;min-width:0;flex:1 }
.demo-fm-list { flex:1;min-height:0;overflow-y:auto;padding:3px 5px }
.demo-fm-row { display:grid;grid-template-columns:minmax(0,5fr) minmax(0,2fr) minmax(0,3fr) minmax(0,2fr);gap:8px;align-items:center;padding:3px 6px;border-left:2px solid transparent;border-radius:4px;cursor:pointer;font-size:12.5px;line-height:1.4;transition:background .1s }
.demo-fm-row:hover { background:#f1f5f9 }
.demo-fm-row.sel { background:#f1f5f9 }
.demo-fm-row.dir-open { border-left-color:rgba(37,99,235,.35) }
.demo-fm-row .name { font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#0f172a }
.demo-fm-row .meta { font-size:11.5px;color:#64748b;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis }
.demo-fm-row .perm { font-family:'SF Mono',Consolas,monospace;font-size:11px;color:#64748b;white-space:nowrap }
.demo-fm-chev { width:13px;height:13px;color:#94a3b8;transition:transform .15s;flex-shrink:0 }
.demo-fm-row.dir-open .demo-fm-chev { transform:rotate(90deg) }
.demo-fm-fico { width:15px;height:15px;flex-shrink:0 }
/* 简洁视图：仅名称 */
.demo-fm-panel[data-mode='simple'] .demo-fm-row,
.demo-fm-panel[data-mode='simple'] .demo-fm-cols { display:none }
.demo-fm-panel:not([data-mode='simple']) .demo-fm-rows-simple { display:none }
.demo-fm-rows-simple { flex:1;min-height:0;overflow-y:auto;padding:3px 5px }
.demo-fm-srow { display:flex;align-items:center;gap:5px;padding:3px 6px;border-radius:4px;cursor:pointer;font-size:12.5px;color:#0f172a }
.demo-fm-srow:hover { background:#f1f5f9 }
/* 紧凑视图：名称 + 右侧大小/时间 */
.demo-fm-panel[data-mode='compact'] .demo-fm-row,
.demo-fm-panel[data-mode='compact'] .demo-fm-cols { display:none }
.demo-fm-rows-compact { flex:1;min-height:0;overflow-y:auto;padding:3px 5px }
.demo-fm-crow { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 6px;border-radius:4px;cursor:pointer }
.demo-fm-crow:hover { background:#f1f5f9 }
.demo-fm-crow .l { display:flex;align-items:center;gap:5px;min-width:0 }
.demo-fm-crow .name { font-size:12.5px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis }
.demo-fm-crow .r { display:flex;align-items:center;gap:12px;font-size:11.5px;color:#64748b;flex-shrink:0 }
.demo-workspace-tab-branch { display:flex;align-items:center;gap:3px;margin-left:auto;font-size:10px;color:#86909c }
.demo-workspace-tab-branch svg { width:12px;height:12px }
.demo-workspace-search { margin:8px 12px;padding:5px 10px;border-radius:6px;border:1px solid #e5e6eb;font-size:10.5px;color:#86909c;display:flex;align-items:center;gap:6px;background:#f9fafb }
.demo-workspace-search svg { width:12px;height:12px;flex-shrink:0;color:#86909c }
.demo-workspace-tree { flex:1;overflow-y:auto;padding:4px 8px;font-size:11px;color:#1d2129 }
.demo-workspace-tree-item { display:flex;align-items:center;gap:4px;padding:3px 6px;border-radius:4px;cursor:default }
.demo-workspace-tree-item:hover { background:#f2f3f5 }
.demo-workspace-tree-item svg { width:12px;height:12px;flex-shrink:0;color:#86909c }
.demo-workspace-tree-item.folder { font-weight:500 }
.demo-workspace-tree-indent { width:14px;flex-shrink:0 }
.demo-scheduled { padding:32px 100px;gap:16px;overflow-y:auto }
.demo-scheduled-header { display:flex;align-items:center;justify-content:space-between }
.demo-scheduled-title { font-size:16px;font-weight:600;color:#1d2129 }
.demo-scheduled-add { width:30px;height:30px;border-radius:8px;background:#f2f3f5;color:#4e5969;border:1px solid #e5e6eb;display:flex;align-items:center;justify-content:center;cursor:default }
.demo-scheduled-desc { font-size:12px;color:#86909c;line-height:1.5 }
.demo-scheduled-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:10px }
.demo-sched-card { background:#fff;border-radius:12px;padding:14px;border:1px solid #e5e6eb;display:flex;flex-direction:column;gap:8px }
.demo-sched-card-top { display:flex;align-items:center;justify-content:space-between }
.demo-sched-card-name { font-size:12.5px;font-weight:600;color:#1d2129 }
.demo-sched-tag { font-size:9.5px;padding:2px 8px;border-radius:100px;font-weight:500 }
.demo-sched-tag.running { background:#00b42a1a;color:#00b42a }
.demo-sched-tag.paused { background:#f2f3f5;color:#86909c }
.demo-sched-row { display:flex;align-items:center;gap:6px;font-size:11px;color:#86909c }
.demo-sched-row svg { flex-shrink:0;width:13px;height:13px;color:#c9cdd4 }
.demo-sched-bottom { display:flex;align-items:center;justify-content:space-between;margin-top:auto }
.demo-sched-agent { display:flex;align-items:center;gap:5px;font-size:10.5px;color:#86909c }
.demo-sched-agent img,.demo-sched-agent svg { width:14px;height:14px;border-radius:50% }
.demo-sched-toggle { width:32px;height:18px;border-radius:9px;position:relative;cursor:default }
.demo-sched-toggle.on { background:#7583b2 }
.demo-sched-toggle.off { background:#c9cdd4 }
.demo-sched-toggle:after { content:"";position:absolute;top:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:left .15s }
.demo-sched-toggle.on:after { left:16px }
.demo-sched-toggle.off:after { left:2px }
.demo-team { gap:0 }
.demo-team-header { display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid #e5e6eb;background:#fff }
.demo-team-name { font-size:14px;font-weight:600;color:#1d2129 }
.demo-team-badge { font-size:10px;color:#86909c;background:#f2f3f5;padding:3px 10px;border-radius:100px }
.demo-team-avatars { display:flex;align-items:center;gap:0;margin-left:auto }
.demo-team-avatars .tav { width:22px;height:22px;border-radius:50%;border:2px solid #fff;margin-left:-6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;font-size:9px;font-weight:600;color:#fff }
.demo-team-avatars .tav:first-child { margin-left:0 }
.demo-team-avatars .tav img,.demo-team-avatars .tav svg { width:100%;height:100%;object-fit:cover }
.demo-team-avatar-count { font-size:10px;color:#86909c;margin-left:6px;white-space:nowrap }
.demo-team-grid-wrap { flex:1;position:relative;min-height:0;overflow:hidden }
.demo-team-grid { height:100%;display:grid;grid-template-columns:1fr 1fr 1fr;min-height:0;overflow:hidden }
.demo-team-scroll-hint { position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:2;width:28px;height:28px;border-radius:50%;background:#ffffffeb;box-shadow:0 1px 6px #0000001a;display:flex;align-items:center;justify-content:center;cursor:default }
.demo-team-scroll-hint svg { width:14px;height:14px;color:#4e5969 }
.demo-team-msg-file { align-self:flex-start;background:#fff;border:1px solid #e5e6eb;border-radius:8px;padding:6px 10px;max-width:88%;display:flex;align-items:center;gap:6px;margin-top:2px }
.demo-team-msg-file-icon { width:22px;height:22px;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:12px }
.demo-team-msg-file-info { font-size:9px;line-height:1.3 }
.demo-team-msg-file-name { font-weight:600;color:#1d2129 }
.demo-team-msg-file-size { color:#86909c }
.demo-team-msg-img { align-self:flex-start;max-width:70%;border-radius:8px;overflow:hidden;margin-top:2px;background:#f2f3f5;border:1px solid #e5e6eb }
.demo-team-msg-img-placeholder { width:100%;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;font-size:9px;color:#86909c }
.demo-team-slot { display:flex;flex-direction:column;border-right:1px solid #f0f0f0;overflow:hidden }
.demo-team-slot:last-child { border-right:none }
.demo-team-slot.leader { border-left:none }
.demo-team-slot-header { display:flex;align-items:center;gap:5px;padding:8px 12px;border-bottom:1px solid #f0f0f0;background:#fafbfc;font-size:11px }
.demo-team-slot-header img,.demo-team-slot-header svg { width:16px;height:16px;border-radius:50%;flex-shrink:0 }
.demo-team-slot-name { font-weight:600;color:#1d2129 }
.demo-team-slot-mode { font-size:10px;color:#4e5969;margin-left:auto }
.demo-team-messages { flex:1;padding:10px 12px;display:flex;flex-direction:column;gap:7px;overflow-y:auto;background:#fff }
.demo-team-msg { font-size:10.5px;line-height:1.5;color:#1d2129 }
.demo-team-msg-user { align-self:flex-end;background:#f2f3f5;color:#1d2129;padding:7px 10px;border-radius:8px 0 8px 8px;max-width:88% }
.demo-team-msg-agent { align-self:flex-start;padding:4px 0;max-width:90%;color:#4e5969 }
.demo-team-msg-cross { align-self:flex-start;background:#fafbff;border:1px solid #e8ecf5;padding:7px 10px;border-radius:10px;max-width:88%;margin-top:1px }
.demo-team-msg-cross-header { display:flex;align-items:center;gap:4px;margin-bottom:3px;font-size:9px;font-weight:600;color:#6b7785 }
.demo-team-msg-cross-header svg,.demo-team-msg-cross-header img { width:12px;height:12px;flex-shrink:0 }
.demo-team-sendbox { margin:8px 10px;border:1px solid #e5e6eb;border-radius:14px;padding:7px 12px;font-size:10px;color:#a1a2aa;display:flex;align-items:center;justify-content:space-between;background:#fff }
.demo-team-send { width:22px;height:22px;border-radius:50%;background:#d3d4d9;display:flex;align-items:center;justify-content:center }

/* 窄屏（768–1100px）：侧栏收窄而非隐藏 */
@media (max-width:1100px) {
  .demo-sider { width:180px }
  .demo-sider-item-name { font-size:11.5px }
}


#siteNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  height: 64px;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(170%) blur(20px);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  z-index: 100;
  transition: background 0.2s;
}
#siteNav.is-scrolled { background: rgba(255,255,255,0.92); }
#siteNav::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19,17,28,.07) 20%, rgba(19,17,28,.07) 80%, transparent);
}
.nav-left { display: flex; align-items: center; gap: 11px; }
.nav-logo-link { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.nav-logo-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 1px 2px rgba(19,17,28,.1), 0 4px 10px rgba(19,17,28,.06);
}
.nav-logo-icon img { width: 28px; height: 28px; border-radius: 50%; display: block; object-fit: cover; }
.nav-logo-icon svg { width: 28px; height: 28px; }
.nav-logo-text { font-size: 16.5px; font-weight: 600; letter-spacing: -0.4px; color: var(--ink); }
.nav-gh-stars {
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--ink-50); text-decoration: none;
  background: rgba(19,17,28,.04); border-radius: 20px;
  padding: 4px 11px; transition: color 0.2s, background 0.2s;
  opacity: 0;
}
.nav-gh-stars.loaded { opacity: 1; }
.nav-gh-stars:hover { color: var(--ink); background: rgba(19,17,28,.08); }
.nav-gh-star-count {
  font-size: 11.5px; font-weight: 600; color: var(--ink-50);
}
.nav-center { display: flex; align-items: center; gap: 32px; }
.nav-center a {
  font-size: 13.5px; font-weight: 450; color: var(--ink-70); text-decoration: none;
  transition: color 0.2s;
}
.nav-center a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-lang-wrap { position: relative; }
.nav-lang-wrap > summary { list-style: none; cursor: pointer; }
.nav-lang-wrap > summary::-webkit-details-marker { display: none; }
.nav-lang {
  display: flex; align-items: center; gap: 4px; color: var(--ink-70); font-size: 13px;
  padding: 6px 10px; border-radius: 8px; transition: all 0.2s; background: transparent; border: none;
}
.nav-lang:hover { background: rgba(19,17,28,.05); color: var(--ink); }
.nav-lang-dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 4px; background: #fff; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(19,17,28,.12), 0 0 0 1px rgba(19,17,28,.06);
  padding: 4px; min-width: 130px; z-index: 1000;
}
.nav-lang-option {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 7px; cursor: pointer;
  font-size: 13px; color: var(--ink-70); transition: background 0.15s; width: 100%; text-align: left;
  text-decoration: none;
}
.nav-lang-option:hover { background: rgba(19,17,28,.05); }
.nav-lang-option.active { color: var(--plum); font-weight: 600; background: rgba(75,60,122,.06); }
.nav-download {
  background: var(--ink); color: var(--canvas); font-size: 13.5px; font-weight: 500;
  padding: 8px 18px; border-radius: 20px; text-decoration: none;
  transition: all 0.25s; letter-spacing: -0.1px;
  box-shadow: 0 1px 2px rgba(19,17,28,.15), 0 6px 16px rgba(19,17,28,.08);
}
.nav-download:hover {
  background: #2a2538; transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(19,17,28,.2), 0 10px 24px rgba(19,17,28,.12);
}
.nav-user-login {
  font-size: 13.5px; font-weight: 500; color: var(--ink-70);
  padding: 6px 16px; border-radius: 20px; text-decoration: none;
  border: 1px solid var(--line); background: var(--canvas);
  transition: all 0.2s;
}
.nav-user-login:hover { color: var(--ink); border-color: rgba(19,17,28,.2); }
.nav-user-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #7583b2, #165dff);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; cursor: pointer; user-select: none;
}
.nav-user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: 10px; min-width: 200px; z-index: 10;
  box-shadow: 0 4px 20px rgba(19,17,28,.12), 0 0 0 1px rgba(19,17,28,.06);
  overflow: hidden;
}
.nav-user-dropdown-info {
  padding: 12px 16px; border-bottom: 1px solid #f0f0f0;
}
.nav-user-dropdown-name {
  font-size: 14px; font-weight: 600; color: #1a1a2e; margin-bottom: 2px;
}
.nav-user-dropdown-email {
  font-size: 12px; color: #8a8a9a;
}
.nav-user-dropdown-item {
  display: block; padding: 10px 16px; font-size: 14px; color: #1a1a2e;
  text-decoration: none; cursor: pointer; transition: background 0.15s;
  background: transparent; border: none; width: 100%; text-align: left;
}
.nav-user-dropdown-item:hover { background: #f5f5f5; }
.nav-user-dropdown-divider { height: 1px; background: #f0f0f0; }
.nav-user-dropdown-logout { color: #e53e3e; }
@media (max-width: 900px) {
  #siteNav { padding: 0 20px; }
  .nav-center { display: none; }
}
@media (max-width: 767px) {
  #siteNav { padding: 0 16px; height: 56px; }
  .nav-download { padding: 7px 14px; font-size: 12.5px; }
  .nav-logo-text { font-size: 15px; }
}
@media (max-width: 640px) {
  .nav-gh-stars { display: none; }
}


/* ===== BLOCK ===== */


.hero {
  text-align: left;
  padding: 80px 60px 32px;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  margin: 0 auto;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1800px;
  height: 1400px;
  background:
    radial-gradient(ellipse 40% 45% at 50% 45%, rgba(75,60,122,.18) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 25% 65%, rgba(220,170,140,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 38% at 78% 30%, rgba(140,170,220,.16) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
  animation: hero-gradient-shift 12s ease infinite;
  background-size: 200% 200%;
}
@keyframes hero-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero > * { position: relative; z-index: 1; }
.hero-inner { max-width: 1400px; margin: 0 auto; padding: 0 64px; }
.hero .section-title {
  font-size: clamp(32px, 3.2vw, 48px);
  letter-spacing: -1.6px;
  margin: 0 0 20px;
  font-weight: 600;
  line-height: 1.18;
}
.hero .section-title .hero-tail { display: inline-block; white-space: nowrap; }
.hero .section-title em {
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-serif);
  letter-spacing: -2px;
  color: var(--plum);
  display: inline-block;
}
html[lang^="zh"] .hero .section-title em {
  font-style: normal;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.hero .section-sub {
  margin: 0 0 32px;
  font-size: 17px;
  color: var(--ink-70);
  letter-spacing: -0.2px;
  line-height: 1.65;
  max-width: none;
}
.hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--canvas);
  padding: 17px 34px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(19,17,28,.28), 0 10px 28px rgba(75,60,122,.28), 0 4px 12px rgba(19,17,28,.18), inset 0 1px 0 rgba(255,255,255,.08);
  letter-spacing: -0.15px;
  animation: btn-breathe 3.2s ease-in-out infinite;
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-primary:hover {
  background: #2a2538;
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 2px 4px rgba(19,17,28,.32), 0 20px 48px rgba(75,60,122,.5), 0 6px 16px rgba(19,17,28,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
@keyframes btn-breathe {
  0%, 100% { box-shadow: 0 1px 2px rgba(19,17,28,.28), 0 10px 28px rgba(75,60,122,.28), 0 4px 12px rgba(19,17,28,.18), inset 0 1px 0 rgba(255,255,255,.08); }
  50% { box-shadow: 0 1px 2px rgba(19,17,28,.28), 0 14px 40px rgba(75,60,122,.45), 0 4px 12px rgba(19,17,28,.18), inset 0 1px 0 rgba(255,255,255,.08); }
}
@keyframes hero-rotator-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-agents { display: flex; align-items: center; gap: 0; margin-left: 8px; }
.hero-agent-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  margin-left: -8px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  background: #f2f3f5;
  object-fit: cover;
}
.hero-agent-av:first-child { margin-left: 0; }
.hero-agent-av.active {
  transform: translateY(-8px) scale(1.12);
  box-shadow: 0 4px 12px rgba(75,60,122,.25);
  z-index: 2;
}
.hero-agent-av svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}
img.hero-agent-av { object-fit: cover; }
.hero-rotating-wrap {
  display: inline-block;
  position: relative;
  vertical-align: top;
  height: 1.4em;
  line-height: inherit;
  clip-path: inset(-8px -8px -14px -8px);
}
.hero-rotating-word {
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  white-space: nowrap;
  line-height: inherit;
  transform: translateY(150%);
  will-change: transform;
  background: linear-gradient(135deg, #4b3c7a 0%, #7a5fbe 50%, #4b3c7a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hero-rotator-gradient-shift 6s ease infinite;
}
.hero-rotating-word.is-active { transform: translateY(0); transition: transform 0.55s cubic-bezier(0.22,1,0.36,1); }
.hero-rotating-word.is-exiting { transform: translateY(-150%); transition: transform 0.55s cubic-bezier(0.22,1,0.36,1); }
@media (max-width: 1199px) {
  .hero { padding: 64px 32px 24px; }
  .hero-inner { padding: 0 16px; }
  .hero .section-title { font-size: clamp(30px, 4.5vw, 42px); }
}
@media (max-width: 767px) {
  .hero { padding: 40px 16px 16px; }
  .hero-inner { padding: 0; }
  .hero .section-title { font-size: clamp(26px, 7.5vw, 34px); letter-spacing: -0.8px; line-height: 1.2; }
  .hero .section-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-cta { gap: 14px; align-items: center; }
  .hero-cta .btn-primary { flex: 1; min-width: 0; justify-content: center; padding: 14px 18px; font-size: 15px; gap: 8px; }
  .hero-cta .btn-primary svg { width: 16px; height: 16px; }
  .hero-agents { flex-basis: 100%; margin-left: 0; margin-top: 4px; flex-wrap: wrap; gap: 0; }
  .hero-agent-av { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .btn-primary { animation: none; }
  .hero-rotating-word { animation: none; }
  .hero-rotating-word.is-active, .hero-rotating-word.is-exiting { transition: none; }
}


/* ===== BLOCK ===== */


.demo-section {
  padding: 40px 60px 80px;
}
.demo-inner {
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 1199px) {
  .demo-section {
    padding: 32px 32px 72px;
  }
}
@media (max-width: 767px) {
  .demo-section {
    padding: 16px 16px 56px;
  }
}


/* ===== BLOCK ===== */


.cowork-section { padding: 100px 60px; position: relative; overflow: hidden; }
.cowork-inner { max-width: 1400px; margin: 0 auto; }
.cowork-feature { display: flex; align-items: center; gap: 88px; }
.cowork-text { flex: 1; min-width: 0; }
.section-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 2.8px; color: var(--plum);
  margin: 0 0 20px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.section-label::before, .section-label::after {
  content: ''; width: 18px; height: 1px; background: var(--plum); opacity: 0.5;
}
.section-title {
  font-size: clamp(28px, 2.5vw, 40px); font-weight: 500; color: var(--ink);
  line-height: 1.12; letter-spacing: -1.5px; margin-bottom: 20px;
}
.section-sub { font-size: 16px; color: var(--ink-50); line-height: 1.65; }
.cowork-visual {
  flex: 1; min-width: 0; background: #fff; border-radius: 20px; padding: 0;
  overflow: hidden; position: relative;
  box-shadow: 0 1px 1px rgba(19,17,28,.03), 0 4px 10px rgba(19,17,28,.04), 0 20px 50px rgba(75,60,122,.07);
  min-height: 480px; display: flex;
}
.cowork-visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(19,17,28,.04);
}
/* Phase stacking */
.cowork-phase {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity 0.5s;
}
.cowork-phase.active { opacity: 1; pointer-events: auto; }
.cowork-input-phase { padding: 28px 24px; justify-content: center; align-items: center; gap: 14px; }
.cowork-greeting { font-size: 15px; font-weight: 700; color: #1d2129; text-align: center; }
.cowork-agent-bar {
  display: flex; align-items: center; gap: 4px; background: #f4f2f9;
  border-radius: 20px; padding: 5px 10px; flex-wrap: wrap; justify-content: center;
}
.cowork-agent-bar-selected {
  display: flex; align-items: center; gap: 5px; background: #fff; border-radius: 14px;
  padding: 4px 10px; font-size: 10px; font-weight: 600; color: #1d2129;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.cowork-agent-bar-selected svg { width: 14px; height: 14px; }
.cowork-agent-bar-icon {
  width: 20px; height: 20px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  opacity: 0.7; transition: opacity 0.15s; display: inline-flex; align-items: center; justify-content: center;
}
.cowork-agent-bar-icon:hover { opacity: 1; }
.cowork-agent-bar-icon svg { width: 100%; height: 100%; display: block; }
.cowork-agent-bar-divider { width: 1px; height: 14px; background: #d8d4e3; margin: 0 3px; }
.cowork-agent-bar-plus { font-size: 14px; color: #86909c; margin-left: 2px; }
.cowork-input-card {
  width: 100%; max-width: 420px; border: 1px solid #e5e6eb; border-radius: 18px;
  background: #fff; display: flex; flex-direction: column; overflow: hidden;
}
.cowork-input-top { display: flex; align-items: flex-start; gap: 8px; padding: 14px 16px 10px; }
.cowork-input-text { font-size: 12px; color: #a1a2aa; flex: 1; line-height: 1.6; min-height: 18px; }
.cowork-input-typed { font-size: 12px; color: #1d2129; flex: 1; line-height: 1.6; word-break: break-word; min-height: 18px; }
.cowork-input-cursor {
  display: inline-block; width: 1.5px; height: 14px; background: #4b3c7a;
  margin-left: 1px; animation: cw-blink-cursor 0.8s step-end infinite; vertical-align: middle;
}
@keyframes cw-blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cowork-input-send {
  width: 28px; height: 28px; border-radius: 50%; background: #d3d4d9;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.2s; margin-top: auto;
}
.cowork-input-send.ready { background: var(--plum); }
.cowork-input-bottom { display: flex; align-items: center; gap: 8px; padding: 6px 16px 12px; flex-wrap: wrap; }
.cowork-input-pill {
  display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: #6b7785;
  background: #f7f8fa; border: 1px solid #e5e6eb; border-radius: 10px; padding: 5px 12px;
}
.cowork-input-pill svg { width: 13px; height: 13px; flex-shrink: 0; }
.cowork-input-pill-folder { color: var(--plum); font-weight: 500; }
.cowork-input-pill-add {
  width: 26px; height: 26px; border-radius: 50%; background: #f7f8fa; border: 1px solid #e5e6eb;
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: #86909c; flex-shrink: 0;
}
.cowork-input-bottom-spacer { flex: 1; }
/* Dashboard layout */
.cowork-dash-phase { overflow: hidden; }
.cowork-dash-phase .cowork-layout { height: 100%; }
.cowork-layout { display: flex; width: 100%; height: 100%; overflow: hidden; border-radius: 16px; }
.cowork-left {
  width: 240px; flex-shrink: 0; background: #f4f2f9; padding: 28px 14px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.cowork-left-title {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  color: var(--plum); margin-bottom: 10px; letter-spacing: 0.2px;
}
.cowork-agent-row {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px;
  opacity: 0; transform: translateX(40px) translateY(-20px) scale(0.85);
  transition: opacity 0.35s, transform 0.4s cubic-bezier(0.2,1,0.3,1), background 0.2s;
}
.cowork-agent-row.entered { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
.cowork-agent-row.entered:hover { background: #fff; transform: translateX(2px); }
.cowork-agent-logo {
  width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.cowork-agent-logo svg { width: 100%; height: 100%; display: block; border-radius: 50%; }
.cowork-agent-name { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cowork-agent-tag { flex-shrink: 0; font-size: 10px; padding: 3px 7px; border-radius: 100px; font-weight: 600; letter-spacing: 0.2px; text-transform: lowercase; }
.cowork-agent-tag.running { background: rgba(61,122,90,.14); color: #3d7a5a; }
.cowork-agent-tag.idle { background: #e5e6eb; color: #86909c; }
.cowork-agent-tag.queued { background: rgba(75,60,122,.14); color: var(--plum); }
.cowork-agent-tag.done { background: rgba(19,17,28,.08); color: var(--ink-70); }
.cowork-right { flex: 1; background: #faf9f6; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.cowork-tasks-header { font-size: 12px; font-weight: 600; color: var(--ink-50); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.cowork-task-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-70); padding: 6px 0; }
.cowork-task-icon {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.cowork-task-icon.done { background: #3d7a5a; }
.cowork-task-icon.progress { background: #d19b2c; animation: cowork-progress-pulse 1.8s ease-in-out infinite; }
.cowork-task-icon.pending { border: 1.5px dashed #c9cdd4; background: transparent; }
.cowork-task-icon.animating { animation: cw-task-pop 0.4s ease; }
@keyframes cw-task-pop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes cowork-progress-pulse { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.cowork-activity { margin-top: 16px; border-top: 1px solid #eee; padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.cowork-activity-title { font-size: 11px; font-weight: 600; color: var(--ink-50); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.cowork-activity-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-70); }
.cowork-activity-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cowork-typing { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; }
.cowork-typing span { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-50); animation: cowork-typing-blink 1.4s infinite; }
.cowork-typing span:nth-child(2) { animation-delay: 0.2s; }
.cowork-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cowork-typing-blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.cw-flying-agent {
  position: absolute; width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  z-index: 20; pointer-events: none; transition: none;
}
.cw-flying-agent svg { width: 100%; height: 100%; display: block; }
@media (max-width: 1199px) { .cowork-section { padding: 80px 32px; } .cowork-feature { gap: 48px; } }
@media (max-width: 960px) {
  .cowork-section { padding: 64px 24px; }
  .cowork-feature { flex-direction: column; gap: 32px; }
  .cowork-visual { width: 100%; }
}
@media (max-width: 767px) {
  .cowork-section { padding: 56px 16px; }
  .cowork-visual { min-height: 420px; }
  .cowork-left { width: 150px; padding: 20px 10px 10px; }
  .cowork-agent-row { padding: 6px 6px; gap: 6px; }
  .cowork-agent-logo { width: 22px; height: 22px; }
  .cowork-agent-name { font-size: 11px; }
  .cowork-agent-tag { font-size: 8.5px; padding: 2px 6px; }
  .cowork-right { padding: 14px; }
  .cowork-input-phase { padding: 18px 14px; }
  .cowork-input-card { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cowork-phase { transition: none; }
  .cw-flying-agent { display: none; }
  .cowork-input-cursor { animation: none; }
}


/* ===== BLOCK ===== */


.assistants-section { padding: 100px 0; overflow-x: clip; }
.assistants-inner { max-width: 1400px; margin: 0 auto; padding: 0 60px; text-align: center; }
.assistants-section .section-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 2.8px; color: var(--plum);
  margin: 0 auto 20px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.assistants-section .section-label::before, .assistants-section .section-label::after { content: ''; width: 18px; height: 1px; background: var(--plum); opacity: 0.5; }
.assistants-section .section-title { font-size: clamp(28px,2.8vw,44px); font-weight: 500; color: var(--ink); line-height: 1.1; letter-spacing: -2px; margin-bottom: 20px; }
.assistants-section .section-sub { font-size: 17px; color: var(--ink-50); line-height: 1.65; margin: 0 auto 56px; max-width: 640px; }
.asst-carousel-wrap-outer {
  position: relative;
  width: 100%;
  margin-bottom: 32px;
  overflow: visible;
}
.asst-carousel-wrap {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  padding: 44px 0;
}
.asst-marquee-row { display: flex; gap: 12px; padding: 6px 0; width: max-content; animation-timing-function: linear; animation-iteration-count: infinite; }
.asst-marquee-row.row1 { animation-name: marquee-left; animation-duration: 40s; }
.asst-marquee-row.row2 { animation-name: marquee-right; animation-duration: 40s; }
@keyframes marquee-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .asst-marquee-row { animation: none; } }
.asst-card {
  position: relative;
  flex: 0 0 120px; width: 120px; background: #fff; border-radius: 14px;
  text-align: center; user-select: none; cursor: default;
  box-shadow: 0 1px 1px rgba(19,17,28,.03), 0 2px 8px rgba(19,17,28,.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.asst-card:hover { box-shadow: 0 2px 2px rgba(19,17,28,.04), 0 6px 12px rgba(19,17,28,.06), 0 16px 32px rgba(75,60,122,.1); transform: translateY(-4px); }
.asst-card-avatar-area { position: relative; height: 78px; overflow: hidden; border-radius: 14px 14px 0 0; }
.asst-card-avatar-area img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asst-card-status { position: absolute; bottom: 4px; right: 8px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #fff; }
.asst-card-status.online { background: #28c840; animation: pulse-glow 2s ease-in-out infinite; }
.asst-card-status.busy { background: #ffbd2e; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(40, 200, 64, 0); }
}
.asst-card-info { padding: 10px 10px 12px; }
.asst-card-name { font-size: 11px; font-weight: 600; color: #13111c; margin-bottom: 1px; letter-spacing: -0.15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asst-card-title { font-size: 8.5px; color: #86909c; margin-bottom: 5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3px; }
.asst-card-bio { font-size: 9.5px; color: #6b6575; line-height: 1.5; font-style: italic; }
.asst-more { font-size: 14px; color: var(--ink-50); margin: 8px auto 0; }
.asst-work-bubble {
  position: absolute;
  left: 50%;
  z-index: 10; pointer-events: none;
  background: #fff; border: 1.5px solid #d8d2e8; border-radius: 12px;
  padding: 6px 14px; font-size: 12.5px; font-weight: 500; color: #3d3850;
  white-space: nowrap; box-shadow: 0 4px 16px rgba(75,60,122,0.14);
  opacity: 0;
  /* Plain ease-out, no overshoot — avoids the constant micro-bounce. */
  transition: opacity .2s ease-out, transform .25s ease-out;
}
.asst-work-bubble.top { bottom: calc(100% + 6px); transform: translate(-50%, 6px) scale(.92); }
.asst-work-bubble.bottom { top: calc(100% + 6px); transform: translate(-50%, -6px) scale(.92); }
.asst-work-bubble.top.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.asst-work-bubble.bottom.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.asst-work-bubble.top.hide {
  opacity: 0; transform: translate(-50%, -6px) scale(.92);
  transition: opacity .2s ease-in, transform .25s ease-in;
}
.asst-work-bubble.bottom.hide {
  opacity: 0; transform: translate(-50%, 6px) scale(.92);
  transition: opacity .2s ease-in, transform .25s ease-in;
}
@media (max-width: 900px) { .assistants-inner { padding: 0 24px; } }
@media (prefers-reduced-motion: reduce) {
  .asst-marquee-row { animation: none; }
  .asst-card-status.online { animation: none; }
}


/* ===== BLOCK ===== */


.remote-section {
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}
.remote-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.remote-section .section-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 2.8px; color: var(--plum);
  margin: 0 auto 20px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.remote-section .section-label::before, .remote-section .section-label::after { content: ''; width: 18px; height: 1px; background: var(--plum); opacity: 0.5; }
.remote-section .section-title {
  font-size: 56px; font-weight: 500; color: var(--ink); line-height: 1.04;
  letter-spacing: -2.2px; margin-bottom: 22px; text-wrap: balance;
}
.remote-section .section-sub {
  font-size: 17.5px; color: var(--ink-50); line-height: 1.6; font-weight: 400;
  letter-spacing: -0.15px; margin: 0 auto 56px; max-width: 720px; text-wrap: balance;
}
.remote-flow { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; margin-bottom: 56px; }
.remote-pill { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border-radius: 22px; padding: 18px 22px; box-shadow: 0 1px 2px rgba(19,17,28,.04), 0 8px 20px rgba(75,60,122,.08); min-width: 130px; }
.remote-phone-icon, .remote-desktop-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.remote-pill-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.remote-desktop-agents { display: flex; align-items: center; margin-top: 2px; }
.remote-desktop-agent { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -5px; }
.remote-desktop-agent:first-child { margin-left: 0; }
.remote-desktop-agent-more { font-size: 10px; color: var(--ink-50); margin-left: 6px; font-weight: 600; }
.remote-flow-line {
  flex: 1; min-width: 40px; max-width: 120px; height: 2px;
  background-image: repeating-linear-gradient(to right, var(--plum) 0 6px, transparent 6px 12px);
  background-size: 12px 2px; background-repeat: repeat-x;
  position: relative; margin: 0 10px; opacity: 0.55;
  animation: remote-dash-flow 1.4s linear infinite;
}
.remote-flow-dot { display: none; }
@keyframes remote-dash-flow { 0% { background-position: 0 0; } 100% { background-position: 12px 0; } }
.remote-flow-section-paused .remote-flow-line { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .remote-flow-line { animation: none; } }
.remote-channels { background: #fff; border-radius: 22px; padding: 14px 20px 18px; box-shadow: 0 1px 2px rgba(19,17,28,.04), 0 8px 20px rgba(75,60,122,.08); }
.remote-channel-title { font-size: 10px; font-weight: 600; color: var(--ink-50); letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 8px; }
.remote-channel-row { display: flex; align-items: center; gap: 10px; }
.remote-ch-icon { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s var(--ease-spring); }
.remote-ch-icon:hover { transform: translateY(-3px) scale(1.08); }
.remote-ch-icon svg, .remote-ch-icon img { width: 28px; height: 28px; display: block; }
.remote-screenshot {
  margin-top: 8px; border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(19,17,28,.08), 0 2px 8px rgba(19,17,28,.04);
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.remote-screenshot img { width: 100%; height: auto; display: block; }
@media (max-width: 1199px) {
  .remote-section { padding: 80px 32px; }
  .remote-section .section-title { font-size: 44px; letter-spacing: -1.6px; }
}
@media (max-width: 960px) {
  .remote-section { padding: 64px 24px; }
  .remote-section .section-title { font-size: 40px; letter-spacing: -1.4px; }
  .remote-flow { flex-direction: column; gap: 10px; }
  .remote-flow-line {
    flex: 0 0 auto; width: 2px; height: 44px; min-width: 0; max-width: none;
    background-image: repeating-linear-gradient(to bottom, var(--plum) 0 6px, transparent 6px 12px);
    background-size: 2px 12px; background-repeat: repeat-y; margin: 0 auto;
    animation-name: remote-dash-flow-vertical;
  }
}
@keyframes remote-dash-flow-vertical { 0% { background-position: 0 0; } 100% { background-position: 0 12px; } }
@media (max-width: 767px) {
  .remote-section { padding: 56px 16px; }
  .remote-section .section-title { font-size: 30px; letter-spacing: -1px; }
  .remote-section .section-sub { font-size: 15px; }
}


/* ===== BLOCK ===== */


.cron-section { padding: 100px 60px; position: relative; }
.cron-inner { max-width: 1400px; margin: 0 auto; }
.cron-feature { display: flex; gap: 80px; align-items: center; }
.cron-text { flex: 0 0 480px; max-width: 480px; }
.cron-visual { flex: 1; min-width: 0; }

.section-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 2.8px; color: var(--plum);
  margin: 0 0 20px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.section-label::before, .section-label::after { content: ''; width: 18px; height: 1px; background: var(--plum); opacity: 0.5; }
.section-title { font-size: 48px; font-weight: 500; color: var(--ink); line-height: 1.06; letter-spacing: -1.8px; margin-bottom: 22px; text-wrap: balance; }
.section-sub { font-size: 16.5px; color: var(--ink-50); line-height: 1.6; font-weight: 400; letter-spacing: -0.15px; margin: 0; }

/* ─── App mockup ─── */
.cron-app { width: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid rgba(19,17,28,.08); box-shadow: 0 1px 2px rgba(19,17,28,.04), 0 12px 40px rgba(75,60,122,.1); }
.cron-app-titlebar { height: 36px; background: #f8f8f8; border-bottom: 1px solid #e8e8e8; display: flex; align-items: center; padding: 0 14px; gap: 7px; flex-shrink: 0; }
.cron-app-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cron-app-titlebar-meta { margin-left: auto; font-size: 11px; color: #86909c; display: inline-flex; align-items: center; gap: 4px; }
.cron-app-body { flex: 1; padding: 20px; background: #fff; overflow: hidden; position: relative; }
.cron-app-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cron-app-title { font-size: 15px; font-weight: 600; color: #1d2129; display: inline-flex; align-items: center; gap: 6px; }
.cron-alarm-icon { transform-origin: 50% 55%; transition: transform .2s ease; }
.cron-alarm-icon.ringing { animation: cron-alarm-ring .9s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes cron-alarm-ring {
  0% { transform: scale(1) rotate(0); }
  10% { transform: scale(1.18) rotate(-16deg); }
  22% { transform: scale(1.22) rotate(14deg); }
  34% { transform: scale(1.18) rotate(-12deg); }
  46% { transform: scale(1.2) rotate(10deg); }
  58% { transform: scale(1.12) rotate(0); }
  72% { transform: scale(1.18) rotate(-14deg); }
  84% { transform: scale(1.2) rotate(12deg); }
  100% { transform: scale(1) rotate(0); }
}
.cron-app-count { font-size: 11px; color: #86909c; background: #f2f3f5; padding: 2px 8px; border-radius: 10px; }

/* ─── Chat prelude ─── */
.cron-chat { position: absolute; inset: 60px 20px 20px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: opacity .4s ease, transform .5s cubic-bezier(.22,1,.36,1); }
.cron-chat.sending { opacity: 0; transform: translateY(-14px); pointer-events: none; }
.cron-chat.hidden { visibility: hidden; }
.cron-chat-agents { display: flex; align-items: center; gap: 8px; background: #f4f2f9; border-radius: 999px; padding: 7px 16px; flex-wrap: wrap; justify-content: center; }
.cron-chat-agent-selected { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: #1d2129; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.cron-chat-agent-selected svg { width: 20px; height: 20px; }
.cron-chat-agent-divider { width: 1px; height: 20px; background: #d8d4e3; margin: 0 4px; }
.cron-chat-agent-icon { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; flex-shrink: 0; opacity: .85; display: inline-flex; align-items: center; justify-content: center; }
.cron-chat-agent-icon svg { width: 100%; height: 100%; display: block; }
.cron-chat-agent-plus { font-size: 18px; color: #86909c; margin-left: 4px; }
.cron-chat-card { width: 100%; max-width: 720px; border: 1px solid #e5e6eb; border-radius: 16px; background: #fff; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 32px rgba(19,17,28,.06); }
.cron-chat-top { display: flex; align-items: flex-start; padding: 18px 20px 10px; }
.cron-chat-text { flex: 1; font-size: 14.5px; color: #a1a2aa; line-height: 1.6; min-height: 44px; }
.cron-chat-typed { flex: 1; font-size: 14.5px; color: #1d2129; line-height: 1.6; min-height: 44px; word-break: break-word; }
.cron-chat-cursor { display: inline-block; width: 1.5px; height: 14px; background: #4b3c7a; margin-left: 1px; animation: cron-chat-cursor .8s step-end infinite; vertical-align: middle; }
@keyframes cron-chat-cursor { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.cron-chat-bottom { display: flex; align-items: center; gap: 8px; padding: 6px 18px 14px; flex-wrap: wrap; }
.cron-chat-pill { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: #6b7785; background: #f7f8fa; border: 1px solid #e5e6eb; border-radius: 10px; padding: 5px 10px; }
.cron-chat-pill svg { width: 13px; height: 13px; flex-shrink: 0; }
.cron-chat-pill-accent { color: var(--plum); font-weight: 500; }
.cron-chat-pill-add { width: 26px; height: 26px; border-radius: 50%; background: #f7f8fa; border: 1px solid #e5e6eb; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #86909c; flex-shrink: 0; }
.cron-chat-bottom-spacer { flex: 1; }
.cron-chat-send { width: 28px; height: 28px; border-radius: 50%; background: #d3d4d9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s ease; }
.cron-chat-send.ready { background: var(--plum); }

/* ─── Task cards grid ─── */
.cron-app-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.cron-card { background: #fafbfc; border: 1px solid #f0f0f0; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s; }
.cron-card.card-hidden { opacity: 0; transform: translateY(14px) scale(.94); pointer-events: none; }
.cron-card.card-in { animation: cron-card-in .42s cubic-bezier(.22,1,.36,1) both; }
@keyframes cron-card-in { 0% { opacity: 0; transform: translateY(14px) scale(.94); } 60% { opacity: 1; transform: translateY(-2px) scale(1.02); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.cron-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.cron-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cron-card-name { font-size: 12px; font-weight: 600; color: #1d2129; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cron-card-toggle { width: 28px; height: 16px; border-radius: 8px; position: relative; flex-shrink: 0; display: inline-block; }
.cron-card-toggle::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; top: 2px; transition: left .2s; }
.cron-card-toggle.on { background: var(--moss); }
.cron-card-toggle.on::after { left: 14px; }
.cron-card-toggle.off { background: #c9cdd4; }
.cron-card-toggle.off::after { left: 2px; }
.cron-card-schedule { font-size: 10px; color: #86909c; font-family: 'SF Mono',monospace; }
.cron-card-meta { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #86909c; flex-wrap: wrap; }
.cron-card-status { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 500; padding: 1px 6px; border-radius: 4px; }
.cron-card-status.active { background: rgba(61,122,90,.1); color: var(--moss); }
.cron-card-status.running { background: rgba(22,93,255,.1); color: #165dff; }
.cron-card-status.paused { background: rgba(201,205,212,.15); color: #86909c; }
.cron-card-status.queued { background: rgba(255,125,0,.1); color: #ff7d00; }
.cron-card-status.done { background: rgba(0,180,42,.1); color: #00b42a; }
.cron-card.triggering { animation: cron-trigger .6s ease; }
@keyframes cron-trigger { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(75,60,122,0); } 50% { transform: scale(1.03); box-shadow: 0 0 0 6px rgba(75,60,122,.12); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(75,60,122,0); } }
.cron-card-agent { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.cron-card-agent-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

@media (max-width: 1199px) {
  .cron-section { padding: 80px 32px; }
  .cron-feature { gap: 48px; }
  .cron-text { flex: 0 0 340px; }
  .section-title { font-size: 42px; letter-spacing: -1.6px; }
}
@media (max-width: 900px) {
  .cron-section { padding: 64px 24px; }
  .cron-feature { flex-direction: column; gap: 44px; align-items: stretch; }
  .cron-text { flex: 1 1 auto; max-width: none; }
  .section-title { font-size: 38px; letter-spacing: -1.4px; }
  .cron-app-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .cron-section { padding: 56px 16px; }
  .section-title { font-size: 30px; letter-spacing: -1px; }
  .section-sub { font-size: 15px; }
  .cron-app-body { padding: 16px; }
}
@media (max-width: 600px) {
  .cron-app-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cron-card.card-hidden { opacity: 1; transform: none; }
  .cron-card.card-in { animation: none; }
  .cron-card.triggering { animation: none; }
  .cron-alarm-icon.ringing { animation: none; }
  .cron-chat-cursor { animation: none; }
}


/* ===== BLOCK ===== */


.platform-section { padding: 100px 60px; }
.platform-inner { max-width: 1400px; margin: 0 auto; }
.platform-section .section-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 2.8px; color: var(--plum);
  margin: 0 0 20px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.platform-section .section-label::before, .platform-section .section-label::after { content: ''; width: 18px; height: 1px; background: var(--plum); opacity: 0.5; }
.platform-section .section-title {
  font-size: 48px; font-weight: 500; color: var(--ink); line-height: 1.06;
  letter-spacing: -1.8px; margin-bottom: 22px; text-wrap: balance;
}
.platform-section .section-sub {
  font-size: 16.5px; color: var(--ink-50); line-height: 1.6;
  font-weight: 400; letter-spacing: -0.15px; margin: 0 0 44px;
}
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.platform-card {
  background: #fff; border-radius: 16px; padding: 32px 28px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative; overflow: hidden; border: 1px solid rgba(19,17,28,.08);
  display: flex; gap: 24px; align-items: flex-start; min-height: 220px;
}
.platform-card:hover {
  border-color: rgba(19,17,28,.14);
  box-shadow: 0 4px 20px rgba(19,17,28,.06);
}
.platform-card-text { flex: 1; min-width: 0; }
.platform-card-name {
  font-size: 16px; font-weight: 650; color: var(--ink); margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.platform-card-headline {
  font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.3;
  margin-bottom: 10px; letter-spacing: -0.4px;
}
.platform-card-desc { font-size: 13px; color: var(--ink-50); line-height: 1.65; }
.platform-card-visual {
  flex: 0 0 220px; min-height: 180px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.plat-logos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  width: 100%; padding: 4px;
}
.plat-logo-item {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 700; color: #fff;
  transition: transform 0.2s var(--ease-out); box-shadow: 0 1px 4px rgba(0,0,0,.06); justify-self: center;
}
.plat-logo-item:hover { transform: scale(1.1); }
.plat-logo-more { background: #f5f3f8; color: #6b6575; }
.plat-tags {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 8px;
  align-content: center; justify-content: center;
}
.plat-tag {
  padding: 5px 10px; border-radius: 8px; font-size: 11px;
  font-weight: 500; white-space: nowrap; transition: transform 0.2s var(--ease-out);
}
.plat-tag:hover { transform: translateY(-2px); }
.plat-mcp-svg { display: block; }
.mcp-conn {
  stroke: #c4b8de; stroke-width: 1.5; stroke-dasharray: 6 4;
  animation: mcp-pulse 2s ease-in-out infinite;
}
.mcp-conn:nth-child(2) { animation-delay: 0.5s; }
.mcp-conn:nth-child(3) { animation-delay: 1s; }
.mcp-conn:nth-child(4) { animation-delay: 1.5s; }
@keyframes mcp-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .mcp-conn { animation: none; opacity: 0.6; }
}
.plat-files { position: relative; width: 200px; height: 160px; }
.plat-file {
  position: absolute; width: 64px; height: 78px; border-radius: 8px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: transform 0.25s var(--ease-out);
}
.plat-file:hover { transform: translateY(-4px) rotate(0deg) !important; }
.plat-file svg { width: 28px; height: 28px; opacity: 0.9; }
@media (max-width: 1199px) {
  .platform-section { padding: 80px 32px; }
  .platform-section .section-title { font-size: 42px; letter-spacing: -1.6px; }
  .platform-card { padding: 28px 24px; gap: 20px; }
  .platform-card-visual { flex: 0 0 200px; }
}
@media (max-width: 900px) {
  .platform-section { padding: 64px 24px; }
  .platform-section .section-title { font-size: 38px; letter-spacing: -1.4px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { flex-direction: column; gap: 20px; }
  .platform-card-visual { flex: 1 1 auto; width: 100%; min-height: 140px; }
}
@media (max-width: 767px) {
  .platform-section { padding: 56px 16px; }
  .platform-section .section-title { font-size: 30px; letter-spacing: -1px; }
  .platform-section .section-sub { font-size: 15px; margin-bottom: 32px; }
  .platform-card { padding: 24px 20px; min-height: 0; }
  .platform-card-headline { font-size: 19px; }
}


/* ===== BLOCK ===== */


.faq-section { padding: 120px 24px 80px; background: var(--canvas); }
.faq-inner { max-width: 1400px; margin: 0 auto; }
.faq-section .section-title {
  text-align: center; font-size: clamp(28px,2.8vw,44px); font-weight: 500; color: var(--ink);
  line-height: 1.1; letter-spacing: -2px; margin-bottom: 20px;
}
.faq-section .section-sub {
  text-align: center; font-size: 17px; color: var(--ink-50); line-height: 1.65;
  margin: 0 auto 56px; max-width: 640px;
}
.faq-list { list-style: none; padding: 0; margin: 0 auto; max-width: 1120px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color 0.2s var(--ease-out); }
.faq-item:hover { border-color: rgba(19,17,28,.12); }
.faq-item details { }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 22px; cursor: pointer; list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.45; flex: 1; }
.faq-chev { color: var(--ink-30); flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.faq-item details[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-50); line-height: 1.65; }
.faq-a a { color: var(--plum); text-decoration: underline; }
.faq-a a:hover { color: var(--plum-hi); }
@media (max-width: 900px) { .faq-list { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .faq-section { padding: 60px 16px; } .faq-q { font-size: 14px; } .faq-item summary { padding: 16px 18px; } .faq-a { padding: 0 18px 16px; } }


/* ===== BLOCK ===== */


.final-cta {
  text-align: center;
  padding: 100px 60px;
  background: var(--ink);
  color: var(--canvas);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle, rgba(107,85,168,.28) 0%, rgba(75,60,122,.08) 35%, transparent 65%);
  pointer-events: none;
  filter: blur(20px);
}
.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(250,249,246,.05) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta .section-title {
  font-size: 72px;
  margin-bottom: 26px;
  color: var(--canvas);
  letter-spacing: -3px;
  font-weight: 500;
  line-height: 1.02;
}
.final-cta .section-title em {
  font-style: italic;
  color: #b4a8d8;
  font-family: var(--font-serif);
}
.cta-avatars {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px;
  padding: 6px 0;
}
.cta-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid rgba(180,168,216,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  background: #1f1a2e;
}
.cta-avatar + .cta-avatar { margin-left: -10px; }
.cta-avatar:hover {
  transform: translateY(-5px) scale(1.12);
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.cta-avatar.pop { animation: cta-pop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1); }
@keyframes cta-pop {
  0% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  50% { transform: translateY(-2px); }
  70% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}
.cta-avatar img,
.cta-avatar svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta-avatars-label {
  font-size: 13px;
  color: #b4a8d8;
  margin: 0 auto 32px;
  letter-spacing: 0.2px;
}
.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.final-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 100px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.1px;
  background: var(--canvas);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(250,249,246,.15), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s ease;
}
.final-cta .btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,.3), 0 14px 32px rgba(250,249,246,.2), inset 0 1px 0 rgba(255,255,255,.35);
}
@media (prefers-reduced-motion: reduce) {
  .cta-avatar.pop { animation: none; }
}
@media (max-width: 1199px) {
  .final-cta { padding: 88px 32px; }
  .final-cta .section-title { font-size: clamp(40px, 5vw, 58px); letter-spacing: -2px; }
}
@media (max-width: 900px) {
  .final-cta { padding: 80px 24px; }
  .final-cta .section-title { font-size: 46px; letter-spacing: -1.6px; }
}
@media (max-width: 767px) {
  .final-cta { padding: 64px 16px; }
  .final-cta .section-title { font-size: 34px; letter-spacing: -1px; }
  .cta-avatar { width: 38px; height: 38px; }
  .cta-avatar + .cta-avatar { margin-left: -8px; }
}


/* ===== BLOCK ===== */


.site-footer-inner {
  padding: 44px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  max-width: 100%;
}
.site-footer-copy { color: rgba(250,249,246,0.4); }
.site-footer-copy .footer-license { color: inherit; transition: color 0.2s; }
.site-footer-copy .footer-license:hover { color: var(--canvas); }
.site-footer-links { display: flex; gap: 30px; }
.site-footer-links a { color: rgba(250,249,246,0.55); text-decoration: none; transition: color 0.2s; }
.site-footer-links a:hover { color: var(--canvas); }
@media (max-width: 900px) {
  .site-footer-inner { padding: 32px 24px; flex-direction: column; gap: 16px; text-align: center; }
  .site-footer-links { gap: 20px; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 767px) {
  .site-footer-inner { padding: 28px 16px; font-size: 12px; }
  .site-footer-links { gap: 14px 18px; }
}

/* ---------- 新建会话页（对齐 fork GuidPage 结构与视觉） ---------- */
.demo-ng { align-items:center; justify-content:flex-start; padding:36px 40px 12px; gap:0; overflow-y:auto }
.demo-ng-title { font-size:21px; font-weight:700; color:#1d2129; text-align:center; margin:0 0 16px; letter-spacing:-.2px }
.demo-ng-barwrap { display:flex; justify-content:center; margin-bottom:14px }
.demo-ng-bar { position:relative; display:inline-flex; align-items:center; gap:6px; background:#eaecf7; border-radius:999px; padding:6px; max-width:100% }
.demo-ng-pill { display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border-radius:999px; font-size:12px; color:#4e5969; opacity:.72; cursor:pointer; border:none; background:transparent; transition:all .15s; white-space:nowrap; font-family:inherit }
.demo-ng-pill:hover { opacity:1 }
.demo-ng-pill.on { background:#fff; color:#1d2129; font-weight:600; opacity:1; box-shadow:0 1px 3px rgba(0,0,0,.08) }
.demo-ng-pill .av { width:20px; height:20px; border-radius:50%; object-fit:cover; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; background:#f2f3f5 }
.demo-ng-pill .av svg { width:14px; height:14px }
.demo-ng-pill .av svg[viewBox="0 0 128 128"] { width:20px; height:20px; display:block }
.demo-ng-pill .lb { min-width:0; max-width:150px; overflow:hidden; text-overflow:ellipsis }
.demo-ng-morebtn { display:inline-flex; align-items:center; gap:4px; padding:8px 12px; border-radius:999px; border:none; background:none; font-size:12px; color:#4e5969; opacity:.75; cursor:pointer; transition:opacity .15s; font-family:inherit }
.demo-ng-morebtn:hover { opacity:1 }
.demo-ng-panel { position:absolute; top:calc(100% + 8px); left:0; z-index:80; width:max-content; min-width:380px; max-width:480px; background:#fff; border:1px solid #e5e6eb; border-radius:12px; padding:8px; box-shadow:0 10px 32px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.06); display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px }
.demo-ng-panel[hidden] { display:none }
.demo-ng-cardwrap { width:100%; max-width:640px }
.demo-ng-card { background:#fff; border:1px solid #e5e6eb; border-radius:24px; padding:12px 14px 10px; display:flex; flex-direction:column; transition:box-shadow .25s ease, border-color .25s ease }
.demo-ng-card.focus { border-color:#beb5da; box-shadow:0 0 0 3px rgba(117,131,178,.14), 0 10px 30px rgba(75,60,122,.13) }
.demo-ng-ta { width:100%; box-sizing:border-box; min-height:46px; resize:none; border:none; outline:none; font-family:inherit; font-size:13px; line-height:1.6; color:#1d2129; background:transparent; padding:2px 4px }
.demo-ng-ta::placeholder { color:#a1a2aa }
.demo-ng-actions { display:flex; align-items:flex-end; justify-content:space-between; gap:8px; margin-top:10px }
.demo-ng-tools { display:inline-flex; align-items:center; gap:6px; min-width:0 }
.demo-ng-plus { position:relative }
.demo-ng-plusbtn { width:30px; height:30px; border-radius:50%; border:none; background:#f2f3f5; display:flex; align-items:center; justify-content:center; color:#4e5969; cursor:pointer; transition:background .15s, transform .2s }
.demo-ng-plusbtn:hover { background:#e8eaef }
.demo-ng-plus.open .demo-ng-plusbtn { transform:rotate(45deg); background:#e8eaef }
.demo-ng-plusmenu { position:absolute; bottom:calc(100% + 8px); left:0; z-index:90; min-width:190px; background:#fff; border:1px solid #e5e6eb; border-radius:12px; padding:5px; box-shadow:0 10px 32px rgba(0,0,0,.12) }
.demo-ng-plusmenu[hidden] { display:none }
.demo-ng-pm-item { display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:8px; font-size:12px; color:#1d2129; cursor:pointer; transition:background .1s }
.demo-ng-pm-item:hover { background:#f2f3f5 }
.demo-ng-pm-item svg { color:#4e5969; flex-shrink:0 }
.demo-ng-pm-item em { margin-left:auto; font-style:normal; font-size:10.5px; color:#86909c }
.demo-ng-submit { display:inline-flex; align-items:center; gap:6px; flex-shrink:0 }
.demo-ng-chip { display:inline-flex; align-items:center; gap:4px; height:26px; padding:0 9px; border-radius:999px; border:1px solid #e5e6eb; background:#fff; font-size:11px; color:#4e5969; cursor:pointer; white-space:nowrap; font-family:inherit; transition:background .15s }
.demo-ng-chip:hover { background:#f7f8fa }
.demo-ng-chip svg { color:#86909c }
.demo-ng-vdiv { width:1px; height:14px; background:#e5e6eb; margin:0 2px }
.demo-ng-mic { width:30px; height:30px; border-radius:50%; border:none; background:#f2f3f5; display:flex; align-items:center; justify-content:center; color:#4e5969; cursor:pointer; transition:background .15s, color .15s }
.demo-ng-mic.rec { background:#fdecec; color:#f53f3f; animation:ng-pulse 1.1s ease-in-out infinite }
@keyframes ng-pulse { 0%,100% { box-shadow:0 0 0 0 rgba(245,63,63,.35) } 50% { box-shadow:0 0 0 6px rgba(245,63,63,0) } }
.demo-ng-send { width:30px; height:30px; border-radius:50%; border:none; background:#d3d4d9; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .18s }
.demo-ng-send.ready { background:#111318 }
.demo-ng-send.ready:hover { background:#2a2538 }
.demo-ng-wsrow { display:flex; align-items:center; gap:8px; padding:6px 8px 8px 4px }
.demo-ng-wsanchor { position:relative }
.demo-ng-wsbtn { display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:500; color:#86909c; background:none; border:none; padding:4px 6px; border-radius:6px; cursor:pointer; transition:color .15s, background .15s; font-family:inherit }
.demo-ng-wsbtn:hover { color:#1d2129; background:#f2f3f5 }
.demo-ng-wspill { display:inline-flex; align-items:center; gap:4px; font-size:11.5px; font-weight:500; color:#4e5969; padding:4px 4px 4px 6px; border-radius:6px; max-width:260px }
.demo-ng-wspill:hover { background:#f2f3f5; color:#1d2129 }
.demo-ng-wspill .nm { max-width:170px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.demo-ng-wsx { width:17px; height:17px; border-radius:4px; display:inline-flex; align-items:center; justify-content:center; color:#c9cdd4; cursor:pointer; flex-shrink:0 }
.demo-ng-wsx:hover { background:#e5e6eb; color:#4e5969 }
.demo-ng-wsdrop { position:absolute; bottom:calc(100% + 6px); left:0; z-index:95; min-width:240px; background:#fff; border:1px solid #e5e6eb; border-radius:12px; padding:6px; box-shadow:0 10px 32px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.06) }
.demo-ng-wsdrop[hidden] { display:none }
.demo-ng-wsearch { display:flex; align-items:center; gap:6px; padding:6px 10px; margin-bottom:4px; background:#f2f3f5; border-radius:8px }
.demo-ng-wsearch svg { width:12px; height:12px; color:#86909c; flex-shrink:0 }
.demo-ng-wsearch input { border:none; outline:none; background:transparent; font-size:12px; width:100%; font-family:inherit; color:#1d2129 }
.demo-ng-witem { display:flex; align-items:center; gap:8px; padding:7px 10px; border-radius:8px; cursor:pointer; font-size:12px; color:#1d2129; transition:background .1s }
.demo-ng-witem:hover { background:#f2f3f5 }
.demo-ng-witem.active { color:#7583b2; font-weight:600 }
.demo-ng-witem.accent { color:#7583b2 }
.demo-ng-witem.muted { color:#4e5969; font-style:italic }
.demo-ng-wsep { height:1px; background:#e5e6eb; margin:4px 0 }
.demo-ng-prompts { width:100%; max-width:640px; margin-top:12px; padding-left:8px }
.demo-ng-prompts-hint { font-size:11px; color:#86909c; margin-bottom:8px; line-height:20px }
.demo-ng-prompt { display:flex; align-items:flex-start; gap:6px; width:100%; padding:6px 0; border:none; background:none; text-align:left; font-size:12.5px; color:#4e5969; cursor:pointer; line-height:1.6; font-family:inherit; transition:color .15s }
.demo-ng-prompt:hover { color:#1d2129 }
.demo-ng-prompt .arr { opacity:0; margin-left:auto; flex-shrink:0; color:#1d2129; transition:opacity .15s; transform:translateY(1px) }
.demo-ng-prompt:hover .arr { opacity:1 }
.demo-ng-quick { display:flex; justify-content:center; align-items:center; gap:24px; margin-top:auto; padding-top:18px; padding-bottom:4px }
.demo-ng-qbtn { display:inline-flex; align-items:center; justify-content:center; height:32px; min-width:32px; max-width:32px; padding:0; border-radius:999px; background:#fff; border:1px solid #e5e6eb; cursor:pointer; overflow:hidden; white-space:nowrap; transition:max-width .42s ease-in-out, padding .42s ease-in-out, box-shadow .2s; font-family:inherit }
.demo-ng-qbtn:hover { max-width:180px; padding:0 14px 0 6px; justify-content:flex-start; gap:8px; box-shadow:0 4px 14px rgba(75,60,122,.12) }
.demo-ng-qbtn .qico { width:18px; height:18px; flex-shrink:0; display:flex; align-items:center; justify-content:center; color:#86909c }
.demo-ng-qbtn:hover .qico { color:#FE9900 }
.demo-ng-qbtn .qlabel { opacity:0; max-width:0; overflow:hidden; font-size:11.5px; color:#4e5969; transition:all .36s ease-in-out }
.demo-ng-qbtn:hover .qlabel { opacity:1; max-width:130px }
.demo-ng-dot { width:6px; height:6px; border-radius:50%; background:#00b42a; box-shadow:0 0 5px rgba(0,180,42,.6); position:absolute; right:-1px; top:1px }

/* ---------- 移动端（≤767px）：交互 Demo 完整可用 ---------- */
@media (max-width: 767px) {
  .demo-body { flex-direction:column; height:auto }
  /* 侧栏 → 顶部横滑工具条 */
  .demo-sider {
    width:100%; flex-direction:row; align-items:center;
    overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch;
    border-right:none; border-bottom:1px solid #e5e6eb; padding:8px 10px; gap:8px;
  }
  .demo-sider-header { padding:0; gap:6px; flex-shrink:0 }
  .demo-sider-brand { font-size:13px }
  .demo-sider-toolbar { padding:0; flex-shrink:0 }
  .demo-sider-btn { height:28px; padding:0 10px }
  .demo-sider-search, .demo-sider-divider, .demo-sider-footer { display:none }
  .demo-sider-nav {
    margin:0; padding:5px 10px; border-radius:999px; background:#fff;
    border:1px solid #e5e6eb; flex-shrink:0; white-space:nowrap;
  }
  .demo-sider-nav.active { background:#13111c; color:#fff; font-weight:500 }
  .demo-sider-nav.active svg { color:#fff }
  .demo-sider-scroll { flex-direction:row; gap:6px; padding:0; overflow:visible; display:flex; align-items:center }
  .demo-sider-group { display:none }
  .demo-sider-item {
    margin:0; height:30px; padding:0 10px 0 4px; border-radius:999px;
    background:#fff; border:1px solid #e5e6eb; flex-shrink:0;
  }
  .demo-sider-item.active { background:#eaecf7; border-color:#c9cfe8 }
  .demo-sider-item.static { opacity:.45 }
  /* 主区高度自适应 */
  .demo-main { min-height:520px }
  .demo-view.demo-chat-with-panel { flex-direction:column!important }
  .demo-chat-with-panel .demo-workspace-panel {
    width:100%; max-height:220px; border-left:none; border-top:1px solid #e5e6eb;
  }
  .demo-chat-messages { min-height:200px }
  /* 文件管理器：压缩列布局 */
  .demo-fm-rootbar { padding:6px 8px; gap:6px }
  .demo-fm-select { display:none }
  .demo-fm-toolbar { flex-wrap:wrap; padding:6px 8px }
  .demo-fm-cols, .demo-fm-row { grid-template-columns:minmax(0,1fr) auto auto; }
  .demo-fm-cols > :nth-child(3), .demo-fm-row > :nth-child(3) { display:none }
  .demo-fm-cols > :nth-child(4) { display:none }
  .demo-fm-row > :nth-child(4) { display:none }
  /* 新建会话页 */
  .demo-ng { padding:24px 16px 8px }
  .demo-ng-title { font-size:17px }
  .demo-ng-panel { position:fixed; left:12px; right:12px; width:auto; min-width:0; grid-template-columns:1fr }
  .demo-ng-quick { gap:18px }
}

/* 更多助手面板：列表变长后可滚动 */
.demo-ng-panel { max-height:320px; overflow-y:auto }

/* ---------- 设置页（对齐 fork SettingsSider 分组结构） ---------- */
.demo-set { display:flex; flex-direction:row; width:100%; height:100%; background:#fff }
.demo-set-sider { width:168px; flex-shrink:0; background:#fafbfc; border-right:1px solid #e5e6eb; overflow-y:auto; padding:10px 8px }
.demo-set-group { font-size:9.5px; color:#94a3b8; letter-spacing:.6px; padding:10px 10px 4px; font-weight:600; text-transform:uppercase }
.demo-set-item { display:flex; align-items:center; gap:8px; height:30px; padding:0 10px; border-radius:8px; font-size:12px; color:#1d2129; font-weight:500; cursor:pointer; transition:background .12s; margin-bottom:1px }
.demo-set-item:hover { background:#f2f3f5 }
.demo-set-item.on { background:#eceef5; font-weight:600 }
.demo-set-item svg { width:14px; height:14px; color:#4e5969; flex-shrink:0 }
.demo-set-item.on svg { color:#4b3c7a }
.demo-set-main { flex:1; min-width:0; overflow-y:auto; padding:20px 24px }
.demo-set-h { font-size:15px; font-weight:700; color:#1d2129; margin:0 0 4px }
.demo-set-sub { font-size:11.5px; color:#86909c; margin-bottom:16px }
.demo-set-card { background:#fff; border:1px solid #e5e6eb; border-radius:12px; padding:12px 14px; margin-bottom:10px; display:flex; align-items:center; gap:12px }
.demo-set-row-t { flex:1; min-width:0 }
.demo-set-row-name { font-size:12.5px; font-weight:600; color:#1d2129 }
.demo-set-row-desc { font-size:11px; color:#86909c; margin-top:2px; line-height:1.5 }
.demo-set-badge { font-size:10px; padding:2px 8px; border-radius:999px; background:#00b42a1a; color:#00b42a; font-weight:500; flex-shrink:0 }
.demo-set-badge.gray { background:#f2f3f5; color:#86909c }
.demo-set-badge.blue { background:#7583b21a; color:#7583b2 }
.demo-set-toggle { width:32px; height:18px; border-radius:9px; position:relative; cursor:pointer; flex-shrink:0; transition:background .15s }
.demo-set-toggle.on { background:#7583b2 }
.demo-set-toggle.off { background:#c9cdd4 }
.demo-set-toggle:after { content:""; position:absolute; top:2px; width:14px; height:14px; border-radius:50%; background:#fff; transition:left .15s }
.demo-set-toggle.on:after { left:16px }
.demo-set-toggle.off:after { left:2px }
.demo-set-input { height:28px; border:1px solid #e5e6eb; border-radius:6px; padding:0 10px; font-size:11.5px; color:#4e5969; background:#f7f8fa; display:flex; align-items:center; gap:6px; min-width:0 }
.demo-set-chip { display:inline-flex; align-items:center; gap:4px; padding:4px 10px; border-radius:999px; font-size:10.5px; background:#f2f3f5; color:#4e5969; border:1px solid #e5e6eb }
.demo-set-chip.on { background:#7583b21a; border-color:#7583b266; color:#4b3c7a; font-weight:600 }
.demo-set-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:10px }
.demo-set-radio { display:flex; align-items:center; gap:6px; padding:8px 10px; border:1px solid #e5e6eb; border-radius:8px; font-size:11.5px; color:#4e5969; cursor:pointer }
.demo-set-radio.on { border-color:#7583b2; color:#4b3c7a; background:#7583b20d; font-weight:600 }
.demo-set-radio .dot { width:12px; height:12px; border-radius:50%; border:2px solid #c9cdd4; flex-shrink:0; box-sizing:border-box }
.demo-set-radio.on .dot { border-color:#7583b2; background:#fff; box-shadow:inset 0 0 0 2.5px #7583b2 }
.demo-set-logo { width:52px; height:52px; border-radius:14px; overflow:hidden; flex-shrink:0 }
.demo-set-logo img { width:100%; height:100%; object-fit:cover }
@media (max-width:767px) {
  .demo-set { flex-direction:column }
  .demo-set-sider { width:100%; display:flex; flex-direction:row; align-items:center; gap:6px; overflow-x:auto; border-right:none; border-bottom:1px solid #e5e6eb; padding:8px 10px }
  .demo-set-group { display:none }
  .demo-set-item { flex-shrink:0; white-space:nowrap; border:1px solid #e5e6eb; background:#fff; border-radius:999px; height:28px }
  .demo-set-item.on { background:#13111c; color:#fff; border-color:#13111c }
  .demo-set-item.on svg { color:#fff }
  .demo-set-main { padding:14px }
}

/* ---------- 控制台暗色模式（.demo-dark，对齐 fork arco dark 令牌） ---------- */
.demo-frame.demo-dark { background:#141220; border-color:#2c2938 }
.demo-dark .demo-tb-center { color:#8f8da1 }
.demo-dark .demo-body { background:#17151f }
/* 侧栏 */
.demo-dark .demo-sider { background:#1b1926; border-color:#2c2938 }
.demo-dark .demo-sider-brand { color:#e8e6f0 }
.demo-dark .demo-sider-btn { background:#242232; border-color:#34313f; color:#d5d3e2 }
.demo-dark .demo-sider-btn:hover { background:#2d2a3c }
.demo-dark .demo-sider-search { color:#c5c3d4 }
.demo-dark .demo-sider-search svg { color:#8f8da1 }
.demo-dark .demo-sider-nav { color:#d5d3e2 }
.demo-dark .demo-sider-nav:hover, .demo-dark .demo-sider-item:hover { background:rgba(255,255,255,.07) }
.demo-dark .demo-sider-nav.active, .demo-dark .demo-sider-item.active { background:rgba(255,255,255,.11); color:#fff }
.demo-dark .demo-sider-item { color:#d5d3e2 }
.demo-dark .demo-sider-group { color:#8f8da1 }
.demo-dark .demo-sider-divider { background:#2c2938 }
.demo-dark .demo-sider-footer { border-color:#2c2938 }
.demo-dark .demo-sider-footer-btn { color:#a9a7bd }
.demo-dark .demo-sider-footer-btn:hover { background:rgba(255,255,255,.08); color:#e8e6f0 }
/* 对话 */
.demo-dark .demo-main, .demo-dark .demo-chat { background:#17151f; color:#d5d3e2 }
.demo-dark .demo-chat-header { background:rgba(23,21,31,.9); color:#d5d3e2 }
.demo-dark .demo-chat-header-name { color:#e8e6f0 }
.demo-dark .demo-chat-header-pill { background:#262433; color:#d5d3e2 }
.demo-dark .demo-msg-user { background:#2b2838; color:#e8e6f0 }
.demo-dark .demo-msg-assistant { color:#d5d3e2 }
.demo-dark .demo-chat-messages .demo-msg-assistant[style] { background:#221f2f!important;color:#a9a7bd!important }
.demo-dark .demo-chat-messages .demo-msg-assistant[style] div { color:#c5c3d4!important }
.demo-dark .demo-chat-messages .demo-msg-assistant[style] div[style] { color:#d5d3e2!important }
.demo-dark .demo-chat-sendbox { background:#1e1c2a; border-color:#34313f }
.demo-dark .demo-chat-sendbox-input { color:#8f8da1 }
.demo-dark .demo-chat-plus { background:#2b2838; color:#a9a7bd }
.demo-dark .demo-workspace-panel { background:#1b1926; border-color:#2c2938 }
.demo-dark .demo-workspace-title { color:#e8e6f0 }
.demo-dark .demo-workspace-icons { color:#8f8da1 }
.demo-dark .demo-workspace-tabs { border-color:#2c2938 }
.demo-dark .demo-workspace-tab { color:#8f8da1 }
.demo-dark .demo-workspace-tab.active { color:#e8e6f0 }
.demo-dark .demo-workspace-search { background:#221f2f; border-color:#34313f; color:#8f8da1 }
.demo-dark .demo-workspace-tree { color:#d5d3e2 }
.demo-dark .demo-workspace-tree-item:hover { background:rgba(255,255,255,.06) }
/* 文件管理器 */
.demo-dark .demo-fm-panel { background:#17151f; color:#d5d3e2 }
.demo-dark .demo-fm-root-input, .demo-dark .demo-fm-select, .demo-dark .demo-fm-search { background:#221f2f; border-color:#34313f; color:#d5d3e2 }
.demo-dark .demo-fm-root-input:focus, .demo-dark .demo-fm-search:focus { border-color:#4b4862 }
.demo-dark .demo-fm-rootbar, .demo-dark .demo-fm-toolbar, .demo-dark .demo-fm-cols { border-color:#2c2938 }
.demo-dark .demo-fm-cols { color:#8f8da1 }
.demo-dark .demo-fm-row .name, .demo-dark .demo-fm-row { color:#d5d3e2 }
.demo-dark .demo-fm-row .meta, .demo-dark .demo-fm-row .perm { color:#8f8da1 }
.demo-dark .demo-fm-btn { color:#a9a7bd }
.demo-dark .demo-fm-btn:hover { background:rgba(255,255,255,.08); color:#e8e6f0 }
.demo-dark .demo-fm-btn.on { background:#34313f; color:#e8e6f0 }
.demo-dark .demo-fm-div { background:#34313f }
.demo-dark .demo-fm-toast { background:#34313f }
.demo-dark .demo-fm-error { background:#3a2020; border-color:#5c2c2c; color:#ff8f8f }
/* 新建会话 */
.demo-dark .demo-ng-title, .demo-dark .demo-guid-greeting { color:#e8e6f0 }
.demo-dark .demo-ng-bar { background:#262433 }
.demo-dark .demo-ng-pill { color:#c5c3d4 }
.demo-dark .demo-ng-pill.on { background:#37344a; color:#fff }
.demo-dark .demo-ng-morebtn { color:#c5c3d4 }
.demo-dark .demo-ng-card { background:#1e1c2a; border-color:#34313f }
.demo-dark .demo-ng-card.focus { border-color:#565170; box-shadow:0 0 0 3px rgba(117,131,178,.18), 0 10px 30px rgba(0,0,0,.35) }
.demo-dark .demo-ng-ta { color:#e8e6f0 }
.demo-dark .demo-ng-ta::placeholder { color:#7f7d92 }
.demo-dark .demo-ng-plusbtn, .demo-dark .demo-ng-mic { background:#2b2838; color:#a9a7bd }
.demo-dark .demo-ng-plusbtn:hover, .demo-dark .demo-ng-mic:hover { background:#37344a }
.demo-dark .demo-ng-chip { background:#1e1c2a; border-color:#34313f; color:#c5c3d4 }
.demo-dark .demo-ng-vdiv { background:#34313f }
.demo-dark .demo-ng-send.ready { background:#e8e6f0 }
.demo-dark .demo-ng-send.ready svg { stroke:#17151f!important }
.demo-dark .demo-ng-wsbtn { color:#8f8da1 }
.demo-dark .demo-ng-wsbtn:hover { color:#e8e6f0; background:rgba(255,255,255,.07) }
.demo-dark .demo-ng-wspill { color:#c5c3d4 }
.demo-dark .demo-ng-wspill:hover { background:rgba(255,255,255,.07); color:#e8e6f0 }
.demo-dark .demo-ng-wsx { color:#6f6d82 }
.demo-dark .demo-ng-wsx:hover { background:rgba(255,255,255,.09); color:#d5d3e2 }
.demo-dark .demo-ng-wsdrop, .demo-dark .demo-ng-plusmenu, .demo-dark .demo-ng-panel { background:#1e1c2a; border-color:#34313f; box-shadow:0 10px 32px rgba(0,0,0,.45) }
.demo-dark .demo-ng-wsearch { background:#2b2838 }
.demo-dark .demo-ng-wsearch input { color:#e8e6f0 }
.demo-dark .demo-ng-witem { color:#d5d3e2 }
.demo-dark .demo-ng-witem:hover { background:rgba(255,255,255,.07) }
.demo-dark .demo-ng-pm-item { color:#d5d3e2 }
.demo-dark .demo-ng-pm-item:hover { background:rgba(255,255,255,.07) }
.demo-dark .demo-ng-prompts-hint { color:#8f8da1 }
.demo-dark .demo-ng-prompt { color:#a9a7bd }
.demo-dark .demo-ng-prompt:hover, .demo-dark .demo-ng-prompt .arr { color:#e8e6f0 }
.demo-dark .demo-ng-qbtn { background:#1e1c2a; border-color:#34313f }
.demo-dark .demo-ng-qbtn:hover { box-shadow:0 4px 14px rgba(0,0,0,.4) }
.demo-dark .demo-ng-qbtn .qlabel { color:#a9a7bd }
/* 助手网格 / 定时任务 */
.demo-dark .demo-guid-asst-card { background:#1e1c2a; border-color:#34313f }
.demo-dark .demo-guid-asst-card:hover { background:#262433 }
.demo-dark .demo-guid-asst-name, .demo-dark .demo-sched-card-name { color:#e8e6f0 }
.demo-dark .demo-guid-asst-desc, .demo-dark .demo-scheduled-desc { color:#8f8da1 }
.demo-dark .demo-sched-card { background:#1e1c2a; border-color:#34313f }
.demo-dark .demo-sched-card-top + .demo-sched-row, .demo-dark .demo-sched-row { color:#8f8da1 }
.demo-dark .demo-scheduled-title { color:#e8e6f0 }
.demo-dark .demo-scheduled-add { background:#2b2838; border-color:#34313f; color:#a9a7bd }
/* 设置页 */
.demo-dark .demo-set { background:#17151f }
.demo-dark .demo-set-sider { background:#1b1926; border-color:#2c2938 }
.demo-dark .demo-set-group { color:#8f8da1 }
.demo-dark .demo-set-item { color:#d5d3e2 }
.demo-dark .demo-set-item:hover { background:rgba(255,255,255,.07) }
.demo-dark .demo-set-item.on { background:rgba(255,255,255,.11); color:#fff }
.demo-dark .demo-set-item.on svg { color:#b9b1d6 }
.demo-dark .demo-set-h { color:#e8e6f0 }
.demo-dark .demo-set-sub { color:#8f8da1 }
.demo-dark .demo-set-card { background:#1e1c2a; border-color:#34313f }
.demo-dark .demo-set-row-name { color:#e8e6f0 }
.demo-dark .demo-set-row-desc { color:#8f8da1 }
.demo-dark .demo-set-input { background:#221f2f; border-color:#34313f; color:#c5c3d4 }
.demo-dark .demo-set-chip { background:#262433; border-color:#34313f; color:#c5c3d4 }
.demo-dark .demo-set-chip.on { background:#7583b226; border-color:#7583b266; color:#c9cff0 }
.demo-dark .demo-set-radio { border-color:#34313f; color:#a9a7bd }
.demo-dark .demo-set-radio.on { border-color:#7583b2; color:#c9cff0; background:#7583b214 }
.demo-dark .demo-set-badge.gray { background:#2b2838; color:#8f8da1 }
.demo-dark .demo-set-toggle.off { background:#4a4759 }

/* ---------- #demo 右侧手机演示：响应式布局 ----------
   注意：基础样式位于 index.html 内联 <style>（晚于本文件级联），
   故此处选择器统一加 .demo-section 前缀提升优先级，声明值与规划一致。 */
.demo-stage .demo-frame { width: 100%; min-width: 0; max-width: 100%; }
@media (min-width: 1200px) and (max-width: 1499px) {
  .demo-section .demo-stage { flex-direction: row; align-items: center; gap: 40px; }
  .demo-stage .demo-frame { flex: 1; min-width: 0; }
  .demo-section .phone-device { margin-top: 0; }
}
@media (min-width: 1500px) {
  .demo-inner.demo-inner-desktop { max-width: 1720px; }
  .demo-section .demo-stage { position: relative; flex-direction: row; align-items: flex-start; padding-right: 236px; }
  .demo-stage .demo-frame { flex: 1; min-width: 0; }
  .demo-section .phone-device { position: absolute; right: -12px; bottom: -40px; top: auto; margin-top: 0; z-index: 2; }
}
@media (max-width: 767px) {
  .demo-section .phone-device { width: 260px; height: 530px; border-radius: 40px; padding: 8px; }
  .demo-section .phone-device__screen { border-radius: 33px; }
  .demo-section .phone-device__screen::before { width: 98px; height: 23px; top: 7px; }
}
@media (max-width: 1199px) {
  /* 中窄屏退化为纵向排列（基础样式即纵向，此处仅保证间距） */
  .demo-section .demo-stage { gap: 0; }
}

/* ---------- #demo 手机联动通知条 ---------- */
.demo-phone-note {
  position: absolute; left: 50%; top: 54px; transform: translate(-50%, -16px);
  z-index: 30; display: flex; align-items: center; gap: 8px;
  max-width: 82%; padding: 8px 14px; border-radius: 999px;
  background: rgba(17, 24, 28, .88); color: #fff; font-size: 12px; font-weight: 500;
  box-shadow: 0 8px 24px rgba(19, 17, 28, .28);
  opacity: 0; pointer-events: none;
  transition: opacity .3s cubic-bezier(.22,1,.36,1), transform .3s cubic-bezier(.22,1,.36,1);
}
.demo-phone-note.show { opacity: 1; transform: translate(-50%, 0); }
.demo-phone-note .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Demo 区块移动端：≤767px 隐藏桌面窗口，显示等比缩小的活体演示 iframe（js/mobile-fallback.js 填充） ---------- */
.demo-inner-mobile { display:none;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 1px 1px rgba(19,17,28,.04),0 4px 10px rgba(19,17,28,.05),0 20px 40px rgba(19,17,28,.08) }
.demo-inner-mobile .demo-fallback-img { display:block;width:100%;height:auto }
@media (max-width:767px) {
  .demo-section .demo-frame { display:none }
  .demo-inner-mobile { display:block }
  /* 移动端纵向重排：桌面演示（iframe 缩放版）在上，手机演示在下，中间留出间距。
     注意：flex 容器内 .demo-inner 的 margin:0 auto 会令其收缩为内容宽（内部 iframe 为绝对定位，宽度归零），
     故必须显式撑满宽度。 */
  .demo-section { display:flex; flex-direction:column; gap:48px; }
  .demo-section .demo-inner { width:100%; min-width:0; }
  .demo-section .demo-inner-mobile { order:1 }
  .demo-section .demo-inner-desktop { order:2 }
  .demo-section .phone-device { margin-top:0 }
}

/* ---------- Demo 移动端活体演示（v3：iframe 等比缩放容器，配 js/mobile-fallback.js；可交互） ---------- */
.mfb-host { position: relative; width: 100%; overflow: hidden; }
.mfb-frame { position: absolute; left: 0; top: 0; display: block; border: 0; background: #fff; }
