/* ==========================================================================
   Okvir telefona za prave iOS snimke aplikacije - jedan izvor za landing
   (index.html) i stranice pomoći (pomoc/*.html, uz pomoc/help.css).
   ========================================================================== */

/* ---------- screenshots ---------- */
.help-figure { margin: 18px 0 0; }
.help-figure figcaption { font: 400 12px/17px var(--font-ui); color: var(--text-muted); margin-top: 10px; max-width: 300px; }
.help-figure-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 18px 0 0; }
.help-figure-row .help-figure { margin-top: 0; flex: 1 1 240px; min-width: 0; max-width: 300px; }

/* ---------- phone frame ----------
   Slika je čist iOS screenshot (1206x2622 -> 804x1748 webp, status bar ostaje).
   Simulator ne crta Dynamic Island u screenshot, pa je ::before crta preko
   praznog mesta između sata i ikonica. Mere pilule su u cqw (procenat širine
   ekrana) da prate sliku i kad se telefon suzi ispod 300px. */
.help-phone {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 300px;
  padding: 10px;
  background: #1c1b1f;
  border-radius: 48px;
  box-shadow: var(--shadow-card), 0 10px 24px rgba(43, 33, 38, 0.12), inset 0 0 0 2px #3a383d;
  container-type: inline-size;
}
.help-phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 31%;
  height: 25px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
@supports (width: 1cqw) {
  .help-phone::before { top: calc(10px + 3.4cqw); width: 31cqw; height: 9.2cqw; }
  .help-phone:not(.help-phone--flat) img { border-radius: 13.6cqw; }
}
.help-phone img { display: block; width: 100%; height: auto; border-radius: 38px; }

/* Varijanta bez Dynamic Island-a: isečeni snimci sa pravog telefona (whatsapp.html). */
.help-phone--flat { padding: 6px; border-radius: 22px; }
.help-phone--flat::before { content: none; }
.help-phone--flat img,
.help-shot .help-phone--flat img { max-width: none; border: 0; border-radius: 16px; }
