.app-demo { padding:0; width:100%; max-width:520px; justify-self:center; }
.app-phone-crop { height:360px; overflow:hidden; position:relative; border-bottom:1px solid #405271; }
.app-phone { width:330px; margin:0 auto; padding:12px; border:2px solid #526078; border-radius:44px 44px 0 0; background:#101722; box-shadow:0 0 0 3px #081020; }
.app-speaker { width:58px; height:5px; border-radius:4px; background:#445068; margin:3px auto 11px; }
.app-screen { position:relative; overflow:hidden; border-radius:24px 24px 0 0; background:white; aspect-ratio:460 / 818; }
.app-demo .app-screen img { position:absolute; inset:0; width:100%; height:100%; min-height:0; border-radius:0; object-fit:contain; }
.app-demo .app-screen img[hidden] { display:none; }
.app-demo figcaption { margin:24px auto 0; max-width:430px; min-height:112px; text-align:center; }
.app-demo figcaption strong { display:block; color:white; font-size:20px; line-height:28px; }
.app-demo figcaption p { margin:12px 0 0; color:#c5d1e3; font-size:15px; line-height:24px; }
.app-demo-controls { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-top:16px; }
.app-demo-controls button { background:transparent; color:#c5d1e3; border:1px solid #53637d; border-radius:8px; padding:10px 12px; font-size:12px; min-height:44px; }
.app-demo-controls button[aria-pressed=true] { background:white; border-color:white; color:#001743; }
.app-demo-controls button:hover { border-color:white; }
@media(max-width:600px) {
 .app-demo { padding:0; }
 .app-phone-crop { height:320px; }
 .app-phone { width:min(310px,calc(100% - 16px)); }
 .app-demo figcaption { min-height:132px; }
}
.app-section .app-grid { grid-template-columns:1.15fr 1fr; gap:24px; align-items:end; }
.app-section .app-copy>p { max-width:520px; }
.app-section .app-demo { align-self:end; padding:40px 0 0; }
.app-demo figcaption { margin:0 auto 24px; min-height:72px; max-width:330px; padding:12px 16px; border-radius:8px; background:#10294e; display:flex; align-items:center; }
.app-demo figcaption p { margin:0; font-size:13px; line-height:20px; }
.app-phone-stage { position:relative; padding:0 56px; }
.app-phone-crop { height:390px; border:0; }
.app-phone { width:100%; max-width:330px; }
.app-phone-stage>button { position:absolute; top:42%; width:44px; height:44px; padding:10px; display:grid; place-items:center; background:transparent; color:white; border:1px solid #53637d; border-radius:8px; }
.app-screen-prev { left:0; }
.app-screen-next { right:0; }
.app-screen-prev svg { transform:rotate(180deg); }
.app-phone-stage>button:hover { background:#10294e; border-color:white; }
@media(max-width:850px) { .app-section .app-grid { grid-template-columns:1fr; gap:0; } .app-section .app-demo { padding-top:24px; } }
@media(max-width:600px) { .app-phone-stage { padding:0 48px; } .app-demo figcaption { min-height:84px; } .app-phone-crop { height:320px; } }
.app-section .app-demo { align-self:stretch; padding-top:20px; display:flex; flex-direction:column; }
.app-phone-stage { flex:1; min-height:520px; }
.app-phone-crop { position:absolute; inset:0 56px; height:auto; }
.app-phone { max-width:380px; padding:8px; background:#080b10; border-radius:44px 44px 0 0; }
.app-status-bar { height:42px; display:flex; justify-content:space-between; align-items:center; padding:0 22px; color:white; background:#080b10; font:600 12px/1 Arial,sans-serif; border-radius:34px 34px 0 0; }
.app-status-icons { display:flex; gap:5px; align-items:center; }
.app-status-icons svg { width:17px; height:13px; }
.app-status-icons svg:last-child { width:23px; }
.app-screen { border-radius:0; }
.app-demo .app-screen img { top:-2.3%; height:auto; object-fit:initial; }
@media(max-width:850px) { .app-section .app-demo { padding-top:16px; } .app-phone-stage { min-height:520px; } }
@media(max-width:600px) { .app-phone-stage { min-height:440px; } .app-phone-crop { inset:0 48px; } .app-status-bar { padding:0 14px; height:36px; } }
.app-phone-crop::after { content:''; position:absolute; z-index:2; left:0; right:0; bottom:0; height:100px; background:linear-gradient(to top,rgba(0,0,0,.8),transparent); pointer-events:none; }
.app-screen-label { position:absolute; z-index:3; left:-24px; bottom:74px; min-width:140px; padding:16px 24px; border-radius:8px 0 0 8px; background:#087fea; color:#fff; font-size:16px; font-weight:600; line-height:23px; text-align:center; box-shadow:0 10px 24px #0004; }
@media(max-width:1100px) { .app-screen-label { left:0; bottom:55px; } }
@media(max-width:850px) { .app-screen-label { bottom:48px; } }
.app-phone-crop::after { left:50%; right:auto; width:min(100%,380px); transform:translateX(-50%); }
.app-screen-label { left:auto; right:calc(50% + min(190px, (100% - 112px) / 2) - 2px); min-width:0; width:120px; padding-inline:16px; }
@media(max-width:600px) { .app-screen-label { right:calc(50% + (100% - 96px) / 2 - 2px); width:96px; padding-inline:8px; font-size:14px; } }
