/* Clearly labelled marketing demo, styled as a quiet airport departure board. */
.home-page .demo-stats { margin-top:28px; max-width:590px; padding:17px 18px 15px; border:1px solid rgba(216,201,158,.35); border-radius:5px; color:#f6f4e9; background:rgba(10,38,29,.38); }
.demo-stats-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:16px; }
.home-page .demo-stats-heading h2 { margin:0; color:#d6c59a; font-size:12px; font-weight:600; letter-spacing:.08em; }
.demo-stats-badge { flex-shrink:0; padding:3px 7px; border:1px solid #b8a477; border-radius:3px; color:#f0dcb0; background:rgba(180,150,90,.1); font-size:10px; font-weight:700; }
.demo-stats-metrics { display:flex; flex-wrap:wrap; gap:17px 22px; }
.demo-stats-metric { flex:1 1 155px; min-width:0; }
.demo-stats-sales { flex:1.2 1 200px; }
.home-page .demo-stats-label { margin:0 0 10px; color:#eff3e6; font-size:12px; font-weight:700; }
.demo-stats-label span { color:#c6c5aa; font-size:10px; font-weight:400; }
.home-page .demo-inventory { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; min-height:46px; margin:0; }
.demo-inventory strong { color:#e7d09b; font-size:clamp(25px,2.8vw,34px); font-weight:650; line-height:1.3; font-variant-numeric:tabular-nums; letter-spacing:-.015em; }
.demo-inventory > span { color:#d8dcc7; font-size:11px; }
.home-page .demo-stats-caption { margin:7px 0 0; color:#bacbb8; font-size:10px; line-height:1.6; }
.home-page .demo-stats-disclaimer { margin:13px 0 0; padding-top:11px; border-top:1px solid rgba(209,214,183,.21); color:#e0d1ad; font-size:11px; font-weight:500; line-height:1.7; }
.demo-flap-counter { display:flex; align-items:center; flex-wrap:wrap; gap:6px; min-height:46px; }
.demo-flap-digits { display:flex; flex-wrap:wrap; gap:4px; }
.demo-sales-plus { color:#d8c18c; font:600 20px/1.2 ui-monospace,"SFMono-Regular",Consolas,monospace; }
.demo-counter-fallback { color:#f7f1dd; font:600 32px/1.3 ui-monospace,"SFMono-Regular",Consolas,monospace; }
.demo-flap-digit { --flap-height:46px; --flap-width:29px; position:relative; display:block; flex:0 0 var(--flap-width); width:var(--flap-width); height:var(--flap-height); perspective:280px; border-radius:3px; background:#0c2019; box-shadow:0 2px 4px rgba(0,0,0,.28); font-family:ui-monospace,"SFMono-Regular",Consolas,monospace; font-size:32px; font-weight:600; }
.demo-flap-digit::after { position:absolute; top:50%; right:0; left:0; z-index:5; height:1px; background:rgba(0,0,0,.72); content:""; pointer-events:none; }
.demo-flap-top, .demo-flap-bottom { position:absolute; left:0; display:block; width:100%; height:50%; overflow:hidden; backface-visibility:hidden; color:#f2ead5; }
.demo-flap-top { top:0; border-radius:3px 3px 0 0; background:linear-gradient(#254134,#1b3327); }
.demo-flap-bottom { bottom:0; border-radius:0 0 3px 3px; background:linear-gradient(#20392c,#294434); }
.demo-flap-glyph { position:absolute; left:0; display:block; width:100%; height:var(--flap-height); line-height:var(--flap-height); text-align:center; }
.demo-flap-top .demo-flap-glyph { top:0; }
.demo-flap-bottom .demo-flap-glyph { top:calc(var(--flap-height) / -2); }
.demo-flap-old { z-index:3; transform-origin:bottom center; animation:qingxu-flap-top .34s ease-in forwards; }
.demo-flap-new { z-index:4; transform-origin:top center; transform:rotateX(90deg); animation:qingxu-flap-bottom .34s .34s ease-out forwards; }
@keyframes qingxu-flap-top { from { transform:rotateX(0deg); } to { transform:rotateX(-90deg); } }
@keyframes qingxu-flap-bottom { from { transform:rotateX(90deg); } to { transform:rotateX(0deg); } }
@media (max-width:1050px) { .home-page .demo-stats { padding:15px; } .demo-stats-metrics { gap:17px; } }
@media (max-width:480px) {
  .home-page .demo-stats { margin-top:25px; padding:16px; }
  .demo-stats-metric, .demo-stats-sales { flex-basis:100%; }
  .demo-stats-sales { padding-top:14px; border-top:1px solid rgba(209,214,183,.18); }
  .demo-flap-digit { --flap-width:32px; --flap-height:48px; font-size:34px; }
  .demo-inventory strong { font-size:32px; }
}
@media (prefers-reduced-motion:reduce) { .demo-flap-old, .demo-flap-new { display:none; animation:none; } }
