/* ============================================================
   DIGIFANA — cta-bar.css: floating CTA bawah di LP produk
   (/master-prompt, /course, /openwa). Markup `.cta-bar` ada di tiap
   halaman; harga & link diisi site.js lewat kelas .js-price-* /
   .js-checkout-* (nol URL hardcode). Muncul/ngumpet diatur cta-bar.js.
   Token ikut dunia Agencee — hex fallback biar jalan tanpa agencee.css.
   ============================================================ */
.cta-bar {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 35; /* di bawah .nav (50) & panel menu mobile (40) */
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 0 auto; max-width: 560px; padding: 12px 12px 12px 18px;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 153, 28, .08);
  transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden;
  transition: transform .38s cubic-bezier(.2, .8, .2, 1), opacity .3s, visibility 0s .38s;
}
.cta-bar.is-on { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
body.nav-open .cta-bar { opacity: 0; visibility: hidden; }

.cta-bar__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cta-bar__price {
  font-family: var(--display, "Unbounded", "Inter", system-ui, sans-serif);
  font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1;
  color: #fff; white-space: nowrap;
}
/* harga lama (kalau suatu saat ada yang BENERAN lama): <s>Rp 149.000</s> di depan harga */
.cta-bar__price s { color: rgba(255, 255, 255, .4); font-size: 13px; font-weight: 500; margin-right: 8px; }
.cta-bar__note { font-size: 11.5px; line-height: 1.3; font-weight: 500; letter-spacing: .02em; color: rgba(255, 255, 255, .55); }

.cta-bar__btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px;
  background: var(--acc2, #f0953c); color: var(--acc-ink, #0a0a0a);
  font-family: var(--display, "Unbounded", "Inter", system-ui, sans-serif);
  font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
  white-space: nowrap; text-decoration: none;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.cta-bar__btn::after { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.cta-bar__btn:hover { background: var(--acc, #ff991c); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 153, 28, .3); }

@media (prefers-reduced-motion: reduce) { .cta-bar { transition: none; } }
@media (max-width: 400px) {
  .cta-bar { gap: 10px; padding-left: 14px; }
  .cta-bar__price { font-size: 20px; }
  .cta-bar__btn { padding: 13px 16px; font-size: 12px; }
}
