/* zPayLink sign-in · SIGNATURE version: cinematic 3D financial scene (CSS 3D, transforms/opacity only).
   Choreography (positions, camera, shadows, token, trail) lives in signature-motion.css (generated); this file holds the
   look: premium account objects, light, floor, confirmation states and the Signature refinements of the form side. */

/* ------------------------------------------------------------------ pane + light */
.art-signature { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 72px clamp(16px, 3vw, 48px) 48px; border-left: 0;
  background: radial-gradient(90% 70% at 62% 30%, #0e1d47 0%, rgba(8, 16, 40, 0) 70%), linear-gradient(180deg, #081029 0%, #050a19 100%); }
.art-signature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(95, 160, 255, .35) 30%, rgba(95, 216, 255, .25) 70%, transparent); }
.sig { position: relative; width: 100%; flex: 1 1 auto; min-height: 0; }
.sig-light { position: absolute; inset: -10%; pointer-events: none;
  background: radial-gradient(42% 36% at 66% 26%, rgba(70, 130, 255, .20), transparent 70%), radial-gradient(34% 30% at 28% 78%, rgba(95, 216, 255, .07), transparent 70%); }

/* ------------------------------------------------------------------ stage, camera, floor */
.sig-stage { position: absolute; left: 50%; top: 50%; width: 720px; height: 640px; margin: -320px 0 0 -360px; transform: scale(var(--sig-s, 1)); transform-origin: 50% 50%;
  perspective: 1250px; perspective-origin: 50% 40%; }
