/* The "see it in action" walkthroughs behind the feature boxes.
   Everything shown in them is made-up sample data. */

.feature[data-walk] { cursor: pointer; position: relative; }
.feature[data-walk]:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.see-it {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-weight: 600; font-size: 14.5px; color: var(--blue);
}
.feature[data-walk]:hover .see-it span { transform: translateX(3px); }
.see-it span { transition: transform .15s; }

/* ------------------------------------------------------------ window */
.wk-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 15, 30, .72);
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.wk-overlay.open { display: flex; }
.wk-window {
  width: 100%; max-width: 1080px; max-height: 100%; overflow: auto;
  background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.4);
  display: flex; flex-direction: column;
}
.wk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px 10px; }
.wk-top h3 { font-size: 20px; }
.wk-sample { font-size: 12.5px; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.wk-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; }
.wk-stagewrap { position: relative; margin: 0 22px; border-radius: 14px; overflow: hidden; background: #eef2f8; border: 1px solid var(--line); }
.wk-stage { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; }
.wk-bottom { padding: 14px 22px 20px; }
.wk-caption { font-size: 17px; min-height: 52px; color: var(--ink); }
.wk-caption b { color: var(--navy); }
.wk-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.wk-dots { display: flex; gap: 6px; }
.wk-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.wk-dots button.on { background: var(--blue); width: 26px; border-radius: 6px; }
.wk-btns { display: flex; gap: 8px; }
.wk-btns button { font: inherit; font-weight: 600; font-size: 14.5px; border-radius: 10px; padding: 9px 16px; cursor: pointer; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.wk-btns .wk-play { background: var(--navy); color: #fff; border-color: var(--navy); min-width: 92px; }
.wk-end { display: none; flex: 1; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.wk-end.show { display: flex; animation: wkIn .4s ease; }
.wk-end span { font-weight: 600; color: #8a5a10; font-size: 14px; text-align: right; }
.wk-end .btn { padding: 9px 16px; font-size: 14.5px; }

/* ------------------------------------------------- the pretend app */
.wk-scene { position: absolute; inset: 0; font-family: Inter, system-ui, sans-serif; font-size: 12.5px; color: #151a2d; }
.wk-board { position: absolute; left: 12px; top: 12px; width: 286px; bottom: 12px; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(13,27,51,.08); overflow: hidden; }
.wk-bhead { background: #13284a; color: #fff; padding: 10px 12px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.wk-bhead small { color: rgba(255,255,255,.65); font-weight: 500; }
.wk-newbtn { background: var(--brass); color: #0d1b33; border-radius: 7px; padding: 3px 9px; font-size: 11.5px; font-weight: 700; }
.wk-sec { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6b7389; padding: 10px 12px 4px; }
.wk-sec i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.wk-count { background: #eef0f7; color: #151a2d; border-radius: 8px; padding: 0 6px; letter-spacing: 0; }
.wk-job { margin: 4px 10px; padding: 8px 10px; border-radius: 9px; border: 1px solid #e6e9f2; transition: background .3s, border-color .3s, opacity .4s, transform .4s; }
.wk-job b { display: block; font-size: 13px; }
.wk-job span { color: #6b7389; }
.wk-job.sel { border-color: #3b82f6; background: #eef4ff; box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.wk-job.new { animation: wkIn .5s ease; }
.wk-job span { display: block; }
.wk-job .tag { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; color: #3b82f6; }
.wk-tech { display: flex; align-items: center; gap: 8px; margin: 3px 10px; padding: 7px 10px; border-radius: 9px; transition: background .3s, transform .45s, opacity .3s; }
.wk-tech .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.wk-tech .nm { font-weight: 600; flex: 1; }
.wk-tech .st { color: #6b7389; font-size: 11.5px; }
.wk-tech .mi { font-weight: 700; color: #151a2d; min-width: 46px; text-align: right; opacity: 0; transition: opacity .3s; }
.wk-tech.best { background: #ecfdf3; }
.wk-tech.off { opacity: .55; }
.wk-send { background: #3b82f6; color: #fff; border-radius: 7px; padding: 3px 9px; font-weight: 700; font-size: 11.5px; display: none; }
.wk-tech.best .wk-send { display: inline-block; }
.wk-hint { margin: 6px 10px 0; padding: 7px 10px; border-radius: 9px; background: #fff7e6; color: #8a5a10; font-size: 11.5px; display: none; }
.wk-hint.show { display: block; animation: wkIn .4s ease; }

.wk-form { position: absolute; left: 0; right: 0; top: 40px; bottom: 0; background: #fff; padding: 10px 12px; display: none; }
.wk-form.show { display: block; animation: wkIn .3s ease; }
.wk-form h4 { margin: 0 0 6px; font-size: 14px; }
.wk-field { margin-bottom: 6px; }
.wk-field label { display: block; font-size: 10.5px; color: #6b7389; font-weight: 600; margin-bottom: 2px; }
.wk-field div { border: 1px solid #e6e9f2; border-radius: 7px; padding: 5px 8px; min-height: 26px; }
.wk-field div.focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.15); }
.wk-save { margin-top: 6px; background: #3b82f6; color: #fff; text-align: center; padding: 7px; border-radius: 8px; font-weight: 700; }

.wk-map { position: absolute; left: 310px; top: 12px; width: 398px; height: 516px; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(13,27,51,.08); }
.wk-map svg { display: block; }
.wk-maplabel { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); border-radius: 8px; padding: 4px 9px; font-weight: 600; font-size: 11.5px; }
.wk-mapnote { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #13284a; color: #fff; border-radius: 9px; padding: 7px 10px; font-size: 11.5px; opacity: 0; transition: opacity .4s; }
.wk-mapnote.show { opacity: 1; }

.wk-phone { position: absolute; left: 726px; top: 14px; width: 222px; height: 512px; border-radius: 34px; background: #0b1424; padding: 9px; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.wk-screen { position: relative; height: 100%; border-radius: 26px; background: #f4f6fb; overflow: hidden; }
.wk-ph-top { padding: 22px 12px 6px; }
.wk-ph-top small { color: #6b7389; display: block; }
.wk-ph-top b { font-size: 19px; }
.wk-card { margin: 6px 9px; background: #fff; border-radius: 14px; padding: 9px; border: 1px solid #e6e9f2; animation: wkIn .4s ease; }
.wk-card.red { border: 1.5px solid #ef4444; }
.wk-card.blue { border: 1.5px solid #3b82f6; }
.wk-card b { font-size: 13.5px; display: block; }
.wk-card .co { color: #3b82f6; font-weight: 600; font-size: 11px; }
.wk-card .sub { color: #6b7389; font-size: 11px; }
.wk-row { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 7px; }
.wk-ic { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; }
.wk-chip { background: #f1f3f8; border-radius: 6px; padding: 2px 6px; font-size: 10.5px; font-weight: 600; }
.wk-qa { flex: 1; text-align: center; background: #f1f3f8; border-radius: 10px; padding: 6px 0; font-size: 10.5px; font-weight: 600; }
.wk-bigbtn { margin-top: 7px; text-align: center; border-radius: 10px; padding: 7px; font-weight: 700; font-size: 12px; }
.wk-callscr { position: absolute; inset: 0; background: linear-gradient(#13284a, #0d1b33); color: #fff; text-align: center; padding-top: 70px; animation: wkIn .3s ease; }
.wk-callscr .av { width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.12); margin: 0 auto 12px; display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.wk-callscr .from { margin: 10px 16px 0; font-size: 11.5px; background: rgba(255,255,255,.1); border-radius: 9px; padding: 7px; }
.wk-callscr .end { position: absolute; left: 50%; bottom: 46px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: #ef4444; display: grid; place-items: center; font-size: 20px; }
.wk-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 20px 20px 0 0; padding: 14px 12px 16px; box-shadow: 0 -10px 30px rgba(0,0,0,.15); animation: wkUp .35s ease; }
.wk-sheet h5 { margin: 0 0 8px; font-size: 13.5px; }
.wk-opt { border: 1px solid #e6e9f2; border-radius: 10px; padding: 7px 10px; margin-bottom: 6px; font-weight: 600; transition: background .2s; }
.wk-opt.pick { background: #3b82f6; color: #fff; border-color: #3b82f6; }
.wk-shade { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.wk-toast { position: absolute; left: 10px; right: 10px; top: 14px; background: #151a2d; color: #fff; border-radius: 12px; padding: 9px 11px; font-size: 11.5px; animation: wkDown .35s ease; }
.wk-toast b { color: #fbbf24; }

.wk-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 30; pointer-events: none; transition: transform .6s cubic-bezier(.4,.1,.2,1), opacity .3s; opacity: 0; }
.wk-cursor svg { filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.wk-tap { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(59,130,246,.45); z-index: 29; pointer-events: none; animation: wkTap .5s ease-out forwards; }

@keyframes wkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes wkUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes wkDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes wkTap { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes wkPulse { 0% { r: 9; opacity: .6; } 100% { r: 26; opacity: 0; } }

/* --------------------------- shared parts for the other walkthroughs */
.wk-panel { position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(13,27,51,.08); overflow: hidden; }
.wk-ptitle { background: #13284a; color: #fff; padding: 9px 12px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wk-ptitle small { color: rgba(255,255,255,.65); font-weight: 500; }
.wk-pbody { padding: 10px 12px; }
.wk-tabs { display: flex; gap: 4px; padding: 8px 10px 0; border-bottom: 1px solid #eef0f5; }
.wk-tabs span { padding: 6px 10px; border-radius: 8px 8px 0 0; font-weight: 600; color: #6b7389; font-size: 12px; }
.wk-tabs span.on { color: #1d4ed8; box-shadow: inset 0 -2px 0 #3b82f6; }
.wk-tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.wk-tbl th { text-align: left; color: #6b7389; font-weight: 600; font-size: 11px; padding: 5px 6px; background: #f4f6fb; }
.wk-tbl td { padding: 6px; border-top: 1px solid #eef0f5; }
.wk-tbl .r { text-align: right; }
.wk-tbl tr { transition: background .3s, opacity .4s; }
.wk-tbl tr.hl td { background: #eef4ff; }
.wk-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 2px; border-top: 1px solid #eef0f5; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s, background .3s; }
.wk-line.show { opacity: 1; transform: none; }
.wk-line .why { color: #6b7389; font-size: 11px; display: block; }
.wk-line.minus b { color: #b42318; }
.wk-line.total { font-weight: 800; font-size: 14.5px; border-top: 2px solid #151a2d; }
.wk-line.flag { background: #fff7e6; border-radius: 6px; }
.wk-callout { position: absolute; z-index: 20; background: #13284a; color: #fff; border-radius: 10px; padding: 8px 11px; font-size: 12px; line-height: 1.45; max-width: 240px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s, top .7s ease; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.wk-callout.show { opacity: 1; transform: none; }
.wk-callout b { color: #fbbf24; }
.wk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wk-tile { background: #f4f6fb; border-radius: 10px; padding: 8px 10px; }
.wk-tile small { color: #6b7389; display: block; font-size: 10.5px; font-weight: 600; }
.wk-tile b { font-size: 18px; }
.wk-bubble { max-width: 80%; padding: 7px 10px; border-radius: 13px; margin: 6px 0; font-size: 12px; animation: wkIn .3s ease; line-height: 1.4; }
.wk-bubble.me { background: #3b82f6; color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.wk-bubble.them { background: #eef0f7; border-bottom-left-radius: 4px; }
.wk-bubble .meta { font-size: 10px; opacity: .75; text-align: right; margin-top: 2px; }
.wk-bubble .who { font-size: 10px; font-weight: 700; color: #6b7389; }
.wk-input { display: flex; gap: 6px; align-items: center; border-top: 1px solid #eef0f5; padding: 8px; }
.wk-input div { flex: 1; border: 1px solid #e6e9f2; border-radius: 16px; padding: 6px 10px; min-height: 28px; }
.wk-input span { width: 28px; height: 28px; border-radius: 50%; background: #3b82f6; color: #fff; display: grid; place-items: center; font-size: 12px; }
.wk-badge { background: #ef4444; color: #fff; border-radius: 9px; padding: 0 6px; font-size: 10.5px; font-weight: 700; }
.wk-ringscr { position: absolute; inset: 0; color: #fff; text-align: center; padding-top: 54px; animation: wkAlarm 1s ease-in-out infinite; }
.wk-ringscr .bell { font-size: 44px; animation: wkShake .25s linear infinite; display: inline-block; }
.wk-ringscr .got { position: absolute; left: 16px; right: 16px; bottom: 40px; background: #fff; color: #991b1b; border-radius: 14px; padding: 12px; font-weight: 800; font-size: 15px; }
.wk-bar { height: 10px; border-radius: 5px; background: #3b82f6; width: 0; transition: width .8s ease; }
.wk-set { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #eef0f5; }
.wk-set span:first-child { color: #6b7389; }
.wk-pill { border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; display: inline-block; }
.wk-clock { position: absolute; text-align: center; }
.wk-clock .ring { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #151a2d; background: conic-gradient(#ef4444 var(--p, 0%), #e6e9f2 0); position: relative; }
.wk-clock .ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.wk-clock .ring span { position: relative; z-index: 1; }
.wk-node { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 6px 18px rgba(13,27,51,.1); padding: 10px 12px; text-align: center; transition: box-shadow .3s, opacity .3s, transform .3s; }
.wk-node.live { box-shadow: 0 0 0 3px #22a06b, 0 6px 18px rgba(13,27,51,.1); }
.wk-node.ringing { box-shadow: 0 0 0 3px #f59e0b, 0 6px 18px rgba(13,27,51,.1); animation: wkShake .3s linear 4; }
.wk-node.dim { opacity: .45; }
.wk-node b { display: block; font-size: 13px; }
.wk-node small { color: #6b7389; display: block; }
.wk-wire { position: absolute; height: 4px; background: #e6e9f2; border-radius: 2px; transform-origin: 0 50%; overflow: hidden; }
.wk-wire i { display: block; height: 100%; width: 0; background: #22a06b; transition: width .7s ease; }
.wk-keycard { border: 1px solid #e6e9f2; border-radius: 12px; padding: 8px; margin: 6px 9px; background: #fff; transition: box-shadow .3s; }
.wk-keycard.pick { box-shadow: 0 0 0 2px #3b82f6; }
.wk-keycard .kimg { width: 34px; height: 34px; border-radius: 8px; background: #eef0f7; display: grid; place-items: center; font-size: 18px; float: left; margin-right: 8px; }
.wk-paybtn { border: 1.5px solid #e6e9f2; border-radius: 10px; padding: 7px 4px; text-align: center; font-weight: 700; font-size: 11.5px; transition: all .25s; }
.wk-paybtn.on { border-color: #3b82f6; background: #eef4ff; color: #1d4ed8; }
.wk-screen.wk-dark { background: #0f131a; color: #e8edf5; transition: background .4s; }
.wk-dark .wk-card { background: #18202b; border-color: #263042; }
.wk-dark .wk-card.red { border-color: #ef4444; }
.wk-dark .wk-card.blue { border-color: #3b82f6; }
.wk-dark .wk-chip, .wk-dark .wk-qa { background: #222c3a; color: #e8edf5; }
.wk-dark .wk-ph-top small, .wk-dark .wk-card .sub, .wk-dark .wk-sec { color: #8b96a8; }
.wk-dark .wk-count { background: #263042; color: #e8edf5; }
.wk-dark .wk-bigbtn { border-color: #263042 !important; }
.wk-ghost { position: absolute; z-index: 25; pointer-events: none; transition: transform .9s cubic-bezier(.4,.1,.2,1); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
@keyframes wkAlarm { 0%, 100% { background: #b91c1c; } 50% { background: #7f1d1d; } }
@keyframes wkShake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

@media (max-width: 640px) {
  .wk-overlay { padding: 0; }
  .wk-window { border-radius: 0; height: 100%; }
  .wk-top, .wk-bottom { padding-left: 14px; padding-right: 14px; }
  .wk-top { flex-wrap: wrap; }
  .wk-top h3 { font-size: 18px; flex: 1 1 auto; }
  .wk-sample { order: 3; white-space: normal; }
  .wk-stagewrap { margin: 0 14px; }
  .wk-caption { font-size: 15.5px; }
}
