/* Install section: the download-and-run walkthrough, Smart App Control note, AI connection motion. */

.inst-part { margin-top: 44px; }
.inst-head { display: flex; align-items: center; gap: 12px; }
.inst-head h3 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Walkthrough player ---------- */
.wt { margin-top: 18px; padding: clamp(14px, 2.6vw, 28px); display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(14px, 2.4vw, 28px); align-items: start; border-radius: clamp(24px, 3vw, 36px); }
.wt-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wt-step {
  width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 0; border-radius: 16px;
  background: transparent; text-align: left; cursor: pointer; color: var(--ink-2); transition: background-color 0.3s ease, color 0.3s ease;
}
.wt-step:hover { background: rgba(255, 255, 255, 0.55); }
.wt-step[aria-current="step"] { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(40, 60, 140, 0.08); }
.wt-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--ink-3); background: rgba(40, 44, 80, 0.07); transition: background 0.3s ease, color 0.3s ease; }
.wt-step[aria-current="step"] .wt-n { color: #fff; background: linear-gradient(135deg, #45c8ff, #4c74ff); }
.wt-step.done .wt-n { color: var(--accent); background: var(--accent-soft); }
.wt-l { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 15px; line-height: 1.45; }
.wt-l small { font-size: 12.5px; color: var(--ink-3); }
.wt-l b { font-weight: 700; color: var(--ink); }

.wt-view { min-width: 0; }
.wt-stage { position: relative; aspect-ratio: 720 / 430; border-radius: 18px; overflow: hidden; background: #cfdcf6; box-shadow: inset 0 0 0 1px rgba(40, 44, 80, 0.08); }
.wt-screen {
  position: absolute; left: 0; top: 0; width: 720px; height: 430px; transform-origin: 0 0;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s, 1));
  font-family: 'Segoe UI Variable Text', 'Segoe UI', 'Malgun Gothic', var(--font); color: #1b1b1b; font-size: 13px; line-height: 1.45;
  word-break: keep-all; text-wrap: pretty;
  background:
    radial-gradient(ellipse 62% 70% at 64% 108%, #1d4fc4, rgba(70, 120, 225, 0.75) 45%, transparent 78%),
    radial-gradient(ellipse 45% 55% at 82% 8%, rgba(190, 210, 250, 0.7), transparent 70%),
    linear-gradient(160deg, #5f8fe3, #8fb0ee 55%, #6d95e4);
}
.wt-screen.cam { transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.wt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 14px; min-height: 44px; }
.wt-cap { margin: 0; font-size: 16.5px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.wt-ctrl { flex: none; display: flex; align-items: center; gap: 6px; }
.wt-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--glass-edge); background: rgba(255, 255, 255, 0.7); color: var(--ink-2); cursor: pointer; }
.wt-btn:hover { background: #fff; color: var(--ink); }
.wt-btn .i-play { display: none; }
.wt-btn.paused .i-pause { display: none; }
.wt-btn.paused .i-play { display: inline; }
.wt-count { min-width: 52px; text-align: center; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--ink-3); }

/* Desktop pieces (design size 720 x 430) */
.w-task { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; display: flex; align-items: center; justify-content: center; gap: 9px; background: rgba(243, 246, 252, 0.88); border-top: 1px solid rgba(0, 0, 0, 0.06); }
.w-task i { width: 20px; height: 20px; border-radius: 5px; background: rgba(40, 44, 80, 0.14); }
.w-task i.start { border-radius: 2px; background: linear-gradient(#1f8cf0 0 0) 0 0 / 9px 9px no-repeat, linear-gradient(#1f8cf0 0 0) 11px 0 / 9px 9px no-repeat, linear-gradient(#1f8cf0 0 0) 0 11px / 9px 9px no-repeat, linear-gradient(#1f8cf0 0 0) 11px 11px / 9px 9px no-repeat; }
.w-task i.web { border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7fd6ff, #1f7de6 70%); }
.w-task i.folder { background: linear-gradient(#ffd66e, #f2b632); }
.w-task i.app { display: none; background: none; }
.w-task i.app svg { width: 20px; height: 20px; }
.wt-screen.has-app .w-task i.app { display: block; }

/* Browser window */
.ew { position: absolute; left: 20px; top: 14px; width: 680px; height: 370px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid rgba(0, 0, 0, 0.14); box-shadow: 0 14px 34px rgba(20, 40, 90, 0.22); }
.ew-tabs { height: 34px; display: flex; align-items: flex-end; padding-left: 10px; background: #e8ebf0; }
.ew-tab { width: 210px; height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 8px 8px 0 0; background: #fff; font-size: 12px; }
.ew-tab svg { width: 14px; height: 14px; flex: none; }
.ew-tab span { flex: 1; }
.ew-tab b { font-weight: 400; color: #666; font-size: 11px; }
.w-ctl { margin-left: auto; align-self: stretch; display: flex; }
.w-ctl i { width: 40px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; color: #333; }
.ew-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-bottom: 1px solid #e3e3e3; }
.ew-ico { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: #444; }
.ew-ico svg { width: 16px; height: 16px; }
.ew-url { flex: 1; height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 14px; background: #f1f3f6; font-size: 12.5px; color: #333; }
.ew-url svg { width: 12px; height: 12px; }
.ew-page { position: absolute; left: 0; right: 0; top: 74px; bottom: 0; padding: 40px 44px; background: linear-gradient(135deg, #dfe7fb, #ece6fb 55%, #f7e7f1); font-family: var(--font); }
.ew-page h4 { margin: 0; font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -0.03em; color: #1d1d1f; }
.ew-page .pg-btn { display: inline-block; margin-top: 22px; padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #2a80ec, #005bd0); }
.ew-page .pg-sk { display: block; width: 260px; height: 9px; margin-top: 14px; border-radius: 5px; background: rgba(40, 44, 80, 0.12); }

/* Download flyout, its menu and the keep dialog */
.dl { position: absolute; right: 30px; top: 90px; width: 346px; padding: 12px 0 10px; border-radius: 8px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.12); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); }
.dl-head { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 8px; font-size: 14px; font-weight: 600; }
.dl-head span { display: flex; gap: 6px; }
.dl-head i { width: 16px; height: 16px; border-radius: 4px; background: rgba(0, 0, 0, 0.1); }
.dl-item { display: flex; gap: 10px; padding: 10px 10px 10px 12px; margin: 0 6px; border-radius: 6px; background: #f5f6f8; }
.dl-ic { flex: none; width: 26px; height: 30px; margin-top: 2px; }
.dl-txt { flex: 1; font-size: 12px; line-height: 1.5; color: #222; overflow-wrap: anywhere; }
.dl-txt .fname { font-weight: 600; }
.dl-acts { flex: none; display: flex; gap: 2px; align-self: flex-start; }
.dl-acts .ew-ico { width: 28px; height: 28px; }
.dl-open { display: inline-block; margin-top: 3px; padding: 1px 3px; color: #0b5cd5; text-decoration: underline; }
.menu { position: absolute; right: 26px; top: 168px; width: 250px; padding: 5px; border-radius: 8px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.12); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2); }
.menu-i { display: flex; align-items: center; gap: 10px; height: 31px; padding: 0 10px 0 36px; border-radius: 4px; font-size: 13px; white-space: nowrap; }
.menu-i svg { width: 15px; height: 15px; margin-left: -26px; flex: none; }
.menu-sep { display: block; height: 1px; margin: 4px 0; background: #e6e6e6; }
.sk { display: block; height: 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.1); }
.sk-ic { flex: none; width: 14px; height: 14px; border-radius: 3px; background: rgba(0, 0, 0, 0.1); }
.dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.22); }
/* Edge opens the keep dialog over its download flyout. */
.ed { position: absolute; right: 26px; top: 58px; z-index: 2; width: 356px; padding: 16px 18px 14px; box-sizing: border-box; border-radius: 8px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3); }
.ed-x { position: absolute; right: 14px; top: 12px; font-size: 12px; color: #444; }
.ed h5 { margin: 0 18px 7px 0; font-size: 15px; font-weight: 600; line-height: 1.38; overflow-wrap: anywhere; }
.ed p { margin: 0 0 8px; font-size: 11.5px; line-height: 1.5; color: #333; overflow-wrap: anywhere; }
.ed p.ed-meta { margin-bottom: 6px; }
.ed-link { display: block; width: fit-content; padding: 2px 0; font-size: 12px; font-weight: 600; color: #0b5cd5; }
.ed-btns { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.ed-btns .wbtn { min-width: 0; height: 30px; padding: 0 12px; }
.ed-split { display: inline-flex; height: 30px; border-radius: 4px; background: #1b1b1b; color: #fff; font-size: 12.5px; }
.ed-del { display: inline-flex; align-items: center; padding: 0 12px; border-right: 1px solid rgba(255, 255, 255, 0.35); }
.ed-arr { display: inline-flex; align-items: center; justify-content: center; width: 28px; border-radius: 0 4px 4px 0; }
.ed-drop { position: absolute; right: 12px; top: calc(100% - 8px); z-index: 3; padding: 4px; border-radius: 6px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.12); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22); }
.ed-drop .menu-i { padding: 0 14px; font-weight: 600; }
.wbtn { display: inline-flex; align-items: center; justify-content: center; min-width: 84px; height: 30px; padding: 0 14px; border-radius: 4px; font-size: 12.5px; background: #fdfdfd; border: 1px solid #c9c9c9; color: #1b1b1b; white-space: nowrap; }
.wbtn.pri { background: #0b5cd5; border-color: #0b5cd5; color: #fff; }
.wbtn.def { border: 2px solid #0b5cd5; }
.wbtn.off { color: #a0a0a0; border-color: #dadada; }

/* SmartScreen */
.ss { position: absolute; left: 150px; top: 40px; width: 420px; height: 322px; padding: 24px 30px; background: #0b5fb5; color: #fff; box-shadow: 0 20px 44px rgba(0, 20, 60, 0.4); display: flex; flex-direction: column; }
.ss-x { position: absolute; right: 14px; top: 8px; font-size: 13px; opacity: 0.9; }
.ss h5 { margin: 6px 0 14px; font-size: 25px; font-weight: 300; letter-spacing: -0.01em; }
.ss p { margin: 0; font-size: 13px; line-height: 1.6; }
.ss-link { align-self: flex-start; margin-top: 14px; padding: 1px 3px; text-decoration: underline; font-size: 13px; }
.ss-meta { margin-top: 16px; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.ss-btns { margin-top: auto; display: flex; justify-content: flex-end; gap: 8px; }
.ss .wbtn { background: transparent; border: 2px solid rgba(255, 255, 255, 0.85); color: #fff; min-width: 96px; height: 32px; }

/* Installer (classic wizard) */
.ni { position: absolute; left: 125px; top: 30px; width: 470px; height: 344px; display: flex; flex-direction: column; background: #f0f0f0; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 8px; overflow: hidden; box-shadow: 0 20px 44px rgba(0, 20, 60, 0.32); }
.ni-title { height: 32px; flex: none; display: flex; align-items: center; gap: 8px; padding-left: 10px; background: #fff; font-size: 12px; }
.ni-title svg { width: 14px; height: 14px; }
.ni-body { flex: 1; display: flex; min-height: 0; background: #fff; }
.ni-side { width: 150px; flex: none; background: linear-gradient(170deg, #dfe8f8, #c4d4f0); }
.ni-main { flex: 1; padding: 22px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.ni-main .sk { background: rgba(0, 0, 0, 0.09); }
.ni-main .sk.skt { height: 14px; width: 80%; background: rgba(0, 0, 0, 0.16); }
.ni-main .gap { height: 8px; }
.ni-pg { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ni-head { flex: none; height: 58px; padding: 12px 18px; display: flex; flex-direction: column; justify-content: center; gap: 8px; background: #fff; border-bottom: 1px solid #ddd; }
.ni-head .sk.skt { width: 46%; height: 11px; background: rgba(0, 0, 0, 0.18); }
.ni-head .sk { width: 70%; }
.ni-in { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ni-group { margin-top: 10px; padding: 16px 12px 12px; border: 1px solid #d6d6d6; border-radius: 3px; position: relative; }
.ni-group > .sk { position: absolute; left: 10px; top: -5px; width: 56px; height: 9px; background: #d8d8d8; box-shadow: 0 0 0 4px #f0f0f0; }
.ni-path { display: flex; gap: 8px; }
.ni-field { flex: 1; min-width: 0; height: 26px; display: flex; align-items: center; padding: 0 8px; background: #fff; border: 1px solid #b9b9b9; font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.ni-path .wbtn { min-width: 74px; height: 26px; }
.ni-path .wbtn .sk { width: 40px; }
.ni-check { display: flex; align-items: center; gap: 8px; }
.ni-check i { width: 14px; height: 14px; border-radius: 3px; background: #0b5cd5; position: relative; flex: none; }
.ni-check i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ni-check .sk { width: 130px; }
.ni-prog { height: 16px; border: 1px solid #bcbcbc; background: #e6e6e6; overflow: hidden; }
.ni-prog i { display: block; height: 100%; width: 100%; background: #06b025; transform-origin: 0 50%; transform: scaleX(0.04); }
.wf.on .ni-prog i { animation: ni-fill 2.2s cubic-bezier(0.3, 0.1, 0.4, 1) 0.2s forwards; }
@keyframes ni-fill { to { transform: scaleX(1); } }
.ni-foot { flex: none; height: 50px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 14px; border-top: 1px solid #dcdcdc; background: #f0f0f0; }
.ni-foot .wbtn { min-width: 76px; height: 26px; }
.ni-foot .sp { width: 6px; }

/* The installed app and its desktop shortcut */
.dsk { position: absolute; left: 24px; top: 22px; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; border-radius: 6px; font-size: 11.5px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }
.dsk svg { width: 36px; height: 36px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); }
.aw0 { position: absolute; left: 150px; top: 44px; width: 440px; height: 310px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 22px 50px rgba(20, 40, 110, 0.3); font-family: var(--font); }
.aw0-t { height: 32px; display: flex; align-items: center; gap: 8px; padding-left: 12px; font-size: 12px; font-weight: 700; background: linear-gradient(90deg, rgba(225, 235, 255, 0.9), rgba(250, 230, 245, 0.9)); }
.aw0-t svg { width: 14px; height: 14px; }
.aw0-b { padding: 30px; }
.aw0-b h6 { margin: 0 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.aw0-b p { margin: 0; font-size: 12px; color: #5a5e68; }
.aw0-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.aw0-g span { height: 54px; border-radius: 12px; background: #fff; border: 1px solid rgba(40, 44, 80, 0.1); }

/* Frames, target ring, pointer */
.wf { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
.wf.on { opacity: 1; visibility: visible; transition: opacity 0.35s ease, visibility 0s; }
.wf.on .pop { animation: wt-pop 0.38s cubic-bezier(0.2, 0.8, 0.3, 1.1) both; }
@keyframes wt-pop { from { opacity: 0; transform: translateY(6px) scale(0.98); } }
.hit { position: relative; }
.wf.on .hit { box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px #4c74ff; border-radius: 6px; }
.wf.on .hit::after { content: ""; position: absolute; inset: -4px; border-radius: 9px; border: 2px solid #4c74ff; animation: wt-ring 1.6s ease-out infinite; pointer-events: none; }
@keyframes wt-ring { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(1.18, 1.45); } }
.press { filter: brightness(0.9); transform: scale(0.97); transition: transform 0.12s ease, filter 0.12s ease; }
.ptr { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 26px; transform: translate(var(--px, 560px), var(--py, 330px)); transition: transform 0.95s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s ease; pointer-events: none; }
.ptr svg { width: 22px; height: 26px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); transform-origin: 3px 3px; transition: transform 0.12s ease; }
.ptr.click svg { transform: scale(0.82); }
.ptr i { position: absolute; left: -11px; top: -11px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(76, 116, 255, 0.9); opacity: 0; }
.ptr.click i { animation: wt-ripple 0.55s ease-out; }
@keyframes wt-ripple { from { opacity: 1; transform: scale(0.3); } to { opacity: 0; transform: scale(1.4); } }
.ptr.away { opacity: 0; }

/* ---------- Smart App Control note ---------- */
.sac { margin-top: 16px; border-radius: 22px; background: rgba(255, 255, 255, 0.5); border: 1px solid var(--glass-edge); }
.sac summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; border-radius: 22px; }
.sac summary::-webkit-details-marker { display: none; }
.sac summary:hover .sac-sum b { color: var(--accent); }
.sac-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 186, 73, 0.22); position: relative; }
.sac-icon::before { content: ""; position: absolute; left: 10px; top: 8px; width: 14px; height: 17px; background: #c47d0e; clip-path: polygon(50% 0, 100% 18%, 100% 52%, 50% 100%, 0 52%, 0 18%); }
.sac-sum { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.sac-sum b { font-size: 16.5px; font-weight: 700; transition: color 0.2s ease; }
.sac-sum small { font-size: 14px; color: var(--ink-3); }
.sac-chev { flex: none; color: var(--ink-3); transition: transform 0.25s ease; }
.sac[open] .sac-chev { transform: rotate(180deg); }
.sac-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px 32px; padding: 4px 22px 24px 70px; }
.sac-copy p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.sac-steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: sac; display: flex; flex-direction: column; gap: 10px; }
.sac-steps li { counter-increment: sac; display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.sac-steps li::before { content: counter(sac); flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); }
.path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.path span { display: inline-flex; align-items: center; font-size: 14px; color: var(--ink); white-space: nowrap; }
.path span:not(:first-child)::before { content: "›"; margin: 0 8px; color: var(--ink-3); }
.path span { padding: 2px 0; }
.sac-again { margin-top: 16px !important; font-size: 14px !important; color: var(--ink-3) !important; }
.sac-side { display: flex; flex-direction: column; gap: 14px; }
.sac-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid rgba(40, 44, 80, 0.1); font-family: 'Segoe UI', 'Malgun Gothic', var(--font); }
.sac-card-t { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.sac-opt { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #333; padding: 3px 0; }
.sac-opt i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #767676; }
.sac-opt.on i { border: 5px solid #0b5cd5; }
.sac-note { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--warn-soft); color: var(--warn-ink); font-size: 14px; line-height: 1.65; }

/* ---------- AI connection motion (design size 560 x 340) ---------- */
.ai-part { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px 44px; align-items: center; margin-top: 64px; }
.ai-copy p { margin: 16px 0 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.ai-notes { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ai-notes li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.65; color: var(--ink-3); }
.ai-notes li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #8a5cff, #ff6fc8); }
.ai-stage { position: relative; aspect-ratio: 560 / 340; border-radius: 26px; overflow: hidden; background: rgba(255, 255, 255, 0.4); border: 1px solid var(--glass-edge); box-shadow: 0 24px 60px rgba(40, 60, 140, 0.12); }
.ai-screen { position: absolute; left: 0; top: 0; width: 560px; height: 340px; transform-origin: 0 0; transform: scale(var(--s, 1)); font-size: 13px; line-height: 1.45; color: var(--ink);
  background: radial-gradient(circle 160px at 6% 14%, rgba(96, 150, 255, 0.35), transparent 70%), radial-gradient(circle 150px at 96% 90%, rgba(255, 150, 200, 0.3), transparent 70%), radial-gradient(circle 140px at 90% 6%, rgba(130, 225, 200, 0.3), transparent 70%), #e9eef9; }
.aw { position: absolute; left: 18px; top: 16px; width: 524px; height: 308px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 16px 40px rgba(40, 60, 140, 0.16); }
.aw-t { height: 34px; display: flex; align-items: center; gap: 8px; padding-left: 14px; border-bottom: 1px solid rgba(40, 44, 80, 0.06); font-size: 12.5px; font-weight: 700; }
.aw-t svg { width: 15px; height: 15px; }
.aw-pill { margin-left: auto; margin-right: 4px; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #137a43; background: rgba(30, 160, 90, 0.13); opacity: 0; transform: translateY(-4px); transition: opacity 0.4s ease, transform 0.4s ease; }
.aw .w-ctl { margin-left: 0; }
.ai-screen.done .aw-pill { opacity: 1; transform: none; }
.aw-s { position: absolute; left: 0; right: 0; top: 35px; bottom: 0; padding: 24px 30px; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.ai-screen[data-s="pick"] .s-pick, .ai-screen[data-s="conn"] .s-conn { opacity: 1; visibility: visible; transition: opacity 0.4s ease, visibility 0s; }
.aw-s h6 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.aw-sub { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-3); }
.aw-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.aw-card { display: flex; flex-direction: column; gap: 1px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(40, 44, 80, 0.1); transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease; }
.aw-card b { font-size: 14px; font-weight: 700; }
.aw-card span { font-size: 12px; color: var(--ink-3); }
.aw-card.sel { border-color: #4c74ff; box-shadow: 0 0 0 3px rgba(76, 116, 255, 0.18); }
.aw-checks { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.aw-chk { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.aw-chk i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(40, 44, 80, 0.25); position: relative; transition: background 0.3s ease, border-color 0.3s ease; }
.aw-chk i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.aw-chk.ok { color: var(--ink); }
.aw-chk.ok i { border-color: transparent; background: linear-gradient(135deg, #45c8ff, #4c74ff); }
.aw-chk.ok i::after { transform: rotate(45deg) scale(1); }
.aw-status { height: 40px; margin-top: 12px; display: flex; flex-direction: column; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); opacity: 0; transition: opacity 0.3s ease; }
.aw-status.show { opacity: 1; }
.aw-bar { width: 220px; height: 4px; border-radius: 4px; background: rgba(40, 44, 80, 0.08); overflow: hidden; }
.aw-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #45c8ff, #4c74ff, #8a5cff); transform-origin: 0 50%; transform: scaleX(0); }
.aw-status.run .aw-bar i { transform: scaleX(1); transition: transform 1.2s cubic-bezier(0.3, 0.1, 0.3, 1); }
.aw-status.ok .aw-bar { display: none; }
.aw-status.ok { color: #137a43; font-weight: 700; }
.aw-btns { position: absolute; left: 30px; right: 30px; bottom: 20px; display: flex; gap: 8px; }
.aw-btn { height: 34px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 10px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #2a80ec, #005bd0); transition: transform 0.15s ease, background 0.3s ease, color 0.3s ease; }
.aw-btn.ok { color: #137a43; background: rgba(30, 160, 90, 0.12); }
.aw-btn.next { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity 0.4s ease, transform 0.4s ease; }
.ai-screen.done .aw-btn.next { opacity: 1; transform: none; }
.ab { position: absolute; left: 236px; top: 40px; width: 290px; height: 262px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid rgba(0, 0, 0, 0.14); box-shadow: 0 22px 50px rgba(20, 30, 80, 0.3); opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.5s; }
.ai-screen.browser .ab { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s; }
.ab-bar { height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: #f1f3f6; border-bottom: 1px solid #e3e3e3; }
.ab-bar .sk { flex: 1; height: 16px; border-radius: 8px; background: #fff; }
.ab-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(0, 0, 0, 0.12); }
.ab-in { padding: 24px 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ab-in .sk { background: rgba(0, 0, 0, 0.09); }
.ab-logo { width: 34px; height: 34px; border-radius: 10px; background: rgba(0, 0, 0, 0.1); }
.ab-field { width: 100%; height: 28px; border-radius: 6px; border: 1px solid #d9d9d9; }
.ab-btn { width: 100%; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #2b2b2b; color: #fff; font-size: 12.5px; font-weight: 700; transition: transform 0.15s ease; }
.ai-screen .ptr { --px: 440px; --py: 300px; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .wt { grid-template-columns: minmax(0, 1fr); }
  .wt-steps { flex-direction: row; }
  .wt-steps li { flex: 1; min-width: 0; }
  .wt-step { justify-content: center; padding: 10px 4px; }
  .wt-l { display: none; }
  .ai-part { grid-template-columns: minmax(0, 1fr); }
  .sac-body { grid-template-columns: minmax(0, 1fr); padding: 0 18px 20px; }
}
@media (max-width: 600px) {
  .wt-stage { aspect-ratio: 10 / 8.6; border-radius: 14px; }
  .wt-bar { flex-direction: column; align-items: stretch; }
  .wt-cap { font-size: 16px; min-height: 3em; }
  .wt-ctrl { justify-content: space-between; }
  .sac summary { padding: 16px; gap: 12px; }
  .inst-head h3 { font-size: 19px; }
  .ai-stage { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .wt-screen.cam, .ptr { transition: none; }
  .wf.on .hit::after, .wf.on .pop { animation: none; }
  .wf.on .ni-prog i { animation: none; transform: scaleX(1); }
}
