/* ============================================================
   VEHIX — Homepage rebuild · PRODUCT UI MOCKS (pure CSS/HTML)
   Clean representative interfaces. Swap for real screenshots later
   by replacing each .mock-* block with an <img> of the same ratio.
   ============================================================ */

/* ---- Phone frame ---- */
.phone {
  width: clamp(248px, 70vw, 286px); aspect-ratio: 285 / 586;
  background: #0a0a0c; border-radius: 46px; padding: 11px;
  box-shadow: var(--elev-3); position: relative;
}
.tone-ink .phone { box-shadow: var(--elev-ink); background: #2a2a2e; }
.phone-screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: #fbfbfd; display: flex; flex-direction: column;
  font-size: 13px; color: var(--ink); position: relative;
}
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; background: #0a0a0c; border-radius: 12px; z-index: 3; }
.scr-status { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px 0; font-size: 11px; font-weight: 600; color: var(--ink); }
.scr-status .dots { display: flex; gap: 3px; align-items: center; }
.scr-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); display: block; opacity: .7; }

/* ---- FERG recording screen ---- */
.scr-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; }
.scr-head .app { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: -.01em; white-space: nowrap; }
.scr-head .vchip { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #d6314a; }
.live .pulse { width: 8px; height: 8px; border-radius: 50%; background: #f0334f; box-shadow: 0 0 0 0 rgba(240,51,79,.5); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(240,51,79,0);} 100% { box-shadow: 0 0 0 0 rgba(240,51,79,0);} }
@media (prefers-reduced-motion: reduce) { .live .pulse { animation: none; } }

.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 86px; margin: 6px 16px 0; }
.wave span { width: 4px; border-radius: 4px; background: var(--accent); opacity: .9; }
.timer { text-align: center; font-variant-numeric: tabular-nums; font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 14px; }
.timer + .sub { text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }

.insight { margin: auto 14px 16px; background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 13px 14px; box-shadow: var(--elev-1); }
.insight .tag { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.insight .msg { font-size: 12.5px; font-weight: 500; margin-top: 4px; line-height: 1.35; }
.insight .meta { font-size: 10.5px; color: var(--ink-3); margin-top: 8px; }

/* ---- LOOK dashboard window ---- */
.window {
  width: clamp(300px, 92%, 460px); background: #fff; border: 1px solid var(--hairline);
  border-radius: 22px; box-shadow: var(--elev-2); overflow: hidden;
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e3e3e6; display: block; }
.win-bar .title { margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.win-body { padding: 22px 22px 24px; }
.win-body .h { display: flex; align-items: baseline; justify-content: space-between; }
.win-body .h b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.win-body .h span { font-size: 12px; color: var(--ink-3); }
.engine { display: grid; grid-template-columns: 116px 1fr 34px; align-items: center; gap: 12px; margin-top: 16px; }
.engine .name { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.engine .track { height: 8px; border-radius: 6px; background: #ececed; overflow: hidden; }
.engine .fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)); }
.engine .num { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.win-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.win-foot .sov { color: var(--ink-2); }
.win-foot .up { color: #18794e; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

/* ---- REVIEWS customer screen ---- */
.scr-rev { padding: 30px 22px 22px; display: flex; flex-direction: column; height: 100%; text-align: center; }
.scr-rev .biz { display: inline-flex; align-items: center; gap: 7px; justify-content: center; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.scr-rev .biz .b { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 11px; }
.scr-rev .ask { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-top: 22px; line-height: 1.25; }
.scr-rev .stars { font-size: 22px; letter-spacing: 3px; color: #f5a623; margin-top: 12px; }
.rev-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.rev-btn { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px; border-radius: 13px; font-size: 13.5px; font-weight: 600; color: #fff; }
.rev-btn.g { background: #1a73e8; }
.rev-btn.y { background: #d32323; }
.rev-btn .g-ic { width: 17px; height: 17px; border-radius: 50%; background: #fff; color: #1a73e8; display: grid; place-items: center; font-weight: 800; font-size: 11px; }
.rev-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--ink-3); font-size: 10.5px; }
/* QR glyph (representative, not a scannable code) */
.qr { width: 34px; height: 34px; border-radius: 7px; padding: 4px; background: #fff; border: 1px solid var(--hairline); display: grid; grid-template-columns: repeat(5,1fr); grid-template-rows: repeat(5,1fr); gap: 2px; }
.qr i { background: var(--ink); border-radius: 1px; }
.qr i.o { background: transparent; }

/* floating leaderboard chip beside reviews phone */
.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--elev-2);
  border: 1px solid var(--hairline); padding: 13px 15px; width: 188px; font-size: 12px;
}
.float-card .lbl { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.float-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.float-card .row .who { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.float-card .row .av { width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.float-card .row .cnt { font-weight: 700; color: #f5a623; }

.mock-stage { position: relative; display: flex; justify-content: center; width: 100%; }
.mock-stage .float-card.fc-rev { right: -6px; bottom: 26px; }
@media (max-width: 480px) { .float-card { display: none; } }
