/* =====================================================================
   Portal SIMPEL — perapian halaman depan.
   Dimuat SESUDAH landing.css; hanya menimpa bagian yang dirombak.
   ===================================================================== */

:root {
  --pt-navy: #0b1f4b;
  --pt-biru: #2a77bd;
  --pt-biru-terang: #6CACE4;
  --pt-langit: #e3f1fb;
  --pt-emas: #fbbf24;
  --pt-emas-tua: #f59e0b;
  --pt-teks: #0f172a;
  --pt-redup: #5b6b82;
  --pt-garis: #e2effc;
  --pt-kartu: #ffffff;
  --pt-latar: #f6f9fe;
}
html[data-theme="dark"] {
  --pt-teks: #f1f5f9;
  --pt-redup: #94a3b8;
  --pt-garis: #1e293b;
  --pt-kartu: #0f172a;
  --pt-latar: #0b1324;
}

/* ------------------------------------------------------------- HERO */
.pt-hero {
  position: relative;
  padding: 150px 0 140px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(59, 130, 246, .55), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(251, 191, 36, .16), transparent 60%),
    linear-gradient(135deg, #0b1f4b 0%, #1f5e96 45%, #2a77bd 100%);
}
.pt-hero-latar {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15));
          mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15));
}

.pt-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  font-size: .76rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: #dbeafe;
  backdrop-filter: blur(6px); margin-bottom: 22px;
}
.pt-eyebrow-titik { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }

