/* ==========================================================================
   MY ADB+ — Premium Corporate Frontend Design System
   PT. ARSUAR DIGITAL BISNIS · ADBHOME FIBER
   --------------------------------------------------------------------------
   Prinsip:
   - Mobile-first: semua aturan dasar untuk layar kecil, lalu ditingkatkan.
   - Satu sumber warna (token). Tidak ada warna acak di komponen.
   - Bootstrap 4 tetap dimuat (komponen modal/form dipakai view lain),
     berkas ini MENIMPA komponen tersebut agar konsisten dengan identitas baru.
   - Awalan kelas `mx-` (MY ADB+ eXperience) untuk komponen baru.
   ========================================================================== */

:root {
  /* Corporate palette */
  --mx-navy: #0B1730;
  --mx-navy-soft: #12203C;
  --mx-royal: #155EEF;
  --mx-royal-dark: #0E49C4;
  --mx-cyan: #38BDF8;
  --mx-bg: #F5F7FB;
  --mx-surface: #FFFFFF;
  --mx-surface-2: #F8FAFC;
  --mx-text: #172033;
  --mx-text-2: #64748B;
  --mx-text-3: #94A3B8;
  --mx-border: #E2E8F0;
  --mx-border-strong: #CBD5E1;

  /* Status */
  --mx-ok: #047857;
  --mx-ok-bg: #E7F6F0;
  --mx-warn: #B45309;
  --mx-warn-bg: #FEF5E7;
  --mx-danger: #B42318;
  --mx-danger-bg: #FDECEA;

  /* Bentuk & bayangan */
  --mx-radius: 16px;
  --mx-radius-sm: 10px;
  --mx-radius-lg: 22px;
  --mx-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --mx-shadow-sm: 0 4px 12px -6px rgba(16, 24, 40, .12);
  --mx-shadow: 0 14px 34px -22px rgba(11, 23, 48, .35);
  --mx-shadow-lg: 0 30px 70px -40px rgba(11, 23, 48, .5);

  /* Tipografi */
  --mx-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mx-font-head: 'Plus Jakarta Sans', var(--mx-font);

  /* Layout */
  --mx-container: 1200px;
  --mx-gutter: 18px;
  --mx-header-h: 68px;

  /* Warna aksen untuk TEKS/angka (di tema gelap perlu versi lebih terang) */
  --mx-accent-ink: #155EEF;

  /* Gerak */
  --mx-ease: cubic-bezier(.22, .61, .36, 1);
}

/* -------------------------------------------------------------- Dark mode -- */
html.theme-dark,
html[data-theme="dark"] {
  --mx-bg: #070F1E;
  --mx-surface: #0F1B2D;
  --mx-surface-2: #132239;
  --mx-text: #F1F5F9;
  --mx-text-2: #A5B4C8;
  --mx-text-3: #7C8CA4;
  --mx-border: #1E2C42;
  --mx-border-strong: #2A3B55;
  --mx-shadow-xs: 0 1px 2px rgba(0, 0, 0, .5);
  --mx-shadow-sm: 0 4px 14px -8px rgba(0, 0, 0, .8);
  --mx-shadow: 0 16px 40px -26px rgba(0, 0, 0, .9);
  --mx-shadow-lg: 0 30px 70px -40px rgba(0, 0, 0, .95);
  --mx-ok-bg: #052E24;
  --mx-warn-bg: #2E2007;
  --mx-danger-bg: #3A1414;
  --mx-ok: #34D399;
  --mx-warn: #FBBF24;
  --mx-danger: #F87171;
  --mx-accent-ink: #7FA8FF;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ Base -- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--mx-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--mx-text);
  background-color: var(--mx-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .mx-h {
  font-family: var(--mx-font-head);
  color: var(--mx-text);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }
a { color: var(--mx-royal); text-decoration: none; transition: color .18s var(--mx-ease); }
a:hover { color: var(--mx-royal-dark); text-decoration: none; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 2px solid var(--mx-royal);
  outline-offset: 3px;
  border-radius: 6px;
}

.mx-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.mx-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--mx-navy); color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 0; font-weight: 600;
}
.mx-skip:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------- Container -- */
.mx-container {
  width: 100%;
  max-width: var(--mx-container);
  margin-inline: auto;
  padding-inline: var(--mx-gutter);
}
.mx-section { padding-block: 56px; }
.mx-section--tight { padding-block: 40px; }
.mx-section--surface { background-color: var(--mx-surface); }

.mx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mx-royal);
  margin-bottom: 12px;
}
.mx-eyebrow::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px;
  background-color: currentColor;
}

.mx-head { max-width: 660px; margin-bottom: 32px; }
.mx-head--center { margin-inline: auto; text-align: center; }
.mx-head--center .mx-eyebrow { justify-content: center; }
.mx-head h2 { font-size: 26px; margin-bottom: 10px; }
.mx-head p { color: var(--mx-text-2); font-size: 14.5px; margin: 0; }

/* ---------------------------------------------------------------- Button -- */
.mx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 11px 20px;
  border-radius: 12px; border: 1.5px solid transparent;
  font-family: var(--mx-font); font-size: 14px; font-weight: 700;
  line-height: 1.2; cursor: pointer; white-space: nowrap;
  text-decoration: none !important;
  transition: transform .16s var(--mx-ease), background-color .18s, border-color .18s,
              box-shadow .18s, color .18s;
}
.mx-btn:active { transform: translateY(1px); }

