/* Harga — awalan .hg- */
[data-bln][hidden], [data-thn][hidden], .hg-colpick[hidden] { display: none !important; }
.hg-hero { padding-bottom: 72px; }
.hg-head { max-width: 780px; margin: 0 auto; text-align: center; }
.hg-head .crumbs { justify-content: center; }
.hg-head h1 { margin: 6px 0 18px; }
.hg-head .lead { max-width: 680px; margin: 0 auto; }

/* sakelar bulanan/tahunan */
.hg-siklus { display: inline-flex; gap: 4px; padding: 5px; margin-top: 30px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.hg-siklus button { font: 700 14.5px/1 inherit; font-family: inherit; border: 0; background: none; color: var(--fg-2); padding: 11px 20px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: background .15s, color .15s; }
.hg-siklus button:hover { color: var(--navy); }
.hg-siklus button.on { background: var(--navy); color: #fff; box-shadow: 0 6px 14px -8px rgba(15, 42, 110, .7); }
.hg-hemat-tag { font-size: 11.5px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: var(--oranye-soft); color: var(--oranye-d); }
.hg-siklus button.on .hg-hemat-tag { background: var(--oranye); color: #fff; }

/* kartu paket */
.hg-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.hg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--sh-1); display: flex; flex-direction: column; position: relative; }
.hg-card.hg-on { border: 2px solid var(--oranye); box-shadow: var(--sh-3); padding: 25px 21px; }
.hg-top { display: flex; justify-content: space-between; align-items: center; min-height: 46px; }
.hg-name { font-size: 22px; margin: 16px 0 6px; letter-spacing: -0.02em; }
.hg-for { font-size: 14px; color: var(--muted); min-height: 42px; }
.hg-p { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--fg); margin-top: 18px; line-height: 1.1; }
.hg-p small { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 2px; }
.hg-sub { font-size: 13px; color: var(--muted); margin: 6px 0 20px; min-height: 20px; }
.hg-sub b { color: var(--fg-2); }
.hg-hemat { font-style: normal; font-weight: 800; color: var(--in); }
.hg-list { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--fg-2); }
.hg-list li { display: flex; gap: 9px; align-items: flex-start; }
.hg-list .ic { width: 17px; height: 17px; color: var(--in); margin-top: 2px; }
.hg-on .hg-list .ic { color: var(--oranye); }
.hg-plans-note { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 26px; font-size: 13.5px; color: var(--muted); text-align: center; }
.hg-plans-note .ic { width: 16px; height: 16px; color: var(--navy-2); }

/* paket acara */
.hg-acara { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hg-acara h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.hg-acara .lead { font-size: 17px; margin-bottom: 22px; }
.hg-acara .checks { margin-bottom: 24px; }
.hg-tier { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-2); padding: 12px; }
.hg-tier-i { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px; border-radius: 14px; }
.hg-tier-i + .hg-tier-i { border-top: 1px solid var(--line-2); }
.hg-tier-i b { font-size: 16.5px; display: block; }
.hg-tier-i small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.hg-tier-p { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg); white-space: nowrap; }
.hg-tier-on { background: var(--gold-soft); border-top-color: transparent !important; }
.hg-tier-on + .hg-tier-i { border-top-color: transparent; }
.hg-tier-note { font-size: 13px; color: var(--muted); padding: 12px 18px 8px; }