.pt-judul {
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -1px;
  color: #fff; margin-bottom: 20px;
}
.pt-judul span {
  background: linear-gradient(90deg, #fde68a 0%, #fbbf24 60%, #f59e0b 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pt-deskripsi { font-size: 1.05rem; line-height: 1.75; color: rgba(226, 236, 255, .88); max-width: 540px; margin-bottom: 30px; }

.pt-aksi { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-tombol {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 14px;
  font-weight: 800; font-size: .98rem; text-decoration: none;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.pt-tombol.emas { background: linear-gradient(135deg, #fcd34d, #f59e0b); color: #1f1300; box-shadow: 0 14px 30px -12px rgba(245, 158, 11, .8); }
.pt-tombol.emas:hover { transform: translateY(-2px); color: #1f1300; box-shadow: 0 18px 34px -12px rgba(245, 158, 11, .9); }
.pt-tombol.garis { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.pt-tombol.garis:hover { color: #fff; background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

.pt-ciri { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 34px 0 0; }
.pt-ciri li { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 700; color: #e0ecff; }
.pt-ciri i { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); color: #fde68a; font-size: .95rem; }

/* Kartu lacak + lencana melayang */
.pt-lacak-wadah { position: relative; max-width: 540px; margin-left: auto; padding: 34px 0; }
.pt-lacak {
  position: relative; z-index: 1;
  background: #fff; color: var(--pt-teks);
  border-radius: 24px; padding: 28px;
  box-shadow: 0 40px 80px -30px rgba(2, 8, 35, .65), 0 0 0 1px rgba(255, 255, 255, .5);
}
html[data-theme="dark"] .pt-lacak { background: #0f172a; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px #1e293b; }
.pt-lacak-kepala { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pt-lacak-ikon { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #60a5fa, #2a77bd); color: #fff; font-size: 1.2rem; box-shadow: 0 10px 20px -8px rgba(29, 78, 216, .7); }
.pt-lacak-kepala h2 { font-size: 1.15rem; font-weight: 800; margin: 0; color: var(--pt-teks); }
.pt-lacak-kepala p { font-size: .84rem; margin: 3px 0 0; color: var(--pt-redup); }

.pt-cari { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--pt-latar); border: 1.5px solid #d6e6fb; transition: border-color .15s, box-shadow .15s; }
.pt-cari:focus-within { border-color: var(--pt-biru-terang); box-shadow: 0 0 0 5px rgba(59, 130, 246, .15); background: #fff; }
html[data-theme="dark"] .pt-cari { border-color: #1e3a5f; }
html[data-theme="dark"] .pt-cari:focus-within { background: #0b1324; }
.pt-cari > i { color: #60a5fa; font-size: 1.1rem; }
.pt-cari input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; outline: none; font-size: 1rem; font-weight: 600; color: var(--pt-teks); }
.pt-cari input::placeholder { color: #94a3b8; font-weight: 500; }
.pt-cari button { height: 46px; padding: 0 22px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #6CACE4, #2a77bd); color: #fff; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 10px 20px -10px rgba(29, 78, 216, .8); transition: transform .15s; }
.pt-cari button:hover { transform: translateY(-1px); }

.pt-lacak-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #f1f6fe; color: #334155; font-size: .84rem; text-decoration: none; transition: background .15s; }
.pt-lacak-alt:hover { background: #e3eefd; color: #334155; }
.pt-lacak-alt > i { color: var(--pt-biru-terang); }
.pt-lacak-alt-aksi { margin-left: auto; font-weight: 800; color: var(--pt-biru); white-space: nowrap; }
html[data-theme="dark"] .pt-lacak-alt { background: #111c33; color: #cbd5e1; }

.pt-lencana {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: #fff; color: var(--pt-teks);
  box-shadow: 0 18px 36px -16px rgba(2, 8, 35, .55);
  animation: ptMelayang 6s ease-in-out infinite;
}
html[data-theme="dark"] .pt-lencana { background: #111c33; }
.pt-lencana.atas { top: -4px; left: -34px; }
.pt-lencana.bawah { bottom: -6px; right: -18px; animation-delay: -3s; }
.pt-lencana span { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.pt-lencana span.hijau { background: #dcfce7; color: #16a34a; }
.pt-lencana span.biru { background: #dbeafe; color: #2a77bd; }
.pt-lencana b { display: block; font-size: .82rem; line-height: 1.2; }
.pt-lencana small { display: block; font-size: .72rem; color: var(--pt-redup); }
@keyframes ptMelayang { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .pt-lencana { animation: none; } }

@media (max-width: 991.98px) {
  .pt-hero { padding: 120px 0 110px; text-align: left; }
  .pt-lacak-wadah { margin: 0 auto; padding: 0; }
  .pt-lencana { display: none; }
}
@media (max-width: 575.98px) {
  .pt-tombol { height: 50px; padding: 0 20px; font-size: .92rem; }
  .pt-lacak { padding: 20px; border-radius: 20px; }
  .pt-cari button span { display: none; }
  .pt-cari button { padding: 0 16px; }
}

/* Hasil pelacakan (kotak hasil memakai kelas lama) */
.pt-lacak .hero-result-box { background: var(--pt-latar); border: 1px solid var(--pt-garis); }

/* -------------------------------------------------- CARA MENGAJUKAN */
.langkah-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
@media (max-width: 991.98px) { .langkah-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .langkah-grid { grid-template-columns: minmax(0, 1fr); } }
.langkah-kartu { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 20px; background: var(--pt-kartu); border: 1px solid var(--pt-garis); box-shadow: 0 6px 22px -14px rgba(37, 99, 235, .35); transition: transform .2s, box-shadow .2s, border-color .2s; }
.langkah-kartu:hover { transform: translateY(-4px); border-color: #bfdbfe; box-shadow: 0 18px 34px -18px rgba(37, 99, 235, .45); }
.langkah-nomor { position: absolute; top: 16px; right: 20px; font-size: 2.4rem; font-weight: 900; line-height: 1; color: #e0ecfb; }
html[data-theme="dark"] .langkah-nomor { color: #1e293b; }
.langkah-ikon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eff6ff, #dbeafe); color: var(--pt-biru); font-size: 1.35rem; margin-bottom: 16px; }
.langkah-judul { font-size: 1.04rem; font-weight: 800; color: var(--pt-teks); margin-bottom: 6px; }
.langkah-ket { font-size: .88rem; color: var(--pt-redup); line-height: 1.6; margin-bottom: 12px; flex: 1; }
.langkah-tautan { font-size: .86rem; font-weight: 800; color: var(--pt-biru); text-decoration: none; }
.langkah-tautan:hover { text-decoration: underline; }

/* Keadaan "data belum tersedia" untuk statistik & IKM */
.data-kosong { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 36px 16px; text-align: center; color: #64748b; font-size: .88rem; }
.data-kosong i { font-size: 1.8rem; color: #93c5fd; }

/* ------------------------------------------------------------ NAVBAR */
/* Layar sedang (992–1199px): menu & merek tak saling tindih. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .landing-navbar .nav-link { padding-left: .5rem !important; padding-right: .5rem !important; font-size: .86rem; }
  .landing-navbar .nav-link i { display: none; }
  .landing-navbar .navbar-brand { margin-right: .75rem; }
  .landing-navbar .btn-outline-gold, .landing-navbar .btn-gold { padding-left: 14px !important; padding-right: 14px !important; }
}


/* ------------------------------------------------- GRAFIK (mode gelap) */
html[data-theme="dark"] .apexcharts-datalabels-group text,
html[data-theme="dark"] .apexcharts-donut-label text { fill: #e2e8f0 !important; }
html[data-theme="dark"] .apexcharts-xaxis-label,
html[data-theme="dark"] .apexcharts-yaxis-label,
html[data-theme="dark"] .apexcharts-xaxis text,
html[data-theme="dark"] .apexcharts-yaxis text { fill: #94a3b8 !important; }
html[data-theme="dark"] .apexcharts-legend-text { color: #cbd5e1 !important; }
html[data-theme="dark"] .apexcharts-gridline { stroke: #1e293b !important; }
html[data-theme="dark"] .apexcharts-tooltip { background: #0f172a !important; color: #e2e8f0 !important; border-color: #1e293b !important; }

/* ---------------------------------------------- HERO: BIRU MUDA (terang) */
/* Biru langit (#6CACE4) untuk mode terang; mode gelap tetap biru tua di atas. */
html:not([data-theme="dark"]) .pt-hero {
  color: #0b1f4b;
  background:
    radial-gradient(800px 460px at 88% 18%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(640px 400px at 8% 92%, rgba(255, 255, 255, .35), transparent 60%),
    linear-gradient(135deg, #a9d3f5 0%, #8ac2ef 40%, #6cace4 100%);
}
html:not([data-theme="dark"]) .pt-hero-latar { background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px); }
html:not([data-theme="dark"]) .pt-eyebrow { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .9); color: #0f3a78; }
html:not([data-theme="dark"]) .pt-judul { color: #0b1f4b; }
html:not([data-theme="dark"]) .pt-judul span {
  background: linear-gradient(90deg, #ffffff 0%, #f1f8ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 2px 6px rgba(11, 31, 75, .28));
}
html:not([data-theme="dark"]) .pt-deskripsi { color: #163a66; }
html:not([data-theme="dark"]) .pt-tombol.garis { color: #0b1f4b; background: #fff; border-color: #fff; box-shadow: 0 12px 26px -14px rgba(11, 31, 75, .45); }
html:not([data-theme="dark"]) .pt-tombol.garis:hover { color: #0b1f4b; background: #f1f8ff; }
html:not([data-theme="dark"]) .pt-ciri li { color: #0f2f5c; }
html:not([data-theme="dark"]) .pt-ciri i { background: #fff; color: #1d6fd1; box-shadow: 0 6px 14px -8px rgba(11, 31, 75, .4); }
html:not([data-theme="dark"]) .pt-lacak { box-shadow: 0 34px 70px -30px rgba(11, 49, 110, .55), 0 0 0 1px rgba(255, 255, 255, .8); }

/* ===================================================== NUANSA MELAYU RIAU */
/* Latar bermotif belah ketupat (songket), menggantikan pola titik. */
.pt-hero-latar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath d='M17 1 L33 17 L17 33 L1 17 Z' fill='none' stroke='%23ffffff' stroke-opacity='.28' stroke-width='1'/%3E%3Cpath d='M17 12 L22 17 L17 22 L12 17 Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E") !important;
  background-size: 34px 34px !important;
}
html[data-theme="dark"] .pt-hero-latar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath d='M17 1 L33 17 L17 33 L1 17 Z' fill='none' stroke='%23fbbf24' stroke-opacity='.14' stroke-width='1'/%3E%3Cpath d='M17 12 L22 17 L17 22 L12 17 Z' fill='%23fbbf24' fill-opacity='.10'/%3E%3C/svg%3E") !important;
}

/* Pita pucuk rebung — motif segitiga khas tenun Melayu. */
.pt-pucuk-rebung {
  position: absolute; left: 0; right: 0; bottom: 66px; height: 30px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='30' viewBox='0 0 36 30'%3E%3Cpath d='M2 30 L18 2 L34 30' fill='none' stroke='%23d99a00' stroke-width='1.6'/%3E%3Cpath d='M9 30 L18 13 L27 30 Z' fill='%23f5b700'/%3E%3Cpath d='M18 4.5 L20.6 8.5 L18 12.5 L15.4 8.5 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 36px 30px; background-position: center bottom;
  opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.pt-pucuk-rebung::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: linear-gradient(90deg, #d99a00, #f5b700, #d99a00); }
@media (max-width: 991.98px) { .pt-pucuk-rebung { bottom: 58px; height: 24px; background-size: 28px 24px; } }


/* ================================================ TRANSFORMASI DIGITAL */
.pt-transformasi { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 34px; }
.pt-tf-langkah {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 8px; border-radius: 14px;
  background: #fff; color: #0f2f5c; font-size: .82rem; font-weight: 800;
  box-shadow: 0 8px 18px -12px rgba(11, 31, 75, .5);
}
.pt-tf-langkah i { width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #e0efff; color: #1d6fd1; font-size: .9rem; }
.pt-tf-langkah.lama { background: rgba(255, 255, 255, .45); color: #4b6487; box-shadow: none; border: 1px dashed rgba(15, 47, 92, .3); }
.pt-tf-langkah.lama span { text-decoration: line-through; text-decoration-color: rgba(15, 47, 92, .45); }
.pt-tf-langkah.lama i { background: rgba(255, 255, 255, .7); color: #64748b; }
.pt-tf-langkah.akhir { outline: 2px solid #f5b700; outline-offset: 0; }
.pt-tf-langkah.akhir i { background: #fef3c7; color: #b45309; }
.pt-tf-panah { color: #0f3a78; opacity: .55; font-size: .8rem; }
html[data-theme="dark"] .pt-tf-langkah { background: rgba(255, 255, 255, .1); color: #e0ecff; box-shadow: none; }
html[data-theme="dark"] .pt-tf-langkah i { background: rgba(255, 255, 255, .12); color: #fde68a; }
html[data-theme="dark"] .pt-tf-langkah.lama { background: transparent; color: #94a3b8; border-color: rgba(255, 255, 255, .25); }
html[data-theme="dark"] .pt-tf-panah { color: #cbd5e1; }
@media (max-width: 575.98px) {
  .pt-transformasi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-tf-panah { display: none; }
}
.pt-eyebrow { display: inline-block; line-height: 1.5; }
.pt-eyebrow-titik { display: inline-block; vertical-align: middle; margin: -2px 8px 0 0; }

/* ========================================================== STATISTIK */
.sx-bagian { padding: 90px 0; background: linear-gradient(180deg, var(--pt-latar) 0%, #fff 100%); }
html[data-theme="dark"] .sx-bagian { background: linear-gradient(180deg, #0b1324 0%, #0f172a 100%); }
.sx-kepala { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.sx-judul { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.5px; color: var(--pt-teks); margin: 10px 0 6px; }
.sx-sub { color: var(--pt-redup); margin: 0; font-size: .95rem; max-width: 560px; }
.sx-saring { display: flex; gap: 8px; flex-wrap: wrap; }
.sx-saring .select2-container { width: 150px !important; }
.sx-saring .select2-container:last-child { width: 110px !important; }

.sx-angka-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
@media (max-width: 991.98px) { .sx-angka-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .sx-angka-grid { grid-template-columns: minmax(0, 1fr); } }
.sx-angka { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--pt-kartu); border: 1px solid var(--pt-garis); box-shadow: 0 10px 26px -20px rgba(29, 78, 216, .45); }
.sx-angka-ikon { width: 50px; height: 50px; border-radius: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.sx-angka-ikon.biru { background: #dbeafe; color: #2a77bd; }
.sx-angka-ikon.hijau { background: #dcfce7; color: #15803d; }
.sx-angka-ikon.tua { background: #d6eaf8; color: #1f5e96; }
.sx-angka-ikon.langit { background: #e0f2fe; color: #0369a1; }
.sx-angka-ikon.emas { background: #fef3c7; color: #b45309; }
html[data-theme="dark"] .sx-angka-ikon { background: rgba(255, 255, 255, .06); }
.sx-angka-label { font-size: .76rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--pt-redup); }
.sx-angka-nilai { font-size: 1.75rem; font-weight: 800; color: var(--pt-teks); line-height: 1.15; margin: 2px 0; letter-spacing: -.5px; }
.sx-angka-ket { font-size: .76rem; color: #94a3b8; }

.sx-grafik-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 991.98px) { .sx-grafik-grid { grid-template-columns: minmax(0, 1fr); } }
.sx-kartu { padding: 22px 24px; border-radius: 22px; background: var(--pt-kartu); border: 1px solid var(--pt-garis); box-shadow: 0 10px 30px -22px rgba(29, 78, 216, .45); }
.sx-kartu-kepala { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sx-kartu-kepala h3 { font-size: 1.05rem; font-weight: 800; color: var(--pt-teks); margin: 0; }
.sx-kartu-kepala p { font-size: .82rem; color: var(--pt-redup); margin: 2px 0 0; }
.sx-legenda { display: flex; gap: 14px; font-size: .8rem; font-weight: 700; color: var(--pt-redup); }
.sx-legenda span, .sx-rincian span { display: inline-flex; align-items: center; gap: 6px; }
.sx-legenda i, .sx-rincian i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
i.biru { background: #6CACE4; } i.tua { background: #2a77bd; } i.hijau { background: #22c55e; } i.abu { background: #cbd5e1; }
.sx-grafik { min-height: 320px; }
.sx-pengukur { min-height: 230px; margin-top: 4px; }
.sx-rincian { display: grid; gap: 8px; margin-top: 4px; }
.sx-rincian div { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 12px; background: var(--pt-latar); font-size: .86rem; color: var(--pt-redup); font-weight: 600; }
.sx-rincian b { color: var(--pt-teks); font-weight: 800; }
.sx-catatan { margin: 12px 0 0; font-size: .72rem; line-height: 1.5; color: #94a3b8; }
.sx-angka.stat-card { padding: 16px 18px !important; }
.sx-angka-label { text-transform: none; letter-spacing: 0; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-angka-ket { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 992px) and (max-width: 1199.98px) { .sx-angka-ikon { width: 42px; height: 42px; font-size: 1.1rem; } .sx-angka-nilai { font-size: 1.5rem; } }
.sx-pengukur { margin-bottom: -34px; }

/* ================================================================ IKM */
.ix-bagian { padding: 90px 0; background: #fff; }
html[data-theme="dark"] .ix-bagian { background: #0b1324; }
.ix-saring #subFilterContainer .select2-container { width: 160px !important; }
.ix-tombol-survei { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; font-size: .86rem; font-weight: 800; color: #1f1300; background: linear-gradient(135deg, #fcd34d, #f59e0b); text-decoration: none; box-shadow: 0 10px 20px -12px rgba(245, 158, 11, .9); white-space: nowrap; }
.ix-tombol-survei:hover { color: #1f1300; transform: translateY(-1px); }

.ix-atas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 991.98px) { .ix-atas { grid-template-columns: minmax(0, 1fr); } }

.ix-skor { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px 28px; border-radius: 24px; color: #fff;
  background: radial-gradient(420px 220px at 100% 0%, rgba(255, 255, 255, .28), transparent 60%), linear-gradient(135deg, #6cace4 0%, #6CACE4 55%, #2a77bd 100%);
  box-shadow: 0 24px 50px -28px rgba(29, 78, 216, .8); }
.ix-skor::after { /* pucuk rebung tipis di sudut */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='22' viewBox='0 0 26 22'%3E%3Cpath d='M1 22 L13 1 L25 22' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3Cpath d='M7 22 L13 10 L19 22 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 26px 22px; background-position: left bottom; }
.ix-skor-kepala { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ix-skor-label { font-size: .74rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.ix-skor-periode { font-size: 1.05rem; font-weight: 800; }
.ix-mutu { padding: 6px 14px; border-radius: 999px; background: #fcd34d; color: #3b2600; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.ix-skor-nilai { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 6px; }
.ix-skor-nilai span { font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 900; line-height: 1; letter-spacing: -2px; }
.ix-skor-nilai small { font-size: 1.1rem; color: rgba(255, 255, 255, .75); font-weight: 700; }
.ix-skor-kinerja { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
#ikmStars i { color: #fcd34d; margin-right: 2px; }
.ix-skor-kaki { margin-top: auto; padding: 14px 0 18px; border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 22px; display: flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.ix-skor-kaki b { margin-left: auto; color: #fff; font-size: 1rem; }

.ix-ringkas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 575.98px) { .ix-ringkas { grid-template-columns: minmax(0, 1fr); } }
.ix-mini { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: var(--pt-latar); border: 1px solid var(--pt-garis); }
.ix-mini-ikon { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.ix-mini-ikon.hijau { background: #dcfce7; color: #15803d; } .ix-mini-ikon.emas { background: #fef3c7; color: #b45309; }
.ix-mini-ikon.merah { background: #fee2e2; color: #b91c1c; } .ix-mini-ikon.biru { background: #dbeafe; color: #2a77bd; }
html[data-theme="dark"] .ix-mini-ikon { background: rgba(255, 255, 255, .06); }
.ix-mini-label { font-size: .8rem; color: var(--pt-redup); font-weight: 600; }
.ix-mini-nilai { font-size: 1.02rem; font-weight: 800; color: var(--pt-teks); margin-top: 2px; }

.ix-unsur-kepala { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 14px; }
.ix-unsur-kepala h3 { font-size: 1.15rem; font-weight: 800; color: var(--pt-teks); margin: 0; }
.ix-unsur-kepala span { font-size: .8rem; color: var(--pt-redup); }
.ix-unsur-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
@media (max-width: 991.98px) { .ix-unsur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .ix-unsur-grid { grid-template-columns: minmax(0, 1fr); } }
.ix-unsur { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--pt-kartu); border: 1px solid var(--pt-garis); }
.ix-unsur.lemah { border-color: #fecaca; background: #fffafa; }
html[data-theme="dark"] .ix-unsur.lemah { background: rgba(185, 28, 28, .08); border-color: #7f1d1d; }
.ix-unsur-ikon { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #eff6ff; color: #3f8fd2; font-size: 1.05rem; }
.ix-unsur.lemah .ix-unsur-ikon { background: #fee2e2; color: #b91c1c; }
.ix-unsur-isi { flex: 1; min-width: 0; }
.ix-unsur-atas, .ix-baris-atas { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.ix-unsur-nama { font-weight: 700; font-size: .88rem; color: var(--pt-teks); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ix-unsur-nama small { font-size: .68rem; font-weight: 800; color: #94a3b8; margin-right: 2px; }
.ix-unsur-atas b, .ix-baris-atas b { font-size: .92rem; font-weight: 800; color: var(--pt-teks); white-space: nowrap; }
.ix-baris-atas b small { font-weight: 600; color: var(--pt-redup); font-size: .74rem; }
.ix-unsur-bar { height: 7px; border-radius: 99px; background: #e8f0fb; overflow: hidden; }
html[data-theme="dark"] .ix-unsur-bar { background: #1e293b; }
.ix-unsur-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6cace4, #3f8fd2); }
.ix-unsur.lemah .ix-unsur-bar span { background: linear-gradient(90deg, #fca5a5, #dc2626); }

.ix-bawah { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 767.98px) { .ix-bawah { grid-template-columns: minmax(0, 1fr); } }
.ix-daftar { display: grid; gap: 12px; margin-top: 8px; }
.ix-baris-atas span { font-weight: 700; font-size: .88rem; color: var(--pt-teks); }
.ix-kosong { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px; border-radius: 14px; border: 1px dashed var(--pt-garis); color: #94a3b8; font-size: .86rem; }

/* ------------------------------------------------------------ MEREK NAVBAR */
.pt-merek { display: flex; flex-direction: column; line-height: 1.1; }
.pt-merek b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.3px; color: #1f5e96; }
.pt-merek small { font-size: .6rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #5b7fa6; margin-top: 2px; }
html[data-theme="dark"] .pt-merek b { color: #9fcdf2; }
html[data-theme="dark"] .pt-merek small { color: #94a3b8; }
@media (max-width: 1199.98px) and (min-width: 992px) { .pt-merek small { display: none; } }
@media (max-width: 400px) { .pt-merek small { font-size: .52rem; letter-spacing: .2px; } }

/* ------------------------------------------------------------ BERITA (bx-) */
.bx-bagian { padding: 90px 0; background: linear-gradient(180deg, #fff 0%, #eef6fd 100%); }
html[data-theme="dark"] .bx-bagian { background: #0b1324; }
.bx-semua { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: .88rem;
  color: #24679f; background: #fff; border: 1px solid #bfdcf3; text-decoration: none; transition: .2s; }
.bx-semua i { transition: transform .2s; }
.bx-semua:hover { background: #6CACE4; color: #fff; border-color: #6CACE4; }
.bx-semua:hover i { transform: translateX(3px); }
html[data-theme="dark"] .bx-semua { background: #111c33; border-color: #1e3a5f; color: #9fcdf2; }

.bx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 991.98px) { .bx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .bx-grid { grid-template-columns: minmax(0, 1fr); } }

.bx-kartu { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #d6e8f7; border-radius: 18px; overflow: hidden;
  text-decoration: none !important; color: inherit; box-shadow: 0 6px 20px rgba(42, 119, 189, .07); transition: transform .25s, box-shadow .25s, border-color .25s; }
.bx-kartu:not(.bx-kerangka):hover { transform: translateY(-4px); border-color: #6CACE4; box-shadow: 0 14px 34px rgba(42, 119, 189, .16); }
html[data-theme="dark"] .bx-kartu { background: #111c33; border-color: #1e2d4a; box-shadow: none; }

.bx-sampul { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: #e3f1fb; flex-shrink: 0; }
.bx-sampul img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bx-kartu:hover .bx-sampul img { transform: scale(1.05); }
.bx-sampul-ganti { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: #fff; }
/* Kisi songket halus, senada hero. */
.bx-sampul-ganti::after { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(45deg, rgba(255,255,255,.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.1) 75%),
                    linear-gradient(45deg, rgba(255,255,255,.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.1) 75%);
  background-size: 22px 22px; background-position: 0 0, 11px 11px; }
.bx-sampul-ganti i { position: relative; z-index: 1; filter: drop-shadow(0 4px 10px rgba(15, 60, 110, .2)); }
.bx-sampul-ganti.n1 { background: linear-gradient(135deg, #4b97d8, #8cc2ec); }
.bx-sampul-ganti.n2 { background: linear-gradient(135deg, #2a77bd, #6CACE4); }
.bx-sampul-ganti.n3 { background: linear-gradient(135deg, #6CACE4, #a9d3f3); }
.bx-kategori { position: absolute; left: 14px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 100px; font-size: .66rem; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase; background: rgba(255,255,255,.95); color: #24679f; box-shadow: 0 2px 8px rgba(15, 60, 110, .12); }

.bx-isi { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 16px; }
.bx-judul { font-size: 1.02rem; font-weight: 800; line-height: 1.4; color: var(--pt-teks); margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.bx-kartu:hover .bx-judul { color: #2a77bd; }
html[data-theme="dark"] .bx-kartu:hover .bx-judul { color: #9fcdf2; }
.bx-ringkas { font-size: .86rem; line-height: 1.6; color: var(--pt-redup); margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bx-kaki { margin-top: auto; padding-top: 12px; border-top: 1px dashed #d6e8f7; display: flex; align-items: center; gap: 14px;
  font-size: .76rem; font-weight: 600; color: #7b8ba3; }
html[data-theme="dark"] .bx-kaki { border-color: #1e2d4a; }
.bx-kaki i { margin-right: 3px; }
.bx-baca { margin-left: auto; color: #2a77bd; font-weight: 800; }
.bx-baca i { transition: transform .2s; }
.bx-kartu:hover .bx-baca i { transform: translateX(3px); }
html[data-theme="dark"] .bx-baca { color: #9fcdf2; }

/* Berita teratas: dua kolom di layar besar. */
@media (min-width: 992px) {
  .bx-kartu.utama { grid-column: span 2; flex-direction: row; }
  .bx-kartu.utama .bx-sampul { aspect-ratio: auto; width: 46%; }
  .bx-kartu.utama .bx-sampul-ganti { font-size: 3.4rem; }
  .bx-kartu.utama .bx-isi { padding: 26px 28px 20px; justify-content: center; }
  .bx-kartu.utama .bx-judul { font-size: 1.35rem; -webkit-line-clamp: 3; }
  .bx-kartu.utama .bx-ringkas { -webkit-line-clamp: 4; font-size: .92rem; }
  .bx-kartu.utama .bx-kaki { margin-top: 0; }
}

.bx-kosong { max-width: 440px; margin: 0 auto; text-align: center; padding: 40px 24px; border: 1px dashed #bfdcf3; border-radius: 18px;
  display: flex; flex-direction: column; gap: 6px; color: var(--pt-redup); font-size: .9rem; }
.bx-kosong i { font-size: 2rem; color: #6CACE4; }
.bx-kosong b { color: var(--pt-teks); font-size: 1.05rem; }
@media (min-width: 1200px) { .landing-navbar .navbar-brand { margin-right: 1.75rem; } }
@media (min-width: 1200px) and (max-width: 1399.98px) { .landing-navbar .nav-link { padding-left: .55rem !important; padding-right: .55rem !important; } }
/* Tablet: berita teratas selebar dua kolom, 4 sisanya rapi 2×2. */
@media (min-width: 576px) and (max-width: 991.98px) { .bx-grid > .bx-kartu:first-child { grid-column: span 2; } }
@media (min-width: 992px) { .bx-grid > .bx-kerangka:first-child { grid-column: span 2; } }

/* ------------------------------------------------------------ FOOTER (biru muda) */
html:not([data-theme="dark"]) .landing-footer {
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(255, 255, 255, .16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(255, 199, 44, .14) 0%, transparent 60%),
    linear-gradient(160deg, #2a77bd 0%, #3586cc 55%, #2f7cc2 100%) !important;
}
html:not([data-theme="dark"]) .landing-footer::before { background: linear-gradient(90deg, #a9d3f3, #FFC72C 50%, #a9d3f3); box-shadow: none; }
html:not([data-theme="dark"]) .footer-desc { color: rgba(255, 255, 255, .88) !important; }
html:not([data-theme="dark"]) .footer-brand-sub,
html:not([data-theme="dark"]) .footer-contact-item strong,
html:not([data-theme="dark"]) .landing-footer .text-warning { color: #ffe08a !important; }
html:not([data-theme="dark"]) .landing-footer .text-info,
html:not([data-theme="dark"]) .landing-footer .text-success,
html:not([data-theme="dark"]) .footer-contact-icon { color: #fff !important; }
html:not([data-theme="dark"]) .footer-contact-icon,
html:not([data-theme="dark"]) .social-icon-btn { background: rgba(255, 255, 255, .16) !important; border-color: rgba(255, 255, 255, .35) !important; box-shadow: none !important; }
html:not([data-theme="dark"]) .footer-links a:hover { color: #ffe08a !important; }
html:not([data-theme="dark"]) .landing-footer .text-white-50 { color: rgba(255, 255, 255, .78) !important; }
html:not([data-theme="dark"]) .footer-bottom-bar { background: #1f5e96 !important; border-top-color: rgba(255, 255, 255, .18) !important; }

/* ------------------------------------------------------------ RITME ANTAR-BAGIAN */
/* Jarak antar-bagian dipersempit dan latar berselang agar batasnya terbaca. */
.sx-bagian { padding: 72px 0; background: var(--pt-latar); }
.ix-bagian { padding: 72px 0; background: #fff; }
.bx-bagian { padding: 72px 0; background: linear-gradient(180deg, #eef6fd 0%, #f6fafe 100%); }
html[data-theme="dark"] .sx-bagian { background: #0b1324; }
html[data-theme="dark"] .ix-bagian { background: #0f172a; }
html[data-theme="dark"] .bx-bagian { background: #0b1324; }
@media (max-width: 575.98px) {
  .sx-bagian, .ix-bagian, .bx-bagian { padding: 52px 0; }
  .sx-kepala { margin-bottom: 20px; }
}

/* ------------------------------------------------------------ PONSEL: kartu ringkas 2 kolom */
@media (max-width: 575.98px) {
  .sx-angka-grid, .ix-ringkas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sx-angka, .ix-mini { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .sx-angka-ikon, .ix-mini-ikon { width: 38px; height: 38px; border-radius: 11px; font-size: 1rem; }
  .sx-angka-nilai { font-size: 1.35rem; }
  .sx-angka-ket { display: none; }
  .ix-mini-nilai { font-size: .9rem; }
  /* Tombol chatbot melayang tidak menutupi teks hak cipta. */
  .footer-bottom-bar { padding-bottom: 88px !important; }
}

/* ================================================ TEKNOLOGI DI HERO */
/* Jalur sirkuit di latar: data "mengalir" pelan menuju isi hero. */
.pt-sirkuit { position: absolute; top: 0; right: 0; width: 62%; height: 100%; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(270deg, #000 30%, transparent 100%); mask-image: linear-gradient(270deg, #000 30%, transparent 100%); }
.pt-hero .container { z-index: 1; }
.pt-sirkuit path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pt-sirkuit .jalur path { stroke: rgba(255, 255, 255, .8); }
.pt-sirkuit .aliran path { stroke: #fff; stroke-width: 2.4; stroke-dasharray: 14 420; animation: pt-alir 5s linear infinite; }
.pt-sirkuit .aliran path:nth-child(2) { animation-delay: -1.7s; }
.pt-sirkuit .aliran path:nth-child(3) { animation-delay: -3.4s; }
.pt-sirkuit .simpul circle { fill: #fff; stroke: rgba(255, 255, 255, .45); stroke-width: 6; }
html[data-theme="dark"] .pt-sirkuit .jalur path { stroke: rgba(108, 172, 228, .28); }
html[data-theme="dark"] .pt-sirkuit .aliran path { stroke: #6CACE4; }
html[data-theme="dark"] .pt-sirkuit .simpul circle { fill: #6CACE4; stroke: rgba(108, 172, 228, .25); }
@keyframes pt-alir { from { stroke-dashoffset: 434; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .pt-sirkuit .aliran path { animation: none; stroke-dasharray: none; opacity: .4; } }
@media (max-width: 991.98px) { .pt-sirkuit { width: 100%; opacity: .5; } }

/* Panel "Didukung teknologi" (menggantikan pantun) */
.pt-tek { max-width: 540px; margin: 18px 0 0 auto; padding: 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .85); backdrop-filter: blur(8px);
  box-shadow: 0 16px 30px -22px rgba(11, 31, 75, .5); }
.pt-tek-kepala { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; font-size: .7rem; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase; color: #1f5e96; }
.pt-tek-kepala i { font-size: .95rem; }
.pt-tek-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pt-tek-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #fff;
  box-shadow: 0 6px 14px -10px rgba(11, 31, 75, .4); min-width: 0; }
.pt-tek-item > i { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #6CACE4, #2a77bd); color: #fff; font-size: .95rem; }
.pt-tek-item b { display: block; font-size: .8rem; font-weight: 800; color: #0f2f5c; line-height: 1.25; }
.pt-tek-item small { display: block; font-size: .7rem; color: #5b6b82; line-height: 1.3; margin-top: 1px; }
html[data-theme="dark"] .pt-tek { background: rgba(15, 23, 42, .55); border-color: #1e3a5f; }
html[data-theme="dark"] .pt-tek-kepala { color: #9fcdf2; }
html[data-theme="dark"] .pt-tek-item { background: #111c33; box-shadow: none; }
html[data-theme="dark"] .pt-tek-item b { color: #e2e8f0; }
html[data-theme="dark"] .pt-tek-item small { color: #94a3b8; }
@media (max-width: 991.98px) { .pt-tek { margin: 18px auto 0; } }
@media (max-width: 380px) { .pt-tek-grid { grid-template-columns: minmax(0, 1fr); } }

/* ================================================ PITA PUCUK REBUNG (rapi) */
/* Tepi bawah hero lurus; pita segitiga utuh selebar layar, duduk di atas garis emas. */
.pt-pucuk-rebung {
  bottom: 0 !important; height: 34px !important; z-index: 2; opacity: 1 !important;
  background-size: 34px 28px !important; background-repeat: round no-repeat !important; background-position: left 0 bottom 5px !important;
  -webkit-mask-image: none !important; mask-image: none !important;
}
.pt-pucuk-rebung::after { bottom: 0 !important; height: 5px !important;
  background: linear-gradient(90deg, #d99a00, #f5b700 50%, #d99a00) !important; }
/* Jalur sirkuit berhenti di atas pita supaya tidak menimpanya. */
.pt-sirkuit { height: calc(100% - 44px) !important; }
@media (max-width: 991.98px) { .pt-pucuk-rebung { height: 28px !important; background-size: 26px 22px !important; } }

/* ================================================ PONSEL: halaman lebih ringkas */
@media (max-width: 575.98px) {
  /* Cara mengajukan: kartu mendatar — ikon kiri, teks kanan. */
  #layanan.features-section { padding: 52px 0 !important; }
  #layanan h2 { font-size: 1.5rem !important; }
  #layanan .mb-5 { margin-bottom: 1.5rem !important; }
  .langkah-grid { gap: 10px; }
  .langkah-kartu { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 16px 16px 14px; border-radius: 16px; }
  .langkah-ikon { grid-row: span 3; width: 44px; height: 44px; border-radius: 13px; font-size: 1.1rem; margin: 0; }
  .langkah-nomor { top: 12px; right: 14px; font-size: 1.5rem; }
  .langkah-judul { font-size: .98rem; margin: 2px 32px 4px 0; }
  .langkah-ket { font-size: .84rem; line-height: 1.5; margin-bottom: 6px; }

  /* Berita: yang teratas tetap besar, sisanya daftar ringkas bergambar kecil. */
  .bx-grid { gap: 12px; }
  .bx-grid > .bx-kartu:not(:first-child) { flex-direction: row; border-radius: 14px; }
  .bx-grid > .bx-kartu:not(:first-child) .bx-sampul { width: 96px; aspect-ratio: auto; }
  .bx-grid > .bx-kartu:not(:first-child) .bx-sampul-ganti { font-size: 1.5rem; }
  .bx-grid > .bx-kartu:not(:first-child) .bx-kategori,
  .bx-grid > .bx-kartu:not(:first-child) .bx-ringkas,
  .bx-grid > .bx-kartu:not(:first-child) .bx-baca { display: none; }
  .bx-grid > .bx-kartu:not(:first-child) .bx-isi { padding: 12px 14px; }
  .bx-grid > .bx-kartu:not(:first-child) .bx-judul { font-size: .9rem; margin-bottom: 6px; }
  .bx-grid > .bx-kartu:not(:first-child) .bx-kaki { border-top: 0; padding-top: 0; font-size: .72rem; }

  /* Footer: jarak lebih rapat, navigasi dua kolom. */
  .landing-footer { padding-top: 48px !important; }
  .landing-footer .row.g-5 { --bs-gutter-y: 2rem; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .footer-links li { margin-bottom: 8px; }
  .footer-bottom-bar { margin-top: 32px !important; }
}

/* ================================================ LAYAR SEMPIT (<400px) */
/* Kolom grid & kartu boleh menyusut; tanpa ini grafik ApexCharts menahan lebar halaman. */
.sx-kartu, .ix-skor, .ix-mini, .bx-kartu, .langkah-kartu, .pt-lacak, .pt-tek { min-width: 0; }
.apexcharts-canvas, .apexcharts-svg { max-width: 100%; }
@media (max-width: 575.98px) { .sx-kartu { padding: 18px 16px; border-radius: 18px; } }
@media (max-width: 399.98px) {
  .pt-merek small { display: none; }
  .pt-judul { font-size: 1.85rem !important; }
  .pt-aksi .pt-tombol { padding: 0 16px; }
  .pt-tf-langkah { font-size: .76rem; }
}

/* =====================================================================
   REDESAIN ELEGAN — biru muda (nuansa pemerintahan)
   Header biru langit berwibawa + hero lapang biru muda ke putih.
   Hanya mode terang; mode gelap memakai aturan di atas.
   ===================================================================== */
:root {
  --el-langit: #6CACE4;
  --el-langit-pucat: #e8f3fc;
  --el-navy: #0b2545;
  --el-navy-2: #13386b;
  --el-biru: #2a77bd;
  --el-emas: #d4a017;
  --el-emas-muda: #f3c94f;
}

/* ------------------------------------------------------------ HEADER */
html:not([data-theme="dark"]) .landing-navbar {
  height: 78px;
  background: linear-gradient(90deg, #5a9fd9 0%, #6CACE4 45%, #86bdea 100%);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: 0 6px 24px -14px rgba(11, 37, 69, .45);
}
/* Garis emas tipis di tepi bawah header — kesan resmi */
html:not([data-theme="dark"]) .landing-navbar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--el-emas-muda) 18%, var(--el-emas) 50%, var(--el-emas-muda) 82%, transparent 100%);
}
html:not([data-theme="dark"]) .landing-navbar.scrolled {
  background: linear-gradient(90deg, #5598d2 0%, #66a7e0 45%, #7fb7e7 100%);
  box-shadow: 0 10px 30px -12px rgba(11, 37, 69, .5);
}
/* Logo dibingkai kotak putih agar menonjol di atas biru */
html:not([data-theme="dark"]) .landing-navbar .navbar-brand img {
  height: 46px; width: 46px; object-fit: contain; padding: 6px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 6px 16px -8px rgba(11, 37, 69, .55);
}
html:not([data-theme="dark"]) .pt-merek b { color: #fff; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; letter-spacing: .2px; text-shadow: 0 1px 2px rgba(11, 37, 69, .25); }
html:not([data-theme="dark"]) .pt-merek small { color: rgba(255, 255, 255, .92); letter-spacing: .9px; }

html:not([data-theme="dark"]) .landing-navbar .nav-link {
  color: var(--el-navy); font-weight: 600; border-radius: 999px;
  transition: background .2s, color .2s;
}
html:not([data-theme="dark"]) .landing-navbar .nav-link i { color: var(--el-navy-2); opacity: .85; }
html:not([data-theme="dark"]) .landing-navbar .nav-link:hover,
html:not([data-theme="dark"]) .landing-navbar .nav-link:focus,
html:not([data-theme="dark"]) .landing-navbar .nav-link.active {
  color: var(--el-navy); background: rgba(255, 255, 255, .55);
}

/* Pemilih tema: kapsul putih transparan */
html:not([data-theme="dark"]) .theme-toggle-wrapper,
html:not([data-theme="dark"]) .landing-navbar.scrolled .theme-toggle-wrapper {
  background: rgba(255, 255, 255, .28) !important; border-color: rgba(255, 255, 255, .55) !important;
}
html:not([data-theme="dark"]) .theme-toggle-btn,
html:not([data-theme="dark"]) .landing-navbar.scrolled .theme-toggle-btn { color: var(--el-navy) !important; }
html:not([data-theme="dark"]) .theme-toggle-btn.active,
html:not([data-theme="dark"]) .landing-navbar.scrolled .theme-toggle-btn.active {
  background: #fff !important; color: var(--el-navy) !important; box-shadow: 0 2px 8px rgba(11, 37, 69, .2) !important;
}
html:not([data-theme="dark"]) .theme-toggle-btn.active i { color: #d18f00 !important; }

/* Tombol header: Daftar (putih) & Masuk (navy) — tanpa kilau berlebih */
html:not([data-theme="dark"]) .landing-navbar .btn-outline-gold,
html:not([data-theme="dark"]) .landing-navbar .btn-gold { border-radius: 999px !important; padding: 9px 22px !important; font-weight: 700 !important; }
html:not([data-theme="dark"]) .landing-navbar .btn-outline-gold {
  background: rgba(255, 255, 255, .92) !important; border: 1.5px solid #fff !important; color: var(--el-navy) !important;
  box-shadow: 0 6px 16px -10px rgba(11, 37, 69, .5) !important;
}
html:not([data-theme="dark"]) .landing-navbar .btn-outline-gold:hover,
html:not([data-theme="dark"]) .landing-navbar .btn-outline-gold:focus {
  background: #fff !important; color: var(--el-biru) !important; border-color: #fff !important;
  transform: translateY(-1px) !important; box-shadow: 0 10px 22px -12px rgba(11, 37, 69, .55) !important;
}
html:not([data-theme="dark"]) .landing-navbar .btn-gold {
  background: var(--el-navy) !important; color: #fff !important; border: 1.5px solid var(--el-navy) !important;
  box-shadow: 0 8px 20px -10px rgba(11, 37, 69, .8) !important;
}
html:not([data-theme="dark"]) .landing-navbar .btn-gold:hover,
html:not([data-theme="dark"]) .landing-navbar .btn-gold:focus {
  background: var(--el-navy-2) !important; color: #fff !important; border-color: var(--el-navy-2) !important;
  transform: translateY(-1px) !important; box-shadow: 0 12px 24px -10px rgba(11, 37, 69, .85) !important;
}
html:not([data-theme="dark"]) .landing-navbar .btn-gold i { color: var(--el-emas-muda); }
html:not([data-theme="dark"]) .landing-navbar .btn-gold::before,
html:not([data-theme="dark"]) .landing-navbar .btn-outline-gold::before { display: none; }

html:not([data-theme="dark"]) .landing-navbar .navbar-toggler { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .25); }

/* ------------------------------------------------------------ HERO */
html:not([data-theme="dark"]) .pt-hero {
  color: var(--el-navy);
  padding: 156px 0 150px;
  background:
    radial-gradient(1100px 520px at 82% 8%, rgba(108, 172, 228, .55), transparent 62%),
    radial-gradient(700px 420px at 0% 0%, rgba(108, 172, 228, .35), transparent 60%),
    radial-gradient(600px 360px at 50% 110%, rgba(243, 201, 79, .14), transparent 65%),
    linear-gradient(180deg, #d5e9f9 0%, #e9f4fd 48%, #f8fbff 100%);
}
/* Motif songket dibuat sangat halus dan memudar */
html:not([data-theme="dark"]) .pt-hero-latar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 2 L38 20 L20 38 L2 20 Z' fill='none' stroke='%232a77bd' stroke-opacity='.09' stroke-width='1'/%3E%3Cpath d='M20 15 L25 20 L20 25 L15 20 Z' fill='%232a77bd' fill-opacity='.06'/%3E%3C/svg%3E") !important;
  background-size: 40px 40px !important;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 75% 30%, #000 0%, transparent 75%);
}
/* Jalur sirkuit disembunyikan — tampilan lebih tenang */
html:not([data-theme="dark"]) .pt-sirkuit { display: none; }

html:not([data-theme="dark"]) .pt-eyebrow {
  background: #fff; border: 1px solid rgba(42, 119, 189, .18); color: var(--el-navy-2);
  box-shadow: 0 6px 18px -12px rgba(11, 37, 69, .4); letter-spacing: 1.6px; font-size: .72rem;
}
html:not([data-theme="dark"]) .pt-eyebrow-titik { background: var(--el-emas); box-shadow: 0 0 0 4px rgba(212, 160, 23, .18); }

html:not([data-theme="dark"]) .pt-judul {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--el-navy); font-weight: 800; letter-spacing: -1.2px; line-height: 1.12;
}
html:not([data-theme="dark"]) .pt-judul span {
  background: linear-gradient(90deg, #2a77bd 0%, #4f9bdc 60%, #6CACE4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; filter: none;
}
/* Garis emas pendek di bawah judul */
html:not([data-theme="dark"]) .pt-judul::after {
  content: ''; display: block; width: 72px; height: 4px; border-radius: 4px; margin-top: 22px;
  background: linear-gradient(90deg, var(--el-emas), var(--el-emas-muda));
}
html:not([data-theme="dark"]) .pt-deskripsi { color: #3d5674; font-size: 1.04rem; line-height: 1.8; }

html:not([data-theme="dark"]) .pt-tombol { border-radius: 999px; font-weight: 700; }
html:not([data-theme="dark"]) .pt-tombol.emas {
  background: linear-gradient(135deg, var(--el-navy-2) 0%, var(--el-navy) 100%); color: #fff;
  box-shadow: 0 16px 30px -14px rgba(11, 37, 69, .75);
}
html:not([data-theme="dark"]) .pt-tombol.emas:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(11, 37, 69, .85); }
html:not([data-theme="dark"]) .pt-tombol.emas i { color: var(--el-emas-muda); }
html:not([data-theme="dark"]) .pt-tombol.garis {
  background: #fff; color: var(--el-navy); border: 1.5px solid rgba(42, 119, 189, .25);
  box-shadow: 0 10px 22px -16px rgba(11, 37, 69, .5);
}
html:not([data-theme="dark"]) .pt-tombol.garis:hover { color: var(--el-biru); border-color: var(--el-langit); background: #fff; }

/* Alur transformasi: chip putih bergaris halus */
html:not([data-theme="dark"]) .pt-tf-langkah {
  background: rgba(255, 255, 255, .85); color: var(--el-navy); font-weight: 700;
  border: 1px solid rgba(42, 119, 189, .14); box-shadow: 0 6px 16px -12px rgba(11, 37, 69, .4);
  border-radius: 999px; padding: 6px 14px 6px 6px;
}
html:not([data-theme="dark"]) .pt-tf-langkah i { border-radius: 999px; background: var(--el-langit-pucat); color: var(--el-biru); }
html:not([data-theme="dark"]) .pt-tf-langkah.lama { background: transparent; border: 1px dashed rgba(11, 37, 69, .22); color: #6b7f99; box-shadow: none; }
html:not([data-theme="dark"]) .pt-tf-langkah.lama i { background: rgba(255, 255, 255, .7); color: #8496ad; }
html:not([data-theme="dark"]) .pt-tf-langkah.akhir { outline: 0; border: 1px solid rgba(212, 160, 23, .55); background: #fffaf0; }
html:not([data-theme="dark"]) .pt-tf-langkah.akhir i { background: #fdf0c8; color: #a77a06; }
html:not([data-theme="dark"]) .pt-tf-panah { color: var(--el-biru); opacity: .45; }

/* Kartu lacak: putih bersih dengan pita biru–emas di atas */
.pt-lacak { position: relative; overflow: hidden; }
.pt-lacak::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #2a77bd 0%, #6CACE4 60%, #f3c94f 100%);
}
html:not([data-theme="dark"]) .pt-lacak {
  border-radius: 24px;
  box-shadow: 0 40px 80px -40px rgba(11, 49, 110, .55), 0 0 0 1px rgba(42, 119, 189, .1);
}
html:not([data-theme="dark"]) .pt-lacak-ikon { background: linear-gradient(135deg, #6CACE4, #2a77bd); border-radius: 16px; box-shadow: 0 10px 22px -10px rgba(42, 119, 189, .8); }
html:not([data-theme="dark"]) .pt-lacak-kepala h2 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--el-navy); }
html:not([data-theme="dark"]) .pt-cari { background: #f5f9fe; border-color: #dbe9f7; border-radius: 999px; padding-left: 20px; }
html:not([data-theme="dark"]) .pt-cari button {
  border-radius: 999px; background: linear-gradient(135deg, var(--el-navy-2), var(--el-navy));
  box-shadow: 0 10px 20px -12px rgba(11, 37, 69, .8); font-weight: 700;
}
html:not([data-theme="dark"]) .pt-lacak-alt { background: var(--el-langit-pucat); }
html:not([data-theme="dark"]) .pt-lacak-alt-aksi { color: var(--el-biru); }

html:not([data-theme="dark"]) .pt-lencana { border: 1px solid rgba(42, 119, 189, .12); box-shadow: 0 18px 34px -20px rgba(11, 37, 69, .5); }
html:not([data-theme="dark"]) .pt-lencana span.hijau { background: #e7f7ee; }
html:not([data-theme="dark"]) .pt-lencana span.biru { background: var(--el-langit-pucat); }

/* Panel teknologi: kaca putih, ikon berlatar biru pucat */
html:not([data-theme="dark"]) .pt-tek {
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 20px 40px -28px rgba(11, 37, 69, .45); border-radius: 22px;
}
html:not([data-theme="dark"]) .pt-tek-kepala { color: var(--el-navy-2); }
html:not([data-theme="dark"]) .pt-tek-kepala i { color: var(--el-emas); }
html:not([data-theme="dark"]) .pt-tek-item { border: 1px solid rgba(42, 119, 189, .08); box-shadow: 0 6px 14px -12px rgba(11, 37, 69, .35); }
html:not([data-theme="dark"]) .pt-tek-item > i { background: var(--el-langit-pucat); color: var(--el-biru); border-radius: 12px; }
html:not([data-theme="dark"]) .pt-tek-item b { color: var(--el-navy); }

/* Pita pucuk rebung: lebih tipis & lembut di atas latar terang */
html:not([data-theme="dark"]) .pt-pucuk-rebung { opacity: .55 !important; height: 26px !important; background-size: 26px 22px !important; }
html:not([data-theme="dark"]) .pt-pucuk-rebung::after { height: 3px !important; }

@media (max-width: 991.98px) {
  html:not([data-theme="dark"]) .pt-hero { padding: 120px 0 110px; }
  html:not([data-theme="dark"]) .landing-navbar .navbar-collapse { border: 0; box-shadow: 0 20px 50px -20px rgba(11, 37, 69, .45); }
  html:not([data-theme="dark"]) .landing-navbar .navbar-collapse .nav-link:hover { background: var(--el-langit-pucat); }
}

/* =====================================================================
   BERITA — tata letak portal berita resmi (nx-)
   Satu berita utama di kiri, daftar ringkas bergaris tipis di kanan.
   ===================================================================== */
.nx-tata { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.nx-tata.tunggal { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.nx-tata a { text-decoration: none; color: inherit; }

/* Warna aksen kategori */
.k-biru  { --k: #2a77bd; --k-latar: #e6f1fb; }
.k-emas  { --k: #a8790a; --k-latar: #fdf3d8; }
.k-nila  { --k: #4b55b8; --k-latar: #eceefb; }
.k-hijau { --k: #18805a; --k-latar: #e3f5ec; }
.k-toska { --k: #0f7f86; --k-latar: #e0f4f4; }
.k-mawar { --k: #b4436a; --k-latar: #fbe9ef; }

/* --- Berita utama --- */
.nx-utama { display: flex; flex-direction: column; min-width: 0; background: var(--pt-kartu); border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(42, 119, 189, .12); box-shadow: 0 24px 50px -36px rgba(11, 37, 69, .55); transition: transform .25s, box-shadow .25s; }
.nx-utama:not(.nx-kerangka):hover { transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(11, 37, 69, .6); }
.nx-utama-sampul { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e8f3fc; }
.nx-utama-sampul img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.nx-utama:hover .nx-utama-sampul img { transform: scale(1.04); }
.nx-label { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 37, 69, .82); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; backdrop-filter: blur(4px); }
.nx-label::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #f3c94f; margin: -2px 7px 0 0; vertical-align: middle; }

/* Sampul pengganti: biru pucat bermotif halus + ikon dalam lingkaran */
.nx-ganti { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, .9), transparent 55%),
    linear-gradient(135deg, var(--k-latar) 0%, #f4f9fe 100%); }
.nx-ganti::before { content: ''; position: absolute; inset: 0; opacity: .7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 2 L38 20 L20 38 L2 20 Z' fill='none' stroke='%232a77bd' stroke-opacity='.08'/%3E%3C/svg%3E"); }
.nx-ganti span { position: relative; width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--k); font-size: 2.3rem; box-shadow: 0 18px 36px -18px rgba(11, 37, 69, .45), 0 0 0 10px rgba(255, 255, 255, .5); }

.nx-utama-isi { display: flex; flex-direction: column; flex: 1; padding: 22px 26px; }
.nx-utama-judul { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 1.4rem; font-weight: 800; line-height: 1.32; letter-spacing: -.3px;
  color: var(--pt-teks); margin: 10px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.nx-utama:hover .nx-utama-judul { color: #2a77bd; }
.nx-ringkas { font-size: .93rem; line-height: 1.7; color: var(--pt-redup); margin: 0 0 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nx-kaki { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px;
  border-top: 1px solid rgba(42, 119, 189, .1); font-size: .8rem; color: var(--pt-redup); font-weight: 600; }
.nx-kaki i { margin-right: 4px; }
.nx-baca { color: #0b2545; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.nx-baca i { transition: transform .2s; margin: 0; }
.nx-utama:hover .nx-baca i { transform: translateX(4px); }

/* --- Meta: kategori · tanggal --- */
.nx-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .74rem; color: var(--pt-redup); font-weight: 600; }
.nx-kat { color: var(--k); font-weight: 800; letter-spacing: .8px; text-transform: uppercase; font-size: .68rem; }
.nx-titik { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

/* --- Daftar ringkas --- */
.nx-daftar { display: flex; flex-direction: column; min-width: 0; background: var(--pt-kartu); border-radius: 22px; padding: 8px 22px;
  border: 1px solid rgba(42, 119, 189, .12); box-shadow: 0 24px 50px -40px rgba(11, 37, 69, .5); }
.nx-item { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 4px; min-width: 0; flex: 1; }
.nx-item + .nx-item { border-top: 1px solid rgba(42, 119, 189, .1); }
.nx-item-gambar { width: 84px; height: 84px; flex-shrink: 0; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--k-latar, #e8f3fc); color: var(--k, #2a77bd); font-size: 1.6rem; }
.nx-item-gambar img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nx-item:hover .nx-item-gambar img { transform: scale(1.06); }
.nx-item-isi { flex: 1; min-width: 0; }
.nx-item-judul { font-size: .98rem; font-weight: 700; line-height: 1.45; color: var(--pt-teks); margin: 6px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.nx-item:hover .nx-item-judul { color: #2a77bd; }
.nx-panah { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #2a77bd; background: #eef6fd; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.nx-item:hover .nx-panah { opacity: 1; transform: none; }
.nx-kerangka .nx-item-gambar { background: #eef4fb; }

/* Tombol "Lihat semua" selaras header */
html:not([data-theme="dark"]) .bx-semua { border-radius: 999px; background: #fff; color: #0b2545; border: 1px solid rgba(42, 119, 189, .25); }
html:not([data-theme="dark"]) .bx-semua:hover { background: #0b2545; border-color: #0b2545; color: #fff; }

/* Mode gelap */
html[data-theme="dark"] .nx-utama, html[data-theme="dark"] .nx-daftar { background: #111c33; border-color: #1e2d4a; box-shadow: none; }
html[data-theme="dark"] .nx-item + .nx-item, html[data-theme="dark"] .nx-kaki { border-color: #1e2d4a; }
html[data-theme="dark"] .nx-ganti { background: linear-gradient(135deg, #13233f, #0f1a30); }
html[data-theme="dark"] .nx-ganti span { background: #1a2a48; box-shadow: none; }
html[data-theme="dark"] .nx-item-gambar { background: #1a2a48; }
html[data-theme="dark"] .nx-baca { color: #9fcdf2; }
html[data-theme="dark"] .nx-panah { background: #1a2a48; color: #9fcdf2; }
html[data-theme="dark"] .nx-utama:hover .nx-utama-judul, html[data-theme="dark"] .nx-item:hover .nx-item-judul { color: #9fcdf2; }
html[data-theme="dark"] .nx-kat { filter: brightness(1.6); }

@media (max-width: 991.98px) {
  .nx-tata { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 575.98px) {
  .nx-utama-isi { padding: 18px; }
  .nx-utama-judul { font-size: 1.15rem; }
  .nx-ringkas { -webkit-line-clamp: 2; font-size: .88rem; }
  .nx-daftar { padding: 4px 16px; border-radius: 18px; }
  .nx-item { gap: 12px; padding: 14px 0; }
  .nx-item-gambar { width: 64px; height: 64px; border-radius: 13px; font-size: 1.25rem; }
  .nx-item-judul { font-size: .9rem; }
  .nx-panah { display: none; }
}

/* =====================================================================
   ASISTEN AI — panel terang bernuansa biru muda (ax-)
   ===================================================================== */
.ax-pemicu {
  position: fixed; right: 24px; bottom: 24px; z-index: 1060;
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 0; border-radius: 999px;
  background: #0b2545; color: #fff; font-weight: 700; font-size: .88rem;
  box-shadow: 0 16px 34px -14px rgba(11, 37, 69, .75), 0 0 0 4px rgba(255, 255, 255, .6);
  transition: transform .2s, box-shadow .2s, padding .25s;
}
.ax-pemicu:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(11, 37, 69, .85), 0 0 0 4px rgba(255, 255, 255, .7); }
.ax-pemicu-ikon { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #6CACE4, #2a77bd); font-size: 1.2rem; position: relative; }
.ax-pemicu-ikon::after { content: ''; position: absolute; top: 1px; right: 1px; width: 11px; height: 11px; border-radius: 50%;
  background: #f3c94f; border: 2px solid #0b2545; }
.ax-pemicu.aktif { padding-right: 6px; }
.ax-pemicu.aktif .ax-pemicu-teks { display: none; }
.ax-pemicu.aktif .ax-pemicu-ikon::after { display: none; }

.ax-panel {
  position: fixed; right: 24px; bottom: 96px; z-index: 1060;
  width: 384px; max-width: calc(100vw - 32px); height: min(600px, calc(100vh - 130px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #f5f9fe; border-radius: 24px; border: 1px solid rgba(42, 119, 189, .14);
  box-shadow: 0 40px 80px -30px rgba(11, 37, 69, .55);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: bottom right;
  transition: opacity .22s, transform .22s, visibility 0s .22s;
}
.ax-panel.terbuka { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s; }

.ax-kepala { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px;
  background: linear-gradient(90deg, #5a9fd9 0%, #6CACE4 55%, #86bdea 100%); color: #0b2545; }
.ax-kepala::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #f3c94f 20%, #d4a017 50%, #f3c94f 80%, transparent); }
.ax-identitas { flex: 1; min-width: 0; }
.ax-identitas h2 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 1rem; font-weight: 800; margin: 0; color: #fff; text-shadow: 0 1px 2px rgba(11, 37, 69, .25); }
.ax-status { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; color: #0b2545; }
.ax-status-titik { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .25); }
.ax-tutup { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); color: #0b2545; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.ax-tutup:hover { background: #fff; }

.ax-avatar { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #6CACE4, #2a77bd); color: #fff; font-size: .9rem; }
.ax-avatar.besar { width: 42px; height: 42px; font-size: 1.15rem; background: #fff; color: #2a77bd; box-shadow: 0 6px 16px -8px rgba(11, 37, 69, .5); }

.ax-isi { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.ax-isi::-webkit-scrollbar { width: 6px; }
.ax-isi::-webkit-scrollbar-thumb { background: #cfe0f1; border-radius: 6px; }

.ax-sambutan { text-align: center; padding: 10px 12px 4px; color: #3d5674; }
.ax-sambutan-ikon { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  background: #fff; color: #2a77bd; font-size: 1.5rem; box-shadow: 0 12px 24px -16px rgba(11, 37, 69, .5); }
.ax-sambutan b { display: block; color: #0b2545; font-size: 1rem; margin-bottom: 4px; }
.ax-sambutan p { font-size: .82rem; line-height: 1.6; margin: 0; }
.ax-sambutan.ringkas { display: none; }

.ax-saran { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.ax-saran button { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 14px; text-align: left;
  background: #fff; border: 1px solid rgba(42, 119, 189, .16); color: #0b2545; font-size: .8rem; font-weight: 600; transition: border-color .15s, transform .15s; }
.ax-saran button i { color: #2a77bd; font-size: .95rem; }
.ax-saran button:hover { border-color: #6CACE4; transform: translateY(-1px); }

.ax-baris { display: flex; align-items: flex-end; gap: 8px; max-width: 92%; }
.ax-baris.pengguna { align-self: flex-end; justify-content: flex-end; }
.ax-gelembung { padding: 11px 14px; font-size: .86rem; line-height: 1.6; border-radius: 18px; word-wrap: break-word; min-width: 0; }
.ax-baris.bot .ax-gelembung { background: #fff; color: #1e3350; border: 1px solid rgba(42, 119, 189, .12); border-bottom-left-radius: 6px;
  box-shadow: 0 6px 16px -14px rgba(11, 37, 69, .5); }
.ax-baris.pengguna .ax-gelembung { background: #0b2545; color: #fff; border-bottom-right-radius: 6px; }
.ax-poin { display: block; position: relative; padding-left: 14px; }
.ax-poin::before { content: ''; position: absolute; left: 2px; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #6CACE4; }

.ax-mengetik { display: inline-flex; gap: 4px; padding: 4px 2px; }
.ax-mengetik i { width: 7px; height: 7px; border-radius: 50%; background: #6CACE4; animation: ax-titik 1.2s infinite ease-in-out; }
.ax-mengetik i:nth-child(2) { animation-delay: .15s; }
.ax-mengetik i:nth-child(3) { animation-delay: .3s; }
@keyframes ax-titik { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

.ax-kaki { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px 8px; background: #fff; border-top: 1px solid rgba(42, 119, 189, .1); }
.ax-kaki input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #dbe9f7; background: #f5f9fe;
  font-size: .88rem; color: #0b2545; outline: none; transition: border-color .15s, box-shadow .15s; }
.ax-kaki input:focus { border-color: #6CACE4; box-shadow: 0 0 0 4px rgba(108, 172, 228, .2); background: #fff; }
.ax-kaki button { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 50%; background: #0b2545; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s, transform .15s; }
.ax-kaki button:hover:not(:disabled) { background: #13386b; transform: translateY(-1px); }
.ax-kaki button:disabled, .ax-kaki input:disabled { opacity: .6; }
.ax-catatan { padding: 0 16px 12px; background: #fff; font-size: .68rem; color: #8193a8; text-align: center; }

/* Mode gelap */
html[data-theme="dark"] .ax-panel { background: #0b1324; border-color: #1e2d4a; }
html[data-theme="dark"] .ax-kepala { background: linear-gradient(90deg, #13386b, #1f5e96); }
html[data-theme="dark"] .ax-status { color: #cfe3f7; }
html[data-theme="dark"] .ax-tutup { background: rgba(255, 255, 255, .12); color: #fff; }
html[data-theme="dark"] .ax-sambutan { color: #94a3b8; }
html[data-theme="dark"] .ax-sambutan b { color: #e2e8f0; }
html[data-theme="dark"] .ax-sambutan-ikon, html[data-theme="dark"] .ax-saran button, html[data-theme="dark"] .ax-baris.bot .ax-gelembung { background: #111c33; border-color: #1e2d4a; color: #e2e8f0; box-shadow: none; }
html[data-theme="dark"] .ax-baris.pengguna .ax-gelembung { background: #2a77bd; }
html[data-theme="dark"] .ax-kaki, html[data-theme="dark"] .ax-catatan { background: #0f172a; border-color: #1e2d4a; }
html[data-theme="dark"] .ax-kaki input { background: #0b1324; border-color: #1e3a5f; color: #e2e8f0; }
html[data-theme="dark"] .ax-kaki button { background: #2a77bd; }

@media (max-width: 575.98px) {
  .ax-pemicu { right: 16px; bottom: 16px; padding-right: 6px; }
  .ax-pemicu-teks { display: none; }
  .ax-panel { right: 8px; left: 8px; bottom: 80px; width: auto; max-width: none; height: calc(100vh - 100px); border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .ax-panel, .ax-mengetik i { transition: none; animation: none; } }

/* Berita utama: sampul sedikit lebih pendek supaya seimbang dengan daftar */
.nx-utama-sampul { aspect-ratio: 2 / 1; max-height: 320px; }

/* Menu header: ikon & label selalu sebaris */
@media (min-width: 992px) {
  .landing-navbar .nav-link { display: inline-flex !important; align-items: center; white-space: nowrap; }
  .landing-navbar .nav-link i { margin-right: 6px; }
}

/* =====================================================================
   MODE GELAP — "biru malam": navy pekat, aksen biru muda & emas tipis.
   Disatukan dengan tema terang supaya kedua mode terasa satu keluarga.
   ===================================================================== */
html[data-theme="dark"] {
  --mm-latar: #07111f;
  --mm-latar-2: #0b1a2e;
  --mm-kartu: #0f2038;
  --mm-kartu-2: #132a48;
  --mm-garis: rgba(108, 172, 228, .16);
  --mm-teks: #e8f0fa;
  --mm-redup: #9db2c9;
  --mm-langit: #7cb8ea;
  --mm-emas: #f3c94f;
  --pt-teks: var(--mm-teks);
  --pt-redup: var(--mm-redup);
  --pt-garis: var(--mm-garis);
  --pt-kartu: var(--mm-kartu);
  --pt-latar: var(--mm-latar-2);
}
html[data-theme="dark"] body { background: var(--mm-latar); }

/* ------------------------------------------------------------ HEADER */
html[data-theme="dark"] .landing-navbar,
html[data-theme="dark"] .landing-navbar.scrolled {
  height: 78px;
  background: linear-gradient(90deg, #0b2545 0%, #10325c 55%, #154070 100%) !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 0 !important;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .8) !important;
}
html[data-theme="dark"] .landing-navbar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--mm-emas) 20%, #d4a017 50%, var(--mm-emas) 80%, transparent); opacity: .85;
}
html[data-theme="dark"] .landing-navbar .navbar-brand img {
  height: 46px; width: 46px; object-fit: contain; padding: 6px; background: #fff; border-radius: 14px;
}
html[data-theme="dark"] .pt-merek b { color: #fff !important; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }
html[data-theme="dark"] .pt-merek small { color: var(--mm-langit) !important; letter-spacing: .9px; }
html[data-theme="dark"] .landing-navbar .nav-link,
html[data-theme="dark"] .landing-navbar.scrolled .nav-link { color: rgba(232, 240, 250, .88) !important; border-radius: 999px; background: transparent; }
html[data-theme="dark"] .landing-navbar .nav-link i { color: var(--mm-langit) !important; }
html[data-theme="dark"] .landing-navbar .nav-link:hover,
html[data-theme="dark"] .landing-navbar .nav-link:focus,
html[data-theme="dark"] .landing-navbar.scrolled .nav-link:hover { color: #fff !important; background: rgba(124, 184, 234, .14) !important; }

html[data-theme="dark"] .theme-toggle-wrapper,
html[data-theme="dark"] .landing-navbar.scrolled .theme-toggle-wrapper { background: rgba(255, 255, 255, .08) !important; border-color: rgba(124, 184, 234, .25) !important; }
html[data-theme="dark"] .theme-toggle-btn,
html[data-theme="dark"] .landing-navbar.scrolled .theme-toggle-btn { color: rgba(232, 240, 250, .75) !important; }
html[data-theme="dark"] .theme-toggle-btn.active,
html[data-theme="dark"] .landing-navbar.scrolled .theme-toggle-btn.active { background: var(--mm-langit) !important; color: #07111f !important; box-shadow: none !important; }
html[data-theme="dark"] .theme-toggle-btn.active i { color: #07111f !important; }

html[data-theme="dark"] .landing-navbar .btn-outline-gold,
html[data-theme="dark"] .landing-navbar .btn-gold { border-radius: 999px !important; padding: 9px 22px !important; font-weight: 700 !important; }
html[data-theme="dark"] .landing-navbar .btn-outline-gold { background: transparent !important; border: 1.5px solid rgba(124, 184, 234, .55) !important; color: #fff !important; box-shadow: none !important; }
html[data-theme="dark"] .landing-navbar .btn-outline-gold:hover { background: rgba(124, 184, 234, .14) !important; border-color: var(--mm-langit) !important; transform: translateY(-1px) !important; box-shadow: none !important; }
html[data-theme="dark"] .landing-navbar .btn-gold { background: var(--mm-langit) !important; color: #07111f !important; border: 1.5px solid var(--mm-langit) !important; box-shadow: 0 8px 20px -10px rgba(124, 184, 234, .7) !important; }
html[data-theme="dark"] .landing-navbar .btn-gold:hover { background: #a3cdf1 !important; color: #07111f !important; transform: translateY(-1px) !important; }
html[data-theme="dark"] .landing-navbar .btn-gold::before,
html[data-theme="dark"] .landing-navbar .btn-outline-gold::before { display: none; }
@media (max-width: 991.98px) {
  html[data-theme="dark"] .landing-navbar .navbar-collapse { background: #0f2038 !important; border: 1px solid var(--mm-garis) !important; }
}

/* ------------------------------------------------------------ HERO */
html[data-theme="dark"] .pt-hero {
  padding: 156px 0 150px; color: var(--mm-teks);
  background:
    radial-gradient(1000px 520px at 82% 6%, rgba(108, 172, 228, .26), transparent 62%),
    radial-gradient(640px 400px at 0% 0%, rgba(42, 119, 189, .22), transparent 60%),
    radial-gradient(600px 300px at 50% 115%, rgba(243, 201, 79, .08), transparent 65%),
    linear-gradient(180deg, #0b1d36 0%, #091629 60%, #07111f 100%);
}
html[data-theme="dark"] .pt-hero-latar {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 2 L38 20 L20 38 L2 20 Z' fill='none' stroke='%237cb8ea' stroke-opacity='.08' stroke-width='1'/%3E%3Cpath d='M20 15 L25 20 L20 25 L15 20 Z' fill='%237cb8ea' fill-opacity='.05'/%3E%3C/svg%3E") !important;
  background-size: 40px 40px !important;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 75% 30%, #000 0%, transparent 75%);
}
html[data-theme="dark"] .pt-sirkuit { display: none; }
html[data-theme="dark"] .pt-eyebrow { background: rgba(124, 184, 234, .1); border-color: rgba(124, 184, 234, .25); color: #cfe3f7; letter-spacing: 1.6px; font-size: .72rem; }
html[data-theme="dark"] .pt-eyebrow-titik { background: var(--mm-emas); box-shadow: 0 0 0 4px rgba(243, 201, 79, .18); }
html[data-theme="dark"] .pt-judul { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: #fff; letter-spacing: -1.2px; line-height: 1.12; }
html[data-theme="dark"] .pt-judul span {
  background: linear-gradient(90deg, #7cb8ea 0%, #a9d3f5 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: none;
}
html[data-theme="dark"] .pt-judul::after {
  content: ''; display: block; width: 72px; height: 4px; border-radius: 4px; margin-top: 22px;
  background: linear-gradient(90deg, #d4a017, var(--mm-emas));
}
html[data-theme="dark"] .pt-deskripsi { color: var(--mm-redup); line-height: 1.8; }
html[data-theme="dark"] .pt-tombol { border-radius: 999px; font-weight: 700; }
html[data-theme="dark"] .pt-tombol.emas { background: var(--mm-langit); color: #07111f; box-shadow: 0 16px 30px -14px rgba(124, 184, 234, .6); }
html[data-theme="dark"] .pt-tombol.emas:hover { background: #a3cdf1; color: #07111f; }
html[data-theme="dark"] .pt-tombol.garis { background: transparent; color: #fff; border: 1.5px solid rgba(124, 184, 234, .45); }
html[data-theme="dark"] .pt-tombol.garis:hover { background: rgba(124, 184, 234, .12); color: #fff; }

html[data-theme="dark"] .pt-tf-langkah { background: rgba(15, 32, 56, .85); border: 1px solid var(--mm-garis); color: var(--mm-teks); border-radius: 999px; padding: 6px 14px 6px 6px; }
html[data-theme="dark"] .pt-tf-langkah i { background: rgba(124, 184, 234, .14); color: var(--mm-langit); border-radius: 999px; }
html[data-theme="dark"] .pt-tf-langkah.lama { background: transparent; border-style: dashed; color: #7f93ab; }
html[data-theme="dark"] .pt-tf-langkah.akhir { outline: 0; border-color: rgba(243, 201, 79, .5); }
html[data-theme="dark"] .pt-tf-langkah.akhir i { background: rgba(243, 201, 79, .14); color: var(--mm-emas); }
html[data-theme="dark"] .pt-tf-panah { color: var(--mm-langit); opacity: .5; }

html[data-theme="dark"] .pt-lacak { background: var(--mm-kartu); border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--mm-garis); }
html[data-theme="dark"] .pt-lacak-kepala h2 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }
html[data-theme="dark"] .pt-cari { background: var(--mm-latar); border-color: rgba(124, 184, 234, .2); border-radius: 999px; padding-left: 20px; }
html[data-theme="dark"] .pt-cari:focus-within { background: var(--mm-latar); border-color: var(--mm-langit); }
html[data-theme="dark"] .pt-cari button { border-radius: 999px; background: var(--mm-langit); color: #07111f; box-shadow: none; }
html[data-theme="dark"] .pt-lacak-alt { background: rgba(124, 184, 234, .08); color: var(--mm-redup); }
html[data-theme="dark"] .pt-lacak-alt-aksi { color: var(--mm-langit); }
html[data-theme="dark"] .pt-lencana { background: var(--mm-kartu-2); border: 1px solid var(--mm-garis); }
html[data-theme="dark"] .pt-tek { background: rgba(15, 32, 56, .6); border-color: var(--mm-garis); border-radius: 22px; }
html[data-theme="dark"] .pt-tek-kepala i { color: var(--mm-emas); }
html[data-theme="dark"] .pt-tek-item { background: var(--mm-kartu-2); border: 1px solid rgba(124, 184, 234, .1); }
html[data-theme="dark"] .pt-tek-item > i { background: rgba(124, 184, 234, .14); color: var(--mm-langit); border-radius: 12px; }
html[data-theme="dark"] .pt-pucuk-rebung { opacity: .35 !important; height: 26px !important; background-size: 26px 22px !important; }

/* ------------------------------------------------------------ BAGIAN */
html[data-theme="dark"] .features-section,
html[data-theme="dark"] #layanan.features-section { background: var(--mm-latar) !important; }
html[data-theme="dark"] .sx-bagian { background: var(--mm-latar-2); }
html[data-theme="dark"] .ix-bagian { background: var(--mm-latar); }
html[data-theme="dark"] .bx-bagian { background: var(--mm-latar-2); }
html[data-theme="dark"] .section-badge { background: rgba(124, 184, 234, .1) !important; border-color: rgba(124, 184, 234, .25) !important; color: #cfe3f7 !important; }
html[data-theme="dark"] #layanan h2 { color: #fff !important; }

html[data-theme="dark"] .langkah-kartu,
html[data-theme="dark"] .sx-angka,
html[data-theme="dark"] .sx-kartu,
html[data-theme="dark"] .ix-mini,
html[data-theme="dark"] .ix-unsur,
html[data-theme="dark"] .ix-kartu,
html[data-theme="dark"] .nx-utama,
html[data-theme="dark"] .nx-daftar {
  background: var(--mm-kartu) !important; border: 1px solid var(--mm-garis) !important;
  box-shadow: 0 20px 40px -32px rgba(0, 0, 0, .9) !important;
}
html[data-theme="dark"] .langkah-kartu:hover { border-color: rgba(124, 184, 234, .4) !important; }
html[data-theme="dark"] .langkah-ikon { background: rgba(124, 184, 234, .14) !important; color: var(--mm-langit) !important; }
html[data-theme="dark"] .langkah-tautan { color: var(--mm-langit) !important; }
html[data-theme="dark"] .sx-rincian div { background: var(--mm-latar-2); }

/* Kartu nilai IKM: biru tua elegan, bukan biru terang yang menyilaukan */
html[data-theme="dark"] .ix-skor {
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(124, 184, 234, .28), transparent 60%),
    linear-gradient(135deg, #13386b 0%, #1a4a85 55%, #2a77bd 100%);
  border: 1px solid rgba(124, 184, 234, .25);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
}
html[data-theme="dark"] .ix-skor::after { opacity: .18; }
html[data-theme="dark"] .ix-tombol-survei { background: var(--mm-langit); color: #07111f; box-shadow: none; border-radius: 999px; }
html[data-theme="dark"] .ix-tombol-survei:hover { background: #a3cdf1; color: #07111f; }
html[data-theme="dark"] .ix-kosong,
html[data-theme="dark"] .data-kosong { border-color: var(--mm-garis); color: var(--mm-redup); }

html[data-theme="dark"] .form-select,
html[data-theme="dark"] .select2-container--bootstrap-5 .select2-selection { background-color: var(--mm-kartu) !important; border-color: rgba(124, 184, 234, .25) !important; color: var(--mm-teks) !important; border-radius: 999px !important; }

/* Berita */
html[data-theme="dark"] .bx-semua { background: transparent; border: 1px solid rgba(124, 184, 234, .4); color: #fff; border-radius: 999px; }
html[data-theme="dark"] .bx-semua:hover { background: var(--mm-langit); border-color: var(--mm-langit); color: #07111f; }
html[data-theme="dark"] .nx-ganti { background: radial-gradient(circle at 75% 20%, rgba(124, 184, 234, .18), transparent 55%), linear-gradient(135deg, #12284a, #0c1b31); }
html[data-theme="dark"] .nx-ganti::before { opacity: .5; }
html[data-theme="dark"] .nx-ganti span { background: var(--mm-kartu-2); color: var(--mm-langit); box-shadow: 0 0 0 10px rgba(124, 184, 234, .06); }
html[data-theme="dark"] .nx-item-gambar { background: var(--mm-kartu-2); color: var(--mm-langit); }
html[data-theme="dark"] .nx-item + .nx-item, html[data-theme="dark"] .nx-kaki { border-color: var(--mm-garis); }
html[data-theme="dark"] .nx-label { background: rgba(7, 17, 31, .8); }

/* Footer */
html[data-theme="dark"] .landing-footer {
  background: radial-gradient(ellipse 55% 70% at 100% 0%, rgba(124, 184, 234, .12), transparent 60%), linear-gradient(160deg, #0b2545 0%, #0a1d36 100%) !important;
}
html[data-theme="dark"] .landing-footer::before { background: linear-gradient(90deg, transparent, var(--mm-emas), transparent) !important; box-shadow: none !important; }
html[data-theme="dark"] .footer-bottom-bar { background: #07111f !important; border-top-color: var(--mm-garis) !important; }

/* Asisten AI */
html[data-theme="dark"] .ax-pemicu { background: var(--mm-kartu-2); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .9), 0 0 0 1px rgba(124, 184, 234, .3); }
html[data-theme="dark"] .ax-pemicu-ikon::after { border-color: var(--mm-kartu-2); }
html[data-theme="dark"] .ax-kepala { background: linear-gradient(90deg, #0b2545, #154070); }

/* Hasil lacak: label status panjang turun ke baris baru, tidak terpotong */
#trackingResultBox > div > div:first-child { flex-wrap: wrap; gap: 8px; }
#trackingResultBox > div > div:first-child .badge { white-space: normal; text-align: left; line-height: 1.35; }

/* Logo SIMPel CERIA (bulat): bingkai putih melingkar di header & footer */
.landing-navbar .navbar-brand img,
html:not([data-theme="dark"]) .landing-navbar .navbar-brand img,
html[data-theme="dark"] .landing-navbar .navbar-brand img { width: 48px !important; height: 48px !important; padding: 2px !important; border-radius: 50% !important; background: #fff; object-fit: contain; box-shadow: 0 6px 16px -8px rgba(11, 37, 69, .55), 0 0 0 2px rgba(255, 255, 255, .6); }
.landing-footer img[src*="simpel-ceria"] { width: 52px; height: 52px; padding: 2px; border-radius: 50%; background: #fff; }