.mx-btn--primary {
  background-color: var(--mx-royal);
  background-image: linear-gradient(135deg, var(--mx-royal) 0%, #2F7BFF 62%, #17A2D8 130%);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(21, 94, 239, .75);
}
.mx-btn--primary:hover {
  color: #fff;
  box-shadow: 0 16px 32px -14px rgba(21, 94, 239, .85);
  transform: translateY(-1px);
}
.mx-btn--navy { background-color: var(--mx-navy); color: #fff; }
.mx-btn--navy:hover { background-color: var(--mx-navy-soft); color: #fff; }
.mx-btn--ghost {
  background-color: var(--mx-surface); color: var(--mx-text);
  border-color: var(--mx-border-strong);
}
.mx-btn--ghost:hover { border-color: var(--mx-royal); color: var(--mx-royal); }
.mx-btn--onDark {
  background-color: rgba(255, 255, 255, .1); color: #fff;
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.mx-btn--onDark:hover { background-color: rgba(255, 255, 255, .18); color: #fff; }
.mx-btn--sm { min-height: 38px; padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.mx-btn--block { width: 100%; }
.mx-btn[disabled], .mx-btn.is-disabled { opacity: .55; pointer-events: none; }

.mx-link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 13.5px;
}
.mx-link-arrow svg { transition: transform .18s var(--mx-ease); }
.mx-link-arrow:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- Header -- */
.mx-header {
  position: sticky; top: 0; z-index: 100;
  background-color: var(--mx-surface);
  border-bottom: 1px solid var(--mx-border);
  transition: box-shadow .2s var(--mx-ease), background-color .2s;
}
.mx-header.is-stuck { box-shadow: var(--mx-shadow-sm); }
.mx-header__inner {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--mx-header-h);
}

.mx-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.mx-brand__mark {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center;
  background-color: var(--mx-navy);
  background-image: linear-gradient(140deg, var(--mx-navy) 0%, #1B3A6B 55%, #0E7490 100%);
  color: #fff; font-family: var(--mx-font-head); font-weight: 800; font-size: 13px;
  letter-spacing: .02em;
  box-shadow: 0 8px 18px -10px rgba(11, 23, 48, .8);
}
.mx-brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.mx-brand__name {
  font-family: var(--mx-font-head); font-weight: 800; font-size: 17px;
  color: var(--mx-text); letter-spacing: -.01em; white-space: nowrap;
}
.mx-brand__name span { color: var(--mx-royal); }
.mx-brand__tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mx-text-3); white-space: nowrap;
}

/* Navigasi desktop */
.mx-nav { display: none; }
.mx-nav__list { display: flex; align-items: center; gap: 2px; }
.mx-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-radius: 9px;
  font-size: 13.8px; font-weight: 600; color: var(--mx-text-2);
  transition: background-color .16s, color .16s;
}
.mx-nav__link:hover { background-color: var(--mx-surface-2); color: var(--mx-text); }
.mx-nav__link.is-active { color: var(--mx-royal); background-color: rgba(21, 94, 239, .08); }

.mx-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mx-iconbtn {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  display: inline-grid; place-items: center;
  border: 1px solid var(--mx-border); background-color: var(--mx-surface);
  color: var(--mx-text-2); cursor: pointer;
  transition: border-color .16s, color .16s, background-color .16s;
}
.mx-iconbtn:hover { border-color: var(--mx-border-strong); color: var(--mx-royal); }
.mx-header__cta { display: none; }

/* Tema */
.mx-theme-toggle .mx-theme-toggle__sun { display: none; }
html.theme-dark .mx-theme-toggle .mx-theme-toggle__sun,
html[data-theme="dark"] .mx-theme-toggle .mx-theme-toggle__sun { display: block; }
html.theme-dark .mx-theme-toggle .mx-theme-toggle__moon,
html[data-theme="dark"] .mx-theme-toggle .mx-theme-toggle__moon { display: none; }

/* Drawer mobile */
.mx-drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.mx-drawer__scrim {
  position: absolute; inset: 0; background: rgba(7, 15, 30, .55);
  opacity: 0; transition: opacity .22s var(--mx-ease);
  backdrop-filter: blur(2px);
}
.mx-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(88vw, 360px);
  background-color: var(--mx-surface);
  border-left: 1px solid var(--mx-border);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform .26s var(--mx-ease);
  box-shadow: var(--mx-shadow-lg);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mx-drawer.is-open { visibility: visible; }
.mx-drawer.is-open .mx-drawer__scrim { opacity: 1; }
.mx-drawer.is-open .mx-drawer__panel { transform: translateX(0); }
.mx-drawer__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--mx-border);
}
.mx-drawer__head .mx-iconbtn { margin-left: auto; }
.mx-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 10px 10px 18px; }
.mx-drawer__group { padding: 12px 8px 6px; font-size: 10.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mx-text-3); }
.mx-drawer__link {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 12px; border-radius: 11px;
  font-size: 14.5px; font-weight: 600; color: var(--mx-text);
  min-height: 46px;
}
.mx-drawer__link:hover, .mx-drawer__link.is-active {
  background-color: var(--mx-surface-2); color: var(--mx-royal);
}
.mx-drawer__link svg { color: var(--mx-text-3); flex: 0 0 auto; }
.mx-drawer__link.is-active svg, .mx-drawer__link:hover svg { color: var(--mx-royal); }
.mx-drawer__foot {
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--mx-border); display: grid; gap: 8px;
}

