/* ============================================================
   Reflex · AI 客服云 官网
   设计语言：SIGNAL CONSOLE · 深海蓝 × 信号青，仪表盘字体 Chakra Petch，点阵/同心环/信号轨
   ============================================================ */

:root {
  --brand: #056FB8; --brand-deep: #044E86; --brand-bright: #0A84D6;
  --cyan: #17C3E6; --cyan-soft: #7FE3F5; --teal: #0E9F8A;
  --green: #2F9E72; --red: #D2453B; --amber: #F2A93B; --violet: #7A6CF0;
  --ink: #0B2233; --ink2: #24364A; --slate: #5A6B7A; --slate-light: #91A3B0;
  --mist: #EEF3F7; --paper: #F6F9FB; --white: #FFFFFF;
  --night: #071A2B; --night2: #0A2438; --night3: #0E2E47; --night4: #123A57;
  --line: rgba(11, 34, 51, .10); --line2: rgba(11, 34, 51, .055);
  --dline: rgba(127, 227, 245, .16); --dline2: rgba(127, 227, 245, .075);
  --dtext: #E8F2F8; --dtext2: #A9C2D4; --dtext3: #6E8CA3;
  --grad-brand: linear-gradient(135deg, #044E86, #056FB8 55%, #17C3E6);
  --grad-cta: linear-gradient(120deg, #044E86 0%, #056FB8 45%, #0E9F8A 100%);
  --grad-text: linear-gradient(100deg, #7FE3F5, #17C3E6 40%, #4FD1B0);
  --shadow-sm: 0 2px 8px rgba(11, 34, 51, .06);
  --shadow: 0 14px 36px -14px rgba(11, 34, 51, .20);
  --shadow-lg: 0 34px 80px -30px rgba(4, 26, 43, .55);
  --glow-cyan: 0 0 40px -8px rgba(23, 195, 230, .45);
  --r-sm: 10px; --r: 16px; --r-lg: 22px;
  --nav-h: 68px;
  --font-display: 'Chakra Petch', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --container: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--paper); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
::selection { background: rgba(23, 195, 230, .3); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(5, 111, 184, .5); outline-offset: 2px; border-radius: 4px; }
.ic { fill: none; flex: none; }
.ic use { pointer-events: none; }

/* ---- custom scrollbars (palette-owned) ---- */
* { scrollbar-width: thin; scrollbar-color: var(--brand) var(--mist); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand), var(--brand-deep)); border-radius: 8px; border: 2.5px solid var(--mist); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--brand-bright), var(--brand)); }
.dark ::-webkit-scrollbar-track, .console ::-webkit-scrollbar-track { background: var(--night2); }
.dark ::-webkit-scrollbar-thumb, .console ::-webkit-scrollbar-thumb { background: linear-gradient(var(--night4), var(--brand-deep)); border-color: var(--night2); }
.dark, .console { scrollbar-color: var(--night4) var(--night2); }

