/* E-QS 图纸智审 · 演示页 v3 —— 清新明快 / 效率爆点 / 真实复杂图纸 */
:root {
    --bg: #f4f8fc;
    --bg2: #eaf2fb;
    --card: #ffffff;
    --line: #d7e3f0;
    --line2: #e8eef5;
    --txt: #0f1b2d;
    --muted: #5b6b82;
    --dim: #8a98ad;
    --blue: #0b6bcb;
    --blue2: #1d8fff;
    --cyan: #0891b2;
    --green: #059669;
    --amber: #d97706;
    --rose: #e11d48;
    --ink: #0b2a4a;
    --grad: linear-gradient(100deg, #0b6bcb 0%, #0891b2 55%, #06b6d4 100%);
    --grad-warm: linear-gradient(100deg, #f59e0b 0%, #ef4444 100%);
    --r: 16px;
    --shadow: 0 18px 50px rgba(15, 40, 80, .10), 0 1px 0 rgba(255,255,255,.8) inset;
    --shadow-sm: 0 6px 18px rgba(15, 40, 80, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; height: 100%; }
body.ys2 {
    background: var(--bg); color: var(--txt); overflow-x: hidden;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; } b, strong { font-weight: 700; }

/* 背景：明亮浅蓝 + 淡网格 */
.ys2-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: linear-gradient(165deg, #f7fbff 0%, #eef5fc 45%, #e8f4f2 100%); }
.ys2-bg-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.ys2-bg-glow.g1 { width: 55vw; height: 55vw; left: -12vw; top: -18vw; background: radial-gradient(circle, rgba(29,143,255,.28), transparent 65%); }
.ys2-bg-glow.g2 { width: 50vw; height: 50vw; right: -15vw; bottom: -20vw; background: radial-gradient(circle, rgba(8,145,178,.22), transparent 65%); }
.ys2-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(11,107,203,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,107,203,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%); }

/* 顶栏 */
.ys2-top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.9); }
.ys2-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; white-space: nowrap; color: var(--ink); }
.ys2-logo b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ys2-logo-mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 15px; box-shadow: 0 6px 16px rgba(11,107,203,.35); }
.ys2-nav { display: flex; gap: 2px; }
.ys2-nav a { text-decoration: none; color: var(--muted); font-size: 13px; padding: 6px 12px; border-radius: 999px; transition: .2s; font-weight: 600; }
.ys2-nav a:hover, .ys2-nav a.on { color: var(--blue); background: #e8f2ff; }
.ys2-top-actions { display: flex; gap: 8px; }
.ys2-chip-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: .2s; box-shadow: var(--shadow-sm); }
.ys2-chip-btn:hover { border-color: #b7d4f5; color: var(--blue); }
.ys2-chip-btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(11,107,203,.35); }
.ys2-chip-btn.on { background: #e0f2fe; border-color: #7dd3fc; color: #0369a1; }

/* 主体 */
.ys2-root { position: relative; z-index: 1; container-type: inline-size; }
.ys2-sec { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding: 88px 0 64px; position: relative; }
.ys2-wrap { width: min(1240px, 92%); margin: 0 auto; }
.ys2-two { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.ys2-two.rev .ys2-copy { order: 2; } .ys2-two.rev .ys2-visual { order: 1; }
.ys2-stack { display: flex; flex-direction: column; gap: 18px; }
.ys2-copy.center { text-align: center; max-width: 860px; margin: 0 auto; }

/* 文案 */
.ys2-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #0369a1; background: #e0f2fe; border: 1px solid #bae6fd; margin-bottom: 18px; }
.ys2-h1 { font-size: clamp(40px, 6.6vw, 84px); line-height: 1.05; margin: 0 0 18px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.ys2-h1.sm { font-size: clamp(32px, 4.8vw, 56px); }
.ys2-h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin: 0 0 16px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad2 { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ys2-lead { font-size: clamp(16px, 1.55vw, 19px); color: var(--muted); margin: 0 0 26px; line-height: 1.75; }
.ys2-lead b { color: var(--ink); }
.ys2-p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0 0 18px; }
.ys2-p b { color: var(--ink); }
.ys2-step { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 16px; color: #fff; background: var(--grad); margin-bottom: 16px; box-shadow: 0 10px 24px rgba(11,107,203,.28); }
.ys2-step.alt { background: var(--grad-warm); box-shadow: 0 10px 24px rgba(239,68,68,.25); }

.ys2-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 18px; }
.ys2-tags span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: #334155; box-shadow: var(--shadow-sm); }
.ys2-tags i { color: var(--blue); width: 16px; text-align: center; }
.ys2-callout { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff7ed; border: 1px solid #fdba74; }
.ys2-callout i { font-size: 22px; color: #ea580c; }
.ys2-callout b { display: block; font-size: 15px; color: var(--ink); }
.ys2-callout span { font-size: 13px; color: var(--muted); }
.ys2-callout.green { background: #ecfdf5; border-color: #6ee7b7; }
.ys2-callout.green i { color: #059669; }

.ys2-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: .2s; box-shadow: var(--shadow-sm); }
.ys2-btn.lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.ys2-btn.sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.ys2-btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 30px rgba(11,107,203,.35); }
.ys2-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11,107,203,.45); }
.ys2-btn.ghost:hover { border-color: #93c5fd; color: var(--blue); }
.ys2-btn.warn { background: var(--grad-warm); border-color: transparent; color: #fff; box-shadow: 0 10px 26px rgba(239,68,68,.3); }

/* 效率爆点条 */
.ys2-boom {
    display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 10px 16px; border-radius: 999px; margin: 0 auto 22px;
    background: #fff; border: 1px solid #fecaca; box-shadow: 0 10px 30px rgba(239,68,68,.12);
}
.ys2-boom .old { font-size: 18px; font-weight: 800; color: #94a3b8; text-decoration: line-through; }
.ys2-boom .arr { color: #f97316; font-weight: 900; font-size: 18px; }
.ys2-boom .new { font-size: 26px; font-weight: 900; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ys2-boom .x { padding: 4px 12px; border-radius: 999px; background: var(--grad-warm); color: #fff; font-weight: 900; font-size: 14px; box-shadow: 0 6px 16px rgba(239,68,68,.35); }

/* 首页 */
.ys2-hero { text-align: center; overflow: hidden; }
.ys2-hero-inner { position: relative; z-index: 2; max-width: 980px; }
.ys2-hero-part { position: absolute; right: -2%; top: 52%; transform: translateY(-50%); width: min(52vw, 620px); opacity: .18; z-index: 1; pointer-events: none; filter: drop-shadow(0 20px 40px rgba(11,107,203,.15)); }
.ys2-hero-part img { width: 100%; display: block; border-radius: 8px; }
.ys2-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 4px; margin: 0 auto 28px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 900px; }
.fnode { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 96px; padding: 8px 6px; border-radius: 12px; opacity: .4; transform: translateY(6px); transition: .45s; }
.fnode i { font-size: 22px; color: var(--blue); }
.fnode small { font-size: 12px; color: var(--muted); font-weight: 700; }
.fnode.on { opacity: 1; transform: none; background: #eef6ff; box-shadow: 0 0 0 1px #bfdbfe inset; }
.fnode.on i { color: #0284c7; }
.farrow { width: 26px; height: 2px; background: #cbd5e1; position: relative; opacity: .6; }
.farrow::after { content: ''; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: #cbd5e1; }
.farrow.on { background: var(--blue); opacity: 1; } .farrow.on::after { border-left-color: var(--blue); }
.ys2-kpis { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.kpi { min-width: 190px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.kpi .kv { font-size: 38px; font-weight: 900; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.kpi.hot .kv { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.kpi .kl { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 600; }
.ys2-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ys2-scroll-hint { margin-top: 34px; font-size: 12px; color: var(--dim); display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; }
.ys2-scroll-hint span { width: 22px; height: 36px; border: 2px solid #94a3b8; border-radius: 12px; position: relative; }
.ys2-scroll-hint span::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1 } 100% { transform: translateY(14px); opacity: 0 } }

/* 案例条 */
.ys2-case {
    display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
    margin: 0 auto 18px; padding: 8px 14px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); font-weight: 600;
}
.ys2-case b { color: var(--ink); }
.ys2-case em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: #eff6ff; color: var(--blue); font-weight: 800; }

/* 设备框 */
.ys2-device { border-radius: var(--r); background: #fff; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); transform: perspective(1400px) rotateY(-3deg); transition: transform .8s; }
.ys2-two.rev .ys2-device { transform: perspective(1400px) rotateY(3deg); }
.ys2-sec.play .ys2-device, .ys2-device.full { transform: none; }
.dev-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #f8fafc; border-bottom: 1px solid var(--line2); }
.dev-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.dev-bar span:nth-child(1) { background: #f87171 } .dev-bar span:nth-child(2) { background: #fbbf24 } .dev-bar span:nth-child(3) { background: #34d399 }
.dev-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.dev-tag { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #fee2e2; color: #b91c1c; letter-spacing: .3px; }
.dev-tag.blue { background: #dbeafe; color: #1d4ed8; } .dev-tag.green { background: #d1fae5; color: #047857; }
.dev-tag.purple { background: #ede9fe; color: #6d28d9; } .dev-tag.amber { background: #fef3c7; color: #b45309; }
.dev-body { position: relative; background: #fff; }
.dev-foot { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line2); font-size: 12px; color: var(--muted); background: #fafbfc; }
.dev-foot .ok { flex: 1; color: #047857; font-weight: 700; opacity: 0; transition: .5s; } .dev-foot .ok.on { opacity: 1; }
.dev-foot .dl { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); color: #334155; background: #fff; font-weight: 600; }

/* 01 转 CAD */
.cad-stage { aspect-ratio: 1024 / 640; background: #e8eef5; overflow: hidden; }
.cad-stage img { position: absolute; left: 50%; top: 50%; width: 94%; transform: translate(-50%, -50%); display: block; border-radius: 4px; box-shadow: 0 8px 24px rgba(15,40,80,.12); }
.cadimg { position: absolute; inset: 0; background: #f0f7ff; clip-path: inset(0 0 100% 0); }
.cadimg img { filter: contrast(1.08) brightness(1.02); opacity: .98; mix-blend-mode: multiply; box-shadow: none; }
.cadimg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(11,107,203,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11,107,203,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.beam { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #0b6bcb 20%, #fff 50%, #0891b2 80%, transparent); box-shadow: 0 0 20px 5px rgba(11,107,203,.45); opacity: 0; }
.cad-float { position: absolute; padding: 7px 11px; border-radius: 10px; background: rgba(255,255,255,.96); border: 1px solid #93c5fd; color: #0c4a6e; font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(8px) scale(.96); transition: .45s; box-shadow: 0 8px 20px rgba(15,40,80,.15); }
.cad-float.on { opacity: 1; transform: none; }
.cad-float i { margin-right: 4px; color: #059669; } .cad-float.f4 i { color: #d97706; }
.cad-float.f1 { left: 3%; top: 10%; } .cad-float.f2 { right: 3%; top: 24%; } .cad-float.f3 { left: 3%; top: 62%; } .cad-float.f4 { right: 3%; top: 78%; }
.cad-layers { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; opacity: 0; transition: .5s; }
.cad-layers.on { opacity: 1; }
.cad-layers span { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #334155; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.92); border: 1px solid #bfdbfe; font-weight: 700; }
.cad-layers b { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.ys2-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.ys2-steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); transition: .35s; font-weight: 600; }
.ys2-steps li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cbd5e1; flex-shrink: 0; position: relative; transition: .3s; }
.ys2-steps li.doing { color: var(--ink); border-color: #93c5fd; background: #f0f7ff; }
.ys2-steps li.doing i { border-color: var(--blue); border-top-color: transparent; animation: spin .8s linear infinite; }
.ys2-steps li.done { color: var(--ink); }
.ys2-steps li.done i { background: var(--green); border-color: var(--green); }
.ys2-steps li.done i::after { content: ''; position: absolute; left: 5px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg) } }
.ys2-vs { display: grid; gap: 8px; }
.vs-row, .tb-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.vs-l { color: var(--dim); font-weight: 800; }
.vs-bar, .tb-bar { height: 10px; border-radius: 6px; background: #e2e8f0; overflow: hidden; }
.vs-bar i, .tb-bar i { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.vs-bar.old i, .tb-bar.old i { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.vs-bar.new i, .tb-bar.new i { background: var(--grad); box-shadow: 0 0 12px rgba(11,107,203,.4); }
.ys2-sec.play .vs-bar i { width: var(--w); }
.vs-v { color: #334155; white-space: nowrap; font-weight: 700; }

/* 02 气泡图 —— 真实成品图揭示 */
.ys2-device.wide .dev-body { min-height: 400px; }
.bubble-stage.photo { display: grid; grid-template-columns: 1.35fr 240px; }
.bubble-photo { position: relative; background: #eef2f7; overflow: hidden; min-height: 380px; }
.bubble-photo img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 96%; max-height: 96%; width: auto; height: auto; display: block; box-shadow: 0 6px 20px rgba(15,40,80,.12); background: #fff; }
.bubble-photo .bp-base { z-index: 1; }
.bubble-photo .bp-done {
    z-index: 2; opacity: 1;
    clip-path: inset(0 0 100% 0);
    transition: none;
}
.bubble-photo.done .bp-done { clip-path: inset(0 0 0 0); transition: clip-path .15s linear; }
.bubble-photo.on .bp-done { /* 扫描过程中由 JS 控制 clip-path */ }
.bp-scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; background: linear-gradient(90deg, transparent, #0b6bcb 20%, #fff 50%, #0891b2 80%, transparent); box-shadow: 0 0 18px 4px rgba(11,107,203,.4); opacity: 0; pointer-events: none; }
.bp-badge { position: absolute; right: 12px; bottom: 12px; z-index: 4; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.96); border: 1px solid #86efac; color: #047857; font-size: 12px; font-weight: 800; box-shadow: 0 8px 20px rgba(15,40,80,.12); opacity: 0; transform: translateY(8px); transition: .4s; }
.bp-badge.on { opacity: 1; transform: none; }
.bp-badge i { margin-right: 4px; }
.bubble-side { background: #fff; color: var(--txt); display: flex; flex-direction: column; border-left: 1px solid var(--line2); }
.bs-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-weight: 800; font-size: 13px; border-bottom: 1px solid var(--line2); color: var(--ink); }
.bs-head b { font-weight: 700; color: var(--muted); font-size: 12px; }
.bubble-side ul { list-style: none; margin: 0; padding: 4px 0; flex: 1; overflow: hidden; max-height: 420px; }
.bubble-side li { display: flex; align-items: center; gap: 8px; padding: 5px 12px; font-size: 12px; opacity: 0; transform: translateX(12px); transition: .3s; }
.bubble-side li.on { opacity: 1; transform: none; }
.bubble-side li .n { width: 20px; height: 20px; border-radius: 50%; background: #0b6bcb; color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.bubble-side li.feature .n { background: #059669; } .bubble-side li.angle .n { background: #d97706; }
.bubble-side li.gdt .n { background: #7c3aed; } .bubble-side li.rough .n { background: #db2777; }
.bubble-side li .k { font-size: 10px; padding: 1px 6px; border-radius: 4px; background: #eff6ff; color: #1d4ed8; font-weight: 800; white-space: nowrap; }
.bubble-side li.feature .k { background: #ecfdf5; color: #047857; } .bubble-side li.angle .k { background: #fff7ed; color: #c2410c; }
.bubble-side li.gdt .k { background: #f5f3ff; color: #6d28d9; } .bubble-side li.rough .k { background: #fdf2f8; color: #be185d; }
.bubble-side li .t { flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bubble-side li .a { font-size: 11px; color: #94a3b8; }
.bs-btn { margin: 10px 12px 12px; padding: 10px; border-radius: 10px; border: none; background: var(--grad); color: #fff; font: inherit; font-weight: 800; font-size: 13px; cursor: default; box-shadow: 0 6px 16px rgba(11,107,203,.3); position: relative; overflow: hidden; }
.bs-btn.press { animation: press .5s; }
.bs-btn.press::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.35); animation: flash .5s; }
@keyframes press { 50% { transform: scale(.96) } }
@keyframes flash { from { opacity: 1 } to { opacity: 0 } }
.ys2-metric-row { display: flex; gap: 10px; }
.ys2-metric-row .mt { flex: 1; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ys2-metric-row b { display: block; font-size: 28px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.ys2-metric-row b small { font-size: 13px; }
.ys2-metric-row span { font-size: 12px; color: var(--muted); font-weight: 600; }

/* Excel 导出成品图 */
.excel-shot { display: none; position: relative; background: #e8eef5; padding: 10px 12px 8px; }
.excel-shot.on { display: block; animation: excelIn .55s ease; }
.excel-shot img { width: 100%; display: block; border-radius: 6px; box-shadow: 0 10px 30px rgba(15,40,80,.14); background: #fff; }
.excel-ribbon { margin-top: 8px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #ecfdf5; border: 1px solid #86efac; color: #047857; font-size: 13px; font-weight: 800; }
.excel-ribbon i { color: #059669; font-size: 16px; }
@keyframes excelIn { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
.plan-body.exported #planTable { display: none; }
.plan-body.exported .excel-shot { display: block; }

/* 03 检验计划 */
.ys2-device.full { width: 100%; }
#s-plan { padding-top: 76px; padding-bottom: 28px; }
#s-plan .ys2-step { margin: 0 auto 10px; } #s-plan .ys2-h2 { margin-bottom: 8px; } #s-plan .ys2-p { margin-bottom: 0; }
.plan-body { background: #fff; color: var(--txt); }
.plan-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.plan-tbl th { text-align: left; padding: 8px 12px; background: #f8fafc; color: #475569; font-weight: 800; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.plan-tbl td { padding: 6px 12px; border-bottom: 1px solid #f1f5f9; white-space: nowrap; }
.plan-tbl tr.more td { color: #64748b; font-size: 12px; background: #f8fafc; white-space: normal; padding: 8px 12px; font-weight: 600; }
.plan-tbl tbody tr { opacity: 0; transform: translateY(8px); transition: .3s; }
.plan-tbl tbody tr.on { opacity: 1; transform: none; }
.plan-tbl tbody tr.on td { animation: rowGlow 1.1s; }
@keyframes rowGlow { 0% { background: #e0f2fe } 100% { background: transparent } }
.plan-tbl .bub { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #0b6bcb; color: #fff; font-size: 10px; font-weight: 800; }
.plan-tbl .bub.feature { background: #059669 } .plan-tbl .bub.angle { background: #d97706 } .plan-tbl .bub.gdt { background: #7c3aed } .plan-tbl .bub.rough { background: #db2777 }
.plan-tbl .dim { font-weight: 800; font-family: Consolas, "SFMono-Regular", monospace; }
.plan-tbl .ty { font-size: 11px; padding: 2px 7px; border-radius: 4px; background: #eff6ff; color: #1d4ed8; font-weight: 800; }
.plan-tbl .ty.angle { background: #fff7ed; color: #c2410c } .plan-tbl .ty.feature { background: #ecfdf5; color: #047857 }
.plan-tbl .ty.gdt { background: #f5f3ff; color: #6d28d9 } .plan-tbl .ty.rough { background: #fdf2f8; color: #be185d }
.plan-tbl .g { font-weight: 700; color: var(--ink); }
.plan-tbl .g i { color: #059669; margin-right: 4px; font-size: 11px; }
.plan-tbl .lim { color: #475569; font-family: Consolas, monospace; }
.plan-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-size: 12.5px; color: #64748b; background: #f8fafc; border-top: 1px solid var(--line2); font-weight: 600; }
.plan-foot .ys2-btn.primary { box-shadow: 0 6px 16px rgba(11,107,203,.3); }
.plan-foot .ys2-btn.press { animation: press .5s; }
.plan-toast { position: absolute; left: 50%; bottom: 64px; transform: translate(-50%, 12px); padding: 12px 18px; border-radius: 12px; background: #0f172a; color: #fff; font-size: 13px; font-weight: 700; opacity: 0; transition: .4s; box-shadow: 0 16px 36px rgba(0,0,0,.25); white-space: nowrap; }
.plan-toast i { color: #4ade80; margin-right: 6px; }
.plan-toast.on { opacity: 1; transform: translate(-50%, 0); }
.ys2-timebox { position: relative; padding: 14px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; box-shadow: var(--shadow-sm); }
.tb-row { grid-template-columns: minmax(180px, 320px) 1fr 70px; }
.tb-l { color: var(--muted); font-size: 13px; font-weight: 600; }
.tb-row b { font-size: 18px; font-weight: 900; text-align: right; color: #64748b; }
.tb-row:last-of-type b { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tb-bar { height: 14px; }
.tb-x { position: absolute; right: 22px; top: -16px; padding: 6px 14px; border-radius: 999px; background: var(--grad-warm); font-weight: 900; font-size: 15px; color: #fff; box-shadow: 0 10px 22px rgba(239,68,68,.35); opacity: 0; transform: scale(.6) rotate(-8deg); transition: .5s cubic-bezier(.3,1.6,.5,1); }
.tb-x.on { opacity: 1; transform: rotate(-8deg); }

/* 04 版本 */
.ver-body { display: grid; grid-template-columns: 240px 1fr; background: #f4f7fb; color: var(--txt); min-height: 440px; }
.ver-timeline { padding: 14px; position: relative; border-right: 1px solid var(--line2); background: #fff; }
.ver-timeline::before { content: ''; position: absolute; left: 28px; top: 18px; bottom: 18px; width: 2px; background: #e2e8f0; }
.vt-item { position: relative; display: flex; gap: 12px; margin-bottom: 12px; opacity: 0; transform: translateY(10px); transition: .35s; }
.vt-item.on { opacity: 1; transform: none; }
.vt-dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid #94a3b8; color: #475569; display: grid; place-items: center; font-weight: 900; font-size: 11px; flex-shrink: 0; z-index: 1; }
.vt-item.cur .vt-dot { background: #0b6bcb; border-color: #0b6bcb; color: #fff; box-shadow: 0 0 0 5px rgba(11,107,203,.15); }
.vt-card { flex: 1; padding: 9px 11px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--line2); font-size: 12px; }
.vt-item.cur .vt-card { border-color: #93c5fd; background: #eff6ff; }
.vt-card b { display: block; font-size: 13px; color: var(--ink); }
.vt-card small { display: block; color: #64748b; margin: 2px 0 6px; }
.vt-kinds { display: flex; flex-wrap: wrap; gap: 4px; }
.vt-kinds span { font-size: 10px; padding: 1px 6px; border-radius: 4px; background: #f1f5f9; color: #475569; font-weight: 700; }
.vt-kinds .k-cad { background: #ecfeff; color: #0e7490 } .vt-kinds .k-pdf { background: #fef2f2; color: #b91c1c }
.vt-kinds .k-img { background: #f0fdf4; color: #15803d } .vt-kinds .k-ok { background: #dcfce7; color: #166534 }
.vt-item.hl .vt-card { box-shadow: 0 0 0 2px #f59e0b; }
.ver-compare { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.vc-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: var(--ink); }
.vc-head b { padding: 2px 10px; border-radius: 999px; background: #0f172a; color: #fff; font-size: 12px; }
.vc-head em { margin-left: auto; font-style: normal; font-size: 12px; color: #d97706; font-weight: 700; }
.vc-head em.done { color: #059669; }
.vc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vc-img { position: relative; background: #fff; border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; }
.vc-img img { width: 100%; display: block; }
.vc-img label { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(15,23,42,.8); color: #fff; font-size: 11px; font-weight: 800; }
.vc-img svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vc-img svg rect { fill: rgba(244,63,94,.1); stroke: #e11d48; stroke-width: 2.2; stroke-dasharray: 6 4; opacity: 0; }
.vc-img svg rect.on { opacity: 1; animation: blink 1.2s 2; }
.vc-img svg rect.add { fill: rgba(5,150,105,.1); stroke: #059669; }
.vc-img svg text { font-size: 18px; font-weight: 900; fill: #fff; opacity: 0; }
.vc-img svg text.on { opacity: 1; }
.vc-img svg .lbl { fill: #e11d48; opacity: 0; } .vc-img svg .lbl.add { fill: #059669; } .vc-img svg .lbl.on { opacity: 1; }
@keyframes blink { 0%, 100% { stroke-opacity: 1 } 50% { stroke-opacity: .25 } }
.vc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vc-list li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line2); font-size: 12px; opacity: 0; transform: translateX(10px); transition: .3s; font-weight: 600; }
.vc-list li.on { opacity: 1; transform: none; }
.vc-list .op { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 4px; }
.vc-list .op.mod { background: #fff1f2; color: #be123c } .vc-list .op.add { background: #ecfdf5; color: #047857 } .vc-list .op.sync { background: #eff6ff; color: #1d4ed8 }
.vc-list .from { color: #94a3b8; text-decoration: line-through; }
.vc-list .to { font-weight: 800; color: var(--ink); }
.vc-list .where { margin-left: auto; color: #94a3b8; font-size: 11px; }

/* 05 合规 */
.audit-body { display: grid; grid-template-columns: 220px 1fr; background: #f4f7fb; color: var(--txt); min-height: 440px; max-height: 540px; }
.audit-score { padding: 18px 14px; background: #fff; border-right: 1px solid var(--line2); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.audit-score svg { width: 140px; height: 140px; transform: rotate(-90deg); }
.audit-score .ring-bg { fill: none; stroke: #e2e8f0; stroke-width: 10; }
.audit-score .ring { fill: none; stroke: #f59e0b; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.8,.2,1), stroke .6s; }
.score-txt { margin-top: -100px; height: 90px; display: flex; flex-direction: column; justify-content: center; }
.score-txt b { font-size: 38px; font-weight: 900; line-height: 1; color: var(--ink); }
.score-txt span { font-size: 11px; color: #64748b; font-weight: 700; }
.score-sum { display: flex; gap: 5px; margin-top: 6px; }
.score-sum span { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.score-sum .ok { background: #dcfce7; color: #166534 } .score-sum .warn { background: #fef3c7; color: #b45309 } .score-sum .bad { background: #fee2e2; color: #b91c1c }
.score-meta { font-size: 11px; color: #94a3b8; line-height: 1.5; font-weight: 600; }
.audit-list { list-style: none; margin: 0; padding: 10px; display: grid; gap: 6px; align-content: start; max-height: 540px; overflow-y: auto; scrollbar-width: thin; }
.audit-list li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line2); font-size: 12px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: .3s; }
.audit-list li.on { opacity: 1; transform: none; }
.audit-list .st { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; }
.audit-list li.pass .st { background: #059669 } .audit-list li.warn .st { background: #d97706 } .audit-list li.fail .st { background: #e11d48 }
.audit-list li.fail { border-color: #fecaca; background: #fff7f7 } .audit-list li.warn { border-color: #fde68a; background: #fffcf2 }
.audit-list .rule { font-size: 10px; color: #94a3b8; font-weight: 800; margin-right: 6px; }
.audit-list .tt { font-weight: 800; color: var(--ink); }
.audit-list .note { color: #475569; margin-top: 2px; }
.audit-list .fix { margin-top: 4px; font-size: 11.5px; color: #0369a1; background: #f0f9ff; border-radius: 6px; padding: 4px 8px; font-weight: 600; }
.audit-list .fix i { margin-right: 4px; color: #0ea5e9; }

/* 06 收官 */
.ys2-end { text-align: center; }
.ys2-end-hero { margin-bottom: 30px; }
.ys2-bignums { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.ys2-bignums div { min-width: 190px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ys2-bignums b { display: block; font-size: 40px; font-weight: 900; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.ys2-bignums span { font-size: 13px; color: var(--muted); font-weight: 700; }
.ys2-contact { max-width: 760px; margin: 0 auto; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid #bfdbfe; text-align: left; box-shadow: var(--shadow); }
.ct-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ct-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; font-size: 20px; color: #fff; }
.ct-head h3 { margin: 0; font-size: 20px; color: var(--ink); } .ct-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.ct-grid { display: grid; gap: 8px; }
.ct-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line2); text-decoration: none; }
.ct-item small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; } .ct-item b { font-size: 14px; color: var(--ink); } .ct-item b a { text-decoration: none; color: var(--blue); }
.ct-item > div { flex: 1; min-width: 0; }
.ci { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.ci.blue { background: #dbeafe; color: #1d4ed8 } .ci.green { background: #d1fae5; color: #047857 } .ci.teal { background: #ccfbf1; color: #0f766e }
.tail { color: var(--dim); font-size: 12px; }
.ct-copy { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: #475569; cursor: pointer; }
.ct-item img { width: 84px; height: 84px; border-radius: 10px; border: 2px solid #fff; background: #fff; box-shadow: var(--shadow-sm); }
.ys2-foot { text-align: center; color: var(--dim); font-size: 12px; margin-top: 28px; font-weight: 600; }

/* 侧边 / 字幕 / 播放器 */
.ys2-dots { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.ys2-dots a { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; transition: .25s; display: block; }
.ys2-dots a.on { background: var(--blue); box-shadow: 0 0 0 4px rgba(11,107,203,.2); transform: scale(1.25); }
.ys2-caption { position: fixed; left: 50%; bottom: 86px; transform: translate(-50%, 10px); z-index: 60; max-width: min(900px, 92vw); padding: 12px 20px; border-radius: 14px; background: rgba(15,27,45,.92); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); font-size: 15px; line-height: 1.55; text-align: center; color: #fff; opacity: 0; visibility: hidden; transition: .35s; box-shadow: 0 16px 40px rgba(0,0,0,.25); font-weight: 600; }
.ys2-caption.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ys2-player { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); z-index: 61; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; background: rgba(255,255,255,.95); border: 1px solid var(--line); backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(15,40,80,.18); opacity: 0; visibility: hidden; transition: .35s; }
.ys2-player.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ys2-player button { width: 36px; height: 36px; border-radius: 50%; border: none; background: transparent; color: #475569; font-size: 14px; cursor: pointer; }
.ys2-player button:hover { background: #eef2f7; color: var(--ink); }
.ys2-player button.main { width: 42px; height: 42px; background: var(--grad); color: #fff; }
.pl-progress { width: 140px; height: 4px; border-radius: 4px; background: #e2e8f0; margin: 0 6px; overflow: hidden; }
.pl-progress i { display: block; height: 100%; width: 0; background: var(--grad); }
.ys2-toast { position: fixed; top: 72px; left: 50%; transform: translateX(-50%); z-index: 70; padding: 9px 16px; border-radius: 10px; background: #0f172a; color: #fff; border: 1px solid rgba(255,255,255,.08); font-size: 13px; font-weight: 700; opacity: 0; visibility: hidden; transition: .3s; }
.ys2-toast.on { opacity: 1; visibility: visible; }

/* 进场 */
.ys2-copy, .ys2-visual, .ys2-hero-inner > *, .ys2-end .ys2-wrap > * { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.ys2-sec.play .ys2-copy, .ys2-sec.play .ys2-visual, .ys2-sec.play .ys2-hero-inner > *, .ys2-end.play .ys2-wrap > * { opacity: 1; transform: none; }
.ys2-sec.play .ys2-visual { transition-delay: .12s; }
.ys2-sec.play .ys2-hero-inner > *:nth-child(2) { transition-delay: .08s } .ys2-sec.play .ys2-hero-inner > *:nth-child(3) { transition-delay: .16s }
.ys2-sec.play .ys2-hero-inner > *:nth-child(4) { transition-delay: .24s } .ys2-sec.play .ys2-hero-inner > *:nth-child(5) { transition-delay: .32s }
.ys2-sec.play .ys2-hero-inner > *:nth-child(6) { transition-delay: .4s } .ys2-sec.play .ys2-hero-inner > *:nth-child(7) { transition-delay: .48s }

/* 竖屏 */
body.phone { background: #dbe7f3; }
body.phone .ys2-root { max-width: 430px; margin: 0 auto; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 0 60px rgba(15,40,80,.12); }
body.phone .ys2-top { max-width: 430px; left: 50%; right: auto; transform: translateX(-50%); width: 100%; }
body.phone .ys2-nav, body.phone .ys2-dots { display: none; }
body.phone .ys2-caption { max-width: 400px; font-size: 13.5px; bottom: 78px; }

@container (max-width: 860px) {
    .ys2-sec { padding: 78px 0 48px; align-items: flex-start; }
    .ys2-two { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
    .ys2-copy { display: contents; }
    .ys2-copy > .ys2-step, .ys2-copy > .ys2-h2 { order: 0; }
    .ys2-copy > .ys2-step { margin: 0 auto 4px; } .ys2-copy > .ys2-h2 { margin-bottom: 4px; text-align: center; }
    .ys2-visual { order: 1; }
    .ys2-copy > * { order: 2; opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
    .ys2-sec.play .ys2-copy > * { opacity: 1; transform: none; }
    .ys2-copy > .ys2-p { margin-bottom: 0; } .ys2-tags { margin-bottom: 0; } .ys2-steps { margin-bottom: 0; }
    .ys2-device, .ys2-two.rev .ys2-device { transform: none; }
    .ys2-hero-part { right: -40%; width: 70vw; opacity: .12; }
    .ys2-h1 { font-size: clamp(36px, 11cqw, 56px); }
    .ys2-h2 { font-size: clamp(24px, 7cqw, 32px); }
    .ys2-lead { font-size: 15px; } .ys2-p { font-size: 14px; }
    .ys2-flow { padding: 10px; gap: 4px 2px; } .fnode { min-width: 58px; padding: 6px 2px; } .fnode i { font-size: 16px; } .fnode small { font-size: 10px; } .farrow { width: 10px; }
    .ys2-kpis { gap: 8px; } .kpi { min-width: 0; flex: 1; padding: 12px 8px; } .kpi .kv { font-size: 24px; } .kpi .kl { font-size: 11px; }
    .ys2-cta .ys2-btn { flex: 1; justify-content: center; }
    .ys2-btn.lg { padding: 12px 14px; font-size: 14px; }
    .ys2-tags { grid-template-columns: 1fr; gap: 6px; } .ys2-tags span { font-size: 12px; padding: 8px 10px; }
    .ys2-steps li { font-size: 12px; padding: 7px 10px; }
    .cad-stage { aspect-ratio: 1024 / 640; } .cad-stage img { width: 96%; }
    .cad-float { font-size: 11px; padding: 5px 8px; }
    .bubble-stage, .bubble-stage.photo { grid-template-columns: 1fr; }
    .bubble-photo { min-height: 260px; }
    .bubble-photo img { max-height: 250px; }
    .bubble-side ul { max-height: 180px; display: grid; grid-template-columns: 1fr 1fr; }
    .bubble-side li { padding: 4px 8px; font-size: 11px; } .bubble-side li .a { display: none; }
    .ys2-metric-row b { font-size: 22px; }
    .plan-body { overflow-x: auto; }
    .plan-tbl th:nth-child(1), .plan-tbl td:nth-child(1), .plan-tbl th:nth-child(5), .plan-tbl td:nth-child(5),
    .plan-tbl th:nth-child(7), .plan-tbl td:nth-child(7), .plan-tbl th:nth-child(8), .plan-tbl td:nth-child(8),
    .plan-tbl th:nth-child(10), .plan-tbl td:nth-child(10), .plan-tbl th:nth-child(11), .plan-tbl td:nth-child(11) { display: none; }
    .plan-tbl tr.more td { display: table-cell; }
    .plan-foot { flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
    .plan-toast { white-space: normal; width: 90%; text-align: center; bottom: 90px; }
    .tb-row { grid-template-columns: 1fr; gap: 4px; } .tb-row b { text-align: left; } .tb-x { top: -14px; right: 12px; font-size: 13px; }
    .ver-body { grid-template-columns: 1fr; } .ver-timeline { border-right: none; border-bottom: 1px solid var(--line2); }
    .audit-body { grid-template-columns: 1fr; max-height: none; } .audit-score { border-right: none; border-bottom: 1px solid var(--line2); }
    .audit-list { max-height: 280px; }
    .ys2-bignums div { min-width: 0; flex: 1; padding: 12px 8px; } .ys2-bignums b { font-size: 26px; } .ys2-bignums span { font-size: 11px; }
    .ct-item.wechat { flex-wrap: wrap; } .ct-item img { margin: 0 auto; width: 120px; height: 120px; }
    .ys2-boom { border-radius: 16px; justify-content: center; }
}
@media (max-width: 760px) {
    .ys2-nav { display: none; }
    .ys2-top { padding: 0 12px; height: 52px; }
    .ys2-chip-btn span { display: none; } .ys2-chip-btn { padding: 0 11px; }
    .ys2-dots { right: 8px; }
    .pl-progress { width: 70px; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