/* ------------------------------------------------------------------ Hero -- */
.mx-hero {
  position: relative; overflow: hidden;
  background-color: var(--mx-navy);
  background-image:
    radial-gradient(760px 420px at 88% -10%, rgba(56, 189, 248, .30), transparent 62%),
    radial-gradient(620px 380px at -6% 110%, rgba(21, 94, 239, .38), transparent 60%),
    linear-gradient(155deg, #0B1730 0%, #0E2040 52%, #0A1B33 100%);
  color: #fff;
}
.mx-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 197, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 30% 20%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(70% 70% at 30% 20%, #000 10%, transparent 72%);
}
.mx-hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 30px;
  padding-block: 40px 44px;
}
.mx-hero__label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 8px;
  background-color: rgba(56, 189, 248, .12);
  border: 1px solid rgba(56, 189, 248, .34);
  color: #BAE6FD;
  font-size: 10.5px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 16px;
}
.mx-hero__dot {
  width: 6px; height: 6px; border-radius: 50%; background-color: var(--mx-cyan);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, .7);
  animation: mxPulse 2.4s infinite;
}
@keyframes mxPulse {
  70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.mx-hero h1 {
  color: #fff; font-size: 30px; line-height: 1.16; margin-bottom: 12px;
  letter-spacing: -.03em;
}
.mx-hero h1 em {
  font-style: normal;
  color: #7DD3FC;
}
.mx-hero__company {
  font-family: var(--mx-font-head); font-weight: 700;
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #8FB4DD; margin-bottom: 10px;
}
.mx-hero__lead {
  color: #C3D4E8; font-size: 14.5px; max-width: 54ch; margin-bottom: 22px;
}
.mx-hero__lead strong { color: #fff; font-weight: 700; }
.mx-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.mx-hero__cta .mx-btn { flex: 1 1 auto; min-width: 150px; }

.mx-hero__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px; max-width: 520px;
}
.mx-hero__fact {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 11px;
  background-color: rgba(255, 255, 255, .055);
  border: 1px solid rgba(148, 197, 255, .16);
  font-size: 12.5px; font-weight: 600; color: #D6E4F5;
}
.mx-hero__fact svg { color: var(--mx-cyan); flex: 0 0 auto; }

/* Visual hero */
.mx-hero__visual { position: relative; }
.mx-hero__card {
  position: relative; border-radius: var(--mx-radius-lg); overflow: hidden;
  background-color: rgba(8, 20, 38, .72);
  border: 1px solid rgba(148, 197, 255, .2);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .9);
  aspect-ratio: 4 / 3;
}
.mx-hero__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-hero__card--skeleton {
  display: grid; place-items: center;
  background-image:
    radial-gradient(420px 240px at 70% 20%, rgba(56, 189, 248, .22), transparent 62%),
    linear-gradient(145deg, #0C1B33, #102A4D 60%, #0B2138);
}
.mx-hero__stat {
  position: absolute; display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-radius: 13px;
  background-color: rgba(9, 22, 41, .92);
  border: 1px solid rgba(148, 197, 255, .24);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .9);
  backdrop-filter: blur(10px);
  font-size: 12px; color: #D6E4F5; font-weight: 600;
}
.mx-hero__stat strong { display: block; color: #fff; font-size: 15px; font-family: var(--mx-font-head); }
.mx-hero__stat--a { left: -6px; bottom: 18px; }
.mx-hero__stat--b { right: -4px; top: 18px; }
.mx-hero__stat svg { color: var(--mx-cyan); }

/* ----------------------------------------------------- Quick access (4x) -- */
.mx-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mx-quick__item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px; border-radius: var(--mx-radius);
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  box-shadow: var(--mx-shadow-xs);
  color: var(--mx-text);
  transition: transform .18s var(--mx-ease), box-shadow .18s, border-color .18s;
  min-height: 100%;
}
.mx-quick__item:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 94, 239, .4);
  box-shadow: var(--mx-shadow);
  color: var(--mx-text);
}
.mx-quick__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background-color: rgba(21, 94, 239, .09); color: var(--mx-royal);
  transition: background-color .18s, color .18s;
}
.mx-quick__item:hover .mx-quick__icon { background-color: var(--mx-royal); color: #fff; }
.mx-quick__title { font-family: var(--mx-font-head); font-weight: 700; font-size: 14.5px; }
.mx-quick__desc { font-size: 12.5px; color: var(--mx-text-2); line-height: 1.5; margin: 0; }

/* ------------------------------------------------------------ Paket ISP -- */
.mx-plans { display: grid; gap: 16px; }
.mx-plan {
  position: relative; display: flex; flex-direction: column;
  padding: 22px; border-radius: var(--mx-radius);
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  box-shadow: var(--mx-shadow-xs);
  transition: transform .18s var(--mx-ease), box-shadow .18s, border-color .18s;
}
.mx-plan:hover { transform: translateY(-3px); box-shadow: var(--mx-shadow); border-color: var(--mx-border-strong); }
.mx-plan--featured {
  border-color: rgba(21, 94, 239, .45);
  box-shadow: 0 22px 48px -30px rgba(21, 94, 239, .55);
}
.mx-plan__badge {
  position: absolute; top: -11px; left: 22px;
  padding: 4px 11px; border-radius: 8px;
  background-color: var(--mx-royal); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 8px 18px -10px rgba(21, 94, 239, .9);
}
.mx-plan__cat {
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mx-text-3); margin-bottom: 6px;
}
.mx-plan__name { font-family: var(--mx-font-head); font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.mx-plan__speed {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-family: var(--mx-font-head); font-weight: 800;
  font-size: 30px; color: var(--mx-accent-ink); letter-spacing: -.03em;
  margin-bottom: 2px;
}
.mx-plan__speed small { font-size: 13px; font-weight: 700; color: var(--mx-text-2); }
.mx-plan__price {
  font-size: 14px; color: var(--mx-text-2); margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px dashed var(--mx-border);
}
.mx-plan__price strong { color: var(--mx-text); font-family: var(--mx-font-head); font-size: 17px; }
.mx-plan__list { display: grid; gap: 8px; margin-bottom: 18px; }
.mx-plan__list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--mx-text-2);
}
.mx-plan__list svg { color: var(--mx-ok); flex: 0 0 auto; margin-top: 2px; }
.mx-plan .mx-btn { margin-top: auto; }

/* ------------------------------------------------------------- Keunggulan -- */
.mx-features { display: grid; gap: 14px; }
.mx-feature {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 18px; border-radius: var(--mx-radius);
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  transition: border-color .18s, box-shadow .18s;
}
.mx-feature:hover { border-color: rgba(21, 94, 239, .35); box-shadow: var(--mx-shadow-sm); }
.mx-feature__icon {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center;
  background-color: rgba(56, 189, 248, .12); color: #0284C7;
}
html.theme-dark .mx-feature__icon,
html[data-theme="dark"] .mx-feature__icon { color: var(--mx-cyan); }
.mx-feature h3 { font-size: 14.5px; margin-bottom: 3px; font-weight: 700; }
.mx-feature p { font-size: 12.8px; color: var(--mx-text-2); margin: 0; line-height: 1.55; }

/* ---------------------------------------------------------------- Coverage -- */
.mx-coverage {
  display: grid; gap: 22px;
  padding: 24px; border-radius: var(--mx-radius-lg);
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  box-shadow: var(--mx-shadow);
}
.mx-coverage h2 { font-size: 22px; margin-bottom: 8px; }
.mx-coverage p { color: var(--mx-text-2); font-size: 14px; }
.mx-coverage__form { display: grid; gap: 10px; }
.mx-field { display: flex; flex-direction: column; gap: 6px; }
.mx-field__label { font-size: 12px; font-weight: 700; color: var(--mx-text-2); }
.mx-input,
.mx-coverage__form .form-control {
  width: 100%; min-height: 46px; padding: 11px 13px;
  border-radius: 11px; border: 1.5px solid var(--mx-border-strong);
  background-color: var(--mx-surface); color: var(--mx-text);
  font-family: var(--mx-font); font-size: 14px;
  transition: border-color .16s, box-shadow .16s;
}
.mx-input:focus,
.mx-coverage__form .form-control:focus {
  outline: none; border-color: var(--mx-royal);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .16);
}
.mx-coverage__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.mx-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 8px;
  border: 1px solid var(--mx-border); background-color: var(--mx-surface-2);
  font-size: 11.8px; font-weight: 600; color: var(--mx-text-2);
  cursor: pointer; transition: border-color .16s, color .16s;
}
.mx-chip:hover { border-color: var(--mx-royal); color: var(--mx-royal); }

