/* ============================================================
   Showcase additions — logo trust bar, product UI mock, metrics
   Loaded after styles.css. App mock stays light in both themes.
   ============================================================ */

/* ---------- logo trust bar ---------- */
.trustbar { background: var(--ink-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 30px 0 34px; }
.trustbar .tb-head { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-2); margin-bottom: 22px; }
.tb-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 46px; }
.tb-logo { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.01em; color: var(--on-dark); opacity: .58; transition: opacity .25s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.tb-logo:hover { opacity: 1; }
.tb-logo .gl { width: 17px; height: 17px; border-radius: 5px; background: currentColor; opacity: .9; }
.tb-logo .gl.round { border-radius: 50%; }
.tb-logo .gl.tri { background: none; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid currentColor; border-radius: 2px; }
.tb-logo.w800 { font-weight: 800; letter-spacing: -.03em; }
.tb-logo.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-style: italic; }
.tb-note { text-align: center; font-size: 11.5px; color: var(--stone); margin-top: 20px; font-family: "Space Mono", monospace; }

/* honest industry labels (replaces fake logos) */
.tb-ind { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; color: var(--on-dark); opacity: .82; display: inline-flex; align-items: center; gap: 9px; }
.tb-ind::before { content: ""; width: 16px; height: 16px; border-radius: 5px; background: rgba(245,158,11,.16); border: 1.5px solid var(--amber); flex: none; }

/* ---------- product showcase ---------- */
.pview-sec { padding-bottom: 120px; }
.pview {
  position: relative; max-width: 1120px; margin: 0 auto; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid rgba(10,10,10,.1);
  box-shadow: 0 2px 4px rgba(10,10,10,.04), 0 50px 100px -40px rgba(10,10,10,.45);
}
body.all-dark .pview { box-shadow: 0 2px 4px rgba(0,0,0,.4), 0 60px 120px -45px rgba(0,0,0,.85); border-color: rgba(255,255,255,.08); }
.pview::after { /* amber glow under the mock */ content: ""; position: absolute; left: 50%; bottom: -60px; transform: translateX(-50%); width: 70%; height: 120px; background: radial-gradient(closest-side, rgba(245,158,11,.4), transparent); filter: blur(40px); z-index: -1; }
.pview-chrome { height: 42px; background: #f4efe7; border-bottom: 1px solid #e7e0d4; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.pview-dots { display: flex; gap: 7px; }
.pview-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d9d2c6; display: block; }
.pview-url { flex: 1; max-width: 340px; height: 24px; background: #fff; border: 1px solid #e7e0d4; border-radius: 7px; display: flex; align-items: center; padding: 0 11px; font-family: "Space Mono", monospace; font-size: 11.5px; color: var(--stone); gap: 7px; }
.pview-url svg { width: 11px; height: 11px; color: #1f8a5b; }

.pv-app { display: grid; grid-template-columns: 210px 1fr; min-height: 520px; }

/* sidebar (dark) */
.pv-side { background: var(--ink); color: var(--on-dark); padding: 20px 14px; display: flex; flex-direction: column; gap: 5px; }
.pv-brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 17px; padding: 4px 8px 16px; }
.pv-brand .m { width: 24px; height: 24px; border-radius: 7px; background: var(--amber); display: grid; place-items: center; }
.pv-brand .m svg { width: 14px; height: 14px; }
.pv-nav { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--on-dark-soft); cursor: default; }
.pv-nav svg { width: 16px; height: 16px; opacity: .8; }
.pv-nav.active { background: rgba(245,158,11,.14); color: var(--cream); }
.pv-nav.active svg { color: var(--amber); opacity: 1; }
.pv-side .pv-spacer { flex: 1; }
.pv-user { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-top: 1px solid var(--line-dark); margin-top: 8px; }
.pv-user .av { width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 12px; }
.pv-user b { font-size: 12.5px; font-weight: 700; display: block; line-height: 1.2; white-space: nowrap; }
.pv-user span { font-size: 11px; color: var(--stone-2); white-space: nowrap; }

