/* ==========================================================================
   Phone mockup, scroll-reveal, keyframes, reduced-motion
   ========================================================================== */
.phone { position: relative; width: min(290px, 78vw); margin: 0 auto; padding: 12px; border-radius: 44px; background: #0a1230; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b3a78; animation: floaty 7s ease-in-out infinite; }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 20px; border-radius: 99px; background: #0a1230; z-index: 3; }
.phone-screen { border-radius: 34px; overflow: hidden; background: #fff; aspect-ratio: 9 / 18.5; position: relative; display: flex; flex-direction: column; }
.ps-top { background: var(--grad-brand); color: #fff; padding: 2.1rem 1rem 1rem; text-align: center; }
.ps-top img { width: 62px; background: #fff; border-radius: 18px; padding: 5px; margin-bottom: .4rem; }
.ps-top b { display: block; font-family: var(--font-head); font-size: 1.2rem; }
.ps-top small { opacity: .85; font-weight: 700; }
.ps-body { padding: .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; flex: 1; align-content: start; }
.ps-tile { border-radius: 16px; color: #fff; text-align: center; padding: .7rem .3rem; font-weight: 800; font-size: .78rem; animation: tilePop 4s ease-in-out infinite; }
.ps-tile i { display: block; font-size: 1.3rem; margin-bottom: .2rem; }
.ps-tile:nth-child(2) { animation-delay: .4s; } .ps-tile:nth-child(3) { animation-delay: .8s; } .ps-tile:nth-child(4) { animation-delay: 1.2s; }
.ps-bar { margin: 0 .8rem .9rem; height: 10px; border-radius: 99px; background: var(--sky-soft); overflow: hidden; }
.ps-bar span { display: block; height: 100%; width: 72%; background: var(--grad-gold); border-radius: 99px; animation: barGrow 3s var(--ease) infinite alternate; }
.store-btn { display: inline-flex; align-items: center; gap: .8rem; background: #0a1230; color: #fff !important; border-radius: 18px; padding: .6rem 1.2rem; transition: transform .25s var(--ease), box-shadow .25s; box-shadow: 0 10px 22px rgba(10, 18, 48, .3); }
.store-btn:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(10, 18, 48, .4); }
.store-btn i { font-size: 1.9rem; }
.store-btn small { display: block; font-size: .72rem; opacity: .8; line-height: 1; font-weight: 700; }
.store-btn b { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.1; }
.how-install { background: #fff; border: 2px dashed #b9d4ff; border-radius: 22px; padding: 1.2rem 1.4rem; }
.how-install h5 { font-size: 1.1rem; }
.how-install ol { margin: 0; padding-left: 1.2rem; color: var(--muted); font-weight: 700; }

/* ---------- scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.zoom { transform: scale(.94); }
/* Sideways entrances only where there is room; on phones/tablets they would widen the page. */
@media (min-width: 992px) {
    .rv.left { transform: translateX(-40px); }
    .rv.right { transform: translateX(40px); }
}
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(24px, -18px) scale(1.08); } 66% { transform: translate(-18px, 14px) scale(.94); } }
@keyframes rotate { 0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-1.12em); } 40%, 56% { transform: translateY(-2.24em); } 60%, 76% { transform: translateY(-3.36em); } 80%, 96% { transform: translateY(-4.48em); } 100% { transform: translateY(-4.48em); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes tilePop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes barGrow { from { width: 30%; } to { width: 92%; } }
.confetti-bit { position: fixed; z-index: 9000; top: 0; left: 0; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .rv { opacity: 1; transform: none; }
    .marquee { -webkit-mask-image: none; mask-image: none; }
    .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-right: 0; }
    .marquee-track .dup { display: none; }
    .rotator ul { animation: none; }
}
@media (max-width: 767.98px) {
    .s-section { padding: 3.8rem 0; }
    .steps-row::before { display: none; }
    .step { margin-bottom: 1.4rem; }
    .cta-band { padding: 2.4rem 1.2rem; border-radius: 28px; }
    .showcase { border-width: 5px; border-radius: 24px; }
    .show-cap { font-size: .95rem; padding: 1.6rem 1rem .8rem; }
    .show-nav { width: 40px; height: 40px; }
}
