/* Halaman beli MemoCash Pro */
:root { --teal: #0ABCC8; --teal-dark: #078f98; --lime: #D0FF00; --white: #FFFFFF; --ink: #242424; --soft: #f5f7f8; }

.beli-header { justify-content: space-between; background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,.04); }

.beli-main { min-height: calc(100dvh - 80px); display: grid; justify-items: center; gap: 28px; padding: 56px 20px 80px; background: radial-gradient(circle at 82% 12%, rgba(208,255,0,.28), transparent 28%), linear-gradient(180deg, #f8fbfc 0%, var(--soft) 100%); }
.beli-wrap { width:min(1120px,100%); display:grid; grid-template-columns:minmax(0,.95fr) minmax(380px,1fr); gap:42px; align-items:start; }

.beli-left { display:flex; flex-direction:column; justify-content:flex-start; padding:0; }
.beli-title { font-size: clamp(34px, 5vw, 52px); font-weight: 900; color: var(--ink); line-height: 1.05; margin: 16px 0 14px; }
.beli-sub { color: #5a5a5a; font-size: 17px; line-height: 1.7; max-width: 440px; margin: 0 0 22px; }
.buy-eyebrow {
  background: #0ABCC8 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(10,188,200,.32) !important;
  box-shadow: 0 12px 28px rgba(10,188,200,.22);
}
.beli-benefits { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.beli-benefits li { position: relative; padding-left: 34px; font-weight: 800; color: var(--ink); font-size: 16px; }
.beli-benefits li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 3px var(--ink); }
.beli-price { font-size: 38px; font-weight: 900; color: var(--teal); margin: 0; }
.beli-price small { font-size: 15px; color: #888; font-weight: 700; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 460px; }
.trust-list span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 999px; background: #fff; border: 1px solid rgba(10,188,200,.18); color: #475569; font-size: 12px; font-weight: 900; box-shadow: 0 10px 26px rgba(0,0,0,.04); }
.trust-list span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink); }

.beli-form { background:var(--white); border-radius:28px; padding:26px 28px; box-shadow:0 24px 56px rgba(0,0,0,.07); border:1px solid rgba(0,0,0,.04); display:flex; flex-direction:column; justify-content:center; gap:11px; }
.beli-form-title { font-size:21px; font-weight:900; color:var(--ink); margin:0 0 1px; }
.field { display:grid; gap:4px; }
.field span { font-weight:800; color:var(--ink); font-size:12px; line-height:1.2; }
.field span em { color:#999; font-style:normal; font-weight:600; }
.field input, .field select { width:100%; min-height:40px; padding:10px 13px; border-radius:12px; border:1px solid #e1e6e8; font:inherit; font-size:13px; font-weight:700; background:var(--soft); color:var(--ink); transition:border .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(10,188,200,.16); }
.field input.is-invalid { border-color: #dc2828; background: #fff7f7; box-shadow: 0 0 0 4px rgba(220,40,40,.12); }
.hint { color:#888; font-size:11px; font-weight:600; line-height:1.25; }
.field-consent { display:flex; align-items:center; gap:8px; margin-top:1px; width:100%; }
.field-consent input[type="checkbox"] { display:block; flex:0 0 16px; width:16px; min-width:16px; height:16px; min-height:16px; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; outline:none; accent-color:var(--teal); }
.field-consent input[type="checkbox"]:focus { outline:2px solid rgba(10,188,200,.28); outline-offset:2px; box-shadow:none; }
.field-consent span { display:block; flex:1 1 auto; min-width:0; font-weight:600; font-size:11px; color:#666; line-height:1.35; }
.field-consent a { color: var(--teal); font-weight: 800; text-decoration: underline; }

.promo-box { border:0; background:transparent; border-radius:0; padding:0; display:grid; gap:8px; box-shadow:none; }
.promo-label { display:block; color:var(--ink); font-size:14px; line-height:1.2; font-weight:950; }
.promo-head, .promo-toggle { display:none; }
.promo-body { display:grid; gap:10px; padding:0; }
.promo-row { display:grid; grid-template-columns:minmax(0,1fr) 80px; gap:8px; align-items:stretch; }
.promo-input-wrap { position:relative; display:flex; align-items:center; min-width:0; }
.promo-input-icon { position:absolute; left:16px; z-index:1; width:18px; height:18px; fill:none; stroke:#9aa8c2; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.promo-row input { width:100%; min-width:0; min-height:48px; padding:13px 15px 13px 43px; border-radius:16px; border:1px solid #dfe6ef; background:#f8fafc; color:#263247; font:inherit; font-weight:700; letter-spacing:.01em; text-transform:none; }
.promo-row input::placeholder { color:#9aa8c2; letter-spacing:0; font-weight:650; }
.promo-row input:focus { outline:none; border-color:#cbd5e1; box-shadow:0 0 0 3px rgba(148,163,184,.12); background:#fff; }
.promo-apply { display:inline-flex; align-items:center; justify-content:center; min-height:48px; border:1px solid #dfe6ef; border-radius:16px; padding:11px 12px; background:#f8fafc; color:#263247; font-weight:750; font-size:16px; cursor:pointer; transition:.18s ease; white-space:nowrap; }
.promo-apply:hover:not(:disabled) { background:#eef2f7; }
.promo-apply:disabled { opacity:.65; cursor:not-allowed; }
.promo-message { margin:0; padding:10px 12px; border-radius:12px; font-size:13px; font-weight:850; line-height:1.45; }
.promo-message.success { background:#ecfdf5; color:#047857; border:1px solid #bbf7d0; }
.promo-message.error { background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; }
.promo-message.neutral { background:#eef6f8; color:#0f766e; border:1px solid #c9edf0; }
.price-summary { display:grid; gap:9px; border-top:1px dashed rgba(10,188,200,.30); padding-top:14px; }
.price-summary div { display:flex; justify-content:space-between; align-items:center; gap:14px; color:#64748b; font-size:13px; font-weight:800; }
.price-summary b { color:var(--ink); white-space:nowrap; }
.price-summary .price-total { padding-top:10px; border-top:1px solid #e2e8f0; color:var(--ink); font-size:16px; }
.price-summary .price-total b { color:var(--teal); font-size:19px; }

.beli-submit { width:100%; min-height:44px; padding:12px 16px; border:0; border-radius:14px; font-size:15px; font-weight:900; cursor:pointer; margin-top:3px; transition:transform .15s ease, box-shadow .2s ease; }
.beli-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(208,255,0,.4); }
.beli-submit:disabled { opacity: .6; cursor: not-allowed; }
.beli-submit.loading::after { content: "…"; }

.beli-note { min-height: 24px; margin: 0; padding: 12px 16px; border-radius: 14px; font-weight: 800; font-size: 14px; }
.beli-note.error { background: rgba(220,40,40,.1); color: #c0392b; }
.beli-note.success { background: rgba(208,255,0,.14); color: #2d7a00; }

.beli-safe { text-align: center; font-size: 13px; color: #999; font-weight: 600; margin: 4px 0 0; }
.beli-wa-fallback { text-align: center; font-size: 14px; color: #888; margin: 6px 0 0; }
.beli-wa-fallback a { color: var(--teal); font-weight: 800; }

.mini-faq { width: min(1120px, 100%); padding: 18px 0 0; }
.mini-faq .section-head { margin-bottom: 24px; }
.mini-faq .faq-list { max-width: 860px; }
.mini-faq details { border-radius: 28px; background: var(--white); box-shadow: 0 16px 44px rgba(15,23,42,.06); }
.mini-faq summary { padding: 24px 28px; font-size: 20px; font-weight: 900; line-height: 1.35; }
.mini-faq details p { margin: 0; padding: 0 28px 24px; font-size: 16px; line-height: 1.65; color: #5a5a5a; }

@media (max-width: 860px) {
  .beli-wrap { grid-template-columns:1fr; gap:28px; align-items:start; }
  .beli-left { padding:0; }
  .beli-form { height:auto; }
}
@media (max-width: 560px) {
  .beli-main { padding:28px 14px 60px; gap:20px; }
  .beli-form { padding:20px 16px; border-radius:24px; gap:10px; }
  .beli-form-title { font-size:20px; }
  .trust-list { display:grid; }
  .promo-box { gap:7px; }
  .promo-row { grid-template-columns:minmax(0,1fr) 76px; gap:7px; }
  .promo-row input, .promo-apply { min-height:48px; }
  .promo-row input { padding-left:40px; }
  .promo-input-icon { left:14px; }
  .promo-apply { padding-left:8px; padding-right:8px; }
  .price-summary div { font-size:13px; }
  .mini-faq { padding-top: 10px; }
  .mini-faq summary { padding: 20px 22px; font-size: 17px; }
  .mini-faq details p { padding: 0 22px 20px; font-size: 15px; }
}

/* Halaman terima-kasih */
.thanks-wrap { width: min(640px, 100%); }
.thanks-card[hidden] { display: none !important; }
.thanks-card { background: var(--white); border-radius: 28px; padding: 44px 38px; box-shadow: 0 30px 70px rgba(0,0,0,.08); text-align: center; display: grid; gap: 16px; place-items: center; }
.thanks-success { border: 2px solid rgba(208,255,0,.5); }
.thanks-title { font-size: clamp(26px, 4vw, 34px); font-weight: 900; color: var(--ink); margin: 8px 0 0; }
.thanks-sub { color: #5a5a5a; font-size: 16px; line-height: 1.6; max-width: 440px; margin: 0; }
.thanks-spinner { width: 52px; height: 52px; border: 5px solid #e8ecec; border-top-color: var(--teal); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.thanks-check { width: 72px; height: 72px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; box-shadow: 0 16px 36px rgba(208,255,0,.4); }
.thanks-check svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.code-box { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-radius: 20px; background: var(--soft); border: 2px dashed var(--teal); margin: 6px 0; }
.code-box span { font-size: clamp(20px, 4vw, 26px); font-weight: 900; color: var(--teal); letter-spacing: 1px; }
.code-copy { padding: 12px 18px; border: 0; border-radius: 14px; font-weight: 900; cursor: pointer; flex: 0 0 auto; }
.thanks-device { font-size: 14px; color: #888; font-weight: 700; margin: 0; }
.thanks-steps { text-align: left; max-width: 420px; margin: 8px 0 0; padding-left: 20px; line-height: 1.8; color: var(--ink); font-weight: 700; }
.thanks-steps li { margin-bottom: 6px; }
.thanks-done { width: 100%; padding: 16px; border: 0; border-radius: 18px; font-size: 17px; font-weight: 900; text-align: center; margin-top: 10px; }
.thanks-wa-fallback { font-size: 14px; color: #888; margin: 8px 0 0; }
.thanks-wa-fallback a { color: var(--teal); font-weight: 800; }

@media (max-width: 560px) {
  .thanks-card { padding: 32px 22px; }
  .code-box { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .thanks-spinner { animation: none; }
}