/* ------------------------------------------------------------------ Portal -- */
.mx-portal { display: grid; gap: 22px; align-items: center; }
.mx-portal__panel {
  padding: 26px; border-radius: var(--mx-radius-lg);
  background-color: var(--mx-navy);
  background-image:
    radial-gradient(520px 300px at 90% 0%, rgba(56, 189, 248, .26), transparent 62%),
    linear-gradient(150deg, #0B1730, #122A4D 70%, #0B1F38);
  color: #fff; border: 1px solid rgba(148, 197, 255, .18);
  box-shadow: var(--mx-shadow-lg);
}
.mx-portal__panel h2 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.mx-portal__panel p { color: #B9CCE3; font-size: 14px; margin-bottom: 18px; }
.mx-portal__list { display: grid; gap: 10px; margin-bottom: 20px; }
.mx-portal__list li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: #D6E4F5; font-weight: 600;
}
.mx-portal__list svg { color: var(--mx-cyan); flex: 0 0 auto; }
.mx-portal__actions { display: grid; gap: 9px; }

/* ------------------------------------------------------------------- CTA -- */
.mx-cta {
  padding: 28px; border-radius: var(--mx-radius-lg);
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  display: grid; gap: 16px; align-items: center;
  box-shadow: var(--mx-shadow);
}
.mx-cta h2 { font-size: 20px; margin-bottom: 6px; }
.mx-cta p { color: var(--mx-text-2); font-size: 13.5px; margin: 0; }

/* ---------------------------------------------------------------- Footer -- */
.mx-footer {
  background-color: var(--mx-navy);
  background-image: linear-gradient(180deg, #0B1730 0%, #091428 100%);
  color: #A9BDD6;
  padding-top: 44px;
  border-top: 1px solid rgba(148, 197, 255, .12);
}
.mx-footer__grid { display: grid; gap: 26px; padding-bottom: 30px; }
.mx-footer .mx-brand__name { color: #fff; }
.mx-footer .mx-brand__tag { color: #7C93B3; }
.mx-footer .mx-brand__mark {
  background-image: linear-gradient(140deg, #155EEF 0%, #0E7490 100%);
  box-shadow: 0 8px 20px -10px rgba(56, 189, 248, .8);
}
.mx-footer__desc { font-size: 13px; line-height: 1.65; color: #9FB4CE; margin: 14px 0 16px; max-width: 40ch; }
.mx-footer h4 {
  color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 14px;
}
.mx-footer__links { display: grid; gap: 9px; }
.mx-footer__links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.2px; color: #A9BDD6;
}
.mx-footer__links a:hover { color: #fff; }
.mx-footer__contact { display: grid; gap: 10px; }
.mx-footer__contact li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: #A9BDD6; line-height: 1.55;
}
.mx-footer__contact svg { color: var(--mx-cyan); flex: 0 0 auto; margin-top: 2px; }
.mx-footer__contact a { color: #CFE0F2; }
.mx-footer__contact a:hover { color: #fff; }
.mx-social { display: flex; gap: 8px; margin-top: 16px; }
.mx-social a {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background-color: rgba(148, 197, 255, .1);
  border: 1px solid rgba(148, 197, 255, .18);
  color: #CFE0F2; font-size: 14px;
  transition: background-color .16s, color .16s, transform .16s;
}
.mx-social a:hover { background-color: var(--mx-royal); color: #fff; transform: translateY(-2px); }
.mx-footer__bottom {
  border-top: 1px solid rgba(148, 197, 255, .14);
  padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0));
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  justify-content: space-between; align-items: center;
  font-size: 12.2px; color: #8AA1BE;
}
.mx-footer__bottom strong { color: #CFE0F2; font-weight: 700; }
.mx-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.mx-footer__legal a { color: #8AA1BE; }
.mx-footer__legal a:hover { color: #fff; }

/* ---------------------------------------------------- Install app popup --- */
.mx-install {
  position: fixed; z-index: 130;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0));
  display: none;
}
.mx-install.is-visible { display: block; animation: mxInstallIn .28s var(--mx-ease); }
@keyframes mxInstallIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.mx-install__card {
  position: relative;
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 14px;
  border-radius: 15px;
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  box-shadow: 0 22px 48px -22px rgba(11, 23, 48, .5);
}
.mx-install__logo {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  object-fit: contain; background-color: var(--mx-surface-2);
  border: 1px solid var(--mx-border);
}
.mx-install__body { min-width: 0; flex: 1 1 auto; }
.mx-install__title {
  font-family: var(--mx-font-head); font-weight: 700; font-size: 13.8px;
  margin: 0 0 2px; color: var(--mx-text);
}
.mx-install__desc {
  font-size: 12px; color: var(--mx-text-2); margin: 0 0 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.45;
}
.mx-install__actions { display: flex; gap: 7px; flex-wrap: wrap; }
.mx-install__actions .mx-btn { min-height: 34px; padding: 6px 13px; font-size: 12.3px; border-radius: 9px; }
.mx-install__close {
  position: absolute; top: 6px; right: 6px;
  width: 26px; height: 26px; border-radius: 8px; border: 0;
  background: transparent; color: var(--mx-text-3); cursor: pointer;
  display: grid; place-items: center;
}
.mx-install__close:hover { background-color: var(--mx-surface-2); color: var(--mx-text); }

/* ------------------------------------------------- Modal & form (Bootstrap) */
.modal-content {
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius);
  box-shadow: var(--mx-shadow-lg);
  background-color: var(--mx-surface);
  color: var(--mx-text);
}
.modal-header, .modal-footer { border-color: var(--mx-border); }
.modal-title { font-family: var(--mx-font-head); font-weight: 700; font-size: 16px; }
.modal-backdrop.show { opacity: .55; }
.form-control {
  min-height: 44px; border-radius: 10px;
  border: 1.5px solid var(--mx-border-strong);
  background-color: var(--mx-surface); color: var(--mx-text);
  font-size: 14px;
}
.form-control:focus {
  border-color: var(--mx-royal); background-color: var(--mx-surface); color: var(--mx-text);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .16);
}
.btn-primary {
  background-color: var(--mx-royal); border-color: var(--mx-royal);
  border-radius: 10px; font-weight: 700;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--mx-royal-dark); border-color: var(--mx-royal-dark);
}
.input-group-text {
  background-color: var(--mx-surface-2); border-color: var(--mx-border-strong);
  color: var(--mx-text-2); border-radius: 10px 0 0 10px;
}

/* ------------------------------------------------- -------- Animasi masuk -- */
.mx-reveal { opacity: 0; transform: translateY(14px); }
.mx-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .5s var(--mx-ease), transform .5s var(--mx-ease);
}

/* ==========================================================================
   HALAMAN DALAM — FAQ, Layanan, Detail Layanan, Coverage, Tentang, Legal,
   Cek Tagihan. Semua memakai token yang sama dengan beranda.
   ========================================================================== */

.mx-page { padding-block: 26px 60px; }
.mx-page .mx-container > * + * { margin-top: 20px; }

/* -------------------------------------------------------------- Page head -- */
.mx-pagehead {
  position: relative;
  overflow: hidden;
  padding: 24px 20px 26px;
  border-radius: var(--mx-radius-lg);
  color: #fff;
  background-color: var(--mx-navy);
  background-image:
    radial-gradient(680px 360px at 92% -20%, rgba(56, 189, 248, .28), transparent 62%),
    radial-gradient(520px 320px at -8% 120%, rgba(21, 94, 239, .34), transparent 60%),
    linear-gradient(152deg, #0B1730 0%, #102547 60%, #0A1B33 100%);
  box-shadow: var(--mx-shadow);
}
.mx-pagehead::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 197, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(72% 80% at 20% 10%, #000 8%, transparent 74%);
  -webkit-mask-image: radial-gradient(72% 80% at 20% 10%, #000 8%, transparent 74%);
}
.mx-pagehead > * { position: relative; z-index: 1; }
.mx-pagehead h1 {
  color: #fff;
  font-size: 25px;
  line-height: 1.18;
  margin: 0 0 10px;
  letter-spacing: -.025em;
  max-width: 32ch;
}
.mx-pagehead__lead {
  color: #C3D4E8;
  font-size: 14px;
  line-height: 1.6;
  max-width: 62ch;
  margin: 0;
}
.mx-pagehead__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.mx-pagehead__actions .mx-btn { flex: 1 1 auto; }
.mx-pagehead__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mx-pagehead__chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 8px;
  background-color: rgba(255, 255, 255, .08);
  border: 1px solid rgba(148, 197, 255, .22);
  font-size: 12.2px; font-weight: 600; color: #D6E4F5;
}
.mx-pagehead__chip svg { color: var(--mx-cyan); flex: 0 0 auto; }

.mx-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12.2px; color: #8FB4DD; margin-bottom: 12px;
}
.mx-breadcrumb a { color: #A9C4E4; }
.mx-breadcrumb a:hover { color: #fff; }
.mx-breadcrumb__sep { color: #5E7896; }
.mx-breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------------ Cards -- */
.mx-card {
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius);
  box-shadow: var(--mx-shadow-xs);
}
.mx-card__head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 15px 17px;
  border-bottom: 1px solid var(--mx-border);
}
.mx-card__head h2, .mx-card__head h3 {
  font-size: 15.5px; margin: 0; letter-spacing: -.01em;
}
.mx-card__head .mx-badge { margin-left: auto; }
.mx-card__head svg { color: var(--mx-royal); flex: 0 0 auto; }
.mx-card__body { padding: 17px; }
.mx-card__body > * + * { margin-top: 14px; }
.mx-card__foot {
  padding: 13px 17px;
  border-top: 1px solid var(--mx-border);
  background-color: var(--mx-surface-2);
  border-radius: 0 0 var(--mx-radius) var(--mx-radius);
  font-size: 12.5px; color: var(--mx-text-2);
}

/* ---------------------------------------------------------------- Layouts -- */
.mx-stack { display: grid; gap: 16px; }
.mx-stack--tight { gap: 10px; }
.mx-cols { display: grid; gap: 18px; }
.mx-grid-2, .mx-grid-3, .mx-grid-4 { display: grid; gap: 14px; }
.mx-prod-grid { display: grid; gap: 16px; }
.mx-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mx-actions--end { justify-content: flex-end; }
.mx-divider { height: 0; border: 0; border-top: 1px dashed var(--mx-border); margin: 18px 0; }
.mx-aside { display: grid; gap: 16px; align-content: start; }

/* ------------------------------------------------------------------ Badge -- */
.mx-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 8px;
  border: 1px solid transparent;
  background-color: var(--mx-surface-2);
  color: var(--mx-text-2);
  font-size: 10.8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.mx-badge--brand { background-color: rgba(21, 94, 239, .10); border-color: rgba(21, 94, 239, .26); color: #1449B8; }
.mx-badge--ok { background-color: var(--mx-ok-bg); border-color: rgba(4, 120, 87, .25); color: #04624A; }
.mx-badge--warn { background-color: var(--mx-warn-bg); border-color: rgba(180, 83, 9, .25); color: #8A4008; }
.mx-badge--danger { background-color: var(--mx-danger-bg); border-color: rgba(180, 35, 24, .25); color: #96201A; }
.mx-badge--onDark {
  background-color: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .26);
  color: #E8F1FF;
}
html.theme-dark .mx-badge--brand,
html[data-theme="dark"] .mx-badge--brand { color: #93B4FF; }
html.theme-dark .mx-badge--ok,
html[data-theme="dark"] .mx-badge--ok { color: #34D399; }
html.theme-dark .mx-badge--warn,
html[data-theme="dark"] .mx-badge--warn { color: #FBBF24; }
html.theme-dark .mx-badge--danger,
html[data-theme="dark"] .mx-badge--danger { color: #F87171; }

/* ------------------------------------------------------------------ Alert -- */
.mx-alert {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--mx-border);
  background-color: var(--mx-surface);
  font-size: 13.4px; line-height: 1.6;
  color: #5B6577;
}
html.theme-dark .mx-alert,
html[data-theme="dark"] .mx-alert { color: var(--mx-text-2); }
.mx-alert > svg { flex: 0 0 auto; margin-top: 1px; color: var(--mx-royal); }
.mx-alert strong { color: var(--mx-text); font-weight: 700; }
.mx-alert p { margin: 0; }
.mx-alert a { font-weight: 700; }
.mx-alert--info { background-color: rgba(21, 94, 239, .06); border-color: rgba(21, 94, 239, .22); }
.mx-alert--ok { background-color: var(--mx-ok-bg); border-color: rgba(4, 120, 87, .22); }
.mx-alert--ok > svg { color: var(--mx-ok); }
.mx-alert--warn { background-color: var(--mx-warn-bg); border-color: rgba(180, 83, 9, .22); }
.mx-alert--warn > svg { color: var(--mx-warn); }
.mx-alert--danger { background-color: var(--mx-danger-bg); border-color: rgba(180, 35, 24, .22); }
.mx-alert--danger > svg { color: var(--mx-danger); }

/* ------------------------------------------------------------------ Prose -- */
.mx-prose { font-size: 14.4px; line-height: 1.78; color: var(--mx-text-2); }
.mx-prose > * { margin: 0; }
.mx-prose > * + * { margin-top: 14px; }
.mx-prose h2, .mx-prose h3, .mx-prose h4 { color: var(--mx-text); letter-spacing: -.015em; }
.mx-prose h2 { font-size: 19px; margin-top: 26px; }
.mx-prose h3 { font-size: 16.5px; margin-top: 22px; }
.mx-prose h4 { font-size: 15px; margin-top: 18px; }
.mx-prose > h2:first-child, .mx-prose > h3:first-child { margin-top: 0; }
.mx-prose strong, .mx-prose b { color: var(--mx-text); font-weight: 700; }
.mx-prose a { text-decoration: underline; text-underline-offset: 2px; }
.mx-prose ul, .mx-prose ol { display: grid; gap: 8px; }
.mx-prose ul > li { position: relative; padding-left: 18px; }
.mx-prose ul > li::before {
  content: ''; position: absolute; left: 4px; top: .66em;
  width: 6px; height: 6px; border-radius: 50%; background-color: var(--mx-royal);
}
.mx-prose ol { counter-reset: mxli; }
.mx-prose ol > li { position: relative; padding-left: 25px; counter-increment: mxli; }
.mx-prose ol > li::before {
  content: counter(mxli) '.';
  position: absolute; left: 0; top: 0;
  font-weight: 800; font-size: 12.6px; color: var(--mx-royal);
}
.mx-prose blockquote {
  padding: 14px 16px;
  border-left: 3px solid var(--mx-royal);
  border-radius: 0 12px 12px 0;
  background-color: var(--mx-surface-2);
  color: var(--mx-text);
  font-style: italic;
}
.mx-prose img { border-radius: 12px; }
.mx-prose hr { border: 0; border-top: 1px solid var(--mx-border); margin: 22px 0; }
.mx-prose table { width: 100%; border-collapse: collapse; font-size: 13.4px; }
.mx-prose th, .mx-prose td { padding: 10px 12px; border-bottom: 1px solid var(--mx-border); text-align: left; }
.mx-prose th { color: var(--mx-text); font-weight: 700; background-color: var(--mx-surface-2); }

/* -------------------------------------------------------------- Accordion -- */
.mx-acc { display: grid; gap: 10px; }
.mx-acc__item {
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: 13px;
  overflow: hidden;
  transition: border-color .16s, box-shadow .16s;
}
.mx-acc__item[open] { border-color: rgba(21, 94, 239, .38); box-shadow: var(--mx-shadow-sm); }
.mx-acc__q {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; min-height: 52px;
  cursor: pointer; list-style: none;
  font-family: var(--mx-font-head); font-weight: 700; font-size: 14.5px;
  color: var(--mx-text); line-height: 1.45;
  transition: color .16s;
}
.mx-acc__q::-webkit-details-marker { display: none; }
.mx-acc__q:hover { color: var(--mx-royal); }
.mx-acc__icon {
  margin-left: auto; flex: 0 0 auto;
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px;
  background-color: var(--mx-surface-2); color: var(--mx-text-2);
  transition: transform .2s var(--mx-ease), background-color .16s, color .16s;
}
.mx-acc__item[open] .mx-acc__icon {
  transform: rotate(180deg);
  background-color: rgba(21, 94, 239, .1);
  color: var(--mx-royal);
}
.mx-acc__a {
  padding: 13px 16px 16px;
  border-top: 1px dashed var(--mx-border);
  font-size: 13.8px; line-height: 1.72; color: var(--mx-text-2);
}
.mx-acc__a > *:first-child { margin-top: 0; }
.mx-acc__a > *:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ Product card -- */
.mx-prod {
  display: flex; flex-direction: column;
  overflow: hidden;
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius);
  box-shadow: var(--mx-shadow-xs);
  transition: transform .18s var(--mx-ease), box-shadow .18s, border-color .18s;
  min-height: 100%;
}
.mx-prod:hover { transform: translateY(-3px); box-shadow: var(--mx-shadow); border-color: var(--mx-border-strong); }
.mx-prod__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background-color: var(--mx-surface-2);
}
.mx-prod__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s var(--mx-ease);
}
.mx-prod:hover .mx-prod__media img { transform: scale(1.04); }
.mx-prod__ribbon {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 10px; border-radius: 8px;
  background-color: rgba(11, 23, 48, .82); color: #fff;
  font-size: 10.4px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.mx-prod__ribbon--sale { left: auto; right: 10px; background-color: #C02626; }
.mx-prod__body { display: flex; flex-direction: column; gap: 8px; padding: 15px; flex: 1 1 auto; }
.mx-prod__title {
  font-family: var(--mx-font-head); font-weight: 700; font-size: 15.4px;
  color: var(--mx-text); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.mx-prod__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px;
  font-family: var(--mx-font-head); font-weight: 800; font-size: 21px;
  color: var(--mx-accent-ink); letter-spacing: -.03em;
  padding-bottom: 10px; border-bottom: 1px dashed var(--mx-border);
}
.mx-prod__price small { font-size: 11.6px; font-weight: 700; color: var(--mx-text-2); letter-spacing: 0; }
.mx-prod__price .mx-prod__price-old {
  font-size: 12.4px; font-weight: 700; color: var(--mx-text-3);
  text-decoration: line-through; letter-spacing: 0;
}
.mx-prod__price--ask { font-size: 13.4px; color: var(--mx-text-2); font-weight: 700; font-family: var(--mx-font); letter-spacing: 0; }
.mx-prod__desc {
  font-size: 12.8px; line-height: 1.55; color: var(--mx-text-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mx-prod__cta { margin-top: auto; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.mx-prod__cta .mx-btn { min-height: 40px; padding: 8px 10px; font-size: 12.6px; border-radius: 10px; }
.mx-prod__cta .mx-btn:only-child { grid-column: span 2; }

/* ------------------------------------------------------------------ Table -- */
.mx-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--mx-border);
  border-radius: 14px;
  background-color: var(--mx-surface);
  -webkit-overflow-scrolling: touch;
}
.mx-table { width: 100%; border-collapse: collapse; font-size: 13.4px; }
.mx-table th {
  padding: 11px 14px; text-align: left;
  font-size: 10.6px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mx-text-3); background-color: var(--mx-surface-2);
  border-bottom: 1px solid var(--mx-border); white-space: nowrap;
}
.mx-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--mx-border);
  color: var(--mx-text); vertical-align: middle;
}
.mx-table tbody tr:last-child td { border-bottom: 0; }
.mx-table .is-num { text-align: right; }
.mx-table .is-center { text-align: center; }
.mx-table .is-muted { color: var(--mx-text-2); }
.mx-table tbody tr.is-nearest td { background-color: rgba(21, 94, 239, .06); }

/* -------------------------------------------------------------- Key/value -- */
.mx-kv { display: grid; }
.mx-kv__row {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--mx-border);
  font-size: 13.2px;
}
.mx-kv__row:last-child { border-bottom: 0; }
.mx-kv__k { color: var(--mx-text-3); font-weight: 700; }
.mx-kv__v { color: var(--mx-text); font-weight: 600; overflow-wrap: anywhere; }

/* ---------------------------------------------------------- Lists & steps -- */
.mx-list-check { display: grid; gap: 9px; }
.mx-list-check li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.3px; line-height: 1.55; color: var(--mx-text-2);
}
.mx-list-check li svg { flex: 0 0 auto; margin-top: 2px; color: var(--mx-ok); }

.mx-steps { display: grid; gap: 14px; }
.mx-step { display: flex; gap: 12px; align-items: flex-start; }
.mx-step__num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background-color: rgba(21, 94, 239, .1); color: var(--mx-royal);
  font-family: var(--mx-font-head); font-weight: 800; font-size: 13px;
}
.mx-step h4 { font-size: 13.8px; margin: 2px 0 3px; }
.mx-step p { font-size: 12.9px; color: var(--mx-text-2); margin: 0; line-height: 1.55; }

/* ------------------------------------------------------------------ Empty -- */
.mx-empty {
  display: grid; place-items: center; gap: 9px;
  padding: 36px 22px; text-align: center;
  border: 1px dashed var(--mx-border-strong);
  border-radius: var(--mx-radius);
  background-color: var(--mx-surface-2);
  color: var(--mx-text-2); font-size: 13.4px;
}
.mx-empty__icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background-color: var(--mx-surface); border: 1px solid var(--mx-border);
  color: var(--mx-text-3);
}
.mx-empty h3 { font-size: 15px; margin: 0; color: var(--mx-text); }
.mx-empty p { margin: 0; max-width: 46ch; }

/* ------------------------------------------------------------ Form fields -- */
.mx-form { display: grid; gap: 14px; }
.mx-field { display: grid; gap: 6px; }
.mx-label {
  font-size: 11.6px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--mx-text-3);
}
.mx-help { font-size: 12.2px; line-height: 1.55; color: var(--mx-text-2); margin: 0; }
.mx-input::placeholder { color: var(--mx-text-3); }
textarea.mx-input { min-height: 108px; resize: vertical; line-height: 1.6; }
select.mx-input {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.mx-searchrow { display: grid; gap: 10px; }
.mx-searchrow .mx-btn { min-height: 46px; }
.mx-checkbox { display: flex; align-items: flex-start; gap: 9px; font-size: 13.2px; color: var(--mx-text-2); }
.mx-checkbox input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--mx-royal); }

/* ------------------------------------------------------------------- Map -- */
.mx-map {
  position: relative;
  height: 380px;
  border-radius: var(--mx-radius);
  border: 1px solid var(--mx-border);
  overflow: hidden;
  background-color: var(--mx-surface-2);
}
.mx-map .leaflet-container { height: 100%; width: 100%; background-color: var(--mx-surface-2); }
.mx-map__overlay {
  position: absolute; inset: 0; z-index: 500;
  display: none; align-items: center; justify-content: center; gap: 10px;
  background-color: rgba(255, 255, 255, .72);
  backdrop-filter: blur(2px);
  font-size: 13px; font-weight: 700; color: var(--mx-navy);
}
html.theme-dark .mx-map__overlay,
html[data-theme="dark"] .mx-map__overlay {
  background-color: rgba(7, 15, 30, .72); color: #D6E4F5;
}
.mx-map__overlay.is-on { display: flex; }
.mx-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(21, 94, 239, .25); border-top-color: var(--mx-royal);
  animation: mxSpin .8s linear infinite;
}
@keyframes mxSpin { to { transform: rotate(360deg); } }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { font-size: 13px; line-height: 1.55; }