/* main */
.pv-main { background: #faf8f5; padding: 22px 24px; min-width: 0; }
.pv-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pv-top h4 { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.pv-top .sub { font-size: 12.5px; color: var(--stone); margin-top: 2px; }
.pv-actions { display: flex; align-items: center; gap: 10px; }
.pv-avs { display: flex; }
.pv-avs i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #faf8f5; margin-left: -8px; display: grid; place-items: center; font-size: 10px; font-weight: 700; font-family: var(--display); color: #fff; }
.pv-avs i:nth-child(1) { background: #c97d05; margin-left: 0; }
.pv-avs i:nth-child(2) { background: #78716c; }
.pv-avs i:nth-child(3) { background: #1f8a5b; }
.pv-run { background: var(--amber); color: var(--ink); font-family: var(--body); font-weight: 700; font-size: 12.5px; padding: 9px 15px; border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; }
.pv-run svg { width: 13px; height: 13px; }

.pv-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.pv-card { background: #fff; border: 1px solid #ece6db; border-radius: 13px; padding: 16px; }
.pv-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.pv-card-h .t { font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pv-card-h .pct { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--amber-deep); white-space: nowrap; flex: none; }
.pv-bar { height: 6px; border-radius: 4px; background: #efe9dd; overflow: hidden; margin: 10px 0 14px; }
.pv-bar i { display: block; height: 100%; width: 60%; background: linear-gradient(90deg, var(--amber), #f6b43e); border-radius: 4px; }

.pv-item { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid #f1ece2; }
.pv-item:last-child { border-bottom: 0; }
.pv-check { width: 19px; height: 19px; flex: none; border-radius: 6px; border: 1.5px solid #cfc7b8; background: #fff; position: relative; }
.pv-item.done .pv-check { background: var(--amber); border-color: var(--amber-deep); }
.pv-item.done .pv-check::after { content: ""; position: absolute; left: 4px; top: 5px; width: 7px; height: 3.5px; border-left: 2.2px solid var(--ink); border-bottom: 2.2px solid var(--ink); transform: rotate(-45deg); }
.pv-item .lbl { font-size: 13px; font-weight: 600; color: #4b463f; flex: 1; }
.pv-item.done .lbl { color: #a8a29a; text-decoration: line-through; text-decoration-color: rgba(245,158,11,.5); }
.pv-item .tag { font-size: 10.5px; font-weight: 700; color: #1f8a5b; background: rgba(31,138,91,.1); padding: 3px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.pv-item .tag svg { width: 10px; height: 10px; }
.pv-photo { width: 34px; height: 34px; border-radius: 7px; flex: none; background: repeating-linear-gradient(135deg, #efe7d6, #efe7d6 5px, #e7ddca 5px, #e7ddca 10px); border: 1px solid #e0d7c4; position: relative; }
.pv-photo::after { content: "📷"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; filter: grayscale(.3); }

/* right rail */
.pv-rail { display: flex; flex-direction: column; gap: 16px; }
.pv-ring { display: flex; align-items: center; gap: 14px; }
.pv-ring .donut { width: 64px; height: 64px; border-radius: 50%; flex: none; background: conic-gradient(var(--amber) 0% 92%, #efe9dd 92% 100%); display: grid; place-items: center; }
.pv-ring .donut::after { content: "92%"; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); }
.pv-ring .meta b { font-family: var(--display); font-size: 13.5px; color: var(--ink); display: block; }
.pv-ring .meta span { font-size: 11.5px; color: var(--stone); }
.pv-sched .sh { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-bottom: 10px; }
.pv-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.pv-row .time { font-family: "Space Mono", monospace; font-size: 11px; color: var(--stone); width: 48px; flex: none; }
.pv-row .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.pv-row .nm { font-size: 12.5px; font-weight: 600; color: #4b463f; }

@media (max-width: 880px) {
  .pv-app { grid-template-columns: 1fr; }
  .pv-side { flex-direction: row; align-items: center; gap: 6px; overflow: hidden; padding: 12px; }
  .pv-side .pv-brand, .pv-side .pv-spacer, .pv-side .pv-user { display: none; }
  .pv-side .pv-nav { white-space: nowrap; }
  .pv-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   App-embed — live prototype screens shown as scaled "screenshots"
   (iframe rendered at a fixed 1280x800 and scaled to the wrapper width
   by fitEmbeds() in main.js; aspect-ratio 16/10 makes it fill exactly).
   ============================================================ */
.app-embed { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #faf8f5; }
.app-embed iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; }