/* ---- layout utils ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 880px; }
.sec { position: relative; padding: 104px 0; scroll-margin-top: calc(var(--nav-h) + 12px); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); margin: 14px 0 16px; }
.sec-sub { color: var(--slate); font-size: 1.06rem; line-height: 1.8; }
.dark .sec-sub { color: var(--dtext2); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin: 0; }
.dark .kicker { color: var(--cyan-soft); }
.kicker .ic { width: 15px; height: 15px; opacity: .95; }
.kicker-live { padding: 6px 14px 6px 11px; border-radius: 999px; background: rgba(23, 195, 230, .1); border: 1px solid var(--dline); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47, 158, 114, .6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 114, .55); } 70% { box-shadow: 0 0 0 9px rgba(47, 158, 114, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 158, 114, 0); } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; font-size: .95rem; font-weight: 600; font-family: var(--font-display); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 26px -10px rgba(5, 111, 184, .65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(5, 111, 184, .75); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--dtext); border-color: var(--dline); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(127, 227, 245, .12); border-color: rgba(127, 227, 245, .4); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand-deep); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.btn-mini { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink2); font-size: .82rem; font-weight: 600; transition: .16s; }
.btn-mini:hover { border-color: var(--brand); color: var(--brand); background: rgba(5, 111, 184, .05); }
.dark .btn-mini { background: rgba(255, 255, 255, .05); border-color: var(--dline); color: var(--dtext2); }
.dark .btn-mini:hover { border-color: var(--cyan); color: var(--cyan-soft); background: rgba(23, 195, 230, .1); }
.btn-link { background: none; border: none; color: var(--brand); font-weight: 600; font-size: .98rem; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.btn-link:hover { text-decoration: underline; }

/* ---- grain overlay ---- */
.grain { position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .035; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 26, 43, .82); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--dline2); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); }
.nav-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--grad-text); box-shadow: 0 0 10px rgba(23, 195, 230, .55); pointer-events: none; }
.nav-inner { display: flex; align-items: center; gap: 26px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(5, 111, 184, .6); }
.app-logo { display: block; object-fit: cover; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: #fff; letter-spacing: -.02em; }
.brand-tag { font-family: var(--font-display); font-size: .58rem; font-weight: 600; letter-spacing: .18em; color: var(--cyan-soft); opacity: .8; padding: 3px 7px; border: 1px solid var(--dline); border-radius: 6px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { position: relative; padding: 8px 14px; border-radius: 9px; font-size: .92rem; font-weight: 500; color: var(--dtext2); transition: color .18s, background .18s; }
/* 菜单项禁止折行: 日语/法语/德语等长标签被挤时会在项内拆成两行, 宁可收紧也不换行 */
.nav-links a, .nav-login, .nav-cta { white-space: nowrap; }
/* 顶栏不吃正文的 1200px 约束: 宽屏下放宽, 给多语言菜单留出余量 */
.nav .container { max-width: 1440px; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-links a.active { color: var(--cyan-soft); }
.nav-links a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad-text); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-switch { display: flex; padding: 3px; gap: 2px; border-radius: 9px; background: rgba(255, 255, 255, .07); border: 1px solid var(--dline2); }
.lang-switch button { padding: 4px 10px; border: none; border-radius: 6px; background: transparent; color: var(--dtext3); font-size: .78rem; font-weight: 600; font-family: var(--font-display); transition: .16s; }
.lang-switch button:hover { color: var(--dtext); }
.lang-switch button.on { background: var(--grad-brand); color: #fff; box-shadow: 0 2px 8px -2px rgba(5, 111, 184, .7); }
.lang-menu { position: relative; }
.lang-trigger { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 9px 0 11px; border: 1px solid var(--dline2); border-radius: 9px; background: rgba(255, 255, 255, .07); color: var(--dtext); font-family: var(--font-display); font-size: .82rem; font-weight: 600; line-height: 1; cursor: pointer; transition: background .16s, border-color .16s; }
.lang-trigger:hover { background: rgba(255, 255, 255, .12); }
.lang-trigger[aria-expanded="true"] { background: rgba(255, 255, 255, .14); border-color: var(--brand); }
.lang-trigger:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(5, 111, 184, .35); }
.lang-trigger .lang-globe { color: var(--dtext3); flex: none; }
.lang-trigger .lang-current { white-space: nowrap; }
.lang-trigger .lang-caret { color: var(--dtext3); flex: none; transition: transform .2s ease; }
.lang-trigger[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-list { position: absolute; top: calc(100% + 10px); right: 0; min-width: 172px; margin: 0; padding: 6px; list-style: none; display: flex; flex-direction: column; gap: 2px; background: rgba(7, 26, 43, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--dline); border-radius: 13px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60; }
.lang-list.open { opacity: 1; visibility: visible; transform: none; }
.lang-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 10px; border-radius: 8px; color: var(--dtext2); font-size: .85rem; font-weight: 500; cursor: pointer; transition: background .14s, color .14s; }
.lang-list li span { white-space: nowrap; }
.lang-list li:hover { background: rgba(255, 255, 255, .06); color: var(--dtext); }
.lang-list .lang-check { color: var(--cyan-soft); flex: none; opacity: 0; transition: opacity .14s; }
.lang-list li.on { color: #fff; font-weight: 600; }
.lang-list li.on .lang-check { opacity: 1; }
.nav-login { font-size: .9rem; font-weight: 500; color: var(--dtext2); padding: 8px 6px; transition: color .16s; }
.nav-login:hover { color: #fff; }
.nav-cta { padding: 9px 18px; font-size: .9rem; }
.nav-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--dline); border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; }
.nav-drawer { position: absolute; top: var(--nav-h); left: 0; right: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 28px 22px; background: rgba(7, 26, 43, .97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--dline); box-shadow: var(--shadow-lg); }
.nav-drawer[hidden] { display: none; }
.nav-drawer a { padding: 12px 14px; border-radius: 10px; color: var(--dtext); font-weight: 500; }
.nav-drawer a:hover { background: rgba(255, 255, 255, .06); color: var(--cyan-soft); }
/* 中屏(汉堡菜单 900px 之前)逐档收紧: 隐副标 → 缩间距/字号 → 收登录文字链, 保证单行不挤 */
@media (max-width: 1360px) {
  .brand-tag { display: none; }
  .nav-inner { gap: 18px; }
  .nav-links a { padding: 8px 11px; font-size: .88rem; }
  .nav-links a.active::after { left: 11px; right: 11px; }
  .nav-right { gap: 10px; }
  .nav-cta { padding: 9px 14px; }
}
@media (max-width: 1180px) {
  .nav-login { display: none; }
}
.drawer-cta { display: flex; gap: 10px; margin-top: 12px; }
.drawer-cta .btn { flex: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 56px) 0 72px; background: radial-gradient(120% 120% at 80% -10%, #0E2E47 0%, #071A2B 55%, #050F1C 100%); color: var(--dtext); overflow: hidden; }
.hero-ambient { position: absolute; inset: 0; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero .a1 { width: 560px; height: 560px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(5, 111, 184, .55), transparent 68%); animation: drift1 18s ease-in-out infinite; }
.hero .a2 { width: 480px; height: 480px; bottom: -180px; left: -120px; background: radial-gradient(circle, rgba(23, 195, 230, .34), transparent 68%); animation: drift2 22s ease-in-out infinite; }
.hero .a3 { width: 380px; height: 380px; top: 30%; left: 42%; background: radial-gradient(circle, rgba(14, 159, 138, .26), transparent 68%); animation: drift1 26s ease-in-out infinite reverse; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, -30px) scale(1.1); } }
.dotgrid { position: absolute; inset: 0; background-image: radial-gradient(rgba(127, 227, 245, .14) 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 75%); }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--dline2); }
.hero .r1 { width: 720px; height: 720px; top: -260px; right: -200px; }
.hero .r2 { width: 520px; height: 520px; top: -160px; right: -100px; border-color: var(--dline); }
.hero .r3 { width: 320px; height: 320px; top: -60px; right: 0; }
.trace { position: absolute; top: 0; bottom: 0; left: 12%; width: 1px; background: linear-gradient(transparent, var(--dline), transparent); }
.trace::after { content: ''; position: absolute; left: -2px; width: 5px; height: 90px; border-radius: 4px; background: linear-gradient(transparent, var(--cyan), transparent); filter: blur(1px); animation: traceRun 7s linear infinite; }
@keyframes traceRun { 0% { top: -10%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 105%; opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: heroIn .7s var(--ease) backwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; } .hero-copy > *:nth-child(2) { animation-delay: .14s; } .hero-copy > *:nth-child(3) { animation-delay: .23s; } .hero-copy > *:nth-child(4) { animation-delay: .32s; } .hero-copy > *:nth-child(5) { animation-delay: .41s; } .hero-copy > *:nth-child(6) { animation-delay: .5s; }
.hero-demo { animation: heroIn .8s var(--ease) .28s backwards; }
.hero-title { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 700; letter-spacing: -.025em; margin: 22px 0 20px; color: #fff; }
.hero-title > span:first-child { display: block; }
.rotator { display: block; height: 1.22em; overflow: hidden; }
.rotator-word { display: block; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: wordIn .6s var(--ease); }
@keyframes wordIn { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }
.hero-sub { font-size: 1.12rem; line-height: 1.85; color: var(--dtext2); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.hero-trust li { display: flex; align-items: center; gap: 7px; font-size: .88rem; color: var(--dtext2); }
.hero-trust .ic { color: var(--green); width: 16px; height: 16px; }
.hero-caps { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cap { padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dline2); }
.hero-cap b { display: block; font-family: var(--font-display); font-size: .98rem; color: #fff; font-weight: 600; }
.hero-cap span { font-family: var(--font-display); font-size: .6rem; letter-spacing: .14em; color: var(--dtext3); }

/* ---- console (hero demo) ---- */
.hero-demo { position: relative; }
.console { position: relative; border-radius: 18px; background: linear-gradient(160deg, rgba(14, 46, 71, .92), rgba(8, 28, 45, .96)); border: 1px solid var(--dline); box-shadow: var(--shadow-lg), 0 0 60px -20px rgba(23, 195, 230, .35); overflow: hidden; backdrop-filter: blur(8px); }
.console-chrome { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--dline2); background: rgba(7, 26, 43, .5); }
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots i { width: 10px; height: 10px; border-radius: 50%; }
.chrome-dots i:nth-child(1) { background: #E0655B; } .chrome-dots i:nth-child(2) { background: #E8B84B; } .chrome-dots i:nth-child(3) { background: #5FC98A; }
.console-url { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; font-family: var(--font-mono); font-size: .72rem; color: var(--dtext3); padding: 4px 12px; border-radius: 7px; background: rgba(255, 255, 255, .04); max-width: 280px; margin: 0 auto; }
.console-url .ic { color: var(--green); width: 11px; height: 11px; }
.console-live { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: var(--green); }
.console-tabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid var(--dline2); overflow-x: auto; scrollbar-width: none; }
.console-tabs::-webkit-scrollbar { display: none; }
.console-tab { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border: none; background: transparent; color: var(--dtext3); font-size: .82rem; font-weight: 600; font-family: var(--font-display); border-radius: 9px 9px 0 0; position: relative; white-space: nowrap; transition: color .16s, background .16s; }
.console-tab .ic { width: 15px; height: 15px; }
.console-tab:hover { color: var(--dtext2); background: rgba(255, 255, 255, .04); }
.console-tab.on { color: var(--cyan-soft); background: rgba(23, 195, 230, .08); }
.console-tab.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--grad-text); border-radius: 2px; }
.console-body { min-height: 404px; padding: 16px; }
.console-foot { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-top: 1px solid var(--dline2); font-size: .76rem; color: var(--dtext3); background: rgba(7, 26, 43, .4); }
.console-foot .ic { color: var(--cyan); width: 13px; height: 13px; }
.console-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(10, 36, 56, .92); border: 1px solid var(--dline); box-shadow: var(--shadow); font-size: .78rem; font-weight: 600; color: var(--dtext); backdrop-filter: blur(8px); }
.console-chip .ic { color: var(--cyan); width: 15px; height: 15px; }
.chip1 { top: -18px; left: -22px; animation: bob 7s ease-in-out infinite; }
.chip2 { bottom: -16px; right: -18px; animation: bob 8s ease-in-out infinite 1s; }
.mini-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; box-shadow: 0 0 0 2px rgba(10, 36, 56, .92); }
.scroll-cue { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 48px auto 0; font-size: .72rem; letter-spacing: .1em; color: var(--dtext3); width: fit-content; }
.scroll-cue .ic { animation: cueBob 1.8s ease-in-out infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---- demo shared bits ---- */
.d-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .68rem; font-weight: 600; }
.d-pill.ai { background: rgba(23, 195, 230, .14); color: var(--cyan-soft); }
.d-pill.human { background: rgba(242, 169, 59, .16); color: #F5C877; }
.d-pill.closed { background: rgba(145, 163, 176, .16); color: var(--dtext3); }
.d-avatar { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: #fff; flex: none; }
.d-avatar.cyan { background: linear-gradient(135deg, #0E9F8A, #17C3E6); }
.d-avatar.blue { background: linear-gradient(135deg, #044E86, #0A84D6); }
.d-avatar.amber { background: linear-gradient(135deg, #C77F1A, #F2A93B); }
.d-avatar.teal { background: linear-gradient(135deg, #0B6E63, #2F9E72); }
.d-avatar.violet { background: linear-gradient(135deg, #5A4FCF, #7A6CF0); }
.d-bubble { max-width: 86%; padding: 9px 13px; border-radius: 13px; font-size: .82rem; line-height: 1.6; }
.d-row { display: flex; gap: 9px; margin-bottom: 11px; align-items: flex-end; }
.d-row.v { flex-direction: row; }
.d-row.v .d-bubble { background: rgba(255, 255, 255, .07); color: var(--dtext); border: 1px solid var(--dline2); border-bottom-left-radius: 4px; }
.d-row.ai, .d-row.a { flex-direction: row-reverse; }
.d-row.ai .d-bubble { background: linear-gradient(135deg, rgba(5, 111, 184, .35), rgba(23, 195, 230, .22)); border: 1px solid rgba(23, 195, 230, .3); color: #fff; border-bottom-right-radius: 4px; }
.d-row.a .d-bubble { background: rgba(47, 158, 114, .2); border: 1px solid rgba(47, 158, 114, .35); color: #DFF3EA; border-bottom-right-radius: 4px; }
.d-ai-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.d-ai-tag { font-family: var(--font-display); font-size: .58rem; font-weight: 700; letter-spacing: .08em; padding: 1px 6px; border-radius: 5px; background: var(--grad-text); color: #06202E; }
.d-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .66rem; color: var(--cyan-soft); opacity: .85; }
.d-src .ic { width: 11px; height: 11px; }
.d-sys { text-align: center; font-size: .68rem; color: var(--dtext3); margin: 10px 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.d-sys::before, .d-sys::after { content: ''; height: 1px; width: 28px; background: var(--dline2); }
.d-typing { display: inline-flex; gap: 4px; padding: 11px 14px; }
.d-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-soft); animation: blink 1.2s infinite; }
.d-typing i:nth-child(2) { animation-delay: .2s; } .d-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* inbox panel */
.d-inbox { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 14px; height: 372px; }
.d-inbox-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; padding-right: 4px; }
.d-inbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.d-filters { display: flex; gap: 4px; }
.d-filter { padding: 3px 9px; border-radius: 7px; border: 1px solid var(--dline2); background: transparent; color: var(--dtext3); font-size: .68rem; font-weight: 600; transition: .15s; }
.d-filter.on { background: rgba(23, 195, 230, .14); color: var(--cyan-soft); border-color: rgba(23, 195, 230, .3); }
.d-conv { display: flex; gap: 9px; padding: 9px; border-radius: 11px; border: 1px solid transparent; background: rgba(255, 255, 255, .03); cursor: pointer; transition: .15s; text-align: left; width: 100%; }
.d-conv:hover { background: rgba(255, 255, 255, .06); }
.d-conv.on { background: rgba(23, 195, 230, .1); border-color: rgba(23, 195, 230, .3); }
.d-conv-main { min-width: 0; flex: 1; }
.d-conv-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.d-conv-name { font-size: .78rem; font-weight: 600; color: var(--dtext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-conv-time { font-size: .62rem; color: var(--dtext3); flex: none; }
.d-conv-preview { font-size: .68rem; color: var(--dtext3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0 4px; }
.d-conv-foot { display: flex; align-items: center; justify-content: space-between; }
.d-unread { display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: .6rem; font-weight: 700; }
.d-thread { display: flex; flex-direction: column; border-radius: 13px; background: rgba(7, 26, 43, .45); border: 1px solid var(--dline2); overflow: hidden; }
.d-thread-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 13px; border-bottom: 1px solid var(--dline2); }
.d-thread-title { font-size: .8rem; font-weight: 600; color: var(--dtext); }
.d-thread-body { flex: 1; overflow-y: auto; padding: 13px; }
.d-reply { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-top: 1px solid var(--dline2); }
.d-reply-input { flex: 1; padding: 7px 11px; border-radius: 9px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dline2); font-size: .72rem; color: var(--dtext3); }
.d-handoff { padding: 6px 11px; border-radius: 8px; border: 1px solid rgba(242, 169, 59, .4); background: rgba(242, 169, 59, .12); color: #F5C877; font-size: .7rem; font-weight: 600; transition: .15s; }
.d-handoff:hover { background: rgba(242, 169, 59, .22); }
.d-handoff:disabled { opacity: .5; cursor: default; }

/* ai panel */
.d-ai { display: flex; flex-direction: column; height: 372px; gap: 11px; }
.d-sources { display: flex; flex-wrap: wrap; gap: 6px; }
.d-source-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dline2); font-size: .68rem; color: var(--dtext2); font-family: var(--font-mono); }
.d-source-chip .ic { width: 12px; height: 12px; color: var(--cyan); }
.d-ai-thread { flex: 1; overflow-y: auto; padding: 13px; border-radius: 13px; background: rgba(7, 26, 43, .45); border: 1px solid var(--dline2); }
.d-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.d-suggest button { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--dline); background: rgba(23, 195, 230, .06); color: var(--cyan-soft); font-size: .7rem; transition: .15s; }
.d-suggest button:hover { background: rgba(23, 195, 230, .16); border-color: rgba(23, 195, 230, .4); }
.d-input-row { display: flex; gap: 8px; }
.d-input { flex: 1; padding: 9px 13px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--dline2); color: var(--dtext); font-size: .8rem; font-family: inherit; }
.d-input::placeholder { color: var(--dtext3); }
.d-input:focus { outline: none; border-color: rgba(23, 195, 230, .5); }
.d-send { display: flex; align-items: center; justify-content: center; width: 40px; border-radius: 10px; border: none; background: var(--grad-brand); color: #fff; transition: .15s; }
.d-send:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(5, 111, 184, .8); }
.d-send .ic { width: 17px; height: 17px; }

/* kb panel */
.d-kb { display: flex; flex-direction: column; height: 372px; gap: 11px; }
.d-kb-bar { display: flex; gap: 8px; }
.d-kb-search { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--dline2); }
.d-kb-search .ic { width: 15px; height: 15px; color: var(--dtext3); }
.d-kb-search input { flex: 1; background: none; border: none; color: var(--dtext); font-size: .78rem; font-family: inherit; }
.d-kb-search input:focus { outline: none; }
.d-kb-search input::placeholder { color: var(--dtext3); }
.d-import { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px dashed rgba(23, 195, 230, .45); background: rgba(23, 195, 230, .07); color: var(--cyan-soft); font-size: .74rem; font-weight: 600; transition: .15s; }
.d-import:hover { background: rgba(23, 195, 230, .16); }
.d-import .ic { width: 14px; height: 14px; }
.d-kb-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; }
.d-kb-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; background: rgba(255, 255, 255, .035); border: 1px solid var(--dline2); transition: .15s; }
.d-kb-item:hover { background: rgba(255, 255, 255, .06); }
.d-kb-item.new { animation: kbIn .5s var(--ease); border-color: rgba(47, 158, 114, .4); }
@keyframes kbIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.d-kb-ic { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; flex: none; }
.d-kb-ic .ic { width: 17px; height: 17px; }
.d-kb-ic.pdf { background: rgba(210, 69, 59, .16); color: #F0938B; }
.d-kb-ic.md { background: rgba(23, 195, 230, .16); color: var(--cyan-soft); }
.d-kb-ic.doc { background: rgba(122, 108, 240, .18); color: #B3A9F7; }
.d-kb-ic.web { background: rgba(47, 158, 114, .16); color: #7FD6AC; }
.d-kb-main { flex: 1; min-width: 0; }
.d-kb-title { font-size: .78rem; font-weight: 600; color: var(--dtext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-kb-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.d-kb-hits { font-size: .64rem; color: var(--dtext3); }
.d-kb-bar { height: 4px; width: 70px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.d-kb-bar i { display: block; height: 100%; border-radius: 3px; background: var(--grad-text); }
.d-kb-updated { font-size: .62rem; color: var(--dtext3); flex: none; }

/* stats panel */
.d-stats { display: flex; flex-direction: column; height: 372px; gap: 12px; }
.d-stats-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d-seg { display: flex; gap: 3px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dline2); }
.d-seg button { padding: 4px 11px; border: none; border-radius: 6px; background: transparent; color: var(--dtext3); font-size: .7rem; font-weight: 600; transition: .15s; }
.d-seg button.on { background: var(--grad-brand); color: #fff; }
.d-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.d-kpi { padding: 10px 12px; border-radius: 11px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dline2); }
.d-kpi b { display: block; font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; color: #fff; line-height: 1.2; }
.d-kpi span { font-size: .62rem; color: var(--dtext3); }
.d-kpi.c1 b { color: var(--cyan-soft); } .d-kpi.c2 b { color: #7FD6AC; } .d-kpi.c3 b { color: #F5C877; } .d-kpi.c4 b { color: #B3A9F7; }
.d-chart-card { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: rgba(7, 26, 43, .45); border: 1px solid var(--dline2); min-height: 0; }
.d-chart-title { font-size: .68rem; color: var(--dtext3); display: flex; align-items: center; gap: 6px; }
.d-chart-title .ic { width: 13px; height: 13px; color: var(--cyan); }
.d-chart-svg { flex: 1; width: 100%; min-height: 90px; }
.d-legend { display: flex; gap: 14px; font-size: .62rem; color: var(--dtext3); }
.d-legend i { display: inline-block; width: 9px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.d-keywords { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: baseline; padding: 4px 2px; }
.d-kw { font-family: var(--font-display); font-weight: 600; color: var(--cyan-soft); line-height: 1.3; }

/* widget tab */
.d-widget { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; height: 372px; align-items: center; }
.d-widget-stage { position: relative; height: 100%; border-radius: 13px; background: rgba(7, 26, 43, .45); border: 1px solid var(--dline2); overflow: hidden; }
.d-widget-side { display: flex; flex-direction: column; gap: 14px; }
.d-widget-note { font-size: .76rem; line-height: 1.7; color: var(--dtext2); }
.d-color-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.d-color-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: .15s; box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .5); }
.d-color-dot:hover { transform: scale(1.12); }
.d-color-dot.on { border-color: #fff; box-shadow: 0 0 0 2px rgba(23, 195, 230, .5); }
.d-widget-link { font-size: .78rem; font-weight: 600; color: var(--cyan-soft); display: inline-flex; align-items: center; gap: 6px; }
.d-widget-link:hover { text-decoration: underline; }

/* ============================================================
   TRUST MARQUEE（并入快速接入区底部的全平台适配带）
   ============================================================ */
.setup-trust { margin-top: 76px; }
.trust-head { text-align: center; margin-bottom: 30px; }
.trust-head h2 { font-size: 1.3rem; color: var(--ink); }
.trust-head p { color: var(--slate); font-size: .92rem; margin-top: 6px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.platform-chip { display: flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink2); white-space: nowrap; }
.platform-chip .ic { width: 17px; height: 17px; color: var(--brand); }

/* ============================================================
   PROBLEM（作为 features 开场的能力演示）
   ============================================================ */
.problem-intro { margin-bottom: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 12px); }
.problem-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; }
.scatter { position: relative; min-height: 320px; }
.tool-card { position: absolute; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); width: 210px; transition: transform .5s var(--ease); }
.tool-card .tc-ic { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--mist); color: var(--slate); flex: none; }
.tool-card .tc-ic .ic { width: 18px; height: 18px; }
.tool-card b { display: block; font-size: .88rem; color: var(--ink); }
.tool-card span { font-size: .72rem; color: var(--slate-light); }
.tool-badge { position: absolute; top: -8px; right: -8px; display: flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; box-shadow: 0 0 0 3px var(--paper); }
.tool-card:nth-child(1) { top: 4%; left: 2%; transform: rotate(-4deg); }
.tool-card:nth-child(2) { top: 26%; left: 30%; transform: rotate(3deg); }
.tool-card:nth-child(3) { top: 50%; left: 4%; transform: rotate(-2deg); }
.tool-card:nth-child(4) { top: 70%; left: 34%; transform: rotate(4deg); }
.tool-card:nth-child(5) { top: 12%; left: 52%; transform: rotate(-3deg); }
.tool-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lg); z-index: 2; }
.converge { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; font-size: .85rem; }
.converge .ic { animation: cueRight 1.6s ease-in-out infinite; }
@keyframes cueRight { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.unified { padding: 24px; border-radius: var(--r-lg); background: linear-gradient(160deg, #0E2E47, #071A2B); border: 1px solid var(--dline); box-shadow: var(--shadow-lg), var(--glow-cyan); color: var(--dtext); }
.unified-head { display: flex; align-items: center; gap: 11px; margin-bottom: 8px; }
.unified-head strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.ok-badge { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(47, 158, 114, .18); color: #7FD6AC; font-size: .72rem; font-weight: 700; }
.unified > p { font-size: .82rem; color: var(--dtext2); margin-bottom: 16px; }
.unified-rows { display: flex; flex-direction: column; gap: 8px; }
.unified-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dline2); font-size: .78rem; }
.unified-row .d-avatar { width: 26px; height: 26px; font-size: .68rem; border-radius: 8px; }
.unified-row .ur-name { font-weight: 600; color: var(--dtext); }
.unified-row .ur-msg { color: var(--dtext3); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unified-row .d-pill { flex: none; }
.problem-ctl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 22px; }
.missed-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: rgba(210, 69, 59, .1); color: var(--red); font-size: .8rem; font-weight: 600; transition: .2s; }
.missed-chip b { font-family: var(--font-display); font-size: 1rem; line-height: 1; }
.missed-chip.zero { background: rgba(47, 158, 114, .12); color: var(--green); }
.tool-card { cursor: pointer; text-align: left; font-family: inherit; width: min(210px, 46%); }
.tool-card.sel { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(5, 111, 184, .22), var(--shadow); }
.tool-card.linked { opacity: .6; }
.tool-card.linked .tool-badge { background: var(--green); }
.tool-card.linked .tc-ic { background: rgba(47, 158, 114, .12); color: var(--green); }
.problem-stage.is-unified .tool-card { transform: scale(.94); }
.problem-stage.is-unified .converge { color: var(--green); }
.unified-wait { font-size: .82rem; color: var(--dtext3); padding: 16px 14px; border: 1px dashed var(--dline2); border-radius: 10px; text-align: center; }
.unified-row { animation: rowIn .45s var(--ease) backwards; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ur-filter { padding: 2px 9px; border-radius: 999px; background: rgba(23, 195, 230, .14); color: var(--cyan-soft); font-size: .68rem; font-weight: 600; }

/* ============================================================
   FEATURES (sticky two-column)
   ============================================================ */
.sec-features { background: var(--white); }
.feat-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: start; }
.feat-side { align-self: stretch; }
.feat-side-inner { position: sticky; top: calc(var(--nav-h) + 40px); }
.feat-side h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 14px 0 16px; }
.feat-index-title { font-family: var(--font-display); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-light); margin: 28px 0 12px; }
.feat-index { display: flex; flex-direction: column; gap: 3px; }
.feat-index button { display: flex; align-items: center; gap: 12px; padding: 10px 13px; border: none; border-radius: 11px; background: transparent; text-align: left; color: var(--slate); font-size: .9rem; font-weight: 500; transition: .18s; border-left: 2px solid transparent; }
.feat-index button .fi-ic { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(5, 111, 184, .08); color: var(--brand); flex: none; transition: .18s; }
.feat-index button:hover { background: var(--paper); color: var(--ink); }
.feat-index button.on { background: rgba(5, 111, 184, .07); color: var(--brand); border-left-color: var(--brand); }
.feat-index button.on .fi-ic { background: var(--grad-brand); color: #fff; }
.feat-list { display: flex; flex-direction: column; gap: 76px; }
.feat-block { scroll-margin-top: calc(var(--nav-h) + 30px); }
.feat-block-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 14px; }
.feat-ic { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-brand); color: #fff; flex: none; box-shadow: 0 10px 22px -10px rgba(5, 111, 184, .6); }
.feat-block h3 { font-size: 1.42rem; margin-bottom: 8px; }
.feat-block-desc { color: var(--slate); font-size: .98rem; line-height: 1.8; }
.feat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.feat-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .78rem; font-weight: 500; color: var(--ink2); }
.feat-chip .ic { width: 13px; height: 13px; color: var(--brand); }

/* light product mocks */
.mock { border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; overflow: hidden; transition: border-color .2s var(--ease); }
.mock:hover { border-color: rgba(5, 111, 184, .28); }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mock-title { font-family: var(--font-display); font-size: .8rem; font-weight: 600; color: var(--ink2); display: flex; align-items: center; gap: 7px; }
.mock-title .ic { width: 15px; height: 15px; color: var(--brand); }
.m-online { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--green); font-weight: 600; }
.m-online .live-dot { width: 7px; height: 7px; }
.m-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: .68rem; font-weight: 600; }
.m-pill.ai { background: rgba(23, 195, 230, .14); color: #0A7C93; }
.m-pill.human { background: rgba(242, 169, 59, .18); color: #B57614; }
.m-pill.closed { background: var(--mist); color: var(--slate-light); }
.m-conv { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line2); margin-bottom: 8px; transition: .15s; }
.m-conv:hover { border-color: var(--line); box-shadow: var(--shadow-sm); }
.m-conv .d-avatar { width: 34px; height: 34px; }
.m-conv-main { flex: 1; min-width: 0; }
.m-conv-top { display: flex; justify-content: space-between; gap: 8px; }
.m-conv-name { font-size: .85rem; font-weight: 600; color: var(--ink); }
.m-conv-time { font-size: .68rem; color: var(--slate-light); }
.m-conv-preview { font-size: .76rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.m-unread { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: .66rem; font-weight: 700; flex: none; }
.m-filters { display: flex; gap: 5px; }
.m-filter { padding: 4px 11px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: .72rem; font-weight: 600; color: var(--slate); }
.m-filter.on { background: var(--brand); color: #fff; border-color: var(--brand); }
/* AI answer mock */
.m-bubble { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .85rem; line-height: 1.65; margin-bottom: 10px; }
.m-bubble.v { background: var(--mist); color: var(--ink2); border-bottom-left-radius: 4px; }
.m-bubble.ai { background: linear-gradient(135deg, rgba(5, 111, 184, .1), rgba(23, 195, 230, .12)); border: 1px solid rgba(5, 111, 184, .2); color: var(--ink); margin-left: auto; border-bottom-right-radius: 4px; }
.m-ai-head { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.m-ai-tag { font-family: var(--font-display); font-size: .6rem; font-weight: 700; padding: 1px 7px; border-radius: 5px; background: var(--grad-brand); color: #fff; letter-spacing: .06em; }
.m-ai-who { font-size: .72rem; font-weight: 600; color: var(--brand); }
.m-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: .7rem; color: var(--teal); font-weight: 600; }
.m-src .ic { width: 12px; height: 12px; }
.m-handoff { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(47, 158, 114, .08); border: 1px solid rgba(47, 158, 114, .25); font-size: .8rem; color: var(--ink2); }
.m-handoff .ic { width: 16px; height: 16px; color: var(--green); }
.m-handoff b { color: var(--green); }
/* KB mock */
.m-imports { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.m-import { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; border: 1px dashed var(--line); background: var(--paper); font-size: .76rem; font-weight: 600; color: var(--ink2); }
.m-import .ic { width: 15px; height: 15px; color: var(--brand); }
.m-kb-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line2); }
.m-kb-ic { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(5, 111, 184, .1); color: var(--brand); flex: none; }
.m-kb-ic .ic { width: 18px; height: 18px; }
.m-kb-main { flex: 1; min-width: 0; }
.m-kb-title { font-size: .85rem; font-weight: 600; color: var(--ink); }
.m-kb-sub { display: flex; align-items: center; gap: 9px; margin-top: 5px; }
.m-hitbar { height: 5px; width: 90px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.m-hitbar i { display: block; height: 100%; background: var(--grad-brand); border-radius: 3px; }
.m-kb-hits { font-size: .7rem; color: var(--slate); }
.m-sched { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: rgba(14, 159, 138, .1); color: var(--teal); font-size: .68rem; font-weight: 600; }
.m-sched .ic { width: 12px; height: 12px; }
/* translate mock */
.m-lang-chips { display: flex; gap: 6px; margin-bottom: 14px; }
.m-lang { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .74rem; font-weight: 600; color: var(--slate); }
.m-lang.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.m-trans-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.m-trans-bubble { padding: 11px 14px; border-radius: 13px; font-size: .85rem; line-height: 1.6; max-width: 90%; }
.m-trans-bubble.orig { background: var(--mist); color: var(--ink2); }
.m-trans-bubble.trans { background: linear-gradient(135deg, rgba(5, 111, 184, .1), rgba(23, 195, 230, .12)); border: 1px solid rgba(5, 111, 184, .18); color: var(--ink); margin-left: auto; }
.m-trans-toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: .72rem; font-weight: 600; color: var(--brand); transition: .15s; }
.m-trans-toggle:hover { background: rgba(5, 111, 184, .06); }
.m-trans-toggle .ic { width: 13px; height: 13px; }
.m-trans-label { font-size: .64rem; color: var(--slate-light); letter-spacing: .04em; }
/* stats mock */
.m-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 14px; }
.m-kpi { padding: 11px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line2); }
.m-kpi b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.m-kpi span { font-size: .66rem; color: var(--slate); }
.m-spark { width: 100%; height: 70px; margin-bottom: 12px; }
.m-kw-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.m-kw { padding: 3px 11px; border-radius: 999px; background: rgba(5, 111, 184, .08); color: var(--brand); font-size: .74rem; font-weight: 600; }
.m-summary-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 10px; border: none; background: var(--grad-brand); color: #fff; font-size: .8rem; font-weight: 600; transition: .15s; }
.m-summary-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(5, 111, 184, .7); }
.m-summary-btn .ic { width: 14px; height: 14px; }
.m-summary-text { margin-top: 12px; padding: 13px 15px; border-radius: 12px; background: rgba(14, 159, 138, .07); border: 1px solid rgba(14, 159, 138, .2); font-size: .82rem; line-height: 1.75; color: var(--ink2); }
.m-summary-text[hidden] { display: none; }
/* phone mock */
.m-phone-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; align-items: center; }
.m-phone { position: relative; width: 190px; height: 340px; border-radius: 28px; background: linear-gradient(160deg, #0E2E47, #071A2B); border: 3px solid #1A3A55; box-shadow: var(--shadow-lg); padding: 14px 11px; overflow: hidden; }
.m-phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 60px; height: 5px; border-radius: 3px; background: #1A3A55; }
.m-phone-head { display: flex; align-items: center; gap: 7px; margin: 12px 0 12px; color: #fff; font-family: var(--font-display); font-size: .78rem; font-weight: 600; }
.m-phone-head .brand-mark { width: 20px; height: 20px; border-radius: 6px; }
.m-notif { padding: 9px 11px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid var(--dline2); margin-bottom: 8px; backdrop-filter: blur(4px); }
.m-notif-top { display: flex; align-items: center; gap: 6px; font-size: .62rem; color: var(--cyan-soft); font-weight: 600; margin-bottom: 3px; }
.m-notif-top .ic { width: 11px; height: 11px; }
.m-notif-body { font-size: .68rem; color: var(--dtext); line-height: 1.5; }
.m-notif-time { font-size: .58rem; color: var(--dtext3); margin-top: 3px; }
.m-layers { display: flex; flex-direction: column; gap: 10px; }
.m-layer { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--paper); }
.m-layer-no { font-family: var(--font-display); font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--grad-brand); color: #fff; flex: none; }
.m-layer b { display: block; font-size: .84rem; color: var(--ink); }
.m-layer span { font-size: .72rem; color: var(--slate); }

/* ============================================================
   AI SECTION (dark)
   ============================================================ */
.sec-ai { background: radial-gradient(120% 120% at 20% 0%, #0A2A3A 0%, #071A2B 60%); color: var(--dtext); overflow: hidden; }
.sec-ai::before, .sec-stats::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(23, 195, 230, .55) 30%, rgba(14, 159, 138, .55) 70%, transparent); z-index: 3; pointer-events: none; }
.ai-ambient { position: absolute; inset: 0; pointer-events: none; }
.sec-ai .a1 { width: 500px; height: 500px; top: -140px; left: -100px; background: radial-gradient(circle, rgba(14, 159, 138, .3), transparent 68%); animation: drift2 24s ease-in-out infinite; }
.sec-ai .a2 { width: 460px; height: 460px; bottom: -160px; right: -80px; background: radial-gradient(circle, rgba(5, 111, 184, .4), transparent 68%); animation: drift1 20s ease-in-out infinite; }
.ai-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.ai-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 14px 0 16px; color: #fff; }
.ai-bullets { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px; }
.ai-bullet { display: flex; gap: 14px; }
.ai-bullet-ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(23, 195, 230, .1); border: 1px solid var(--dline); color: var(--cyan-soft); flex: none; }
.ai-bullet-ic .ic { width: 19px; height: 19px; }
.ai-bullet b { display: block; font-family: var(--font-display); font-size: .98rem; color: #fff; margin-bottom: 2px; }
.ai-bullet span { font-size: .86rem; color: var(--dtext2); line-height: 1.7; }
.mcp { padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, .035); border: 1px solid var(--dline2); }
.mcp-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 14px; }
.mcp-title .ic { width: 16px; height: 16px; }
.mcp-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.mcp-item { display: flex; gap: 11px; padding: 11px 13px; border-radius: 11px; background: rgba(7, 26, 43, .5); border: 1px solid var(--dline2); }
.mcp-item .ic { width: 17px; height: 17px; color: var(--amber); flex: none; margin-top: 2px; }
.mcp-item b { display: block; font-size: .84rem; color: var(--dtext); font-family: var(--font-mono); font-weight: 600; }
.mcp-item span { font-size: .76rem; color: var(--dtext3); line-height: 1.6; }
.guards { display: flex; flex-wrap: wrap; gap: 7px; }
.guard { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(47, 158, 114, .1); border: 1px solid rgba(47, 158, 114, .25); font-size: .7rem; font-weight: 600; color: #7FD6AC; }
.guard .ic { width: 12px; height: 12px; }
.ai-stage { border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(14, 46, 71, .9), rgba(8, 28, 45, .95)); border: 1px solid var(--dline); box-shadow: var(--shadow-lg), var(--glow-cyan); overflow: hidden; position: sticky; top: calc(var(--nav-h) + 30px); }
.stage-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--dline2); }
.stage-title { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: .84rem; font-weight: 600; color: var(--dtext); }
.stage-body { padding: 20px 18px; min-height: 420px; display: flex; flex-direction: column; gap: 13px; }
.seq-step { opacity: .3; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.seq-step.on { opacity: 1; transform: none; }
.seq-search { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(23, 195, 230, .08); border: 1px solid var(--dline); font-size: .8rem; color: var(--cyan-soft); }
.seq-search .ic { width: 16px; height: 16px; }
.seq-hit { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: rgba(47, 158, 114, .18); color: #7FD6AC; font-size: .68rem; font-weight: 700; }
.seq-tool { padding: 13px 15px; border-radius: 12px; background: rgba(242, 169, 59, .08); border: 1px solid rgba(242, 169, 59, .3); }
.seq-tool-head { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: #F5C877; margin-bottom: 7px; }
.seq-tool-head .ic { width: 15px; height: 15px; }
.seq-tool-result { font-family: var(--font-mono); font-size: .74rem; color: var(--dtext); line-height: 1.6; padding: 8px 11px; border-radius: 8px; background: rgba(7, 26, 43, .5); }
.seq-handoff { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-radius: 12px; background: rgba(47, 158, 114, .1); border: 1px solid rgba(47, 158, 114, .3); }
.seq-handoff .ic { width: 18px; height: 18px; color: #7FD6AC; }
.seq-handoff b { font-size: .84rem; color: #DFF3EA; display: block; }
.seq-handoff span { font-size: .72rem; color: #7FD6AC; }

/* ============================================================
   SETUP
   ============================================================ */
.sec-setup { background-color: var(--paper); background-image: radial-gradient(rgba(5, 111, 184, .05) 1px, transparent 1px); background-size: 26px 26px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 48px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 8px; }
.step b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 5px; }
.step span { font-size: .86rem; color: var(--slate); line-height: 1.7; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -14px; width: 9px; height: 9px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: translateY(-50%) rotate(45deg); opacity: .5; }
.setup-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; align-items: start; }
.code-card { border-radius: var(--r); background: #0A2233; border: 1px solid #16374F; box-shadow: var(--shadow-lg); overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(127, 227, 245, .1); background: rgba(7, 26, 43, .6); }
.code-file { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .78rem; color: var(--dtext2); }
.code-file .ic { width: 14px; height: 14px; color: var(--cyan); }
.btn-copy { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 8px; border: 1px solid var(--dline); background: rgba(255, 255, 255, .05); color: var(--dtext2); font-size: .78rem; font-weight: 600; transition: .15s; }
.btn-copy:hover { border-color: var(--cyan); color: var(--cyan-soft); background: rgba(23, 195, 230, .1); }
.btn-copy.done { border-color: var(--green); color: #7FD6AC; background: rgba(47, 158, 114, .12); }
.btn-copy .ic { width: 14px; height: 14px; }
.code-body { margin: 0; padding: 18px 16px; overflow-x: auto; font-family: var(--font-mono); font-size: .8rem; line-height: 1.85; color: #D7E6F2; }
.code-body .tk-tag { color: #7FE3F5; } .code-body .tk-attr { color: #F5C877; } .code-body .tk-str { color: #9BE0B8; } .code-body .tk-cmt { color: #5E7C93; }
.code-label { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); margin: 22px 0 12px; }
.attr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.attr-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .78rem; font-weight: 500; color: var(--ink2); transition: .15s; }
.attr-chip:hover { border-color: var(--brand); color: var(--brand); background: rgba(5, 111, 184, .05); transform: translateY(-1px); }
.attr-chip .ic { width: 13px; height: 13px; color: var(--brand); }
.api-card { margin-top: 22px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.api-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.api-title .ic { width: 16px; height: 16px; color: var(--amber); }
.api-code { margin: 0 0 10px; padding: 12px 14px; border-radius: 10px; background: #0A2233; font-family: var(--font-mono); font-size: .78rem; color: #9BE0B8; overflow-x: auto; }
.api-note { font-size: .82rem; color: var(--slate); }
.wp-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; font-size: .84rem; color: var(--slate); line-height: 1.7; }
.wp-note .ic { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 3px; }
/* customizer */
.cust-card { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: calc(var(--nav-h) + 24px); }
.cust-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.cust-head h3 { display: flex; align-items: center; gap: 9px; font-size: 1.15rem; }
.cust-head h3 .ic { width: 19px; height: 19px; color: var(--brand); }
.mode-chip { padding: 3px 11px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: rgba(5, 111, 184, .1); color: var(--brand); }
.mode-chip.real { background: rgba(47, 158, 114, .14); color: var(--green); }
.cust-sub { font-size: .84rem; color: var(--slate); margin-bottom: 20px; line-height: 1.7; }
.cust-controls { display: flex; flex-direction: column; gap: 18px; }
.ctl { display: flex; flex-direction: column; gap: 9px; }
.ctl-label { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; font-weight: 600; color: var(--ink2); }
.ctl-label output { font-family: var(--font-mono); font-size: .76rem; color: var(--brand); font-weight: 600; }
.swatches { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: .15s; box-shadow: 0 2px 8px -2px rgba(11, 34, 51, .35); }
.swatch:hover { transform: scale(1.12); }
.swatch.on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand); }
.custom-color { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; color: var(--slate); cursor: pointer; }
.custom-color input { width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; background: none; }
.custom-color input::-webkit-color-swatch-wrapper { padding: 2px; }
.custom-color input::-webkit-color-swatch { border-radius: 50%; border: none; }
.seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--mist); border: 1px solid var(--line2); width: fit-content; }
.seg button { padding: 6px 16px; border: none; border-radius: 7px; background: transparent; color: var(--slate); font-size: .82rem; font-weight: 600; transition: .15s; }
.seg button.on { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.ctl-range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--brand) var(--fill, 50%), var(--mist) var(--fill, 50%)); outline: none; }
.ctl-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 8px -2px rgba(5, 111, 184, .6); cursor: pointer; transition: transform .12s; }
.ctl-range input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.ctl-range input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); cursor: pointer; }
.ctl-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.toggle { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--ink2); cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tg { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); transition: .2s; flex: none; }
.tg::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(11, 34, 51, .3); transition: .2s var(--ease); }
.toggle input:checked + .tg { background: var(--grad-brand); border-color: transparent; }
.toggle input:checked + .tg::after { transform: translateX(16px); }
.toggle input:focus-visible + .tg { outline: 3px solid rgba(5, 111, 184, .4); outline-offset: 2px; }
/* 前置表单(姓名/邮箱)门槛固定开启：开关只做状态展示，禁用不可关 */
.toggle-locked { cursor: default; }
.toggle-locked input:disabled + .tg { pointer-events: none; }
.toggle-locked input:checked:disabled + .tg { opacity: .62; }
.tg-lock { font-size: .7rem; color: var(--slate-light); letter-spacing: .02em; }
.cust-actions { display: flex; gap: 9px; margin: 20px 0; }
.cust-preview-wrap { padding: 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line2); }
.preview-label { font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-light); }
.cust-preview { position: relative; height: 200px; margin-top: 10px; border-radius: 12px; background: linear-gradient(160deg, #E8F0F6, #DCE8F1); overflow: hidden; }
.preview-note { font-size: .76rem; color: var(--slate-light); margin: 12px 0 18px; display: flex; align-items: center; gap: 7px; }
.preview-note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.real-switch { padding-top: 18px; border-top: 1px solid var(--line2); }
.real-note { font-size: .78rem; color: var(--slate); margin-top: 10px; line-height: 1.65; }

/* ============================================================
   STATS / CLOCKS (dark)
   ============================================================ */
.sec-stats { background: radial-gradient(120% 130% at 50% -20%, #0E2E47 0%, #071A2B 60%); color: var(--dtext); overflow: hidden; text-align: center; }
.stats-ambient { position: absolute; inset: 0; pointer-events: none; }
.sec-stats .a1 { width: 600px; height: 400px; top: -120px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(23, 195, 230, .22), transparent 70%); }
.sec-stats .sec-head { margin: 0 auto 56px; text-align: center; }
.sec-stats h2 { color: #fff; }
.clocks { position: relative; display: flex; justify-content: space-between; gap: 12px; max-width: 980px; margin: 0 auto 64px; padding-top: 30px; }
.clocks::before { content: ''; position: absolute; top: 36px; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, transparent, var(--dline), var(--cyan), var(--dline), transparent); opacity: .5; }
.clock { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.clock-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(23, 195, 230, .15), 0 0 18px rgba(23, 195, 230, .7); animation: pulse 3s infinite; }
.clock:nth-child(2n) .clock-dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(14, 159, 138, .15), 0 0 18px rgba(14, 159, 138, .7); }
.clock-name { font-family: var(--font-display); font-size: .84rem; font-weight: 600; color: var(--dtext); }
.clock-time { font-family: var(--font-mono); font-size: .92rem; color: var(--cyan-soft); letter-spacing: .02em; }
.clock-zone { font-size: .6rem; color: var(--dtext3); letter-spacing: .06em; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.counter { padding: 26px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid var(--dline2); }
.counter-val { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.counter-label { font-size: .86rem; color: var(--dtext2); margin-top: 10px; }
.stats-note { font-size: .74rem; color: var(--dtext3); margin-top: 28px; }

/* ============================================================
   PRICING
   ============================================================ */
.sec-pricing { background: var(--white); }
.sec-pricing .sec-head { text-align: center; margin: 0 auto 40px; }
.pricing-top { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 28px; }
.seg-cur button { padding: 8px 22px; font-size: .9rem; }
.cur-note { font-size: .82rem; color: var(--slate); }
.trial-banner { display: flex; align-items: center; gap: 15px; max-width: 760px; margin: 0 auto 40px; padding: 16px 22px; border-radius: var(--r); background: linear-gradient(120deg, rgba(5, 111, 184, .07), rgba(23, 195, 230, .09)); border: 1px solid rgba(5, 111, 184, .18); }
.trial-banner .ic { width: 22px; height: 22px; color: var(--amber); flex: none; }
.trial-banner strong { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--ink); }
.trial-banner span { font-size: .82rem; color: var(--slate); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.popular { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box; box-shadow: var(--shadow), 0 0 40px -16px rgba(5, 111, 184, .5); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 15px; border-radius: 999px; background: var(--grad-brand); color: #fff; font-size: .72rem; font-weight: 700; font-family: var(--font-display); white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(5, 111, 184, .7); }
.plan-name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; color: var(--ink); }
.plan-tag { font-size: .8rem; color: var(--slate); margin: 4px 0 18px; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-cur { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink2); }
.plan-amount { font-family: var(--font-display); font-size: 2.7rem; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.plan-period { font-size: .82rem; color: var(--slate-light); }
.plan-free { font-size: .78rem; color: var(--green); font-weight: 600; margin-bottom: 18px; }
.plan-limits { display: flex; flex-direction: column; gap: 9px; padding: 16px 0; margin-bottom: 18px; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.plan-limit { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .82rem; }
.plan-limit span { color: var(--slate); }
.plan-limit b { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.plan-limit b.hl { color: var(--brand); }
.plan .btn { margin-top: auto; }
.common-feats { max-width: 860px; margin: 44px auto 0; text-align: center; }
.common-title { font-family: var(--font-display); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 16px; }
.common-feats ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.common-feats li { display: flex; align-items: center; gap: 7px; font-size: .88rem; color: var(--ink2); }
.common-feats .ic { width: 16px; height: 16px; color: var(--green); }
.price-notes { max-width: 760px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 8px; }
.price-notes li { display: flex; align-items: flex-start; gap: 9px; font-size: .82rem; color: var(--slate); line-height: 1.7; }
.price-notes .ic { width: 15px; height: 15px; color: var(--brand); flex: none; margin-top: 3px; }

/* ============================================================
   FAQ
   ============================================================ */
.sec-faq { background-color: var(--paper); background-image: radial-gradient(rgba(5, 111, 184, .05) 1px, transparent 1px); background-size: 26px 26px; }
.sec-faq .sec-head { text-align: center; margin: 0 auto 36px; }
.faq-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-bottom: 30px; }
.faq-cat { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 600; color: var(--slate); transition: .15s; }
.faq-cat:hover { border-color: var(--brand); color: var(--brand); }
.faq-cat.on { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -8px rgba(5, 111, 184, .7); }
.faq-cat .cnt { font-family: var(--font-display); font-size: .72rem; opacity: .7; }
.faq-list { display: flex; flex-direction: column; gap: 11px; }
.faq-item { border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item.open { border-color: rgba(5, 111, 184, .3); box-shadow: var(--shadow-sm); }
.faq-item[hidden] { display: none; }
.faq-q { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 22px; border: none; background: none; text-align: left; font-size: 1rem; font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.faq-q .faq-cat-tag { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 56px; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--slate); font-size: .68rem; font-weight: 600; font-family: var(--font-body); transition: .2s; }
.faq-item.open .faq-cat-tag { background: rgba(5, 111, 184, .1); color: var(--brand); }
.faq-q .faq-chevron { margin-left: auto; width: 20px; height: 20px; color: var(--slate-light); transition: transform .3s var(--ease); flex: none; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.faq-a-inner { padding: 0 22px 20px 22px; font-size: .92rem; color: var(--slate); line-height: 1.85; }
.faq-more { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; font-size: .95rem; color: var(--slate); }

/* ============================================================
   CTA
   ============================================================ */
.sec-cta { position: relative; padding: 120px 0; background: var(--grad-cta); color: #fff; text-align: center; overflow: hidden; }
.cta-ambient { position: absolute; inset: 0; pointer-events: none; }
.sec-cta .r1 { width: 600px; height: 600px; top: -280px; left: -160px; border-color: rgba(255, 255, 255, .14); }
.sec-cta .r2 { width: 420px; height: 420px; bottom: -220px; right: -120px; border-color: rgba(255, 255, 255, .12); }
.sec-cta .a1 { width: 500px; height: 500px; top: -160px; right: 10%; background: radial-gradient(circle, rgba(127, 227, 245, .3), transparent 70%); animation: drift1 18s ease-in-out infinite; }
.sec-cta .a2 { width: 420px; height: 420px; bottom: -180px; left: 8%; background: radial-gradient(circle, rgba(4, 78, 134, .5), transparent 70%); animation: drift2 22s ease-in-out infinite; }
.cta-inner { position: relative; z-index: 2; max-width: 760px; }
.cta-inner h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: #fff; margin-bottom: 18px; letter-spacing: -.02em; }
.cta-inner > p { font-size: 1.1rem; color: rgba(255, 255, 255, .85); margin-bottom: 36px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 30px; }
.cta-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.cta-badge { display: flex; align-items: center; gap: 7px; font-size: .88rem; color: rgba(255, 255, 255, .9); }
.cta-badge .ic { width: 16px; height: 16px; color: #9BE0B8; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #050F1C; color: var(--dtext2); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-tagline { font-size: .9rem; color: var(--dtext3); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-title { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dtext); margin-bottom: 4px; }
.footer-col a, .footer-link-btn { font-size: .88rem; color: var(--dtext3); transition: color .15s; text-align: left; background: none; border: none; padding: 0; font-family: inherit; }
.footer-col a:hover, .footer-link-btn:hover { color: var(--cyan-soft); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 28px; border-top: 1px solid var(--dline2); font-size: .8rem; color: var(--dtext3); }
.footer-made { display: flex; align-items: center; gap: 8px; }
.footer-made::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(47, 158, 114, .8); }

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 10000; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; background: rgba(10, 36, 56, .96); color: var(--dtext); border: 1px solid var(--dline); box-shadow: var(--shadow-lg); font-size: .88rem; font-weight: 500; backdrop-filter: blur(10px); animation: toastIn .3s var(--ease); max-width: 90vw; }
.toast .ic { width: 17px; height: 17px; color: var(--green); flex: none; }
.toast.err .ic { color: var(--amber); }
.toast.out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ============================================================
   LOCAL DEMO WIDGET  (.simw-* — independent of real .reflex-chat-*)
   ============================================================ */
.simw { --sim-x: 20px; --sim-y: 20px; --sim-w: 380px; --sim-h: 560px; --sim-brand: #056FB8; position: fixed; z-index: 99990; right: var(--sim-x); bottom: var(--sim-y); font-family: var(--font-body); }
.simw[data-position="left"] { right: auto; left: var(--sim-x); }
.simw-bubble { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; padding: 0; border: none; border-radius: 50%; background: var(--sim-brand); color: #fff; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(16, 42, 60, .5), 0 2px 6px rgba(16, 42, 60, .18); transition: transform .22s var(--ease), opacity .22s var(--ease), box-shadow .18s; -webkit-tap-highlight-color: transparent; }
.simw-bubble:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 14px 28px -8px rgba(16, 42, 60, .55), 0 3px 8px rgba(16, 42, 60, .2); }
.simw-bubble:active { transform: scale(.96); }
.simw.open .simw-bubble { transform: scale(0); opacity: 0; pointer-events: none; }
.simw-dot { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2.5px #fff; }
.simw-dot[hidden] { display: none; }
.simw-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; animation: simPop .2s var(--ease); }
.simw-badge[hidden] { display: none; }
.simw-tag { position: fixed; z-index: 1; right: calc(var(--sim-x) + 70px); bottom: calc(var(--sim-y) + 12px); display: flex; flex-direction: column; align-items: flex-end; gap: 1px; padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); box-shadow: 0 4px 14px -6px rgba(16, 42, 60, .25); pointer-events: none; text-align: right; }
.simw-tag[hidden] { display: none; }
.simw-tag span { font-size: 10.5px; line-height: 1.35; color: var(--slate); white-space: nowrap; }
.simw-tag span:last-child { color: var(--slate-light); font-size: 10px; }
.simw-tag b { color: var(--sim-brand); font-weight: 700; }
.simw[data-position="left"] .simw-tag { right: auto; left: calc(var(--sim-x) + 70px); align-items: flex-start; text-align: left; }
.simw.open .simw-tag { display: none; }
.simw-greeting { position: fixed; z-index: 1; right: var(--sim-x); bottom: calc(var(--sim-y) + 74px); max-width: 250px; padding: 12px 32px 12px 14px; border-radius: 12px; background: #fff; color: var(--ink2); font-size: 13.5px; line-height: 1.5; box-shadow: 0 12px 32px -12px rgba(16, 42, 60, .4), 0 2px 8px rgba(16, 42, 60, .1); cursor: pointer; animation: simPop .25s var(--ease); }
.simw-greeting[hidden] { display: none; }
.simw-greeting::after { content: ''; position: absolute; right: 24px; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; box-shadow: 3px 3px 6px -3px rgba(16, 42, 60, .25); }
.simw[data-position="left"] .simw-greeting { right: auto; left: var(--sim-x); }
.simw[data-position="left"] .simw-greeting::after { right: auto; left: 24px; }
.simw-greeting-close { position: absolute; top: 6px; right: 6px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: none; border-radius: 6px; background: transparent; color: var(--slate-light); cursor: pointer; }
.simw-greeting-close:hover { background: var(--mist); color: var(--ink2); }
.simw-panel { position: fixed; z-index: 2; right: var(--sim-x); bottom: var(--sim-y); display: flex; flex-direction: column; width: var(--sim-w); height: var(--sim-h); max-width: calc(100vw - 2 * var(--sim-x)); max-height: calc(100vh - 2 * var(--sim-y)); max-height: calc(100dvh - 2 * var(--sim-y)); border-radius: 14px; overflow: hidden; background: var(--mist); box-shadow: 0 24px 60px -20px rgba(16, 42, 60, .5), 0 4px 16px rgba(16, 42, 60, .14); }
.simw-panel[hidden] { display: none; }
.simw[data-position="left"] .simw-panel { right: auto; left: var(--sim-x); }
.simw.open .simw-panel { animation: simPop .22s var(--ease); }
@keyframes simPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.simw-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; padding: 0 10px 0 16px; background: var(--sim-brand); color: #fff; }
.simw-heading { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.simw-title { font-family: var(--font-display); font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.simw-subtitle { font-size: 11.5px; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.simw-subtitle .live-dot { width: 6px; height: 6px; }
.simw-min { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: none; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; transition: background .15s; }
.simw-min:hover { background: rgba(255, 255, 255, .18); }
.simw-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); }
.simw-row { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.simw-row.v { flex-direction: row; }
.simw-row.ai, .simw-row.a { flex-direction: row-reverse; }
.simw-av { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; flex: none; font-family: var(--font-display); font-size: .7rem; font-weight: 700; color: #fff; }
.simw-av.ai { background: var(--grad-brand); }
.simw-av.a { background: linear-gradient(135deg, #0B6E63, #2F9E72); }
.simw-av.v { background: var(--slate-light); }
.simw-bub { max-width: 80%; padding: 9px 13px; border-radius: 13px; font-size: 13px; line-height: 1.6; }
.simw-row.v .simw-bub { background: #fff; color: var(--ink2); border: 1px solid var(--line2); border-bottom-left-radius: 4px; }
.simw-row.ai .simw-bub { background: linear-gradient(135deg, rgba(5, 111, 184, .12), rgba(23, 195, 230, .14)); border: 1px solid rgba(5, 111, 184, .2); color: var(--ink); border-bottom-right-radius: 4px; }
.simw-row.a .simw-bub { background: rgba(47, 158, 114, .12); border: 1px solid rgba(47, 158, 114, .28); color: var(--ink2); border-bottom-right-radius: 4px; }
.simw-aihead { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.simw-aitag { font-family: var(--font-display); font-size: .56rem; font-weight: 700; letter-spacing: .06em; padding: 1px 6px; border-radius: 5px; background: var(--grad-brand); color: #fff; }
.simw-who { font-size: .68rem; font-weight: 600; color: var(--brand); }
.simw-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .66rem; color: var(--teal); font-weight: 600; }
.simw-src .ic { width: 11px; height: 11px; }
.simw-sys { text-align: center; font-size: .68rem; color: var(--slate-light); display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0; }
.simw-sys::before, .simw-sys::after { content: ''; height: 1px; width: 24px; background: var(--line); }
.simw-typing { display: inline-flex; gap: 4px; padding: 11px 14px; background: #fff; border: 1px solid var(--line2); border-radius: 13px; }
.simw-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: blink 1.2s infinite; }
.simw-typing i:nth-child(2) { animation-delay: .2s; } .simw-typing i:nth-child(3) { animation-delay: .4s; }
.simw-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0; }
.simw-quick button { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(5, 111, 184, .3); background: rgba(5, 111, 184, .06); color: var(--brand); font-size: .72rem; font-weight: 600; transition: .15s; }
.simw-quick button:hover { background: rgba(5, 111, 184, .14); }
.simw-inputrow { flex: none; display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.simw-input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; font-family: inherit; color: var(--ink); }
.simw-input:focus { outline: none; border-color: var(--sim-brand); }
.simw-send, .simw-humanbtn { flex: none; display: flex; align-items: center; justify-content: center; height: 38px; border: none; border-radius: 10px; cursor: pointer; transition: .15s; }
.simw-send { width: 40px; background: var(--sim-brand); color: #fff; }
.simw-send:hover { filter: brightness(1.08); }
.simw-send .ic { width: 17px; height: 17px; }
.simw-humanbtn { padding: 0 11px; background: rgba(242, 169, 59, .14); border: 1px solid rgba(242, 169, 59, .4); color: #B57614; font-size: .72rem; font-weight: 700; gap: 5px; }
.simw-humanbtn:hover { background: rgba(242, 169, 59, .24); }
.simw-humanbtn .ic { width: 14px; height: 14px; }
.simw-humanbtn:disabled { opacity: .45; cursor: default; }
.simw-foot { flex: none; text-align: center; font-size: 10px; color: var(--slate-light); padding: 6px; background: #fff; border-top: 1px solid var(--line2); }
.simw-foot b { color: var(--sim-brand); }
.simw-form { display: flex; flex-direction: column; gap: 12px; padding: 6px 2px; }
.simw-form h4 { font-size: 15px; color: var(--ink); }
.simw-form p { font-size: 12px; color: var(--slate); line-height: 1.6; }
.simw-field { display: flex; flex-direction: column; gap: 5px; }
.simw-field label { font-size: 12px; font-weight: 600; color: var(--ink2); }
.simw-field input { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-family: inherit; color: var(--ink); }
.simw-field input:focus { outline: none; border-color: var(--sim-brand); }
.simw-form .btn { margin-top: 4px; }
.simw-err { font-size: 12px; color: var(--red); font-weight: 600; }
.simw-err[hidden] { display: none; }
.simw-demoflag { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 2px 10px; border-radius: 999px; background: rgba(11, 34, 51, .8); color: var(--cyan-soft); font-size: 10px; font-weight: 600; letter-spacing: .04em; pointer-events: none; }

/* ---- customizer mini preview ---- */
.cust-preview { --cp-brand: #056FB8; --cp-w: 46%; --cp-h: 72%; }
.cp-panel { position: absolute; bottom: 16px; width: var(--cp-w); height: var(--cp-h); border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 26px -14px rgba(11, 34, 51, .55); overflow: hidden; display: flex; flex-direction: column; transition: width .2s var(--ease), height .2s var(--ease); }
.cp-panel.side-left { left: 16px; } .cp-panel.side-right { right: 16px; }
.cp-head { flex: none; height: 26px; background: var(--cp-brand); display: flex; align-items: center; gap: 5px; padding: 0 8px; }
.cp-head i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .85); flex: none; }
.cp-head span { font-size: 7.5px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-body { flex: 1; min-height: 0; padding: 7px; display: flex; flex-direction: column; gap: 5px; background: var(--mist); }
.cp-b { height: 13px; border-radius: 6px; background: #fff; border: 1px solid var(--line2); flex: none; }
.cp-b.v { width: 62%; }
.cp-b.ai { width: 72%; margin-left: auto; background: linear-gradient(135deg, rgba(5, 111, 184, .16), rgba(23, 195, 230, .18)); border-color: rgba(5, 111, 184, .2); }
.cp-input { flex: none; height: 16px; margin: 0 7px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--line2); }
.cp-launcher { position: absolute; bottom: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--cp-brand); box-shadow: 0 8px 18px -8px rgba(11, 34, 51, .6); display: flex; align-items: center; justify-content: center; color: #fff; }
.cp-launcher.side-left { left: 16px; } .cp-launcher.side-right { right: 16px; }
.cp-launcher .ic { width: 17px; height: 17px; }
.cp-dot { position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px #fff; }
.cp-dot[hidden] { display: none; }
.cp-greet { position: absolute; bottom: 56px; max-width: 120px; padding: 6px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px -8px rgba(11, 34, 51, .4); font-size: 8px; line-height: 1.4; color: var(--ink2); }
.cp-greet.side-left { left: 16px; } .cp-greet.side-right { right: 16px; }
.cp-greet[hidden] { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* grid/flex children must be allowed to shrink below min-content */
.hero-copy, .hero-demo, .feat-side, .feat-list, .ai-copy, .ai-stage, .setup-code, .setup-cust, .problem-stage > * { min-width: 0; }
.console, .code-card, .mock, .cust-card, .ai-stage, .unified { max-width: 100%; }
.console-tabs { min-width: 0; }
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { gap: 44px; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); }
  .hero-sub { max-width: 640px; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feat-side-inner { position: static; }
  .feat-index { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .feat-index button { border-left: none; border: 1px solid var(--line); padding: 8px 12px; }
  .feat-index button.on { border-color: var(--brand); }
  .feat-list { gap: 56px; }
  .ai-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ai-stage { position: static; }
  .setup-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cust-card { position: static; }
  .problem-stage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .converge { flex-direction: row; justify-content: center; }
  .converge .ic { transform: rotate(90deg); animation: cueDown 1.6s ease-in-out infinite; }
  .scatter { min-height: 300px; }
}
@keyframes cueDown { 0%, 100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(6px); } }
@media (max-width: 900px) {
  .nav-links, .nav-login { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .steps { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .step:not(:last-child)::after { display: none; }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .clocks { flex-wrap: wrap; justify-content: center; gap: 22px 12px; margin-bottom: 48px; }
  .clocks::before { display: none; }
  .clock { flex: 0 0 calc(33.33% - 12px); }
  .m-phone-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
  .m-kpis { grid-template-columns: repeat(2, 1fr); }
  .console-body { min-height: 360px; padding: 12px; }
  .d-inbox, .d-ai, .d-kb, .d-stats, .d-widget { height: 340px; }
  .d-widget { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 12px; }
  .d-widget-side { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .d-widget-note { display: none; }
  .chip1 { left: -6px; top: -14px; } .chip2 { right: -6px; bottom: -12px; }
  .console-chip { font-size: .7rem; padding: 7px 11px; }
  .hero-caps { gap: 8px; }
  .hero-cap { padding: 8px 12px; }
  .cta-btns .btn { width: 100%; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .brand-tag { display: none; }
  .nav-cta { padding: 8px 13px; font-size: .82rem; }
  .lang-switch button { padding: 4px 8px; }
  .lang-menu .lang-globe { display: none; }
  .lang-trigger { height: 30px; padding: 0 8px 0 9px; gap: 5px; font-size: .78rem; }
  .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .scatter { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
  .tool-card { position: static; width: auto; transform: none !important; margin-right: 12px; }
  .d-inbox { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: 340px; gap: 10px; }
  .d-inbox-list { flex-direction: row; overflow-x: auto; overflow-y: hidden; gap: 8px; padding-right: 0; padding-bottom: 6px; align-items: stretch; }
  .d-inbox-bar { flex-direction: column; align-items: flex-start; gap: 6px; min-width: 96px; flex: none; margin-bottom: 0; }
  .d-conv { min-width: 168px; width: 168px; flex: none; }
  .d-kpis { grid-template-columns: repeat(2, 1fr); }
  .d-stats-top { flex-wrap: wrap; }
  .clock { flex: 0 0 calc(50% - 12px); }
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-cta .btn { width: 100%; }
  .faq-q { padding: 15px 16px; font-size: .94rem; gap: 10px; }
  .faq-a-inner { padding: 0 16px 18px 16px; }
  .cust-controls { gap: 16px; }
  .ctl-toggles { grid-template-columns: 1fr; }
  .simw-panel { inset: 0; width: auto; height: auto; max-width: none; max-height: none; border-radius: 0; }
  .simw-head { padding-top: env(safe-area-inset-top, 0); height: calc(58px + env(safe-area-inset-top, 0)); }
  .simw-greeting { max-width: calc(100vw - 2 * var(--sim-x) - 16px); }
  .simw-tag { display: none; }
}
@media (max-width: 380px) {
  .nav-cta span { display: none; }
  .d-conv { min-width: 150px; width: 150px; }
}

@media (max-width: 767px) {
  .problem-stage { grid-template-columns: 1fr; gap: 18px; }
  .scatter { min-height: 0; display: flex; flex-direction: column; gap: 10px; }
  .scatter .tool-card { position: static; width: 100%; transform: none; }
  .scatter .tool-card:hover { transform: translateY(-2px); }
  .problem-stage.is-unified .scatter .tool-card { transform: none; }
  .converge { flex-direction: row; justify-content: center; }
  .converge .ic { animation: none; transform: rotate(90deg); }
  .problem-ctl { gap: 10px; }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; transform: none; }
  .seq-step { opacity: 1; transform: none; }
}

/* ============================================================
   开放与自定义 · sec-custom  Markdown 排版演示
   ============================================================ */
.sec-custom { background: var(--paper); }
.cx-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 28px; }
.cx-tab { font-family: var(--font-display); font-size: .86rem; font-weight: 600; letter-spacing: .01em; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--slate); cursor: pointer; transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease); }
.cx-tab:hover { color: var(--brand); border-color: rgba(5, 111, 184, .35); }
.cx-tab.on { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(4, 78, 134, .7); }
.cx-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.cx-pane { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.cx-pane-label { display: flex; align-items: center; gap: 7px; padding: 12px 16px; margin: 0; font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); border-bottom: 1px solid var(--line2); background: var(--paper); }
.cx-pane-label .ic { color: var(--brand); }
.cx-src { margin: 0; flex: 1; padding: 18px 20px; font-family: var(--font-mono); font-size: .78rem; line-height: 1.72; white-space: pre-wrap; word-break: break-word; overflow: auto; max-height: 480px; background: #0b1a26; color: #cfe3f2; }

/* 会话渲染面 */
.cx-chat { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; overflow: auto; max-height: 480px; background: var(--mist); }
.cx-row { display: flex; gap: 9px; align-items: flex-start; }
.cx-row.ai { flex-direction: row-reverse; }
.cx-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: .72rem; font-weight: 700; background: #fff; color: var(--slate); border: 1px solid var(--line); }
.cx-av.ai { background: var(--grad-brand); color: #fff; border: none; }
.cx-bub { max-width: 90%; padding: 12px 15px; border-radius: 15px; font-size: .86rem; line-height: 1.6; background: #fff; border: 1px solid var(--line); color: var(--ink2); border-top-left-radius: 5px; }
.cx-row.ai .cx-bub { color: var(--ink); border: 1px solid rgba(5, 111, 184, .2); border-top-left-radius: 15px; border-top-right-radius: 5px; box-shadow: 0 12px 26px -18px rgba(11, 34, 51, .35); }

/* Markdown 排版 */
.cx-md { font-size: .86rem; line-height: 1.62; color: var(--ink); word-break: break-word; }
.cx-md > :first-child { margin-top: 0; }
.cx-md > :last-child { margin-bottom: 0; }
.cx-h { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); margin: 2px 0 11px; letter-spacing: -.005em; }
.cx-h.cx-h-lg { font-size: 1.2rem; margin-bottom: 4px; }
.cx-p { margin: 0 0 11px; }
.cx-md strong { font-weight: 700; color: var(--brand-deep); }
.cx-md em { font-style: italic; }
.cx-md .ic-inline, .cx-code code { font-family: var(--font-mono); }
.cx-md .ic-inline { font-size: .82em; background: var(--mist); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--brand-deep); }
.cx-md a { color: var(--brand); text-decoration: none; border-bottom: 1px solid rgba(5, 111, 184, .32); font-weight: 500; }
.cx-md a:hover { border-bottom-color: var(--brand); }
.cx-hr { border: none; border-top: 1px solid var(--line); margin: 12px 0; }

/* 有序列表 → 时间线 */
.cx-ol { list-style: none; margin: 2px 0 12px; padding: 0; }
.cx-ol li { position: relative; padding: 0 0 15px 26px; }
.cx-ol li::before { content: ''; position: absolute; left: 6px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(5, 111, 184, .16); }
.cx-ol li::after { content: ''; position: absolute; left: 10px; top: 15px; bottom: -2px; width: 2px; background: linear-gradient(var(--brand-bright), rgba(5, 111, 184, .22)); }
.cx-ol li:last-child { padding-bottom: 0; }
.cx-ol li:last-child::after { display: none; }

/* 无序 / 任务清单 */
.cx-ul { margin: 2px 0 12px; padding-left: 20px; }
.cx-ul li { margin-bottom: 6px; }
.cx-ul li::marker { color: var(--brand); }
.cx-ul ul { margin: 5px 0 0; padding-left: 18px; }
.cx-ul ul li { margin-bottom: 4px; font-size: .96em; }
.cx-ul ul li::marker { color: var(--slate-light); }
.cx-task { list-style: none; margin: 2px 0 12px; padding: 0; }
.cx-task li { position: relative; padding-left: 27px; margin-bottom: 9px; }
.cx-task li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-size: 11px; font-weight: 700; border: 1.5px solid var(--line); color: transparent; background: #fff; }
.cx-task li.done::before { background: var(--green); border-color: var(--green); color: #fff; }

/* 表格 */
.cx-table-wrap { overflow-x: auto; margin: 2px 0 12px; border: 1px solid var(--line); border-radius: 12px; }
.cx-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.cx-table th, .cx-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.cx-table thead th { background: var(--paper); font-family: var(--font-display); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.cx-table tbody tr:last-child td { border-bottom: none; }
.cx-table tbody tr:nth-child(even) td { background: rgba(5, 111, 184, .035); }

/* 引用 */
.cx-quote { margin: 2px 0 12px; padding: 9px 14px; border-left: 3px solid var(--brand); background: rgba(5, 111, 184, .06); border-radius: 0 10px 10px 0; color: var(--ink2); font-size: .82rem; }

/* 代码块 */
.cx-code { margin: 2px 0 12px; padding: 14px 16px; border-radius: 12px; background: #0b1a26; overflow-x: auto; }
.cx-code code { font-size: .78rem; line-height: 1.62; color: #cfe3f2; white-space: pre; }

/* 差异点 */
.cx-vs { margin-top: 46px; }
.cx-vs-title { font-family: var(--font-display); font-size: 1.16rem; font-weight: 700; color: var(--ink); margin: 0 0 20px; }
.cx-vs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cx-vs-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; gap: 11px; align-items: flex-start; }
.cx-vs-item .ic { flex: none; color: #fff; background: var(--grad-brand); border-radius: 8px; padding: 3px; width: 22px; height: 22px; }
.cx-vs-item b { font-family: var(--font-display); font-size: .96rem; color: var(--ink); display: block; margin-bottom: 4px; }
.cx-vs-item span { font-size: .82rem; color: var(--slate); line-height: 1.55; }

@media (max-width: 900px) {
  .cx-demo { grid-template-columns: 1fr; }
  .cx-vs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cx-vs-grid { grid-template-columns: 1fr; }
}