/* ------------------------------------------------------- Cek tagihan page -- */
.mx-billhead {
  background-color: var(--mx-navy);
  background-image:
    radial-gradient(620px 320px at 88% -10%, rgba(56, 189, 248, .26), transparent 62%),
    linear-gradient(152deg, #0B1730 0%, #10254A 62%, #0A1B33 100%);
  color: #fff;
  padding-block: 26px 30px;
}
.mx-billhead__inner { display: grid; gap: 20px; }
.mx-billhead h1 { color: #fff; font-size: 25px; margin: 0 0 8px; letter-spacing: -.025em; }
.mx-billhead__lead { color: #C3D4E8; font-size: 14px; margin: 0; max-width: 58ch; }
.mx-billcard {
  padding: 18px;
  border-radius: var(--mx-radius-lg);
  background-color: var(--mx-surface);
  border: 1px solid var(--mx-border);
  box-shadow: var(--mx-shadow-lg);
}
.mx-billsum {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 13px;
  background-color: var(--mx-navy);
  background-image: linear-gradient(135deg, #0B1730, #14305C 70%, #0E4C63);
  color: #fff;
}
.mx-billsum__period { font-size: 11.4px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #A9C8E8; }
.mx-billsum__amount { font-family: var(--mx-font-head); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.mx-billsum__note { font-size: 11.6px; color: #B9CCE3; }
.mx-bankitem {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--mx-border); background-color: var(--mx-surface-2);
  font-size: 13.2px;
}
.mx-bankitem + .mx-bankitem { margin-top: 8px; }
.mx-bankitem strong { color: var(--mx-text); }
.mx-bankitem .mx-bankitem__no {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; letter-spacing: .02em;
}

/* --------------------------------------------------------- Detail layanan -- */
.mx-media {
  position: relative; overflow: hidden;
  border-radius: var(--mx-radius);
  border: 1px solid var(--mx-border);
  background-color: var(--mx-surface-2);
  aspect-ratio: 16 / 11;
}
.mx-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; }
.mx-price-now {
  font-family: var(--mx-font-head); font-weight: 800; font-size: 28px;
  color: var(--mx-accent-ink); letter-spacing: -.03em;
}
.mx-price-old { color: var(--mx-text-2); text-decoration: line-through; font-weight: 700; font-size: 14px; }
.mx-price-per { color: var(--mx-text-2); font-weight: 700; font-size: 13px; }
.mx-clamp { position: relative; max-height: 260px; overflow: hidden; }
.mx-clamp::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--mx-surface));
}
html.theme-dark .mx-clamp::after,
html[data-theme="dark"] .mx-clamp::after {
  background-image: linear-gradient(180deg, rgba(15, 27, 45, 0), var(--mx-surface));
}
.mx-clamp.is-open { max-height: none; }
.mx-clamp.is-open::after { display: none; }

/* ------------------------------------------------------------- Legal page -- */
.mx-legal { display: grid; gap: 18px; }
.mx-legal__meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12.2px; color: var(--mx-text-2);
}

@media (min-width: 600px) {
  .mx-page { padding-block: 32px 72px; }
  .mx-pagehead { padding: 30px 26px 32px; }
  .mx-pagehead h1 { font-size: 31px; }
  .mx-pagehead__lead { font-size: 14.8px; }
  .mx-pagehead__actions .mx-btn { flex: 0 0 auto; }
  .mx-grid-2, .mx-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .mx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .mx-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-searchrow { grid-template-columns: minmax(0, 1fr) auto; }
  .mx-searchrow .mx-btn { min-width: 168px; }
  .mx-card__body { padding: 19px; }
  .mx-map { height: 440px; }
}

@media (min-width: 900px) {
  .mx-page { padding-block: 36px 84px; }
  .mx-pagehead { padding: 38px 38px 40px; }
  .mx-pagehead h1 { font-size: 36px; }
  .mx-pagehead__lead { font-size: 15.4px; }
  .mx-cols--main { grid-template-columns: minmax(0, 1fr) 324px; gap: 22px; align-items: start; }
  .mx-cols--detail { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 24px; align-items: start; }
  .mx-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .mx-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .mx-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .mx-aside--sticky { position: sticky; top: calc(var(--mx-header-h) + 18px); }
  .mx-map { height: 480px; }
  .mx-billhead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 28px; }
  .mx-billhead { padding-block: 34px 42px; }
  .mx-billhead h1 { font-size: 30px; }
}

