/* Sign-in left panel: an auto-playing explainer (AI setup, tap/scan, voice, WhatsApp, scan card, leads) with pointer parallax */
.au-art { gap: .9rem; }
.au-art .au-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.au-art .au-eyebrow::before { content: ''; width: 22px; height: 1.5px; background: currentColor; }
.au-art { --mx: 0; --my: 0; }

.au-stage { perspective: 1200px; }
.au-ring { translate: calc(var(--mx) * -14px) calc(var(--my) * -10px); }
.au-phone { transform: rotateY(calc(var(--mx) * 9deg)) rotateX(calc(var(--my) * -6deg)); transition: transform .25s ease-out; will-change: transform; }
.au-live, .au-sw { position: absolute; left: 0; top: 0; }
.au-live { width: 100%; height: 100%; opacity: 0; transition: opacity .55s; }
.au-live.on { opacity: 1; }
.au-live iframe { position: absolute; left: 0; top: 0; width: 390px; height: 800px; border: 0; transform-origin: 0 0; background: #fff; }
.au-live img { position: absolute; left: -143.5%; top: 0; width: 387%; max-width: none; margin-top: -8.06%; }
.au-sw { width: 280px; transform-origin: 0 0; }
.au-sc { position: absolute; inset: 0; opacity: 0; translate: 0 22px; scale: .98; transition: opacity .5s, translate .6s cubic-bezier(.2, .7, .2, 1), scale .6s cubic-bezier(.2, .7, .2, 1); pointer-events: none; font-size: 13px; color: #14141c; background: #fff; overflow: hidden; }
.au-sc.on { opacity: 1; translate: 0 0; scale: 1; }

/* scene 0: AI builds your card */
.au-s0 { padding: 58px 20px 18px; text-align: center; background: linear-gradient(180deg, #f2f8ff, #fff 60%); }
.au-s0 .hd { font: 700 15px 'Public Sans'; color: #1e3a6e; }
.au-s0 .orb { width: 66px; height: 66px; margin: 16px auto 14px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 0deg, #2F8FD4, #8c6cf0, #34c7b0, #2F8FD4); animation: au-sp 2.4s linear infinite; box-shadow: 0 0 30px rgba(47, 143, 212, .5); }
.au-s0 .orb svg { width: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: au-sp 2.4s linear infinite reverse; }
@keyframes au-sp { to { transform: rotate(360deg); } }
.au-s0 ul { list-style: none; margin: 0 auto; padding: 0; max-width: 220px; text-align: left; }
.au-s0 li { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 11.5px; color: #b6b3c1; }
.au-s0 li i { flex: none; width: 15px; height: 15px; border-radius: 50%; border: 2px solid #dbdade; }
.au-s0.on li { animation: au-li 3.2s forwards; } .au-s0.on li i { animation: au-lc 3.2s forwards; }
.au-s0.on li:nth-child(1), .au-s0.on li:nth-child(1) i { animation-delay: .3s; } .au-s0.on li:nth-child(2), .au-s0.on li:nth-child(2) i { animation-delay: 1s; }
.au-s0.on li:nth-child(3), .au-s0.on li:nth-child(3) i { animation-delay: 1.7s; } .au-s0.on li:nth-child(4), .au-s0.on li:nth-child(4) i { animation-delay: 2.4s; }
@keyframes au-li { 0%, 8% { color: #433c50; font-weight: 600; } 100% { color: #28a745; font-weight: 600; } }
@keyframes au-lc { 0%, 8% { border-color: #2F8FD4; border-top-color: transparent; transform: rotate(0); } 15% { transform: rotate(180deg); } 22%, 100% { border-color: #28a745; background: #28a745 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%274%27%3E%3Cpath d=%27M5 12l5 5l9-10%27/%3E%3C/svg%3E") center/70% no-repeat; transform: none; } }
.au-s0 .bar { height: 5px; margin: 14px auto 0; max-width: 220px; border-radius: 4px; background: #eceaee; overflow: hidden; }
.au-s0 .bar b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2F8FD4, #8c6cf0, #34c7b0); }
.au-s0.on .bar b { animation: au-fill 3.4s linear .2s forwards; }
@keyframes au-fill { to { width: 100%; } }
.au-s0 .ft { margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: #1e3a6e; color: #fff; font-size: 11px; opacity: 0; }
.au-s0.on .ft { animation: au-pop .5s 3s forwards; }
@keyframes au-pop { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

/* scene 2: voice */
.au-s2 { background: #f4f8fb; padding: 84px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.au-s2 .vh { position: absolute; left: 0; right: 0; top: 0; padding: 40px 14px 10px; background: #fff; display: flex; align-items: center; gap: 9px; box-shadow: 0 6px 14px -10px rgba(14, 26, 60, .5); }
.au-s2 .vh i { width: 30px; height: 30px; border-radius: 10px; background: #fff; overflow: hidden; } .au-s2 .vh i img { width: 100%; height: 100%; object-fit: contain; }
.au-s2 .vh b { display: block; font-size: 12.5px; } .au-s2 .vh small { color: #12834a; font-size: 10.5px; }
.au-bub { max-width: 84%; padding: 10px 12px; border-radius: 16px; line-height: 1.4; font-size: 12.5px; box-shadow: 0 6px 14px -10px rgba(14, 26, 60, .5); opacity: 0; translate: 0 10px; }
.au-bub.u { align-self: flex-end; background: #0e1a3c; color: #fff; border-bottom-right-radius: 5px; } .au-bub.a { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; }
.au-s2.on .au-bub { animation: au-pop .5s forwards; } .au-s2.on .au-bub.u { animation-delay: .4s; } .au-s2.on .au-bub.a { animation-delay: 1.8s; }
.au-bub .wv { display: flex; align-items: center; gap: 2px; height: 16px; margin-bottom: 5px; } .au-bub .wv i { width: 3px; border-radius: 2px; background: #7dd3f0; animation: au-wv 1s ease-in-out infinite; } .au-bub .wv i:nth-child(odd) { animation-delay: .25s; }
@keyframes au-wv { 0%, 100% { height: 4px; } 50% { height: 15px; } }
.au-s2 .mic { margin: auto auto 0; width: 54px; height: 54px; border-radius: 50%; background: #2F8FD4; display: grid; place-items: center; color: #fff; position: relative; }
.au-s2 .mic::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(47, 143, 212, .4); animation: au-rg 1.6s infinite; }
@keyframes au-rg { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.au-s2 .mic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* scene 3: whatsapp */
.au-s3 { background: #e7ded1; display: flex; flex-direction: column; }
.au-s3 .hd { padding: 44px 14px 10px; background: #075e54; color: #fff; display: flex; align-items: center; gap: 9px; font-weight: 600; }
.au-s3 .hd i { width: 30px; height: 30px; border-radius: 50%; background: #fff; overflow: hidden; } .au-s3 .hd i img { width: 100%; height: 100%; object-fit: contain; }
.au-s3 .bd { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.au-s3 .m { max-width: 86%; padding: 8px 10px; border-radius: 10px; background: #fff; font-size: 12px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); opacity: 0; translate: 0 10px; }
.au-s3 .m.me { align-self: flex-end; background: #d9fdd3; }
.au-s3 .m .cd { margin: 6px 0; padding: 8px; border-radius: 8px; background: #f0f4f7; border-left: 3px solid #2F8FD4; font-size: 11px; }
.au-s3 .m small { display: block; text-align: right; color: #8b8b8b; font-size: 9.5px; margin-top: 2px; }
.au-s3.on .m { animation: au-pop .5s forwards; } .au-s3.on .m:nth-child(1) { animation-delay: .3s; } .au-s3.on .m:nth-child(2) { animation-delay: 1.2s; } .au-s3.on .m:nth-child(3) { animation-delay: 2.1s; }

/* scene 4: scan a card */
.au-s4 { background: radial-gradient(120% 80% at 50% 30%, #4a4f5c, #15171d 70%); color: #fff; }
.au-s4 .top { display: flex; align-items: center; justify-content: space-between; padding: 44px 16px 0; font-size: 12px; } .au-s4 .top b { font-size: 13px; }
.au-s4 .bcw { position: absolute; left: 8%; right: 8%; top: 31%; aspect-ratio: 1.7; rotate: -6deg; }
.au-s4 .bc { position: absolute; inset: 0; border-radius: 6px; background: #fbfaf7; color: #23262e; padding: 12% 8%; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7); }
.au-s4 .bc h6 { margin: 0 0 3px; font: 400 16px/1.1 'Instrument Serif', Georgia, serif; color: #8a1c2b; }
.au-s4 .bc small { display: block; font-size: 8px; line-height: 1.55; color: #4a4f5c; }
.au-s4 .bc .f { display: inline-block; border-radius: 2px; transition: background .4s, box-shadow .4s; }
.au-s4.on .bc .f { animation: au-fld .5s forwards; } .au-s4.on .f2 { animation-delay: 1.2s !important; } .au-s4.on .f3 { animation-delay: 1.5s !important; } .au-s4.on .f4 { animation-delay: 1.8s !important; } .au-s4.on .f1 { animation-delay: .9s !important; }
@keyframes au-fld { to { background: rgba(140, 108, 240, .18); box-shadow: 0 0 0 1.5px rgba(140, 108, 240, .9); } }
.au-s4 .br { position: absolute; width: 22px; height: 22px; border: 3px solid #8c6cf0; }
.au-s4 .br.a { left: -8px; top: -8px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; } .au-s4 .br.b { right: -8px; top: -8px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.au-s4 .br.c { left: -8px; bottom: -8px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; } .au-s4 .br.d { right: -8px; bottom: -8px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.au-s4 .ln { position: absolute; left: -4%; right: -4%; height: 2px; background: #b39cff; box-shadow: 0 0 14px #8c6cf0; animation: au-scn 1.8s ease-in-out infinite alternate; }
@keyframes au-scn { from { top: 0; } to { top: 100%; } }
.au-s4 .tst { position: absolute; left: 14px; right: 14px; bottom: 22px; padding: 11px 12px; border-radius: 16px; background: #fff; color: #14141c; text-align: center; font-weight: 700; font-size: 12px; box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .7); opacity: 0; translate: 0 20px; }
.au-s4.on .tst { animation: au-pop .6s 2.6s forwards; }
.au-s4 .tst small { display: block; font-weight: 500; color: #6b7a99; font-size: 10px; margin-top: 2px; }

/* scene 5: leads */
.au-s5 { background: #f6f8fb; padding: 54px 14px 14px; }
.au-s5 .th { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font: 700 15px 'Public Sans'; } .au-s5 .th span { font: 600 10px 'Public Sans'; padding: 3px 8px; border-radius: 99px; background: #e6f7ee; color: #12834a; }
.au-ld { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; border-radius: 14px; background: #fff; box-shadow: 0 8px 16px -12px rgba(14, 26, 60, .5); opacity: 0; translate: 0 10px; }
.au-ld .sc2 { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 15px 'Public Sans'; background: #fff1e2; color: #c2670a; }
.au-ld.hot { outline: 2px solid #2F8FD4; } .au-ld.hot .sc2 { background: #304098; color: #fff; }
.au-ld b { font-size: 12.5px; display: block; } .au-ld small { color: #6b7a99; font-size: 10.5px; }
.au-s5 .nx { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: #0e1a3c; color: #fff; font-size: 11.5px; opacity: 0; } .au-s5 .nx b { color: #7dd3f0; }
.au-s5.on .au-ld { animation: au-pop .5s forwards; } .au-s5.on .au-ld:nth-of-type(1) { animation-delay: .3s; } .au-s5.on .au-ld:nth-of-type(2) { animation-delay: .7s; } .au-s5.on .au-ld:nth-of-type(3) { animation-delay: 1.1s; } .au-s5.on .nx { animation: au-pop .5s 1.7s forwards; }

/* metal NFC card that taps the phone in step 2 */
.au-nfc { position: absolute; z-index: 6; left: 50%; top: 50%; width: 200px; aspect-ratio: 1.586; margin: -63px 0 0 -100px; opacity: 0; pointer-events: none; border-radius: 16px;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, rgba(0, 0, 0, .05) 1px 2px), conic-gradient(from 210deg at 30% 120%, #cfd5de, #7b8494 18%, #eef1f5 34%, #8e97a6 52%, #dfe4ea 70%, #727c8c 86%, #cfd5de);
  box-shadow: 0 40px 60px -22px rgba(10, 16, 70, .75), inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.au-nfc i { position: absolute; left: 8%; top: 36%; width: 17%; aspect-ratio: 1.25; border-radius: 7px; background: linear-gradient(135deg, #f5d98b, #b88a2c 60%, #f1d489); }
.au-nfc span { position: absolute; left: 8%; bottom: 12%; font: 700 11px 'Public Sans'; letter-spacing: .14em; color: rgba(14, 26, 60, .72); }
.au-nfc svg { position: absolute; right: 9%; top: 12%; width: 13%; fill: none; stroke: rgba(14, 26, 60, .55); stroke-width: 2.2; stroke-linecap: round; }
.au-art[data-i="1"] .au-nfc { animation: au-tap 3.4s cubic-bezier(.5, 0, .3, 1) .2s both; }
@keyframes au-tap { 0% { opacity: 0; transform: translate(-300px, -190px) rotate(-22deg) scale(1.2); filter: blur(5px); } 18% { opacity: 1; } 45% { transform: translate(-90px, -60px) rotate(8deg) scale(1.05); filter: blur(0); } 68% { opacity: 1; transform: translate(0, 10px) rotate(0) scale(.8); } 100% { opacity: 0; transform: translate(0, 60px) rotate(0) scale(.55); } }

/* floating chips (parallax with the pointer) */
.au-sx { position: absolute; z-index: 5; display: grid; gap: 1px; padding: .55rem 1rem .55rem 2.5rem; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 20px 36px -14px rgba(10, 16, 70, .6); color: #1e3a6e; white-space: nowrap; opacity: 0; filter: blur(8px); scale: .9; transition: opacity .5s, filter .5s, scale .6s cubic-bezier(.2, .7, .2, 1); translate: calc(var(--mx) * var(--d, 10) * 1px) calc(var(--my) * var(--d, 10) * 1px); }
.au-sx.on { opacity: 1; filter: none; scale: 1; }
.au-sx i { position: absolute; left: .75rem; top: 50%; translate: 0 -50%; font-style: normal; font-size: 1.1rem; }
.au-sx b { font-size: .8rem; line-height: 1.2; } .au-sx small { font-size: .68rem; color: #6b7a99; }
.au-sx.l1 { left: 3%; top: 16%; --d: -18; } .au-sx.l2 { left: 0%; bottom: 14%; --d: 22; } .au-sx.r1 { right: 3%; top: 26%; --d: 20; } .au-sx.r2 { right: 0; bottom: 20%; --d: -14; }

/* caption + progress */
.au-cap { min-height: 8.6rem; }
.au-cap h2 { font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; margin: .5rem 0 .6rem; color: #fff; }
.au-cap p { margin: 0; max-width: 32rem; font-size: .98rem; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.au-cap h2, .au-cap p { transition: opacity .35s, translate .45s cubic-bezier(.2, .7, .2, 1); }
.au-cap.swap h2, .au-cap.swap p { opacity: 0; translate: 0 10px; }
.au-seg { display: flex; gap: 8px; margin-top: 1rem; }
.au-seg button { flex: 1; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; cursor: pointer; position: relative; }
.au-seg button::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 0; }
.au-seg button.past::after { transform: scaleX(1); }
.au-seg button.on::after { animation: au-seg var(--dur, 5.5s) linear forwards; }
@keyframes au-seg { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .au-art *, .au-nfc { animation: none !important; } .au-sc .au-bub, .au-sc .m, .au-sc .au-ld, .au-s5 .nx, .au-s4 .tst, .au-s0 .ft { opacity: 1 !important; translate: none !important; } .au-phone { transform: none !important; } }

/* scene 6: record & send, both phones get it on WhatsApp */
.au-s6 { background: #e7ded1; display: flex; flex-direction: column; padding-top: 34px; }
.au-s6 .pn { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.au-s6 .wh { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: #075e54; color: #fff; }
.au-s6 .wh i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #075e54; display: grid; place-items: center; font: 700 9px 'Public Sans'; font-style: normal; }
.au-s6 .wh b { display: block; font-size: 11px; } .au-s6 .wh small { font-size: 8.5px; opacity: .8; }
.au-s6 .cb { position: relative; flex: 1; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.au-s6 .vb, .au-s6 .tx { max-width: 88%; padding: 6px 8px; border-radius: 10px; background: #fff; font-size: 10.5px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); opacity: 0; translate: 0 10px; }
.au-s6 .vb { display: grid; grid-template-columns: 22px 1fr; gap: 2px 7px; align-items: center; min-width: 150px; }
.au-s6 .vb em { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: #2F8FD4; color: #fff; display: grid; place-items: center; font-size: 8px; }
.au-s6 .vb small { grid-column: 1 / -1; text-align: right; color: #8b8b8b; font-size: 8.5px; }
.au-s6 .out { align-self: flex-end; background: #d9fdd3; } .au-s6 .in { align-self: flex-start; }
.au-s6 .wf { display: flex; align-items: center; gap: 2px; height: 18px; } .au-s6 .wf i { flex: 1; min-width: 2px; border-radius: 2px; background: #3b4a5a; opacity: .5; }
.au-s6 .cardm { background: #fff; border-left: 3px solid #2F8FD4; }
.au-s6 .rb { position: absolute; left: 8px; right: 8px; bottom: 6px; display: flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 99px; background: #fff; box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .5); font-size: 9.5px; font-weight: 600; color: #e03131; opacity: 0; }
.au-s6 .rb .dt { width: 8px; height: 8px; border-radius: 50%; background: #e03131; animation: au-bk 1s steps(1) infinite; }
@keyframes au-bk { 50% { opacity: .2; } }
.au-s6 .rb .wv { flex: 1; display: flex; align-items: center; gap: 2px; height: 16px; } .au-s6 .rb .wv i { flex: 1; border-radius: 2px; background: #2F8FD4; animation: au-wv 1s ease-in-out infinite; } .au-s6 .rb .wv i:nth-child(odd) { animation-delay: .3s; }
.au-s6 .rb .tm { color: #14141c; font-variant-numeric: tabular-nums; }
.au-s6 .rb .tm::after { content: '0:01'; animation: au-tm 2s steps(1) forwards; }
@keyframes au-tm { 25% { content: '0:02'; } 50% { content: '0:03'; } 75%, 100% { content: '0:05'; } }
.au-s6 .mid { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 7px; height: 22px; background: #1e3a6e; color: #fff; font-size: 9px; font-weight: 600; }
.au-s6 .mid i { font-style: normal; font-size: 12px; color: #7dd3f0; }
.au-s6.on .rb { animation: au-rbp 2.2s .3s both; }
@keyframes au-rbp { 0% { opacity: 0; translate: 0 10px; } 10%, 85% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 0; } }
.au-s6.on .me .vb.out { animation: au-pop .5s 2.5s forwards; }
.au-s6.on .them .vb.in { animation: au-pop .5s 3.1s forwards; }
.au-s6.on .them .cardm { animation: au-pop .5s 3.8s forwards; }
.au-s6.on .them .vb.out { animation: au-pop .5s 4.6s forwards; }
.au-s6.on .me .vb.in { animation: au-pop .5s 5.4s forwards; }
.au-s6.on .me .tx.in { animation: au-pop .5s 6s forwards; }
.au-s6.on .mid i { animation: au-bk 1.4s infinite; }
@media (prefers-reduced-motion: reduce) { .au-s6 .vb, .au-s6 .tx { opacity: 1 !important; translate: none !important; } .au-s6 .rb { display: none; } }
