/* SWD App features — choose a feature, the phone shows it. */
.swd-appfeatures .af { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.swd-appfeatures .af__list { display: grid; gap: 8px; }
.swd-appfeatures .af__list button { display: block; width: 100%; margin: 0; padding: 20px 22px; border: 0; border-radius: 18px; background: transparent; box-shadow: inset 0 0 0 1px var(--edge); color: #fff; text-align: left; text-transform: none; letter-spacing: inherit; white-space: normal; cursor: pointer; transition: background .25s, box-shadow .25s; }
.swd-appfeatures .af__list button:hover { background: rgba(255,255,255,.03); }
.swd-appfeatures .af__list b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.swd-appfeatures .af__list span { display: block; max-height: 0; overflow: hidden; color: var(--muted); font-size: 15.5px; font-weight: 400; line-height: 1.5; transition: max-height .35s ease, margin .35s; }
.swd-appfeatures .af__list [aria-selected="true"] { background: var(--card); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 3px 0 0 var(--a, var(--acc)); }
.swd-appfeatures .af__list [aria-selected="true"] span { max-height: 140px; margin-top: 6px; }
.swd-appfeatures .af__phone { position: sticky; top: 110px; justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 19; padding: 9px; border-radius: 48px; background: #0B0F1A; box-shadow: inset 0 0 0 2px rgba(255,255,255,.14), 0 50px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.4); }
.swd-appfeatures .af__phone::before { content: ""; position: absolute; inset: -18%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--a, #C3A6FF) 30%, transparent), transparent 70%); }
.swd-appfeatures .af__island { position: absolute; left: 50%; top: 18px; z-index: 3; width: 30%; height: 22px; border-radius: 999px; background: #000; transform: translateX(-50%); }
.swd-appfeatures .af__screen { position: relative; height: 100%; overflow: hidden; border-radius: 40px; background: #F3F5F9; color: #141A2C; }
.swd-appfeatures .af__scene { position: absolute; inset: 0; opacity: 0; transform: scale(.98); transition: opacity .4s, transform .4s; }
.swd-appfeatures .af__scene.on { opacity: 1; transform: none; }
.swd-appfeatures .sc { position: relative; height: 100%; padding: 58px 16px 18px; font-size: 13px; line-height: 1.35; }
.swd-appfeatures .sc__h { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.swd-appfeatures .sc__m { margin: 0; color: #55607A; text-align: center; }
/* push: lock screen */
.swd-appfeatures .sc--push { background: linear-gradient(160deg, #2B2F6B, #6A3FA0 55%, #D46A8C); color: #fff; }
.swd-appfeatures .sc__time { margin: 6px 0 0; font-size: 58px; font-weight: 600; text-align: center; letter-spacing: -.03em; line-height: 1; }
.swd-appfeatures .sc__date { margin: 6px 0 22px; text-align: center; font-size: 14px; opacity: .85; }
.swd-appfeatures .sc__n { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; align-items: start; margin-bottom: 8px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: swd-af-in .5s both; }
.swd-appfeatures .sc__n:nth-of-type(2) { animation-delay: .15s; } .swd-appfeatures .sc__n:nth-of-type(3) { animation-delay: .3s; }
.swd-appfeatures .sc__n i { width: 30px; height: 30px; border-radius: 8px; background: var(--a, #C3A6FF); }
.swd-appfeatures .sc__n b { display: block; }
.swd-appfeatures .sc__n time { font-size: 11px; opacity: .8; }
@keyframes swd-af-in { from { opacity: 0; transform: translateY(-10px); } }
/* pay */
.swd-appfeatures .sc--pay { background: #E9EDF5; }
.swd-appfeatures .sc__app { padding: 14px; border-radius: 16px; background: #fff; }
.swd-appfeatures .sc__line { display: flex; justify-content: space-between; padding: 8px 0; }
.swd-appfeatures .sc__sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 18px 16px; border-radius: 30px 30px 32px 32px; background: #fff; box-shadow: 0 -10px 40px rgba(0,0,0,.18); animation: swd-af-up .5s both; }
@keyframes swd-af-up { from { transform: translateY(40%); opacity: 0; } }
.swd-appfeatures .sc__wallet { margin: 0 0 10px; font-weight: 700; font-size: 16px; }
.swd-appfeatures .sc__card { display: flex; justify-content: space-between; align-items: flex-end; height: 74px; padding: 12px 14px; margin-bottom: 8px; border-radius: 12px; background: linear-gradient(135deg, #141A2C, #2D5BFF); color: #fff; font-weight: 600; }
.swd-appfeatures .sc__confirm { margin: 12px 0 0; text-align: center; color: #2D5BFF; font-weight: 600; }
/* face id */
.swd-appfeatures .sc--face { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.swd-appfeatures .sc__glyph { position: relative; width: 96px; height: 96px; margin-bottom: 10px; }
.swd-appfeatures .sc__glyph span { position: absolute; width: 26px; height: 26px; border: 4px solid var(--a, #8E6CF0); }
.swd-appfeatures .sc__glyph span:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.swd-appfeatures .sc__glyph span:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.swd-appfeatures .sc__glyph span:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.swd-appfeatures .sc__glyph span:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.swd-appfeatures .sc__glyph i { position: absolute; left: 26px; right: 26px; top: 30px; height: 36px; border-bottom: 4px solid var(--a, #8E6CF0); border-radius: 0 0 22px 22px; animation: swd-af-face 1.6s ease-in-out infinite; }
@keyframes swd-af-face { 50% { transform: scaleX(.8); } }
.swd-appfeatures .sc__ok { padding: 8px 16px; border-radius: 999px; background: #E3F7EC; color: #0E8A50; font-weight: 600; animation: swd-af-in .5s .8s both; }
/* offline */
.swd-appfeatures .sc__banner { margin: 0 0 16px; padding: 10px 12px; border-radius: 12px; background: #FFF3D6; color: #7A5200; font-weight: 500; }
.swd-appfeatures .sc--off ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.swd-appfeatures .sc--off li { display: flex; justify-content: space-between; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; }
.swd-appfeatures .sc--off li span { color: #6B7690; font-size: 12px; }
.swd-appfeatures .sc--off li:nth-child(2) span { color: #B26B00; }
/* map */
.swd-appfeatures .sc--map { padding: 0; }
.swd-appfeatures .sc__map { position: absolute; inset: 0; background: #E4EBE1; }
.swd-appfeatures .sc__map svg { width: 100%; height: 100%; }
.swd-appfeatures .sc__map .r { fill: none; stroke: #fff; stroke-width: 12; }
.swd-appfeatures .sc__map .route { fill: none; stroke: #2D5BFF; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: swd-af-route 1.6s .2s ease forwards; }
@keyframes swd-af-route { to { stroke-dashoffset: 0; } }
.swd-appfeatures .sc__pin { position: absolute; left: 72%; top: 15%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: #E5484D; transform: rotate(-45deg); box-shadow: 0 6px 12px rgba(0,0,0,.25); }
.swd-appfeatures .sc__me { position: absolute; left: 18%; top: 82%; width: 16px; height: 16px; border-radius: 50%; background: #2D5BFF; box-shadow: 0 0 0 6px rgba(45,91,255,.25); }
.swd-appfeatures .sc__sheet--map { display: grid; gap: 2px; border-radius: 24px; }
.swd-appfeatures .sc__sheet--map span { color: #55607A; }
.swd-appfeatures .sc__sheet--map em { margin-top: 8px; padding: 9px; border-radius: 10px; background: #2D5BFF; color: #fff; font-style: normal; font-weight: 600; text-align: center; }
/* camera */
.swd-appfeatures .sc--cam { background: #111; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.swd-appfeatures .sc__view { position: relative; flex: 1; border-radius: 18px; background: linear-gradient(160deg, #3A3F4E, #1C1F28); overflow: hidden; display: grid; place-items: end center; padding-bottom: 14px; }
.swd-appfeatures .sc__view p { margin: 0; font-size: 12.5px; opacity: .8; }
.swd-appfeatures .sc__c { position: absolute; width: 30px; height: 30px; border: 3px solid #FFD54A; }
.swd-appfeatures .sc__c--tl { left: 16%; top: 18%; border-right: 0; border-bottom: 0; } .swd-appfeatures .sc__c--tr { right: 16%; top: 18%; border-left: 0; border-bottom: 0; }
.swd-appfeatures .sc__c--bl { left: 16%; bottom: 26%; border-right: 0; border-top: 0; } .swd-appfeatures .sc__c--br { right: 16%; bottom: 26%; border-left: 0; border-top: 0; }
.swd-appfeatures .sc__scan { position: absolute; left: 16%; right: 16%; top: 18%; height: 2px; background: #FFD54A; box-shadow: 0 0 12px #FFD54A; animation: swd-af-scan 2s ease-in-out infinite; }
@keyframes swd-af-scan { 50% { top: 72%; } }
.swd-appfeatures .sc__shutter { align-self: center; width: 62px; height: 62px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.swd-appfeatures .sc__shutter i { width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.swd-appfeatures .sc--cam .sc__m { color: rgba(255,255,255,.75); }
@media (max-width: 900px) { .swd-appfeatures .af { grid-template-columns: minmax(0, 1fr); } .swd-appfeatures .af__phone { position: relative; top: 0; order: -1; width: min(260px, 80%); } }
