/* V54: only styles the three-step simulated phone, matching Smith Digital's original dark hero mockup. */
.sd53-section .sd54-phone-area{padding:20px 10px 28px;perspective:1150px;min-height:700px;justify-content:center;position:relative;isolation:isolate}
.sd53-section .sd54-phone-area:before{content:"";position:absolute;inset:25% -8% 9%;background:radial-gradient(ellipse,rgba(57,120,236,.22),transparent 68%);filter:blur(22px);z-index:-1}
.sd53-section .sd54-device{position:relative;width:min(319px,100%);aspect-ratio:319/693;transform:rotateY(-3deg) rotateZ(-.5deg);filter:drop-shadow(0 26px 27px rgba(7,21,41,.30));will-change:transform;animation:sd54-floating 7s ease-in-out infinite}
.sd53-section .sd54-device-back,.sd53-section .sd54-device-shell{position:absolute;inset:0;border-radius:43px}
.sd53-section .sd54-device-back{transform:translate(6px,7px);background:linear-gradient(140deg,#9aa7b5,#272e3a 24%,#566578 55%,#111c2c 90%);box-shadow:0 20px 45px rgba(7,17,38,.27)}
.sd53-section .sd54-device-shell{display:flex;padding:8px;background:linear-gradient(125deg,#8b9bac 2%,#202938 14%,#171c28 61%,#6a798c 94%);border:1px solid #97a7b7;box-shadow:inset 0 0 0 2px #111823}
.sd53-section .sd54-screen{isolation:isolate;position:relative;flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:35px;background:linear-gradient(165deg,#101e34,#0a1426 50%,#081224);border:1px solid #3a506f;color:#eef5ff;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;text-align:left}
.sd53-section .sd54-notch{position:absolute;z-index:8;top:8px;left:50%;transform:translateX(-50%);height:17px;width:95px;border-radius:15px;background:#030814;box-shadow:0 0 0 1px #151a22}
.sd53-section .sd54-status{height:33px;flex:none;padding:11px 20px 2px;display:flex;justify-content:space-between;color:#e4ebf8;font-size:10px;font-weight:750}
.sd53-section .sd54-brand{position:relative;display:flex;gap:8px;align-items:center;flex:none;height:55px;padding:6px 13px;border-bottom:1px solid #263b58}
.sd53-section .sd54-logo{width:29px;height:29px;flex:none;display:grid;place-items:center;border-radius:8px;background:linear-gradient(155deg,#0b5ee7,#1f4ad6);color:white;font-size:21px;font-weight:900;overflow:hidden}
.sd53-section .sd54-logo img{width:100%;height:100%;object-fit:contain}
.sd53-section .sd54-brand-copy{min-width:0;display:grid;gap:2px}
.sd53-section .sd54-brand-copy strong{font-size:11px;letter-spacing:-.02em;white-space:nowrap}
.sd53-section .sd54-brand-copy small{font-size:6px;color:#abc5f3;font-weight:750;letter-spacing:.7px;white-space:nowrap}
.sd53-section .sd54-live-tag{margin-left:auto;font-size:8px;color:#a9c9ff;background:#172d52;border-radius:5px;padding:4px 5px}
.sd53-section .sd54-scenes{position:relative;flex:1;min-height:0;overflow:hidden}
.sd53-section .sd54-scene{position:absolute;inset:0;padding:15px 12px 8px;opacity:0;transform:translateY(12px) scale(.992);transition:opacity .38s ease,transform .38s ease;pointer-events:none;overflow:hidden}
.sd53-section .sd54-scene.is-active{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.sd53-section .sd54-kicker{margin:0 0 7px;font-size:8px;letter-spacing:1.05px;color:#6eaafb;font-weight:850}
.sd53-section .sd54-scene h3{margin:0 0 5px;color:#f6f9ff;font-size:19px;font-weight:850;line-height:1.2;letter-spacing:-.05em}
.sd53-section .sd54-sub{margin:0 0 15px;color:#acbdd5;font-size:10px;line-height:1.5}
.sd53-section .sd54-panel{background:#162740;border:1px solid #2f4564;border-radius:16px;padding:13px 11px 11px;box-shadow:0 16px 35px rgba(1,6,17,.14)}
.sd53-section .sd54-field-row{margin-bottom:12px}
.sd53-section .sd54-field-row label{display:block;color:#c3d4ed;font-weight:700;font-size:9px;margin-bottom:6px}
.sd53-section .sd54-input{height:38px;border:1px solid #415674;background:#0e1a2d;border-radius:9px;color:#70819b;padding:11px 9px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:border-color .18s,box-shadow .18s,color .18s}
.sd53-section .sd54-input.sd54-focused{border-color:#4f9afa;box-shadow:0 0 0 2px rgba(55,123,245,.17);color:#e7f3ff}
.sd53-section .sd54-eye{float:right;color:#6d9fe7;font-size:11px}
.sd53-section .sd54-strength{height:4px;border-radius:20px;background:#283952;overflow:hidden;margin:-5px 0 14px}
.sd53-section .sd54-strength i{display:block;width:0;height:100%;background:linear-gradient(90deg,#347df5,#64d3b9);transition:width .2s}
.sd53-section .sd54-button{height:37px;border-radius:9px;background:linear-gradient(100deg,#166fe9,#4b58e8);color:white;display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;font-weight:850;box-shadow:0 8px 18px #0a3cc52e;transition:transform .2s,filter .2s}
.sd53-section .sd54-button.sd54-ready{filter:brightness(1.17);transform:scale(1.02)}
.sd53-section .sd54-panel-note{font-size:8px;text-align:center;color:#94a8c7;margin:13px auto 2px;line-height:1.4}
.sd53-section .sd54-confirm{position:absolute;bottom:20px;left:18px;right:18px;padding:9px 11px;border:1px solid #2a8077;border-radius:9px;background:#0c3a3e;color:#b4fff0;font-size:10px;font-weight:750;box-shadow:0 12px 30px #0003;opacity:0;transform:translateY(12px);transition:opacity .2s,transform .2s;pointer-events:none}
.sd53-section .sd54-confirm.sd54-show{opacity:1;transform:translateY(0)}
.sd53-section .sd54-balance{position:relative;display:grid;gap:6px;background:linear-gradient(130deg,#1b3a69,#152643);padding:12px 14px;margin-bottom:10px;border:1px solid #355a8c;border-radius:13px;overflow:hidden}
.sd53-section .sd54-balance>span:first-child{font-size:9px;color:#b0cafa}
.sd53-section .sd54-balance strong{font-size:22px;line-height:1.1;color:white;letter-spacing:-.04em}
.sd53-section .sd54-balance-icon{position:absolute;right:12px;top:14px;font-size:25px;color:#58a2fb}
.sd53-section .sd54-choose{display:flex;gap:6px;margin-bottom:10px}
.sd53-section .sd54-choose>*{flex:1;min-width:0;text-align:center;border-radius:8px;border:1px solid #2d486b;padding:7px 1px;font-size:9px;font-weight:700;color:#94add0}
.sd53-section .sd54-choose b{background:#235dc1;color:#fff;border-color:#4681ec}
.sd53-section .sd54-payment{padding:10px}
.sd53-section .sd54-panel-heading{display:flex;justify-content:space-between;gap:4px;font-size:10px;font-weight:800;margin:0 0 9px}
.sd53-section .sd54-panel-heading span{font-size:9px;color:#9eb8db;font-weight:500}
.sd53-section .sd54-qr-box{position:relative;display:grid;align-content:center;justify-items:center;min-height:110px;border-radius:10px;border:1px dashed #5284c9;background:linear-gradient(180deg,#1a3356,#112444);margin-bottom:10px;overflow:hidden}
.sd53-section .sd54-qr-box:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,#346db536,transparent 70%)}
.sd53-section .sd54-qr-box strong{font-size:26px;letter-spacing:-.07em;font-weight:900;color:#bdd8fc;z-index:1}
.sd53-section .sd54-qr-box>span{font-size:8px;color:#adc2e0;margin-top:4px;z-index:1}
.sd53-section .sd54-qr-tiles{position:absolute;right:8px;bottom:7px;width:29px;height:29px;display:grid;grid-template-columns:repeat(3,1fr);gap:2px;opacity:.4}
.sd53-section .sd54-qr-tiles i{background:#99c3ff;border-radius:1px}.sd53-section .sd54-qr-tiles i:nth-child(2n){opacity:.25}
.sd53-section .sd54-payment .sd54-field-row{margin-bottom:8px}
.sd53-section .sd54-presets{display:flex;gap:5px;margin-bottom:10px}.sd53-section .sd54-presets span{flex:1;text-align:center;color:#c3d6f2;border:1px solid #344f72;border-radius:6px;padding:5px 2px;font-size:8px}
.sd53-section .sd54-payment .sd54-button{height:33px}
.sd53-section .sd54-service{display:flex;align-items:center;gap:9px;background:#0e1b2e;border:1px solid #41608c;padding:10px;border-radius:10px;margin-bottom:13px;transition:border-color .2s}
.sd53-section .sd54-service.sd54-selected{border-color:#63a5ff}
.sd53-section .sd54-service img{width:26px;height:26px;object-fit:contain;border-radius:6px}
.sd53-section .sd54-service>span{min-width:0;display:grid;gap:3px}.sd53-section .sd54-service strong{font-size:11px}.sd53-section .sd54-service small{color:#91acd0;font-size:9px;max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sd53-section .sd54-service>b{margin-left:auto;color:#9aafca}
.sd53-section .sd54-order .sd54-target{font-size:9px}
.sd53-section .sd54-quantity{display:flex;align-items:center;justify-content:space-between}
.sd53-section .sd54-counter{background:#2c64d2;color:#fff;border-radius:6px;padding:5px 7px;line-height:1;font-size:12px}
.sd53-section .sd54-summary{display:flex;align-items:center;justify-content:space-between;background:#102848;padding:11px 8px;border-radius:9px;margin:3px 0 11px;font-size:10px;color:#b9d0ee;gap:8px}
.sd53-section .sd54-summary strong{font-size:14px;color:#fff}
.sd53-section .sd54-bottomnav{flex:none;height:48px;border-top:1px solid #2a3b57;display:flex;align-items:center;justify-content:space-around;background:#0b172a;color:#97accd;text-align:center}
.sd53-section .sd54-bottomnav>span,.sd53-section .sd54-bottomnav>b{display:grid;place-items:center;gap:2px;font-size:17px;font-weight:700}
.sd53-section .sd54-bottomnav small{font-size:7px;font-weight:650;line-height:1}
.sd53-section .sd54-bottomnav>b{color:#75acff}
.sd53-section .sd54-homebar{height:4px;width:31%;border-radius:100px;background:#8fa2bf;margin:6px auto 7px;flex:none}
@keyframes sd54-floating{0%,100%{transform:translateY(0) rotateY(-3deg) rotateZ(-.5deg)}50%{transform:translateY(-7px) rotateY(-2deg) rotateZ(0deg)}}
@media(max-width:820px){.sd53-section .sd54-phone-area{min-height:0;padding:5px 5px 18px}.sd53-section .sd54-device{width:min(292px,85vw)}.sd53-section .sd54-scene{padding-top:11px}.sd53-section .sd54-sub{margin-bottom:8px}
.sd53-section .sd54-balance{padding:9px 12px;margin-bottom:7px}
.sd53-section .sd54-choose{margin-bottom:7px}
.sd53-section .sd54-choose>*{padding:5px 1px}
.sd53-section .sd54-payment{padding:8px}
.sd53-section .sd54-payment .sd54-panel-heading{margin-bottom:6px}
.sd53-section .sd54-payment .sd54-qr-box{min-height:88px;margin-bottom:7px}
.sd53-section .sd54-payment .sd54-input{height:32px;padding:8px}
.sd53-section .sd54-payment .sd54-field-row{margin-bottom:6px}
.sd53-section .sd54-presets{margin-bottom:8px}
.sd53-section .sd54-presets span{padding:4px 2px}
.sd53-section .sd54-payment .sd54-button{height:30px}
}
@media(prefers-reduced-motion:reduce){.sd53-section .sd54-device{animation:none!important}.sd53-section .sd54-scene,.sd53-section .sd54-button,.sd53-section .sd54-input,.sd53-section .sd54-confirm{transition:none!important}}
