/* ==========================================================================
   premium.css — halaman Premium, status pembayaran (Fase 5)
   ========================================================================== */

.plan-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan-grid > * { min-width: 0; }
.plan-card {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow);
}
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.plan-card .badge {
  position: absolute; top: -12px; left: var(--sp-5);
  background: var(--accent); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.plan-card h3 { font-size: var(--fs-lg); }
.plan-price { display: flex; flex-direction: column; gap: 2px; }
.plan-price .now { font-size: var(--fs-2xl); font-weight: 800; color: var(--primary); line-height: 1.1; }
.plan-price .save { font-size: var(--fs-xs); font-weight: 700; color: var(--ok); }
.plan-price .per { font-size: var(--fs-xs); color: var(--muted); }
.plan-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); }
.plan-card li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.plan-card .btn { margin-top: auto; width: 100%; }
.pr-consent { margin-top: var(--sp-3); text-align: center; }

.cmp-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.cmp-table th, .cmp-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table thead th { background: var(--surface-2); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cmp-table tbody th { font-weight: 600; }
.cmp-table td:last-child { color: var(--primary); }

.faq { display: flex; flex-direction: column; gap: var(--sp-2); }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: var(--sp-2); color: var(--muted); font-size: var(--fs-sm); }

/* ---------- status pembayaran ---------- */
.pay-status { max-width: 560px; margin: var(--sp-6) auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.pay-status h1 { font-size: var(--fs-xl); }
.pay-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--primary-soft); color: var(--primary); }
.pay-icon.ok { background: var(--ok-soft); color: var(--ok); }
.pay-icon.bad { background: var(--bad-soft); color: var(--bad); }
.pay-icon.warn { background: var(--warn-soft); color: var(--warn); }
.pay-kv { width: 100%; text-align: left; }
.pay-actions { justify-content: center; }
.pay-status .callout { text-align: left; width: 100%; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--primary-soft); border-top-color: var(--primary); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* ---------- ajakan Premium di beranda ---------- */
.upsell { display: flex; gap: var(--sp-4); align-items: center; justify-content: space-between; flex-wrap: wrap; padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--primary-strong), var(--primary)); color: #fff; }
.upsell p { color: #dbe5f5; margin: 0; font-size: var(--fs-sm); }
.upsell strong { color: #fff; }
