/* Halaman /leslesan/. Dipakai bersama site.css dan devlabs.css (header Masuk, nama produk, kartu
   harga, CTA akhir); di sini hanya yang khusus Leslesan: pesan WhatsApp di hero, keterangan jatuh
   tempo di daftar tagihan, dan deretan screenshot aplikasi. Warna tetap dari site.css. */

:root {
  --wa-bubble: #DCF5D3;
  --late: #B23A1E;
}

.hero h1.ll-h1 {
  max-width: 16ch;
}

/* logo Leslesan di baris pembuka hero, pengganti tag nama produk (.dl-name) */
.ll-logo {
  display: inline-block;
  height: 1.3em;
  width: auto;
  margin-right: 10px;
  vertical-align: -0.3em;
}

/* keterangan di bawah nama siswa pada daftar tagihan contoh */
.nota__row small .late {
  color: var(--late);
  font-weight: 700;
}

.nota__row b small {
  font-weight: 500;
  text-align: right;
}

/* ---------- pesan WhatsApp yang ditempel di bawah daftar tagihan ---------- */

/* Demo hero diperkecil (±15%) agar tidak lebih tinggi dari kolom teks; `zoom` ikut mengecilkan
   tata letaknya, bukan hanya gambarnya. */
.hero__demo {
  zoom: .85;
}

/* tanpa baris tombol, kartu tagihan butuh ruang di bawah baris total agar tidak tertutup kartu WA */
.hero__demo .nota__body {
  padding-bottom: 16px;
}

.wa-msg {
  margin: -8px 18px 0 34px;
}

.wa-msg .sheet {
  background-color: var(--sheet);
  padding: 14px 16px 16px;
}

.wa-msg__to {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.wa-msg__to svg {
  width: 18px;
  height: 18px;
  fill: var(--ink-soft);
  flex: none;
}

.wa-msg__bubble {
  margin: 0;
  padding: 10px 12px;
  font-size: .86rem;
  line-height: 1.45;
  background: var(--wa-bubble);
  border: 1.5px solid rgba(30, 36, 72, .25);
  border-radius: 10px 10px 2px 10px;
}

.wa-msg__send {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.wa-msg__send span {
  font-size: .8rem;
  font-weight: 800;
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
}

.note--ll {
  margin-left: 6px;
}

/* ---------- screenshot aplikasi asli ---------- */

.shots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.shots figure {
  margin: 0;
}

.shots__frame {
  display: block;
  border: 2px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background: var(--sheet);
  box-shadow: 5px 7px 0 var(--shadow);
}

.shots__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shots figcaption {
  margin-top: 14px;
  font-size: .95rem;
  color: var(--ink-soft);
}

.shots figcaption strong {
  display: block;
  color: var(--ink);
}

.shots__note {
  margin: 28px 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .shots {
    gap: 20px;
  }
}

/* Di HP tiga screenshot berjajar dan digeser ke samping, bukan ditumpuk setinggi tiga layar. */
@media (max-width: 760px) {
  .shots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 14px;
    margin: 0 -4px;
  }

  .shots li {
    scroll-snap-align: start;
  }

  .wa-msg {
    margin: -6px 10px 0 18px;
  }
}

/* Footer kolom pindah ke site.css (dipakai semua halaman). */

/* ---------- mockup hero & screenshot bisa diketuk ---------- */

.hero__mock {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero__mock:focus-visible,
.shots__frame:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

a.shots__frame {
  cursor: zoom-in;
}

.shot-view {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible;
}

.shot-view::backdrop {
  background: rgba(20, 16, 12, .82);
}

.shot-view img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 420px);
  max-height: 82vh;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--sheet);
  cursor: zoom-out;
}

.shot-view__cap {
  margin: 10px 0 0;
  text-align: center;
  color: #fff;
  font-weight: 600;
}

.shot-view__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sheet);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- tombol "Lihat demo dulu" di hero ---------- */

.btn--ghost {
  background: var(--sheet);
}

.hero__demo-note {
  margin: 10px 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
}
