/* Popup promo beranda: "Install sendiri? VMware bisa!" -> /script-gratis/ */
.pg[hidden] { display: none; }
.pg {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pg__latar { position: absolute; inset: 0; background: rgb(3 7 13 / 0.78); }
.pg__kotak {
  position: relative;
  width: min(760px, 100%);
  animation: pg-muncul .28s ease-out both;
}
@keyframes pg-muncul { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pg__kotak { animation: none; } }

.pg__x {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #1b2738;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.18), 0 8px 20px rgb(0 0 0 / 0.6);
  cursor: pointer;
}
.pg__x:hover { background: #d64034; }
.pg__x .icon { width: 18px; height: 18px; }

.pg__banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  min-height: 380px;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(90% 120% at 85% 30%, rgb(46 139 255 / 0.55), transparent 60%),
    repeating-conic-gradient(from 0deg at 80% 45%, rgb(255 255 255 / 0.05) 0deg 6deg, transparent 6deg 16deg),
    linear-gradient(160deg, #0f2a52 0%, #0a1626 55%, #070d16 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 30px 80px -20px rgb(11 111 232 / 0.6);
}
.pg__teks { position: relative; z-index: 2; padding: 30px 0 30px 34px; }
.pg__logo { display: block; width: 150px; height: auto; opacity: .95; }
.pg__kecil {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #111;
  background: #ffd23f;
}
.pg__judul {
  margin-top: 10px;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgb(0 0 0 / 0.45);
}
.pg__judul b { display: block; color: #ffd23f; }
.pg__isi { margin-top: 12px; max-width: 30ch; font-size: 16px; line-height: 1.45; color: #c9d6e8; }
.pg__daftar { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pg__daftar li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
}
.pg__daftar .icon { width: 15px; height: 15px; color: #4ade80; }
.pg__tombol {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 13px 20px 13px 24px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #34d36e, #1db954);
  box-shadow: 0 10px 24px -10px rgb(29 185 84 / 0.9);
}
.pg__tombol .icon { width: 20px; height: 20px; }
.pg__banner:hover .pg__tombol { filter: brightness(1.08); }

.pg__char {
  position: absolute;
  right: -20px;
  bottom: -40px;
  z-index: 1;
  height: 118%;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 0 24px rgb(0 0 0 / 0.7));
}
.pg__gratis {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: #e5252f;
  box-shadow: 0 8px 18px -6px rgb(229 37 47 / 0.8);
  transform: rotate(6deg);
}

/* HP */
@media (max-width: 40em) {
  .pg__banner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pg__teks { padding: 24px 22px 26px; padding-right: 38%; }
  .pg__logo { width: 120px; }
  .pg__isi { font-size: 14px; }
  .pg__daftar li { font-size: 12px; padding: 5px 8px; }
  .pg__tombol { font-size: 15px; padding: 11px 16px 11px 18px; }
  .pg__char { height: 84%; right: -78px; bottom: -30px; opacity: .9; }
  .pg__gratis { font-size: 16px; top: 16px; right: 14px; }
  .pg__x { top: -12px; right: -6px; }
}
