:root {
  --bg: #ffffff;
  --card-bg: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #0ea5a4;
  --radius: 12px;
  --max-width: 1100px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  scroll-behavior: smooth;
}
header {
  border-bottom: 1px solid var(--border);
  padding: 20px 16px;
  background: var(--card-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.breadcrumbs a { font-size: 13px; color: var(--muted) !important; margin-bottom: 8px; tet-decoration: "none" !important; }
h1 { font-size: 28px; margin: 0; font-weight: 600; }
h4 { font-size: 16px; margin: 0; }
main {
  max-width: var(--max-width);
  margin: 40px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}
aside { position: sticky; top: 100px; align-self: start; }
.toc-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.toc-title { font-size: 18px; font-weight: 600; margin: 0 0 6px; color: var(--text); }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-item { margin-bottom: 12px; }
.toc-link {
  display: flex; align-items: flex-start; gap: 12px;
  text-decoration: none; padding: 14px 12px;
  background: #fff; color: var(--text); transition: all 0.2s ease;
  border-radius: 12px;
}
.toc-link:hover { background: rgba(14,165,164,0.08); border-color: var(--accent); }
.toc-link.active { color: inherit; font-weight: inherit; background: inherit; }
.toc-number {
  display: flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; border-radius: 50%;
  background: #000; color: #fff; font-weight: 600; font-size: 14px;
}
.toc-content { display: flex; flex-direction: column; }
.toc-text { font-weight: 600; font-size: 15px; color: var(--text); }
.toc-subtitle { font-size: 13px; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.toc-icon { color: var(--accent); width: 15px; height: 15px; }
article { max-width: 680px; display: flex; flex-direction: column; gap: 24px; }
article section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  scroll-margin-top: 120px;
}
.section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.section-icon {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; background: var(--accent);
  color: #fff; font-size: 16px; border-radius: 50%;
}
article h2 { font-size: 20px; font-weight: 600; margin: 0; color: var(--text); }
article h3 { font-size: 15px; color: var(--muted); margin-top: 2px; margin-bottom: 14px; font-weight: 500; }
article p { color: var(--muted); margin: 0; }
footer {
  border-top: 1px solid var(--border); text-align: center;
  font-size: 13px; color: var(--muted); padding: 24px 16px; margin-top: 60px;
}
@media (max-width: 880px) {
  main { grid-template-columns: 1fr; }
  aside { position: relative; top: 0; }
  .toc-box { margin-bottom: 20px; }
}

/* === SECTION PEMBAYARAN === */
.payment-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.payment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-header h2 {
  font-size: 18px;
  color: #111827;
  font-weight: 700;
  margin: 0;
}

/* === SECTION PEMBAYARAN === */
.payment-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.payment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-icon {
  width: 24px;
  height: 24px;
  
}

.payment-header h2 {
  font-size: 18px;
  color: #111827;
  font-weight: 700;
  margin: 0;
}

/* GRID UNTUK CARD PEMBAYARAN */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.payment-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
  transition: all 0.2s ease;
}


/* Baris atas: icon + judul */
.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.payment-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.payment-card p {
  font-size: 14px;
  color: #374151;
  margin: 0;
  line-height: 1.6;
  
}

/* BOX CATATAN */
.payment-note {
  margin-top: 12px;
  background: #f0f8ff;
  border: 1px solid #cfe4f9;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #0a3d62;
  line-height: 1.6;
}
.payment-note strong {
  color: #2563eb;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
}


/* === SECTION REFUND === */
.refund-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.refund-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.refund-icon {
  width: 24px;
  height: 24px;
}

.refund-header h2 {
  font-size: 18px;
  color: #111827;
  font-weight: 700;
  margin: 0;
}

/* Box kebijakan */
.refund-box {
  background: #fff7ed;
  border: 1px solid #fcd9b6;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.refund-box strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 4px;
}

.refund-box p {
  font-size: 14px;
  color: #92400e;
  margin: 0;
  line-height: 1.6;
}


.refund-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  text-align: left; 
}


.refund-section ul {
  margin: 0 0 12px 0; 
  padding-left: 0px; 
  color: #1f2937;
  font-size: 14px;
  line-height: 1.7;
  list-style-position: inside; 
}

.refund-section li {
  margin-bottom: 4px;
  text-align: left;
}


.refund-desc {
  font-size: 14px;
  color: #374151;
  margin-top: 8px;
  line-height: 1.7;
  text-align: left;
}


/* === SECTION KONTAK & DUKUNGAN === */
.support-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.support-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.support-icon {
  width: 24px;
  height: 24px;
}

.support-header h2 {
  font-size: 18px;
  color: #111827;
  font-weight: 700;
  margin: 0;
}

/* Grid dua kolom */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

/* Card dukungan */
.support-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
  transition: all 0.2s ease;
}


.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.card-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.support-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.support-card p {
  font-size: 14px;
  color: #374151;
  margin: 0 0 6px;
  line-height: 1.6;
}

/* Link email */
.support-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.support-link:hover {
  text-decoration: underline;
}

/* List sumber tambahan */
.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.support-list li {
  margin-bottom: 4px;
}
.support-list a {
  color: #2563eb;
  font-size: 14px;
  text-decoration: none;
}
.support-list a:hover {
  text-decoration: underline;
}

/* Box Tips */
.support-tip {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #065f46;
  line-height: 1.6;
}
.support-tip strong {
  color: #047857;
}

/* Responsive */
@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}


/* === SECTION PEMBARUAN KEBIJAKAN === */
.update-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.update-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.update-icon {
  width: 24px;
  height: 24px;
}

.update-header h2 {
  font-size: 18px;
  color: #111827;
  font-weight: 700;
  margin: 0;
}

.update-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.update-section ul {
  margin: 0 0 12px 0;
  padding-left: 0px;
  list-style-position: inside;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.7;
}

.update-section li {
  margin-bottom: 6px;
}

.update-note {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}



/* === SECTION TNC === */
.tnc-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.tnc-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.tnc-section h3 {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  margin-top: 16px;
}

.tnc-section p {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  margin-top: 16px;
}

.tnc-list {
  list-style-type: disc;
  padding-left: 1.2em;
  margin: 0;
}

.tnc-list li {
  margin-bottom: 10px;
  line-height: 1.7;
  text-align: justify;
  text-indent: 0;
  padding-left: 0.2em;

  /* Ini yang membuat teks baris kedua tetap rata kiri */
  display: list-item;
}

.tnc-list li::marker {
  color: #111827;
  font-size: 14px;
}

.tnc-list strong {
  color: #111827;
}

/* === SCROLLABLE TOC LIST === */
.toc-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  height: fit-content;
  max-height: calc(100vh - 160px);
}

.toc-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 0 16px 8px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.toc-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  overflow-y: auto;
  flex-grow: 1;
  max-height: calc(100vh - 230px);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

/* Scrollbar Chrome, Edge, Safari */
.toc-list::-webkit-scrollbar {
  width: 6px;
}

.toc-list::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.toc-list::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}

/* Toc item styles (biar tetap rapi) */
.toc-item {
  margin-bottom: 8px;
}

.toc-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.toc-link:hover {
  background: rgba(14,165,164,0.08);
  border-radius: 8px;
  color: var(--accent);
}