@media (min-width: 1200px) {
  .mx-prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------ Breakpoints -- */
@media (min-width: 480px) {
  .mx-install { left: auto; right: 16px; width: 340px; }
  .mx-hero__facts { gap: 10px; }
}

@media (min-width: 600px) {
  :root { --mx-gutter: 22px; }
  .mx-section { padding-block: 64px; }
  .mx-head h2 { font-size: 30px; }
  .mx-hero h1 { font-size: 38px; }
  .mx-hero__lead { font-size: 15.5px; }
  .mx-quick { gap: 14px; }
  .mx-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-portal__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-cta { grid-template-columns: 1fr auto; padding: 30px 34px; }
}

@media (min-width: 900px) {
  :root { --mx-header-h: 74px; --mx-gutter: 28px; }
  .mx-section { padding-block: 78px; }
  .mx-head h2 { font-size: 32px; }
  .mx-head { margin-bottom: 40px; }
  .mx-hero__inner {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 44px;
    padding-block: 56px 64px;
  }
  .mx-hero h1 { font-size: 42px; }
  .mx-hero__cta .mx-btn { flex: 0 0 auto; }
  .mx-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .mx-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .mx-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .mx-coverage { grid-template-columns: 1fr 1fr; align-items: center; padding: 34px 38px; gap: 34px; }
  .mx-portal { grid-template-columns: 1.02fr .98fr; gap: 40px; }
  .mx-portal__panel { padding: 34px; }
  .mx-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 38px; }
  .mx-footer { padding-top: 56px; }
  .mx-install { width: 356px; right: 20px; bottom: 20px; }
}