/* kuota AI */
.hg-ai { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hg-ai h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.hg-ai .lead { font-size: 17px; }
.hg-ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hg-ai-i { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 16px; text-align: center; background: linear-gradient(180deg, var(--violet-soft), #fff 70%); }
.hg-ai-n { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; color: var(--violet); }
.hg-ai-i small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.hg-ai-i b { display: inline-block; font-size: 17px; padding: 6px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }

/* tabel perbandingan */
table.tbl.hg-tbl { min-width: 760px; }
.hg-tbl th:first-child, .hg-tbl td:first-child { width: 34%; }
.hg-tbl thead th { text-align: center; font-size: 13.5px; color: var(--fg); text-transform: none; letter-spacing: 0; padding: 16px 12px; }
.hg-tbl thead th:first-child { text-align: left; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.hg-tbl td { text-align: center; padding: 13px 12px; color: var(--fg-2); }
.hg-tbl td:first-child { text-align: left; font-weight: 600; color: var(--fg); padding-left: 18px; }
.hg-tbl td small { display: block; font-size: 11.5px; color: var(--soft); font-weight: 600; }
.hg-tbl .hg-grp th { background: var(--navy-soft-2); color: var(--navy-2); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; padding: 10px 18px; font-weight: 800; text-align: left; }
.hg-th-on { background: var(--oranye-soft) !important; color: var(--oranye-d) !important; }
.hg-td-on { background: #FFF8F3; }
.hg-muted { color: var(--soft) !important; font-size: 13px; }
.hg-tbl .tidak .ic { color: #C3C8D4; }
.hg-tbl-note { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 900px; }
.hg-colpick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.hg-colpick button { font: 700 13px/1 inherit; font-family: inherit; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--fg-2); cursor: pointer; }
.hg-colpick button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* aturan + contoh */
.hg-rule { margin-bottom: 20px; }
.hg-rule-c { display: grid; gap: 18px; }
.hg-rule-h { display: flex; gap: 14px; align-items: center; }
.hg-rule-h b { font-size: 18px; display: block; }
.hg-rule-h small { color: var(--muted); font-size: 14px; }
.hg-contoh .card h3 { margin: 14px 0 8px; }
.hg-contoh .card p + p { margin-top: 12px; }
.hg-contoh-k { display: flex; gap: 8px; padding: 12px; border-radius: 12px; background: var(--bg-2); font-size: 13.5px !important; color: var(--fg-2) !important; }
.hg-contoh-k .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--navy-2); }

/* uji coba */
.hg-trial { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hg-trial h2 { margin-bottom: 16px; }
.hg-trial-p { font-size: 17px; color: #C4CEEA; margin-bottom: 22px; }
.hg-trial .btns { margin-top: 28px; }
.hg-trial-days { display: grid; gap: 10px; counter-reset: d; }
.hg-day { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.hg-day b { font-size: 16px; } .hg-day small { color: #B9C5E6; font-size: 13.5px; text-align: right; }
.hg-day.on { background: rgba(242, 96, 12, .16); border-color: rgba(255, 178, 127, .4); }
.hg-day.last { background: #fff; } .hg-day.last b { color: var(--navy) !important; } .hg-day.last small { color: var(--muted); }

/* pembayaran */
.hg-bayar .card h3 { margin: 14px 0 8px; }
.hg-bayar-note { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--muted); }
.hg-renew { margin-top: 40px; padding: 30px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 2.2fr; gap: 32px; align-items: center; }
.hg-renew-h h3 { font-size: 20px; margin-bottom: 8px; }
.hg-renew-h p { font-size: 14.5px; color: var(--muted); }
.hg-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.hg-line::before { content: ''; position: absolute; left: 8%; right: 8%; top: 17px; height: 2px; background: var(--line); }
.hg-line li { position: relative; text-align: center; padding: 0 4px; }
.hg-line span { position: relative; z-index: 1; display: inline-block; min-width: 36px; padding: 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 800; color: var(--navy-2); white-space: nowrap; }
.hg-line small { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.35; }
.hg-line .due span { background: var(--navy); color: #fff; border-color: var(--navy); }
.hg-line .grace span { background: var(--warn-soft); color: var(--warn); border-color: #F3E2B3; }
.hg-line .free span { background: var(--in-soft); color: var(--in); border-color: #BFE5CB; }

@media (max-width: 1180px) {
  .hg-plans { grid-template-columns: repeat(2, 1fr); }
  .hg-renew { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hg-acara, .hg-ai, .hg-trial { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .hg-siklus button { padding: 10px 14px; font-size: 14px; }
  .hg-plans { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .hg-on { order: -1; }
  .hg-for { min-height: 0; }
  .hg-ai-grid { gap: 8px; }
  .hg-ai-i { padding: 18px 8px; }
  .hg-ai-n { font-size: 26px; }
  .hg-ai-i b { font-size: 14.5px; padding: 5px 8px; }
  .hg-tier-i { padding: 14px 12px; }
  .hg-tier-p { font-size: 20px; }
  /* tabel di HP: kolom fitur + satu paket pilihan (JS); tanpa JS tetap geser samping */
  table.tbl.hg-tbl[data-show] { min-width: 0; }
  .hg-tbl[data-show] th:first-child, .hg-tbl[data-show] td:first-child { width: 62%; }
  .hg-tbl[data-show="2"] tr > :nth-child(n+3),
  .hg-tbl[data-show="3"] tr > :nth-child(2), .hg-tbl[data-show="3"] tr > :nth-child(n+4),
  .hg-tbl[data-show="4"] tr > :nth-child(-n+3):not(:first-child), .hg-tbl[data-show="4"] tr > :nth-child(5),
  .hg-tbl[data-show="5"] tr > :nth-child(-n+4):not(:first-child) { display: none; }
  .hg-tbl td, .hg-tbl th { padding: 12px 10px; }
  .hg-tbl td:first-child { padding-left: 14px; font-size: 13.5px; }
  .hg-renew { padding: 22px 18px; }
  .hg-line { grid-template-columns: 1fr; gap: 12px; }
  .hg-line::before { left: 17px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .hg-line li { display: flex; align-items: center; gap: 12px; text-align: left; padding: 0; }
  .hg-line span { min-width: 112px; text-align: center; }
  .hg-line small { margin: 0; font-size: 13px; }
  .hg-day { padding: 14px 16px; }
}
@media (min-width: 641px) { .hg-colpick { display: none !important; } }
@media (max-width: 640px) {
  .hg-colpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
  .hg-colpick span { display: none; }
  .hg-colpick button { border: 0; padding: 10px 4px; border-radius: 10px; font-size: 12.5px; }
  .hg-bayar { gap: 10px; }
  .hg-bayar .card { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 16px; }
  .hg-bayar .card-ic { grid-row: span 2; width: 40px; height: 40px; }
  .hg-bayar .card h3 { margin: 0; }
  .hg-bayar .card p { font-size: 13.5px; }
}