.sig-intro, .sig-camera { position: absolute; inset: 0; transform-style: preserve-3d; }
.sig-intro { animation: sig-intro 2.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes sig-intro { from { opacity: 0; transform: translateZ(-260px) rotateX(12deg) translateY(30px); } to { opacity: 1; transform: none; } }
.sig-floor { position: absolute; left: 50%; top: 50%; width: 1500px; height: 1500px; margin: -750px 0 0 -750px; transform: translateY(250px) rotateX(90deg);
  background:
    radial-gradient(closest-side, rgba(40, 95, 230, .22), rgba(20, 50, 140, .07) 55%, transparent 72%),
    repeating-linear-gradient(0deg, rgba(120, 160, 255, .05) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, rgba(120, 160, 255, .05) 0 1px, transparent 1px 60px);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 70%); mask-image: radial-gradient(closest-side, #000 20%, transparent 70%); }
.sig-shadow { position: absolute; left: 50%; top: 50%; width: 330px; height: 170px; margin: -85px 0 0 -165px;
  background: radial-gradient(closest-side, rgba(0, 3, 14, .9), rgba(0, 3, 14, .45) 55%, transparent 100%); }

/* ------------------------------------------------------------------ account objects */
.sig-card { position: absolute; left: 50%; top: 50%; width: 330px; height: 206px; margin: -103px 0 0 -165px; transform-style: preserve-3d; will-change: transform; }
.sig-float { width: 100%; height: 100%; transform-style: preserve-3d; animation: sig-float 7s ease-in-out infinite alternate; }
.sig-card-b .sig-float { animation-duration: 8.5s; animation-delay: -3s; }
.sig-card-c .sig-float { animation-duration: 10s; animation-delay: -5s; }
@keyframes sig-float { from { transform: translateY(-4px) rotateZ(-.4deg); } to { transform: translateY(5px) rotateZ(.4deg); } }
.sig-obj { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.sig-edge { position: absolute; inset: 0; border-radius: 22px; transform: translateZ(-7px); background: linear-gradient(135deg, #0b1a44, #040a1c);
  box-shadow: 0 0 0 1px rgba(120, 160, 240, .14); }
.sig-face { position: absolute; inset: 0; border-radius: 22px; padding: 20px 22px 18px; display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; backface-visibility: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(170, 200, 255, .16), 0 30px 60px -28px rgba(0, 4, 20, .8); }
.sig-tone-a .sig-face { background: radial-gradient(120% 90% at 0% 0%, rgba(120, 170, 255, .30), transparent 55%), linear-gradient(135deg, #1c3d93 0%, #11286a 45%, #0a173d 100%); }
.sig-tone-b .sig-face { background: radial-gradient(110% 90% at 100% 100%, rgba(95, 216, 255, .30), transparent 55%), radial-gradient(90% 80% at 0% 0%, rgba(160, 200, 255, .28), transparent 50%), linear-gradient(135deg, #2a6be0 0%, #1a45ad 48%, #0d2461 100%); }
.sig-tone-c .sig-face { background: linear-gradient(135deg, #182a56 0%, #0f1c3f 60%, #0a1430 100%); }
.sig-tone-c { opacity: .62; }
.sig-clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.sig-circuit { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(180, 210, 255, .16); }
.sig-circuit path { fill: none; stroke: rgba(180, 210, 255, .11); stroke-width: 1; }
.sig-sheen { position: absolute; top: -40%; left: 0; width: 38%; height: 180%; transform: translateX(-160%) rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14) 45%, rgba(255, 255, 255, .04) 60%, transparent); animation: sig-sheen 18s linear infinite; }
@keyframes sig-sheen { 0%, 24% { transform: translateX(-160%) rotate(18deg); } 42% { transform: translateX(380%) rotate(18deg); } 42.01%, 86% { transform: translateX(-160%) rotate(18deg); } 98%, 100% { transform: translateX(380%) rotate(18deg); } }

.sig-top { position: relative; display: flex; align-items: center; gap: 10px; }
.sig-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.sig-mark img { width: 20px; height: auto; display: block; }
.sig-kind { font-family: var(--brand); font-weight: 400; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #d6e4ff; }
.sig-net { margin-left: auto; width: 26px; height: 26px; fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; stroke-linecap: round; }
.sig-net circle { fill: rgba(255, 255, 255, .7); stroke: none; }
.sig-bal { position: relative; display: flex; flex-direction: column; gap: 4px; }
.sig-cap { font-family: var(--brand); font-weight: 300; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(205, 222, 255, .72); }
.sig-amt { display: flex; align-items: baseline; gap: 4px; font-family: var(--ui); font-weight: 700; font-size: 30px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.sig-cur { font-size: .58em; font-weight: 600; opacity: .8; }
.sig-num { display: grid; }
.sig-num b { grid-area: 1 / 1; font-weight: 700; }
.sig-num .v-new { opacity: 0; }
.sig-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; }
.sig-acct { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .14em; color: rgba(205, 222, 255, .78); font-variant-numeric: tabular-nums; }
.sig-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--brand); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #cfe6ff;
  padding: 4px 9px; border-radius: 999px; background: rgba(4, 12, 34, .35); border: 1px solid rgba(170, 200, 255, .2); }
.sig-live i { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }

/* balances update in sync with the transfer (sender at 51 %, receiver at 65 %), reset during the pull-back */
.sig-card-a .v-old { animation: sig-a-old 18s linear infinite; } .sig-card-a .v-new { animation: sig-a-new 18s linear infinite; }
.sig-card-b .v-old { animation: sig-b-old 18s linear infinite; } .sig-card-b .v-new { animation: sig-b-new 18s linear infinite; }
@keyframes sig-a-old { 0%, 50.5% { opacity: 1; transform: none; } 52.5%, 92% { opacity: 0; transform: translateY(-10px); } 94%, 100% { opacity: 1; transform: none; } }
@keyframes sig-a-new { 0%, 50.5% { opacity: 0; transform: translateY(10px); } 52.5%, 92% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(10px); } }
@keyframes sig-b-old { 0%, 64.6% { opacity: 1; transform: none; } 66.8%, 92% { opacity: 0; transform: translateY(-10px); } 94%, 100% { opacity: 1; transform: none; } }
@keyframes sig-b-new { 0%, 64.6% { opacity: 0; transform: translateY(10px); } 66.8%, 92% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(10px); } }

/* confirmation on the receiving account */
.sig-check { position: absolute; top: 18px; right: 58px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #22b07d;
  box-shadow: 0 0 0 4px rgba(34, 176, 125, .18), 0 8px 18px -6px rgba(0, 0, 0, .5); transform: scale(0); opacity: 0; animation: sig-check 18s linear infinite; }
.sig-check svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sig-check { 0%, 64.6% { transform: scale(0); opacity: 0; } 66.2% { transform: scale(1.14); opacity: 1; } 67.6%, 88% { transform: scale(1); opacity: 1; } 90%, 100% { transform: scale(.6); opacity: 0; } }
.sig-pulse { position: absolute; inset: -2px; border-radius: 24px; border: 1.5px solid rgba(95, 216, 255, .7); opacity: 0; animation: sig-pulse 18s linear infinite; pointer-events: none; }
@keyframes sig-pulse { 0%, 64.6% { opacity: 0; transform: scale(1); } 65.6% { opacity: .9; transform: scale(1); } 74%, 100% { opacity: 0; transform: scale(1.07); } }
.sig-chip { position: absolute; z-index: 1; padding: 7px 12px; border-radius: 999px; font-family: var(--ui); font-weight: 600; font-size: 12.5px; color: #e8f0ff; white-space: nowrap;
  background: rgba(7, 15, 36, .9); border: 1px solid rgba(150, 180, 245, .26); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7); opacity: 0; transform: translateZ(24px); }
.sig-chip-send { top: -46px; right: 14px; animation: sig-send 18s linear infinite; }
.sig-chip-recv { top: calc(100% + 14px); left: 18px; color: #c9fbe6; border-color: rgba(52, 211, 153, .35); animation: sig-recv 18s linear infinite; }
@keyframes sig-send { 0%, 46% { opacity: 0; transform: translateZ(24px) translateY(8px); } 48.5%, 57% { opacity: 1; transform: translateZ(24px); } 60%, 100% { opacity: 0; transform: translateZ(24px) translateY(-6px); } }
@keyframes sig-recv { 0%, 65% { opacity: 0; transform: translateZ(24px) translateY(8px); } 67.5%, 80% { opacity: 1; transform: translateZ(24px); } 84%, 100% { opacity: 0; transform: translateZ(24px) translateY(-6px); } }

/* payment token + trajectory trail */
.sig-token { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; opacity: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #d6ecff 0%, #6aa6ff 45%, #2a5fe8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 0 16px rgba(90, 160, 255, .55), 0 0 40px rgba(60, 140, 255, .22); }
.sig-token-core { font-family: var(--ui); font-weight: 700; font-size: 13px; color: #fff; text-shadow: 0 1px 2px rgba(0, 20, 80, .5); }
.sig-trail { position: absolute; inset: 0; transform-style: preserve-3d; }
.sig-dot { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; opacity: 0;
  background: #8fdcff; box-shadow: 0 0 8px rgba(95, 216, 255, .55); }

.sig-caption { position: relative; z-index: 1; margin-top: -8px; max-width: 480px; }
.sig-caption .art-title { font-size: 20px; letter-spacing: .03em; }

/* ------------------------------------------------------------------ Signature refinements of the form side */
html[data-version="signature"] .pane-form { background: radial-gradient(70% 55% at 0% 0%, rgba(59, 123, 255, .08), transparent 60%), radial-gradient(60% 50% at 100% 100%, rgba(95, 216, 255, .04), transparent 60%), var(--bg); }
html[data-version="signature"] .intro h1 { font-size: clamp(29px, 3vw, 35px); }
html[data-version="signature"] .intro::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 18px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); }
html[data-version="signature"] .field input { background: linear-gradient(180deg, #0c1428, #0a1122); border-color: rgba(150, 175, 230, .16); }
html[data-version="signature"] .field input:focus { border-color: #4d8cff; box-shadow: 0 0 0 4px rgba(59, 123, 255, .16), 0 0 24px -6px rgba(95, 216, 255, .35); }
html[data-version="signature"] .submit { background: linear-gradient(180deg, #4b88ff 0%, #2f6bff 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 30px -14px rgba(59, 123, 255, .9); }
html[data-version="signature"] .submit:hover { background: linear-gradient(180deg, #5893ff 0%, #3a75ff 100%); transform: translateY(-1px); }
html[data-version="signature"] .secure-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -4px 0 0; font-family: var(--brand); font-weight: 300; font-size: 12.5px; letter-spacing: .02em; color: var(--muted); }
.secure-line svg { width: 16px; height: 16px; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ motion policy + responsive */
.is-paused .art-signature *, .is-paused .art-signature *::before, .is-paused .art-signature *::after { animation-play-state: paused !important; }
.is-still .art-signature * { animation-play-state: paused !important; animation-delay: -12.4s !important; }
.is-still .sig-intro { animation: none !important; }
@media (max-width: 1100px) { .sig-card-c, .sig-shadow-c { display: none; } .sig-floor { opacity: .7; } }
@media (min-width: 1101px) { .sig-stage { margin-left: -312px; } }   /* optical centre: the far Reserve card sits left */