@media (min-width: 1024px) {
  .mx-nav { display: block; margin-inline: auto; }
  .mx-header__cta { display: inline-flex; }
  .mx-header__cta--ghost { display: inline-flex; }
  .mx-burger { display: none; }
  .mx-hero h1 { font-size: 46px; }
}

@media (min-width: 1280px) {
  .mx-hero h1 { font-size: 50px; }
  .mx-hero__lead { font-size: 16px; }
}

/* --------------------------------------------------------- Prefer reduced -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .mx-reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ Print -- */
@media print {
  .mx-header, .mx-footer, .mx-install, .mx-drawer { display: none !important; }
  body { background: #fff; }
}

/* Bentuk kotak: `.rounded-pill` Bootstrap tidak dipakai untuk tampilan ini. */
.rounded-pill {
  border-radius: 8px !important;
}

/* ==========================================================================
   PREMIUM ACCENTS — gradien & aksen lebih berani
   --------------------------------------------------------------------------
   Aturan: gradien hanya pada permukaan yang teksnya tetap ≥ 4.5:1, dan setiap
   elemen ber-gradien tetap punya `background-color` solid sebagai cadangan.
   ========================================================================== */
:root {
  --mx-grad-brand: linear-gradient(135deg, #155EEF 0%, #5B3AF0 52%, #1D9BF0 118%);
  --mx-grad-brand-deep: linear-gradient(135deg, #0E49C4 0%, #4526D8 55%, #0B7FC4 120%);
  --mx-grad-tint: linear-gradient(135deg, rgba(21, 94, 239, .10), rgba(91, 58, 240, .06) 55%, rgba(29, 155, 240, .10));
  --mx-glow-brand: 0 14px 30px -16px rgba(21, 94, 239, .78);
}

.mx-btn--primary {
  background-color: #155EEF;
  background-image: var(--mx-grad-brand);
  box-shadow: var(--mx-glow-brand);
}
.mx-btn--primary:hover {
  background-image: var(--mx-grad-brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -16px rgba(21, 94, 239, .88);
}
.mx-btn--primary:active { transform: translateY(0); }

.mx-badge--brand {
  background-color: #155EEF;
  background-image: var(--mx-grad-brand);
  border-color: transparent;
  color: #FFFFFF;
}
html.theme-dark .mx-badge--brand,
html[data-theme="dark"] .mx-badge--brand { color: #FFFFFF; }

.mx-card__head {
  background-image: linear-gradient(90deg, rgba(21, 94, 239, .07), rgba(21, 94, 239, 0) 62%);
}
.mx-card__head h2, .mx-card__head h3 { letter-spacing: -.015em; }

/* Nominal besar: gradien navy yang lebih dalam + aksen sian */
.mx-billsum {
  background-image:
    radial-gradient(420px 200px at 92% -40%, rgba(56, 189, 248, .38), transparent 62%),
    linear-gradient(135deg, #0B1730 0%, #14305C 58%, #0E4C63 128%);
  box-shadow: 0 16px 34px -26px rgba(11, 23, 48, .55);
}

/* Nomor langkah: kotak gradien */
.mx-step__num {
  background-color: #155EEF;
  background-image: var(--mx-grad-brand);
  color: #FFFFFF;
  box-shadow: 0 8px 16px -10px rgba(21, 94, 239, .85);
}

/* Baris rekening: aksen saat disentuh */
.mx-bankitem {
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.mx-bankitem:hover {
  border-color: rgba(21, 94, 239, .42);
  box-shadow: var(--mx-shadow-sm);
  transform: translateY(-1px);
}

/* Page head: garis aksen gradien di bawah banner */
.mx-pagehead {
  box-shadow: var(--mx-shadow), 0 3px 0 0 rgba(21, 94, 239, .0);
}
.mx-pagehead::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background-image: var(--mx-grad-brand);
  z-index: 1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .mx-btn--primary:hover,
  .mx-bankitem:hover { transform: none; }
}
