/* Product screens: HTML/CSS recreations of each product's real screens, made-up data, each in the product's own
   colours and type. Devices are ojuu's neutral chrome around them. */

/* ---------- devices ---------- */
.device { position: relative; flex: none; }
.device--phone { width: 290px; padding: 9px; border-radius: 46px; background: #0A0A0C; box-shadow: 0 0 0 1.5px #3A3A42, var(--shadow-3); }
.device--phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #0A0A0C; z-index: 3; }
.device--phone > .scr { height: 590px; border-radius: 38px; }
.device--laptop { width: min(640px, 100%); padding: 12px 12px 0; border-radius: 18px 18px 6px 6px; background: #1B1B20; box-shadow: 0 0 0 1.5px #3A3A42, var(--shadow-3); }
.device--laptop::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -14px; height: 14px; border-radius: 0 0 14px 14px; background: linear-gradient(#3A3A42, #222227); }
.device--laptop > .scr { aspect-ratio: 16 / 10; border-radius: 8px 8px 0 0; }
.device--tablet { width: min(560px, 100%); padding: 14px; border-radius: 30px; background: #0A0A0C; box-shadow: 0 0 0 1.5px #3A3A42, var(--shadow-3); }
.device--tablet > .scr { aspect-ratio: 4 / 3; border-radius: 18px; }
.scr { position: relative; overflow: hidden; }
@media (max-width: 400px) {
  .device--phone { width: 262px; }
  .device--phone > .scr { height: 540px; }
}

/* note card that sits beside a device */
.note-card { position: absolute; right: max(-4%, -30px); bottom: 12%; width: 250px; padding: 14px 16px; border-radius: 16px; background: #fff; color: #1E293B;
  box-shadow: var(--shadow-3); font: 400 .82rem/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; z-index: 4; }
.note-card__k { margin: 0 0 4px !important; font-size: .7rem; color: #5F6B7D !important; }
.note-card__t { margin: 0 0 6px !important; font-weight: 700; color: #1E293B !important; }
.note-card__b { margin: 0 0 10px !important; color: #475569 !important; }
.note-card__btn { display: inline-block; padding: 7px 12px; border-radius: 9px; background: #F97316; color: #fff; font-weight: 700; }
.note-card__btn::before { content: "\260E\FE0E  "; }
@media (max-width: 999px) { .note-card { position: relative; right: auto; bottom: auto; margin: -40px 0 0 -60px; align-self: flex-end; } .jstep__screen:has(.note-card) { flex-direction: column; align-items: center; } }
@media (max-width: 520px) { .note-card { margin: -30px 0 0 0; width: 92%; } }

/* ---------- yournextjob: swipe deck ---------- */
.scr-ynj { background: #FBFAF8; color: #211E2E; font-family: Inter, sans-serif; padding: 54px 16px 18px; display: flex; flex-direction: column; }
.scr-ynj__bar { display: flex; justify-content: space-between; align-items: baseline; }
.scr-ynj__bar b { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.scr-ynj__bar span { font-size: .75rem; color: #6E6A7A; }
.scr-ynj__ctx { margin: 2px 0 14px; font-size: .78rem; color: #6E6A7A; }
.scr-ynj__stage { position: relative; flex: 1; }
.scr-ynj__card { position: absolute; inset: 0 0 6px; border-radius: 26px; background: #fff; border: 1px solid #E4E0F0; box-shadow: 0 1px 2px rgba(33,30,46,.05); }
.scr-ynj__card--b2 { transform: translateY(16px) scale(.9); }
.scr-ynj__card--b1 { transform: translateY(8px) scale(.95); }
.scr-ynj__card--top { padding: 18px; box-shadow: 0 8px 28px rgba(33,30,46,.08); transform-origin: 50% 120%; }
.scr-ynj__t { margin: 0 0 4px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; padding-right: 70px; }
.scr-ynj__c { margin: 0 0 12px; font-size: .82rem; color: #605C6B; }
.scr-ynj__c em { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5A45E8; background: #EFECFF; padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.scr-ynj__facts { margin: 0 0 12px; display: grid; gap: 6px; font-size: .8rem; color: #211E2E; }
.scr-ynj__facts li { padding-left: 18px; position: relative; }
.scr-ynj__facts li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: #B6B2C4; }
.scr-ynj__facts li:nth-child(2) { font-weight: 600; color: #0F6E56; }
.scr-ynj__facts li:nth-child(2)::before { background: #12B981; }
.scr-ynj__sum { margin: 0 0 12px; font-size: .78rem; line-height: 1.5; color: #605C6B; }
.scr-ynj__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.scr-ynj__badges span { padding: 4px 9px; border-radius: 999px; background: #EFECFF; color: #4E37D6; font-size: .7rem; font-weight: 600; }
.scr-ynj__stamp { position: absolute; top: 18px; right: 16px; padding: 3px 8px; border: 3px solid #12B981; border-radius: 8px; color: #12B981;
  font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-14deg); }
.scr-ynj__btns { display: flex; justify-content: center; gap: 18px; padding-top: 14px; }
.scr-ynj__btns span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid #E4E0F0; font-size: 1.2rem; box-shadow: 0 1px 2px rgba(33,30,46,.05); }
.b-skip { color: #E24B4A; } .b-save { color: #6D5CFF; }
.b-apply { color: #fff; background: #12B981 !important; border-color: #12B981 !important; width: 58px !important; height: 58px !important; }
.is-on .scr-ynj__card--top, .jstep.is-active .scr-ynj__card--top { animation: swipeRight 2.6s .5s var(--ease) both; }
.is-on .scr-ynj__stamp { animation: stampIn 2.6s .5s var(--ease) both; }
@keyframes swipeRight { 0% { transform: none; } 35% { transform: translateX(18px) rotate(5deg); } 100% { transform: translateX(18px) rotate(5deg); } }
@keyframes stampIn { 0%, 20% { opacity: 0; transform: rotate(-14deg) scale(1.5); } 40%, 100% { opacity: 1; transform: rotate(-14deg) scale(1); } }

/* ---------- Mira on WhatsApp ---------- */
.scr-wa { background: rgb(239,234,226); font: 400 .8rem/1.4 -apple-system, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif; color: rgb(17,27,33); display: flex; flex-direction: column; }
.scr-wa__bar { display: flex; align-items: center; gap: 10px; padding: 50px 14px 10px; background: rgb(240,242,245); border-bottom: 1px solid rgba(0,0,0,.06); }
.scr-wa__bar b { display: block; font-size: .85rem; }
.scr-wa__bar span:not(.avatar) { font-size: .7rem; color: rgb(102,119,129); }
.scr-wa__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 10px 16px; }
.wa { margin: 0; max-width: 84%; padding: 6px 9px 7px; border-radius: 9px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.wa--in { background: #fff; border-top-left-radius: 2px; }
.wa--out { align-self: flex-end; background: rgb(217,253,211); border-top-right-radius: 2px; }
.is-on .wa { animation: waIn .45s var(--ease) both; }
.is-on .wa:nth-child(2) { animation-delay: .5s; } .is-on .wa:nth-child(3) { animation-delay: 1s; } .is-on .wa:nth-child(4) { animation-delay: 1.5s; }
.is-on .wa:nth-child(5) { animation-delay: 2s; } .is-on .wa:nth-child(6) { animation-delay: 2.5s; } .is-on .wa:nth-child(7) { animation-delay: 3s; }
.is-on .note-card { animation: waIn .6s 3.6s var(--ease) both; }
@keyframes waIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ---------- TalentCore app screens ---------- */
.scr-tc { display: flex; background: #F8FAFC; color: #1E293B; font: 400 .72rem/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.scr-tc__side { flex: 0 0 52px; background: #0F172A; padding: 12px 10px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.scr-tc__side i { width: 26px; height: 26px; border-radius: 8px; background: #1E293B; }
.scr-tc__side i.on { background: #F97316; }
.tc-logo { width: 28px; height: 22px; margin-bottom: 8px; background: linear-gradient(135deg, #F97316, #EA580C); clip-path: polygon(0 0, 100% 0, 100% 30%, 62% 30%, 62% 100%, 38% 100%, 38% 30%, 0 30%); }
.scr-tc__main { flex: 1; min-width: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.scr-tc__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.scr-tc__head b { display: block; font-size: 1rem; font-weight: 700; }
.scr-tc__head span { color: #5F6B7D; }
.tc-btn { flex: none; padding: 7px 12px; border-radius: 8px; background: linear-gradient(135deg, #F97316, #EA580C); color: #fff !important; font-weight: 600; }
.tc-rank { background: #fff; border-radius: 12px; box-shadow: 0 2px 6px rgba(15,23,42,.05); overflow: hidden; }
.tc-rank__row { display: grid; grid-template-columns: 18px 22px minmax(0, 1fr) 110px 30px 84px; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid #E2E8F0; }
.tc-rank__row:last-child { border-bottom: 0; }
.tc-rank__row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-rank__n { color: #5F6B7D; font-weight: 600; }
.tc-rank__row.is-win { background: rgba(249,115,22,.06); }
.tc-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.tc-bars i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #F97316 calc(var(--v) * 100%), #E2E8F0 0); }
.tc-score { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.tc-badge { justify-self: start; padding: 3px 8px; border-radius: 999px; background: #F1F5F9; color: #475569; font-weight: 600; font-size: .66rem; white-space: nowrap; }
.tc-badge--ok { background: rgba(34,197,94,.14); color: #166534; }
.tc-legend { display: flex; gap: 12px; flex-wrap: wrap; color: #5F6B7D; font-size: .66rem; }
.tc-gate { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(34,197,94,.1); color: #166534; font-weight: 600; }
.tc-gate__ok { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #22C55E; color: #fff; font-size: .7rem; flex: none; }
.tc-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 6px rgba(15,23,42,.05); }
.tc-table th { text-align: left; padding: 8px 10px; background: #F1F5F9; color: #5F6B7D; font-weight: 600; font-size: .64rem; text-transform: uppercase; letter-spacing: .04em; }
.tc-table td { padding: 9px 10px; border-top: 1px solid #E2E8F0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tc-table tr.is-new td { background: rgba(249,115,22,.06); font-weight: 600; }
.tc-sum { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.05); color: #475569; }
.tc-sum b { color: #166534; }
.is-on .tc-rank__row { animation: rowIn .5s var(--ease) both; }
.is-on .tc-rank__row:nth-child(2) { animation-delay: .15s; } .is-on .tc-rank__row:nth-child(3) { animation-delay: .3s; }
.is-on .tc-rank__row.is-win .tc-badge--ok { animation: flip .5s 1.4s var(--ease) both; }
.is-on .tc-gate { animation: rowIn .5s .6s var(--ease) both; }
.is-on .tc-table tr { animation: rowIn .5s var(--ease) both; }
.is-on .tc-table tr:nth-child(2) { animation-delay: .15s; } .is-on .tc-table tr:nth-child(3) { animation-delay: .3s; }
.is-on .tc-sum { animation: rowIn .5s .7s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes flip { from { opacity: 0; transform: scale(.6); } }

/* ---------- Voxs learner screen ---------- */
.scr-vx { background: #F2F2F7; color: #1C1C1E; font: 400 1rem/1.5 -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif; display: flex; flex-direction: column; }
.scr-vx__bar { display: flex; align-items: center; gap: 8px; padding: 50px 14px 10px; background: rgba(255,255,255,.72); border-bottom: .5px solid rgba(60,60,67,.12); font-size: .72rem; }
.vx-live { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(52,199,89,.14); color: #1E8E3E; font-weight: 600; }
.vx-live i { width: 7px; height: 7px; border-radius: 50%; background: #34C759; animation: vxPulse 1.6s infinite; }
@keyframes vxPulse { 50% { opacity: .35; } }
.vx-org { font-weight: 600; color: #3C3C43; }
.vx-lang { margin-left: auto; padding: 4px 9px; border-radius: 999px; background: #0F1B2D; color: #E8B82E; font-weight: 600; }
.scr-vx__lines { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px; background: #fff; }
.vx-spk { margin: 0 0 8px; font-size: .62rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8E8E93; }
.vx-line { margin: 0; padding: 9px 0; border-bottom: .5px solid rgba(60,60,67,.12); font-size: .92rem; line-height: 1.55; }
.vx-line--live { color: #8E8E93; font-style: italic; border-bottom: 0; }
.scr-vx__react { display: flex; justify-content: space-between; padding: 12px 16px 18px; background: #fff; border-top: .5px solid rgba(60,60,67,.12); }
.scr-vx__react span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #F2F2F7; font-size: .9rem; font-weight: 600; color: #3C3C43; }
.is-on .vx-line { animation: rowIn .5s var(--ease) both; }
.is-on .vx-line:nth-child(3) { animation-delay: .9s; } .is-on .vx-line:nth-child(4) { animation-delay: 1.8s; } .is-on .vx-line:nth-child(5) { animation-delay: 2.7s; }

/* ---------- TempClock kiosk ---------- */
.scr-kz { background: #030712; color: #F9FAFB; font: 400 .85rem/1.4 Inter, sans-serif; display: flex; flex-direction: column; }
.scr-kz__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: #111827; border-bottom: 1px solid #1F2937; }
.kz-logo { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: .95rem; }
.kz-logo b { color: #F97316; }
.kz-logo i { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #F97316; position: relative; }
.kz-logo i::after { content: ""; position: absolute; left: 50%; top: 2px; width: 2px; height: 6px; background: #F97316; transform: translateX(-50%); }
.kz-lang { font-size: .68rem; color: #9CA3AF; padding: 4px 10px; border: 1px solid #374151; border-radius: 999px; }
.scr-kz__body { flex: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; align-items: center; padding: 20px 26px; }
.kz-face { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; background: radial-gradient(ellipse at 50% 35%, #2B3445, #111827 70%); overflow: hidden; }
.kz-face__ring { position: absolute; left: 18%; right: 18%; top: 14%; bottom: 26%; border: 3px solid #10B981; border-radius: 50%; }
.kz-face__head { position: absolute; left: 32%; right: 32%; top: 24%; aspect-ratio: 1; border-radius: 50%; background: #4B5563; }
.kz-face__head::after { content: ""; position: absolute; left: -40%; right: -40%; top: 120%; height: 120%; border-radius: 50% 50% 0 0; background: #4B5563; }
.kz-ok { text-align: center; }
.kz-ok__tick { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #10B981; font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
.kz-ok__t { margin: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #34D399; font-weight: 700; }
.kz-ok__n { margin: 4px 0 6px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.kz-ok__m { margin: 0 0 10px; color: #D1D5DB; font-size: .78rem; font-variant-numeric: tabular-nums; }
.kz-ok__f { display: inline-block; margin: 0; padding: 5px 10px; border-radius: 999px; background: rgba(16,185,129,.14); color: #34D399; font-size: .72rem; font-weight: 600; }
.is-on .kz-face__ring { animation: ringScan 1.4s var(--ease) both; }
.is-on .kz-ok { animation: rowIn .6s 1.2s var(--ease) both; }
@keyframes ringScan { 0% { border-color: #F97316; transform: scale(1.06); } 60% { border-color: #F97316; } 100% { border-color: #10B981; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .is-on *, .jstep.is-active * { animation: none !important; }
}

/* TalentCore: the booking slot filling, and the worker's offer link */
.tc-fill { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1.5px dashed #F97316; }
.tc-fill__k { color: #5F6B7D; font-weight: 600; }
.tc-fill__slot { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.tc-fill .tc-badge { margin-left: auto; }
.is-on .tc-fill { animation: rowIn .5s 1.8s var(--ease) both; }
.note-card--offer { bottom: 2%; right: max(-2%, -20px); width: 230px; }
.offer-btns { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.offer-btns span { padding: 9px 10px; border-radius: 10px; text-align: center; font-weight: 700; }
.offer-yes { background: #16A34A; color: #fff; }
.offer-no { background: #F1F5F9; color: #475569; }
.is-on .note-card--offer { animation: waIn .6s 1s var(--ease) both; }
.is-on .note-card--offer .offer-yes { animation: tap .5s 1.7s var(--ease) both; }
@keyframes tap { 50% { transform: scale(.94); box-shadow: 0 0 0 6px rgba(22,163,74,.25); } }
.note-card--invoice { bottom: 4%; right: max(-2%, -20px); width: 220px; }
.inv { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.inv dt { color: #5F6B7D; } .inv dd { margin: 0; text-align: right; }
.inv .inv__tot { padding-top: 6px; border-top: 1px solid #E2E8F0; font-weight: 700; color: #1E293B; }
.is-on .note-card--invoice { animation: waIn .6s 1s var(--ease) both; }
@media (max-width: 400px) { .scr-ynj__sum { display: none; } }
