/* Tabel harga per produk (pricing.js) — landing #harga dan Settings → Billing. */
.rp-pricing { --rp-blue: #1d5bd8; --rp-blue-50: #eef4ff; --rp-line: #dfe4ec; --rp-ink: #111827; --rp-muted: #667085; --rp-card: #ffffff; --rp-soft: #f6f8fb;
  display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.rp-products { display: inline-flex; gap: 4px; padding: 5px; background: var(--rp-card); border: 1px solid var(--rp-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.rp-product { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 118px; height: 40px; padding: 0 18px; border: 0; border-radius: 9px;
  background: transparent; color: var(--rp-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.rp-product:hover { background: var(--rp-soft); }
.rp-product[aria-selected="true"] { background: var(--rp-blue); color: #ffffff; box-shadow: 0 6px 14px -8px rgba(29,91,216,.8); }
.rp-ic, .rp-check { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rp-periods { display: inline-flex; gap: 4px; padding: 4px; margin-top: 4px; background: var(--rp-soft); border: 1px solid var(--rp-line); border-radius: 12px; }
.rp-period { position: relative; min-width: 104px; height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--rp-ink);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rp-period[aria-checked="true"] { background: var(--rp-card); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.rp-save { position: absolute; top: -11px; right: 6px; padding: 2px 6px; border-radius: 5px; background: #f59e0b; color: #1f1300; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.rp-grid { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 1120px; margin-top: 18px; }
.rp-card { display: flex; flex-direction: column; min-width: 0; padding: 22px 20px 24px; background: var(--rp-card); border: 1px solid var(--rp-line); border-radius: 14px; text-align: left; }
.rp-card.is-current { border-color: var(--rp-blue); box-shadow: 0 0 0 3px var(--rp-blue-50); }
.rp-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 24px; }
.rp-head h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--rp-ink); letter-spacing: -.01em; }
.rp-tag { padding: 2px 8px; border-radius: 999px; border: 1px solid #a7e3c4; background: #ecfdf3; color: #067647; font-size: 11px; font-weight: 600; }
.rp-tag-now { border-color: #b6ccfb; background: var(--rp-blue-50); color: var(--rp-blue); }
.rp-price { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; color: var(--rp-ink); flex-wrap: wrap; }
.rp-price b { font-size: clamp(22px, 2.1vw, 27px); font-weight: 750; letter-spacing: -.03em; }
.rp-price small { color: var(--rp-muted); font-size: 13px; }
.rp-billing { margin-top: 4px; color: var(--rp-muted); font-size: 12px; min-height: 18px; }
.rp-billing s { opacity: .8; }
.rp-btn { display: flex; align-items: center; justify-content: center; height: 42px; margin: 18px 0 20px; border: 1.5px solid var(--rp-blue); border-radius: 9px;
  background: transparent; color: var(--rp-blue); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.rp-btn:hover { background: var(--rp-blue-50); text-decoration: none; }
.rp-btn.primary { background: var(--rp-blue); color: #ffffff; }
.rp-btn.primary:hover { background: #1749b0; }
.rp-btn:disabled { opacity: .6; cursor: default; background: transparent; }
.rp-incl { font-size: 12.5px; font-weight: 700; color: var(--rp-ink); margin-bottom: 10px; }
.rp-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.rp-feats li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--rp-ink); }
.rp-check { width: 15px; height: 15px; margin-top: 1px; padding: 2px; border-radius: 50%; background: var(--rp-blue); color: #ffffff; stroke-width: 3.2; box-sizing: content-box; }
.rp-empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--rp-muted); border: 1px dashed var(--rp-line); border-radius: 14px; }

/* halaman Billing klien */
.bl-page { max-width: 1180px; margin: 0 auto; }
.bl-hero { text-align: center; margin: 6px 0 18px; }
.bl-hero h1 { margin: 0; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.03em; color: var(--rp-ink, #111827); }
.bl-hero p { margin: 8px 0 12px; color: #667085; }
.bl-help { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #dfe4ec; border-radius: 999px; background: #f6f8fb; color: #344054; font-size: 12.5px; text-decoration: none; }
.bl-help b { color: #1d5bd8; }
.bl-current { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 0 0 22px; padding: 16px 18px; border: 1px solid #dfe4ec; border-radius: 14px; background: #ffffff; }
.bl-current .k { font-size: 11.5px; color: #667085; }
.bl-current .v { font-weight: 700; color: #111827; margin-top: 2px; }
.bl-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1120px; margin: 34px auto 6px; }
.bl-links h4 { margin: 0 0 6px; font-size: 13.5px; color: #111827; }
.bl-links p { margin: 0 0 8px; font-size: 12.5px; color: #667085; }
.bl-links a { font-size: 12.5px; font-weight: 600; color: #111827; text-decoration: underline; }
.bl-quote { width: 100%; border-collapse: collapse; font-size: 14px; }
.bl-quote td { padding: 8px 0; border-bottom: 1px solid #eef0f4; }
.bl-quote td:last-child { text-align: right; white-space: nowrap; }
.bl-quote tr.total td { border-bottom: 0; font-weight: 750; font-size: 16px; padding-top: 12px; }
.bl-quote tr.disc td { color: #067647; }

@media (max-width: 1080px) { .rp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .rp-products { width: 100%; }
  .rp-product { min-width: 0; flex: 1; padding: 0 8px; font-size: 13px; }
  .rp-periods { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 14px; padding-top: 12px; }
  .rp-period { min-width: 0; }
  .rp-grid { grid-template-columns: 1fr; }
  .bl-links { grid-template-columns: 1fr; }
}

/* Home: tawaran paket tambahan, dan tab agen yang terkunci paket */
.home-upsell { text-align: left; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 18px; }
.home-upsell-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed #b6ccfb; border-radius: 12px; background: #f7faff; color: #111827; text-decoration: none; }
.home-upsell-card:hover { border-style: solid; text-decoration: none; }
.home-upsell-card b { display: block; font-size: 14px; }
.home-upsell-card small { display: block; color: #667085; font-size: 12px; margin-top: 2px; }
.tab-lock { display: inline-flex; margin-left: 2px; opacity: .55; }
.tab-lock .i { width: 12px !important; height: 12px !important; }

/* v12: modul produk terkunci ("Paket CRM Anda telah berakhir") */
.pl-wrap { position: relative; min-height: calc(100vh - 120px); overflow: hidden; }
.pl-ghost { filter: blur(3px); opacity: .55; pointer-events: none; user-select: none; }
.pl-ghost-head { height: 34px; width: 38%; border-radius: 8px; background: #e7ebf2; margin: 6px 0 22px; }
.pl-ghost-row { display: grid; grid-template-columns: 34px 1fr 120px; gap: 14px; align-items: center; padding: 14px 16px; margin-bottom: 8px; border: 1px solid #e7ebf2; border-radius: 12px; background: #ffffff; }
.pl-ghost-row i { width: 34px; height: 34px; border-radius: 50%; background: #e7ebf2; }
.pl-ghost-row b { height: 12px; border-radius: 6px; background: #e7ebf2; }
.pl-ghost-row em { height: 12px; border-radius: 6px; background: #eef1f6; }
.pl-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15,23,42,.38); }
.pl-card { width: min(480px, 100%); padding: 30px 28px 26px; background: #ffffff; border-radius: 16px; text-align: center; box-shadow: 0 24px 60px -20px rgba(15,23,42,.45); }
.pl-card h2 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.02em; color: #111827; }
.pl-card p { margin: 0 0 16px; color: #475467; font-size: 13.5px; line-height: 1.55; }
.pl-note { padding: 12px 14px; border-radius: 10px; background: #f6f8fb; color: #475467; font-size: 13px; margin-bottom: 20px; }
.pl-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.rail-lock { display: inline-flex; margin-left: auto; opacity: .55; }
.rail-lock .i { width: 11px !important; height: 11px !important; }
#rail a.is-locked > .i:first-child { opacity: .55; }
#rail a.is-locked .rail-lock { position: absolute; right: 4px; top: 4px; }
#rail a { position: relative; }
.module-card.is-locked .module-preview { filter: grayscale(.6); opacity: .7; }
.module-copy h2 .chip { font-size: 11px; display: inline-flex; gap: 4px; align-items: center; }
.module-copy h2 .chip .i { width: 11px; height: 11px; }

/* v12: kartu ala halaman harga (deskripsi, populer, tombol WhatsApp Sales) + tabel perbandingan */
.rp-info { max-width: 620px; margin: 4px auto 0; text-align: center; color: #475467; font-size: 14px; line-height: 1.6; }
.rp-card { position: relative; padding-top: 24px; }
.rp-card.is-featured { border-color: #1d5bd8; box-shadow: 0 0 0 1px #1d5bd8, 0 18px 40px -26px rgba(29,91,216,.6); }
.rp-popular { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: #1d5bd8; color: #ffffff; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.rp-desc { margin: 6px 0 0; color: #667085; font-size: 12.5px; line-height: 1.5; min-height: 37px; }
.rp-sep { border: 0; border-top: 1px solid #e7ebf2; margin: 16px 0; }
.rp-card .rp-btn { margin: 0; gap: 8px; }
.rp-card .rp-btn .rp-ic { width: 16px; height: 16px; }
.rp-card.is-featured .rp-btn:not(.primary) { background: #1d5bd8; color: #ffffff; }
.rp-sub { display: block; margin-top: 8px; text-align: center; font-size: 12px; color: #667085; text-decoration: underline; }
.rp-feats li span { min-width: 0; }
.rp-compare { width: 100%; max-width: 1120px; margin-top: 40px; text-align: left; }
.rp-compare:empty { display: none; }
.rp-compare-title { margin: 0; font-size: 22px; letter-spacing: -.02em; color: #111827; }
.rp-compare-sub { margin: 4px 0 14px; color: #667085; font-size: 13px; }
.rp-table-wrap { overflow-x: auto; border: 1px solid #e3e8ef; border-radius: 14px; background: #ffffff; -webkit-overflow-scrolling: touch; }
.rp-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; color: #111827; }
.rp-table th, .rp-table td { padding: 13px 16px; border-bottom: 1px solid #eef1f5; text-align: left; vertical-align: middle; }
.rp-table thead th { background: #f6f8fb; font-size: 13px; font-weight: 700; }
.rp-table thead th small { display: block; font-weight: 500; color: #667085; font-size: 11px; }
.rp-table tbody tr:last-child th, .rp-table tbody tr:last-child td { border-bottom: 0; }
.rp-table .rp-feat-col { position: sticky; left: 0; z-index: 1; background: #ffffff; font-weight: 500; width: 30%; min-width: 200px; }
.rp-table thead .rp-feat-col { background: #f6f8fb; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #667085; }
.rp-table .is-featured { background: #f1f6ff; }
.rp-table thead th.is-featured { background: #e6efff; }
.rp-yes { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #dbe7fd; color: #1d5bd8; }
.rp-yes svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rp-no { color: #98a2b3; }
/* tombol WhatsApp Sales melayang (landing) */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #1d5bd8; color: #ffffff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(29,91,216,.7); }
.wa-float:hover { background: #1749b0; text-decoration: none; color: #ffffff; }
.wa-float svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; padding: 0; justify-content: center; font-size: 0; gap: 0; } .wa-float svg { width: 24px; height: 24px; } .rp-compare-title { font-size: 19px; } }

.bl-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.bl-prod { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid #dfe4ec; border-radius: 14px; background: #ffffff; color: #111827; text-decoration: none; }
.bl-prod:hover { border-color: #1d5bd8; text-decoration: none; }
.bl-prod .v { font-size: 16px; font-weight: 700; margin-top: 4px; }
.bl-prod .k { font-size: 12px; color: #667085; }
@media (max-width: 760px) { .bl-products { grid-template-columns: 1fr; } }

/* ===== TEMA GELAP: dibuat otomatis oleh tools/gen_dark_css.py — jangan diedit manual ===== */
:root[data-theme="dark"] .rp-pricing{--rp-blue:#3d7efd;--rp-blue-50:#19202f;--rp-line:#2d323a;--rp-ink:#e7efff;--rp-muted:#a0abc2;--rp-card:#171b21;--rp-soft:#10141a}
:root[data-theme="dark"] .rp-products{background:var(--rp-card);border:1px solid var(--rp-line);box-shadow:0 1px 2px rgba(0,0,0,0.144)}
:root[data-theme="dark"] .rp-product{border:0;background:transparent;color:var(--rp-ink)}
:root[data-theme="dark"] .rp-product:hover{background:var(--rp-soft)}
:root[data-theme="dark"] .rp-product[aria-selected="true"]{background:var(--rp-blue);color:#ffffff;box-shadow:0 6px 14px -8px rgba(55,119,246,0.8)}
:root[data-theme="dark"] .rp-ic,
:root[data-theme="dark"] .rp-check{fill:none;stroke:currentColor}
:root[data-theme="dark"] .rp-periods{background:var(--rp-soft);border:1px solid var(--rp-line)}
:root[data-theme="dark"] .rp-period{border:0;background:transparent;color:var(--rp-ink)}
:root[data-theme="dark"] .rp-period[aria-checked="true"]{background:var(--rp-card);box-shadow:0 1px 3px rgba(0,0,0,0.352)}
:root[data-theme="dark"] .rp-save{background:#f59e0b;color:#b9a98e}
:root[data-theme="dark"] .rp-grid{--cols:4}
:root[data-theme="dark"] .rp-card{background:var(--rp-card);border:1px solid var(--rp-line)}
:root[data-theme="dark"] .rp-card.is-current{border-color:var(--rp-blue);box-shadow:0 0 0 3px var(--rp-blue-50)}
:root[data-theme="dark"] .rp-head h3{color:var(--rp-ink)}
:root[data-theme="dark"] .rp-tag{border:1px solid #0b4931;background:#0d271a;color:#65c18d}
:root[data-theme="dark"] .rp-tag-now{border-color:#263a6c;background:var(--rp-blue-50);color:var(--rp-blue)}
:root[data-theme="dark"] .rp-price{color:var(--rp-ink)}
:root[data-theme="dark"] .rp-price small{color:var(--rp-muted)}
:root[data-theme="dark"] .rp-billing{color:var(--rp-muted)}
:root[data-theme="dark"] .rp-btn{border:1.5px solid var(--rp-blue);background:transparent;color:var(--rp-blue);text-decoration:none}
:root[data-theme="dark"] .rp-btn:hover{background:var(--rp-blue-50);text-decoration:none}
:root[data-theme="dark"] .rp-btn.primary{background:var(--rp-blue);color:#ffffff}
:root[data-theme="dark"] .rp-btn.primary:hover{background:#1749b0}
:root[data-theme="dark"] .rp-btn:disabled{background:transparent}
:root[data-theme="dark"] .rp-incl{color:var(--rp-ink)}
:root[data-theme="dark"] .rp-feats li{color:var(--rp-ink)}
:root[data-theme="dark"] .rp-check{background:var(--rp-blue);color:#ffffff}
:root[data-theme="dark"] .rp-empty{color:var(--rp-muted);border:1px dashed var(--rp-line)}
:root[data-theme="dark"] .bl-hero h1{color:var(--rp-ink, #e7efff)}
:root[data-theme="dark"] .bl-hero p{color:#a0abc2}
:root[data-theme="dark"] .bl-help{border:1px solid #2d323a;background:#10141a;color:#9dacc3;text-decoration:none}
:root[data-theme="dark"] .bl-help b{color:#7caafe}
:root[data-theme="dark"] .bl-current{border:1px solid #2d323a;background:#171b21}
:root[data-theme="dark"] .bl-current .k{color:#a0abc2}
:root[data-theme="dark"] .bl-current .v{color:#e7efff}
:root[data-theme="dark"] .bl-links h4{color:#e7efff}
:root[data-theme="dark"] .bl-links p{color:#a0abc2}
:root[data-theme="dark"] .bl-links a{color:#e7efff;text-decoration:underline}
:root[data-theme="dark"] .bl-quote td{border-bottom:1px solid #2a2f37}
:root[data-theme="dark"] .bl-quote tr.total td{border-bottom:0}
:root[data-theme="dark"] .bl-quote tr.disc td{color:#65c18d}
:root[data-theme="dark"] .home-upsell-card{border:1px dashed #263a6c;background:#12161c;color:#e7efff;text-decoration:none}
:root[data-theme="dark"] .home-upsell-card:hover{border-style:solid;text-decoration:none}
:root[data-theme="dark"] .home-upsell-card small{color:#a0abc2}
:root[data-theme="dark"] .pl-ghost{filter:blur(3px)}
:root[data-theme="dark"] .pl-ghost-head{background:#21252b}
:root[data-theme="dark"] .pl-ghost-row{border:1px solid #2b3038;background:#171b21}
:root[data-theme="dark"] .pl-ghost-row i{background:#21252b}
:root[data-theme="dark"] .pl-ghost-row b{background:#21252b}
:root[data-theme="dark"] .pl-ghost-row em{background:#0c1016}
:root[data-theme="dark"] .pl-overlay{background:rgba(0,0,0,0.53)}
:root[data-theme="dark"] .pl-card{background:#171b21;box-shadow:0 24px 60px -20px rgba(0,0,0,0.65)}
:root[data-theme="dark"] .pl-card h2{color:#e7efff}
:root[data-theme="dark"] .pl-card p{color:#9dacc2}
:root[data-theme="dark"] .pl-note{background:#10141a;color:#9dacc2}
:root[data-theme="dark"] .module-card.is-locked .module-preview{filter:grayscale(.6)}
:root[data-theme="dark"] .rp-info{color:#9dacc2}
:root[data-theme="dark"] .rp-card.is-featured{border-color:#3777f6;box-shadow:0 0 0 1px #3777f6, 0 18px 40px -26px rgba(55,119,246,0.6)}
:root[data-theme="dark"] .rp-popular{background:#1d5bd8;color:#ffffff}
:root[data-theme="dark"] .rp-desc{color:#a0abc2}
:root[data-theme="dark"] .rp-sep{border:0;border-top:1px solid #2b3038}
:root[data-theme="dark"] .rp-card.is-featured .rp-btn:not(.primary){background:#1d5bd8;color:#ffffff}
:root[data-theme="dark"] .rp-sub{color:#a0abc2;text-decoration:underline}
:root[data-theme="dark"] .rp-compare-title{color:#e7efff}
:root[data-theme="dark"] .rp-compare-sub{color:#a0abc2}
:root[data-theme="dark"] .rp-table-wrap{border:1px solid #2b3139;background:#171b21}
:root[data-theme="dark"] .rp-table{color:#e7efff}
:root[data-theme="dark"] .rp-table th,
:root[data-theme="dark"] .rp-table td{border-bottom:1px solid #292f37}
:root[data-theme="dark"] .rp-table thead th{background:#10141a}
:root[data-theme="dark"] .rp-table thead th small{color:#a0abc2}
:root[data-theme="dark"] .rp-table tbody tr:last-child th,
:root[data-theme="dark"] .rp-table tbody tr:last-child td{border-bottom:0}
:root[data-theme="dark"] .rp-table .rp-feat-col{background:#171b21}
:root[data-theme="dark"] .rp-table thead .rp-feat-col{background:#10141a;color:#a0abc2}
:root[data-theme="dark"] .rp-table .is-featured{background:#19212f}
:root[data-theme="dark"] .rp-table thead th.is-featured{background:#141f34}
:root[data-theme="dark"] .rp-yes{background:#0f1d3a;color:#7caafe}
:root[data-theme="dark"] .rp-yes svg{fill:none;stroke:currentColor}
:root[data-theme="dark"] .rp-no{color:#828c9c}
:root[data-theme="dark"] .wa-float{background:#1d5bd8;color:#ffffff;text-decoration:none;box-shadow:0 14px 30px -12px rgba(55,119,246,0.7)}
:root[data-theme="dark"] .wa-float:hover{background:#1749b0;text-decoration:none;color:#ffffff}
:root[data-theme="dark"] .wa-float svg{fill:none;stroke:currentColor}
:root[data-theme="dark"] .bl-prod{border:1px solid #2d323a;background:#171b21;color:#e7efff;text-decoration:none}
:root[data-theme="dark"] .bl-prod:hover{border-color:#3777f6;text-decoration:none}
:root[data-theme="dark"] .bl-prod .k{color:#a0abc2}
