@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Telkom Indonesia — Merah Putih */
  --c-red:      #CC0000;
  --c-red-dk:   #AA0000;
  --c-red-lt:   #FF1A1A;
  --c-red-bg:   #FFF0F0;
  --c-bg:       #F9F9F9;
  --c-surface:  #FFFFFF;
  --c-border:   #E8E0E0;
  --c-text:     #1A1A1A;
  --c-muted:    #7A7070;
  --c-green:    #1A7A3A;
  --c-amber:    #C47A00;
  --c-blue:     #1A4ACC;

  /* Sidebar: merah Telkom */
  --c-sidebar:  #CC0000;
  --c-sline:    #AA0000;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  14px;
  --shadow-sm:  0 1px 3px rgba(204,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(204,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --font:       'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:  'DM Mono', monospace;
  --sidebar-w:  230px;
  --topbar-h:   64px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 14px; background: var(--c-bg);
       color: var(--c-text); min-height: 100vh; display: flex;
       -webkit-font-smoothing: antialiased; }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w); min-height: 100vh;
  background: var(--c-sidebar);
  display: flex; flex-direction: column; flex-shrink: 0;
  position: fixed; top: 0; left: 0; height: 100%; z-index: 200;
  box-shadow: 4px 0 20px rgba(204,0,0,.18);
}
.sb-brand {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; gap: 11px;
}
.sb-logo {
  width: 36px; height: 36px; background: #fff;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: var(--c-red);
  letter-spacing: -0.5px; flex-shrink: 0;
}
.sb-brand-text .name { color: #fff; font-weight: 700; font-size: 15px; }
.sb-brand-text .sub  { color: rgba(255,255,255,.6); font-size: 11px; margin-top: 1px; }

.sb-nav { flex: 1; padding: 10px 10px; overflow-y: auto; }
.sb-section {
  color: rgba(255,255,255,.45); font-size: 10.5px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 14px 10px 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: 13.5px; font-weight: 500;
  border-radius: var(--radius-sm); transition: all .15s; margin-bottom: 2px;
}
.nav-item:hover  { background: rgba(255,255,255,.15); color: #fff; }
.nav-item.active {
  background: #fff; color: var(--c-red); font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.nav-item .icon { font-size: 15px; flex-shrink: 0; }

.sb-foot {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: space-between;
}
.sb-foot .user-name { color: #fff; font-size: 12.5px; font-weight: 600; }
.sb-foot .user-role { color: rgba(255,255,255,.55); font-size: 11px; }
.sb-foot a {
  color: rgba(255,255,255,.7); font-size: 12px; text-decoration: none;
  padding: 5px 9px; border-radius: 5px;
  border: 1px solid rgba(255,255,255,.25); transition: .15s;
}
.sb-foot a:hover { color: var(--c-red); background: #fff; border-color: #fff; }

/* ── MAIN ─────────────────────────────────────────────────── */
.main { margin-left: var(--sidebar-w); flex: 1; display: flex;
        flex-direction: column; min-height: 100vh; }

.topbar {
  height: var(--topbar-h); display: flex; align-items: center;
  justify-content: space-between; padding: 0 28px;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 0 rgba(204,0,0,.08);
  position: sticky; top: 0; z-index: 100; gap: 12px;
}
.topbar-left .crumb {
  font-size: 11px; color: var(--c-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px;
}
.topbar-left .title {
  font-size: 19px; font-weight: 800; line-height: 1.2;
  letter-spacing: -.01em; color: var(--c-text);
}
.topbar-left .title span {
  font-size: 12.5px; font-weight: 600; color: var(--c-muted);
  margin-left: 10px; letter-spacing: 0;
}
.topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.content { padding: 24px 28px 48px; flex: 1; }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card + .card { margin-top: 20px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--c-border);
  background: #FEFAFA;
}
.card-title { font-size: 13.5px; font-weight: 700; }
.card-body  { padding: 20px; }

/* ── KPI CARDS ────────────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpi {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 22px 22px 18px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.kpi::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--kpi-color, var(--c-red));
}
.kpi::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at bottom right, var(--kpi-color, var(--c-red)) 0%, transparent 70%);
  opacity: .05;
}
.kpi-label { font-size: 11.5px; font-weight: 700; color: var(--c-muted);
             text-transform: uppercase; letter-spacing: .6px; }
.kpi-value { font-size: 26px; font-weight: 800; margin-top: 8px;
             letter-spacing: -1px; color: var(--c-text); line-height: 1; }
.kpi-sub   { font-size: 12px; color: var(--c-muted); margin-top: 6px; }
.kpi-icon  { position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
             font-size: 32px; opacity: .1; }

/* ── GRID ─────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none; transition: all .15s;
  font-family: var(--font); white-space: nowrap;
}
.btn-primary { background: var(--c-red); color: #fff; }
.btn-primary:hover { background: var(--c-red-dk); }
.btn-ghost   { background: transparent; color: var(--c-text);
               border: 1.5px solid var(--c-border); }
.btn-ghost:hover { background: var(--c-red-bg); color: var(--c-red);
                   border-color: var(--c-red); }
.btn-success { background: var(--c-green); color: #fff; }
.btn-success:hover { filter: brightness(.92); }
.btn-danger  { background: var(--c-red-bg); color: var(--c-red);
               border: 1px solid #FFCCCC; }
.btn-danger:hover { background: #FFE0E0; }
.btn-sm { padding: 5px 11px; font-size: 12px; }
.btn-xs { padding: 3px 9px; font-size: 11.5px; }

/* ── FORMS ────────────────────────────────────────────────── */
.form-row   { display: grid; gap: 14px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--c-muted);
                    text-transform: uppercase; letter-spacing: .4px; }
.inp, select.inp, textarea.inp {
  padding: 9px 12px; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); font-size: 13.5px; font-family: var(--font);
  background: #fff; color: var(--c-text); outline: none; transition: border .15s;
  width: 100%;
}
.inp:focus, select.inp:focus { border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(204,0,0,.08); }
textarea.inp { resize: vertical; min-height: 76px; }

/* ── FILTER BAR ───────────────────────────────────────────── */
.filters {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 12px 28px; background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}
.filters .inp, .filters select.inp { width: auto; }
.filter-search { min-width: 220px; }
.filter-select { min-width: 160px; }

/* ── TABLE ────────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead tr { background: #FFF8F8; }
th {
  padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 700;
  color: var(--c-red); text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 2px solid var(--c-red); white-space: nowrap;
}
td { padding: 11px 14px; border-bottom: 1px solid var(--c-border);
     vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--c-red-bg); }

.td-mono { font-family: var(--font-mono); font-size: 12px; }
.td-wrap { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-actions { display: flex; gap: 5px; align-items: center; }

/* ── BADGES ───────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.badge-green  { background: #DCFCE7; color: #15803D; }
.badge-amber  { background: #FEF3C7; color: #B45309; }
.badge-red    { background: var(--c-red-bg); color: var(--c-red); }
.badge-gray   { background: #F4F4F5; color: #71717A; }
.badge-blue   { background: #DBEAFE; color: #1D4ED8; }

/* ── ALERTS ───────────────────────────────────────────────── */
.alert { padding: 12px 18px; border-radius: var(--radius-sm);
         font-size: 13.5px; margin: 16px 28px 0; font-weight: 500; }
.alert-ok  { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.alert-err { background: var(--c-red-bg); color: var(--c-red-dk);
             border: 1px solid #FFCCCC; }

/* ── BAR CHART ────────────────────────────────────────────── */
.bar-list { display: flex; flex-direction: column; gap: 12px; }
.bar-item .bar-meta { display: flex; justify-content: space-between;
                      font-size: 13px; margin-bottom: 5px; font-weight: 500; }
.bar-item .bar-meta span:last-child { color: var(--c-muted); font-size: 12px; }
.bar-track { height: 7px; background: var(--c-red-bg); border-radius: 99px;
             overflow: hidden; border: 1px solid #FFCCCC; }
.bar-fill  { height: 100%; background: var(--c-red); border-radius: 99px;
             transition: width .5s cubic-bezier(.4,0,.2,1); }

/* ── MINI LOG LIST ────────────────────────────────────────── */
.log-list .log-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--c-border);
}
.log-list .log-item:last-child { border-bottom: none; }
.log-dot { width: 8px; height: 8px; border-radius: 50%;
           flex-shrink: 0; margin-top: 5px; }
.log-dot.ok  { background: var(--c-green); }
.log-dot.err { background: var(--c-red); }
.log-item b    { display: block; font-size: 13px; font-weight: 600; }
.log-item span { font-size: 12px; color: var(--c-muted); }

/* ── PAGINATION ───────────────────────────────────────────── */
.paging { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.paging a, .paging .pg-cur, .paging .pg-gap {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 8px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  text-decoration: none; border: 1px solid var(--c-border);
  color: var(--c-text); background: var(--c-surface); transition: .15s;
}
.paging a:hover { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.paging .pg-cur { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.paging .pg-gap { border: none; color: var(--c-muted); background: transparent; }
.paging-info { font-size: 12.5px; color: var(--c-muted); margin-left: 6px; }

/* ── LOGIN ────────────────────────────────────────────────── */
.login-page { min-height: 100vh; display: flex; background: var(--c-bg); }
.login-left {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  background: var(--c-red); padding: 40px;
  position: relative; overflow: hidden;
}
/* Dekorasi lingkaran putih */
.login-left::before {
  content: ''; position: absolute; width: 400px; height: 400px;
  border-radius: 50%; border: 60px solid rgba(255,255,255,.07);
  top: -100px; right: -100px;
}
.login-left::after {
  content: ''; position: absolute; width: 300px; height: 300px;
  border-radius: 50%; border: 50px solid rgba(255,255,255,.05);
  bottom: -80px; left: -80px;
}
.login-left .big-logo { font-size: 54px; font-weight: 800; color: #fff;
                        letter-spacing: -3px; line-height: 1; z-index: 1; }
.login-left .big-logo span { color: rgba(255,255,255,.5); }
.login-left p { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 14px;
                max-width: 280px; text-align: center; line-height: 1.7; z-index: 1; }
.login-right { width: 420px; display: flex; align-items: center;
               justify-content: center; padding: 40px; }
.login-box { width: 100%; }
.login-box h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.login-box .sub { font-size: 13.5px; color: var(--c-muted); margin-bottom: 28px; }

/* ── DETAIL DL ────────────────────────────────────────────── */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dl-row  { display: contents; }
.dl-row dt { background: #FFF8F8; padding: 11px 16px;
             font-size: 12px; font-weight: 700; color: var(--c-muted);
             text-transform: uppercase; letter-spacing: .4px;
             border-bottom: 1px solid var(--c-border); }
.dl-row dd { padding: 11px 16px; font-size: 13.5px;
             border-bottom: 1px solid var(--c-border); }

/* ── MODAL ────────────────────────────────────────────────── */
.modal-bg {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 500; align-items: center; justify-content: center;
}
.modal-bg.open { display: flex; }
.modal {
  background: var(--c-surface); border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(204,0,0,.15), 0 4px 16px rgba(0,0,0,.1);
  width: 560px; max-width: 95vw; max-height: 90vh; overflow-y: auto;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 2px solid var(--c-red);
  background: #FFF8F8;
}
.modal-head h3 { font-size: 15px; font-weight: 700; color: var(--c-red); }
.modal-close { background: none; border: none; cursor: pointer; font-size: 20px;
               color: var(--c-muted); line-height: 1; padding: 2px 6px;
               border-radius: 5px; transition: .15s; }
.modal-close:hover { background: var(--c-red-bg); color: var(--c-red); }
.modal-body { padding: 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px;
              padding: 14px 22px; border-top: 1px solid var(--c-border);
              background: #FFF8F8; }

/* ── MISC ─────────────────────────────────────────────────── */
.text-muted  { color: var(--c-muted); }
.text-sm     { font-size: 12px; }
.fw-700      { font-weight: 700; }
.mono        { font-family: var(--font-mono); font-size: 12.5px; }
.empty-state { text-align: center; padding: 52px 20px; color: var(--c-muted); }
.empty-state .icon { font-size: 40px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; }
.section-divider { margin: 20px 0; border: none; border-top: 1px solid var(--c-border); }

/* PATCH FINAL PELANGGAN */

/* PATCH FINAL: halaman tidak boleh geser, yang geser hanya tabel */
html, body{
  overflow-x:hidden!important;
  width:100%!important;
}
body{display:block!important;}
.sidebar{
  width:var(--sidebar-w)!important;
  left:0!important;
  top:0!important;
}
.main{
  margin-left:var(--sidebar-w)!important;
  width:calc(100vw - var(--sidebar-w))!important;
  max-width:calc(100vw - var(--sidebar-w))!important;
  min-width:0!important;
  overflow:hidden!important;
  display:block!important;
}

/* header diperkecil supaya area kanan bisa diklik */
.topbar{
  position:relative!important;
  top:auto!important;
  z-index:10!important;
  height:auto!important;
  min-height:46px!important;
  padding:6px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  background:#fff!important;
  border-bottom:2px solid var(--c-red)!important;
  overflow:visible!important;
  width:100%!important;
  max-width:100%!important;
}
.topbar-left{min-width:0!important;flex:1 1 auto!important;}
.topbar-left .crumb,.topbar .crumb{font-size:10px!important;line-height:1!important;margin:0 0 2px!important;color:var(--c-muted)!important;}
.topbar-left .title,.topbar .title{font-size:19px!important;line-height:1.05!important;margin:0!important;font-weight:800!important;white-space:nowrap!important;}
.topbar-left .title span,.topbar .title span{font-size:12px!important;font-weight:400!important;}
.topbar-right{display:flex!important;gap:7px!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;position:relative!important;z-index:50!important;}
.topbar-right .btn{
  height:36px!important;
  padding:0 16px!important;
  font-size:12.5px!important;
  border-radius:8px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
}
.topbar-right .btn-primary{
  box-shadow:0 2px 6px rgba(204,0,0,.22)!important;
}
.topbar-right .btn-primary:hover{
  box-shadow:0 3px 10px rgba(204,0,0,.3)!important;
  transform:translateY(-1px)!important;
}
.topbar-right .btn-success{
  background:#fff!important;
  color:var(--c-green)!important;
  border:1.5px solid #CDEBD8!important;
}
.topbar-right .btn-success:hover{
  background:#F3FBF6!important;
}
.topbar-right .btn-ghost{
  background:#fff!important;
  border:1.5px solid var(--c-border)!important;
  color:var(--c-muted)!important;
}
.topbar-right .btn-ghost:hover{
  border-color:#D8CCCC!important;
  color:var(--c-text)!important;
  background:#FAFAFA!important;
}

/* filter juga diperkecil dan tidak membuat halaman horizontal */
.filters{
  width:100%!important;
  max-width:100%!important;
  padding:14px 28px!important;
  display:flex!important;
  gap:10px!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  background:#FAFAFA!important;
  border-bottom:1px solid var(--c-border)!important;
}
.filters .inp{
  height:38px!important;
  padding:0 14px!important;
  font-size:13px!important;
  border:1.5px solid var(--c-border)!important;
  border-radius:8px!important;
  background:#fff!important;
  transition:border-color .15s, box-shadow .15s!important;
}
.filters .inp:hover{ border-color:#D8CCCC!important; }
.filters .inp:focus{
  border-color:var(--c-red)!important;
  box-shadow:0 0 0 3px rgba(204,0,0,.07)!important;
}
.filter-search{min-width:230px!important;max-width:320px!important;}
.filter-select{min-width:150px!important;max-width:200px!important;}

.filters .btn-primary.btn-sm{
  height:38px!important;
  padding:0 20px!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
}
.filters .btn-ghost.btn-sm{
  height:38px!important;
  padding:0 16px!important;
  border:1.5px solid var(--c-border)!important;
  border-radius:8px!important;
  color:var(--c-muted)!important;
  font-weight:600!important;
  background:#fff!important;
}
.filters .btn-ghost.btn-sm:hover{
  border-color:#D8CCCC!important;
  color:var(--c-text)!important;
}

.content{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  padding:12px 14px 28px!important;
}
.card,.card-body{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
.card-body{padding:0!important;}

/* SCROLL KHUSUS TABLE SAJA */
.tbl-wrap{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  position:relative!important;
  border:1px solid var(--c-border)!important;
  border-radius:14px!important;
  background:#fff!important;
  -webkit-overflow-scrolling:touch!important;
}
.tbl-wrap table{
  width:3600px!important;
  min-width:3600px!important;
  max-width:none!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.tbl-wrap th,.tbl-wrap td{
  padding:10px 12px!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.tbl-wrap thead th{
  position:sticky!important;
  top:0!important;
  z-index:4!important;
  background:#fff7f7!important;
}
.tbl-wrap td.td-wrap{
  white-space:normal!important;
  line-height:1.25!important;
}
.tbl-wrap .col-aksi{
  position:sticky!important;
  left:0!important;
  z-index:20!important;
  background:#fff!important;
  width:150px!important;
  min-width:150px!important;
  max-width:150px!important;
  box-shadow:2px 0 0 rgba(0,0,0,.05)!important;
  overflow:visible!important;
}
.tbl-wrap thead .col-aksi{z-index:30!important;background:#fff7f7!important;}
.tbl-wrap .col-no{
  position:sticky!important;
  left:150px!important;
  z-index:18!important;
  background:#fff!important;
  width:70px!important;
  min-width:70px!important;
  max-width:70px!important;
  box-shadow:2px 0 0 rgba(0,0,0,.03)!important;
}
.tbl-wrap thead .col-no{z-index:29!important;background:#fff7f7!important;}
.td-actions{display:flex!important;gap:7px!important;align-items:center!important;white-space:nowrap!important;overflow:visible!important;}
.td-actions form{display:inline-flex!important;margin:0!important;}

/* lebar kolom agar scroll sampai Recurring */
.tbl-wrap th:nth-child(3), .tbl-wrap td:nth-child(3){width:180px!important;}
.tbl-wrap th:nth-child(4), .tbl-wrap td:nth-child(4){width:210px!important;}
.tbl-wrap th:nth-child(5), .tbl-wrap td:nth-child(5){width:180px!important;}
.tbl-wrap th:nth-child(6), .tbl-wrap td:nth-child(6){width:110px!important;}
.tbl-wrap th:nth-child(7), .tbl-wrap td:nth-child(7){width:360px!important;}
.tbl-wrap th:nth-child(8), .tbl-wrap td:nth-child(8){width:180px!important;}
.tbl-wrap th:nth-child(9), .tbl-wrap td:nth-child(9){width:240px!important;}
.tbl-wrap th:nth-child(10), .tbl-wrap td:nth-child(10){width:220px!important;}
.tbl-wrap th:nth-child(11), .tbl-wrap td:nth-child(11){width:360px!important;}
.tbl-wrap th:nth-child(12), .tbl-wrap td:nth-child(12){width:220px!important;}
.tbl-wrap th:nth-child(13), .tbl-wrap td:nth-child(13){width:260px!important;}
.tbl-wrap th:nth-child(14), .tbl-wrap td:nth-child(14){width:180px!important;}
.tbl-wrap th:nth-child(15), .tbl-wrap td:nth-child(15){width:160px!important;}
.tbl-wrap th:nth-child(16), .tbl-wrap td:nth-child(16){width:180px!important;}
.tbl-wrap th:nth-child(17), .tbl-wrap td:nth-child(17){width:180px!important;}
.tbl-wrap th:nth-child(18), .tbl-wrap td:nth-child(18){width:160px!important;}
.tbl-wrap th:nth-child(19), .tbl-wrap td:nth-child(19){width:180px!important;}

.table-footer{padding:10px 14px!important;border-top:1px solid var(--c-border)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px!important;background:#fff!important;}
.paging{display:flex!important;gap:5px!important;align-items:center!important;flex-wrap:wrap!important;}
.paging a,.paging span{padding:6px 10px!important;border:1px solid var(--c-border)!important;border-radius:8px!important;text-decoration:none!important;background:#fff!important;color:var(--c-text)!important;}
.paging .pg-cur{background:var(--c-red)!important;color:#fff!important;border-color:var(--c-red)!important;}
.paging .pg-disabled{opacity:.45!important;}
.paging-info{color:var(--c-muted)!important;font-size:12px!important;}

/* MODAL: pakai class OPEN sesuai main.js */
.modal-bg{
  display:none!important;
  position:fixed!important;
  inset:0!important;
  background:rgba(0,0,0,.45)!important;
  z-index:999999!important;
  align-items:center!important;
  justify-content:center!important;
  padding:20px!important;
}
.modal-bg.open{display:flex!important;}
.modal{
  width:min(980px,96vw)!important;
  max-height:92vh!important;
  overflow:hidden!important;
  background:#fff!important;
  border-radius:18px!important;
  box-shadow:0 20px 70px rgba(0,0,0,.25)!important;
}
.modal-head,.modal-foot{padding:13px 18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border-bottom:1px solid var(--c-border)!important;background:#fff8f8!important;}
.modal-foot{border-top:1px solid var(--c-border)!important;border-bottom:0!important;justify-content:flex-end!important;}
.modal-body{padding:18px!important;max-height:68vh!important;overflow:auto!important;}
.modal-close{cursor:pointer!important;}
.modal-head .modal-close{border:0!important;background:transparent!important;font-size:28px!important;line-height:1!important;}
.pelanggan-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important;}
.pelanggan-form-grid label{display:flex!important;flex-direction:column!important;gap:6px!important;font-weight:600!important;}
.pelanggan-form-grid .span-2{grid-column:span 2!important;}
.pelanggan-form-grid textarea{resize:vertical!important;}
@media(max-width:760px){
  .main{margin-left:0!important;width:100vw!important;max-width:100vw!important;}
  .sidebar{display:none!important;}
  .pelanggan-form-grid{grid-template-columns:1fr!important;}
  .pelanggan-form-grid .span-2{grid-column:auto!important;}
  .filter-search,.filter-select{min-width:100%!important;max-width:100%!important;width:100%!important;}
}


/* PATCH RAPKAN DASHBOARD & SYNC: card tidak terlalu besar */
.dashboard-content,
.sync-content{
  padding:14px 16px 28px!important;
}

.dashboard-content .kpi-grid{
  gap:12px!important;
}

.dashboard-content .kpi{
  padding:16px 18px 14px!important;
  min-height:104px!important;
}

.dashboard-content .kpi-label{
  font-size:11px!important;
}

.dashboard-content .kpi-value{
  font-size:22px!important;
  letter-spacing:-.7px!important;
}

.dashboard-content .kpi-sub{
  font-size:11.5px!important;
}

.dashboard-grid{
  grid-template-columns:minmax(0,1fr) minmax(330px,.9fr)!important;
  gap:14px!important;
  margin-top:14px!important;
  align-items:start!important;
}

.dashboard-panel .card-head,
.sync-panel .card-head{
  padding:10px 16px!important;
  min-height:44px!important;
}

.dashboard-panel .card-title,
.sync-panel .card-title{
  font-size:13px!important;
}

.dashboard-panel .card-body,
.sync-panel .card-body{
  padding:12px 16px!important;
}

.revenue-am-card .card-body{
  max-height:356px!important;
  overflow-y:auto!important;
}

.revenue-am-card .bar-list{
  gap:8px!important;
}

.revenue-am-card .bar-meta{
  font-size:12px!important;
  margin-bottom:4px!important;
  gap:8px!important;
}

.revenue-am-card .bar-meta span:last-child{
  font-size:11.5px!important;
  white-space:nowrap!important;
}

.revenue-am-card .bar-track{
  height:6px!important;
}

.revenue-am-card .bar-item > div:last-child{
  font-size:10.5px!important;
  margin-top:2px!important;
}

.status-ps-card .card-body{
  padding:10px 16px!important;
  max-height:220px!important;
  overflow-y:auto!important;
}

.status-ps-card .badge{
  font-size:11px!important;
  padding:3px 9px!important;
  max-width:160px!important;
}

.status-ps-card .text-sm{
  font-size:11.5px!important;
}

.dashboard-sync-log .card-body{
  max-height:170px!important;
  overflow-y:auto!important;
}

.dashboard-panel .log-item,
.sync-panel .log-item{
  padding:8px 0!important;
  gap:10px!important;
}

.dashboard-panel .log-item b,
.sync-panel .log-item b{
  font-size:12px!important;
}

.dashboard-panel .log-item span,
.sync-panel .log-item span{
  font-size:11.5px!important;
  line-height:1.45!important;
}

.sync-content{
  display:grid!important;
  grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr)!important;
  gap:14px!important;
  align-items:start!important;
}

.sync-content .card + .card{
  margin-top:0!important;
}

.sync-pull-card .card-body{
  padding:14px 18px!important;
}

.sync-pull-card p{
  margin-bottom:12px!important;
  line-height:1.55!important;
  font-size:12px!important;
}

.sync-pull-card .btn{
  height:34px!important;
  padding:7px 14px!important;
  font-size:12.5px!important;
}

.sync-history-card .card-body{
  padding:8px 16px!important;
  max-height:430px!important;
  overflow-y:auto!important;
}

@media(max-width:1100px){
  .dashboard-grid,
  .sync-content{
    grid-template-columns:1fr!important;
  }
  .revenue-am-card .card-body,
  .status-ps-card .card-body,
  .dashboard-sync-log .card-body,
  .sync-history-card .card-body{
    max-height:none!important;
  }
}

@media(max-width:760px){
  .dashboard-content .kpi-grid{
    grid-template-columns:1fr!important;
  }
  .dashboard-grid{
    grid-template-columns:1fr!important;
  }
  .dashboard-content,
  .sync-content{
    padding:12px!important;
  }
  .sync-content{
    display:block!important;
  }
  .sync-content .card + .card{
    margin-top:14px!important;
  }
}

/* =========================================================
   FINAL DASHBOARD FIX - JANGAN HAPUS
   Target: KPI 3 kolom, Revenue kiri, Status PS kanan
   ========================================================= */

.dashboard-content{
  padding:14px 16px 28px!important;
}

/* KPI harus tetap 3 kolom seperti gambar contoh */
.dashboard-content .kpi-grid,
.kpi-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}

.dashboard-content .kpi{
  padding:16px 18px 14px!important;
  min-height:104px!important;
}

.dashboard-content .kpi-value{
  font-size:22px!important;
  letter-spacing:-.7px!important;
}

/* Revenue per AM kiri, Status PS kanan */
.dashboard-grid,
.grid-2.dashboard-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(330px,.95fr)!important;
  gap:18px!important;
  align-items:start!important;
  margin-top:14px!important;
  width:100%!important;
}

.dashboard-right-col{
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  min-width:0!important;
  width:100%!important;
}

.dashboard-grid > .card,
.dashboard-right-col > .card{
  margin-top:0!important;
}

.dashboard-panel .card-head{
  padding:10px 16px!important;
  min-height:44px!important;
}

.dashboard-panel .card-title{
  font-size:13px!important;
}

.dashboard-panel .card-body{
  padding:12px 16px!important;
}

.revenue-am-card .card-body{
  max-height:356px!important;
  overflow-y:auto!important;
}

.status-ps-card .card-body{
  max-height:220px!important;
  overflow-y:auto!important;
}

.dashboard-sync-log .card-body{
  max-height:170px!important;
  overflow-y:auto!important;
}

.revenue-am-card .bar-list{
  gap:8px!important;
}

.revenue-am-card .bar-meta{
  font-size:12px!important;
  margin-bottom:4px!important;
  gap:8px!important;
}

.revenue-am-card .bar-track{
  height:6px!important;
}

.status-ps-card .badge{
  font-size:11px!important;
  padding:3px 9px!important;
  max-width:160px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

@media(max-width:900px){
  .dashboard-content .kpi-grid,
  .kpi-grid,
  .dashboard-grid,
  .grid-2.dashboard-grid{
    grid-template-columns:1fr!important;
  }

  .revenue-am-card .card-body,
  .status-ps-card .card-body,
  .dashboard-sync-log .card-body{
    max-height:none!important;
  }
}
/* FIX DARURAT: matikan overlay yang tidak sedang dibuka */
.plg-overlay:not(.plg-open),
.modal-bg:not(.open),
.overlay:not(.open),
#modalTambah:not(.plg-open),
#modalEdit:not(.plg-open),
#modal-tambah:not(.open),
#modal-edit:not(.open){
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* pastikan tombol bisa diklik */
.topbar,
.filters,
.content,
.tbl-wrap,
.td-actions,
.td-actions form,
.btn,
button,
a,
input,
select {
  pointer-events: auto !important;
}

/* =========================================================
   REVISI FINAL CRUD PELANGGAN - NO JS DEPENDENCY
   Tambah/Edit pakai URL pelanggan.php?add=1 / ?edit=id
   ========================================================= */
.plg-overlay{
  display:none!important;
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  background:rgba(0,0,0,.45)!important;
  z-index:999999!important;
  align-items:center!important;
  justify-content:center!important;
  padding:20px!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.plg-overlay.plg-open{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.plg-modal{
  width:min(980px,96vw)!important;
  max-height:92vh!important;
  overflow:hidden!important;
  background:#fff!important;
  border-radius:18px!important;
  box-shadow:0 20px 70px rgba(0,0,0,.25)!important;
  position:relative!important;
  z-index:1000000!important;
}
.plg-modal-head,
.plg-modal-foot{
  padding:13px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  background:#fff8f8!important;
  border-bottom:1px solid var(--c-border)!important;
}
.plg-modal-head h3{margin:0!important;color:var(--c-red)!important;font-size:15px!important;}
.plg-modal-foot{border-top:1px solid var(--c-border)!important;border-bottom:0!important;justify-content:flex-end!important;}
.plg-modal-body{padding:18px!important;max-height:68vh!important;overflow:auto!important;}
.plg-x{border:0!important;background:transparent!important;font-size:28px!important;line-height:1!important;cursor:pointer!important;color:var(--c-muted)!important;text-decoration:none!important;}
.plg-x:hover{color:var(--c-red)!important;}
.plg-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important;}
.plg-form-grid label{display:flex!important;flex-direction:column!important;gap:6px!important;font-weight:600!important;}
.plg-form-grid .col2{grid-column:span 2!important;}
.plg-form-grid textarea{resize:vertical!important;}

.topbar-right,
.topbar-right a,
.topbar-right button,
.td-actions,
.td-actions a,
.td-actions button,
.td-actions form{
  pointer-events:auto!important;
  position:relative!important;
  z-index:60!important;
}

@media(max-width:760px){
  .plg-form-grid{grid-template-columns:1fr!important;}
  .plg-form-grid .col2{grid-column:auto!important;}
}
/* === LOGO SIDEBAR IMAGE === */
.sb-logo {
  width: 50px !important;
  height: 50px !important;
  background: #fff !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  padding: 6px !important;
}

.sb-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}
/* ============================================================
   public.css — Halaman Publik RVNU Telkom
   Warna diperbarui: Merah (#CC0000) → Biru (#0477E0)
   Revisi UI/UX: animasi judul per-kata, section Mitra dark elegant
   + logo box, carousel Promosi (gambar tidak terpotong kotak)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #0477E0;
  --blue-dk:   #0358A8;
  --blue-lt:   #3B9AFF;
  --blue-bg:   #F0F7FF;
  --text:      #0F0F0F;
  --text-2:    #4A4A4A;
  --text-3:    #888;
  --bg:        #F8F8F8;
  --surface:   #FFFFFF;
  --border:    #EBEBEB;
  --border-2:  #D8D8D8;
  --green:     #16A34A;
  --blue-chart:#1D4ED8;
  --r-sm:      8px;
  --r:         14px;
  --r-lg:      20px;
  --r-xl:      28px;
  --font:      'Plus Jakarta Sans', system-ui, sans-serif;
  --sh-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh:        0 4px 20px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --sh-lg:     0 12px 48px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-name { display: block; font-size: 16px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.nav-sub  { display: block; font-size: 10.5px; color: var(--text-3); font-weight: 500; }
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: all .15s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-bg); }
.nav-cta { flex-shrink: 0; }
.btn-outline-nav {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1.5px solid var(--blue);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  transition: all .15s;
}
.btn-outline-nav:hover { background: var(--blue); color: #fff; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 28px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.nav-mobile.open { display: flex; }
.nav-m-link {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.nav-m-link:last-child { border-bottom: none; }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #F0F7FF 60%, #fff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .12;
}
.hero-shape.s1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; right: -150px;
}
.hero-shape.s2 {
  width: 400px; height: 400px;
  background: #60AEFF;
  bottom: -100px; left: -100px;
}
.hero-shape.s3 {
  width: 300px; height: 300px;
  background: var(--blue-dk);
  top: 40%; right: 20%;
  opacity: .06;
}
.hero-inner { position: relative; z-index: 1; }

/* ── HERO ENTRANCE ANIMATION ── */
.hero-anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--delay, 0s);
}
.hero-anim.hero-anim-in {
  opacity: 1;
  transform: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--blue-bg);
  border: 1px solid #B3D9FF;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 28px;
  letter-spacing: .02em;
}
.dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-accent {
  color: var(--blue);
}

/* ── HERO TITLE: animasi masuk per-kata, kiri → kanan, pelan ── */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateX(-46px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1),
              transform .85s cubic-bezier(.16,1,.3,1);
  /* setiap kata mendapat delay tambahan sesuai urutannya (--i) */
  transition-delay: calc(.15s + var(--i) * .14s);
  will-change: transform, opacity;
}
.hero-title.word-in .word {
  opacity: 1;
  transform: none;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(4,119,224,.3);
}
.btn-hero-primary:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(4,119,224,.35);
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  transition: all .2s;
}
.btn-hero-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-bg);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.02em;
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-stat-div {
  width: 1px;
  height: 40px;
  background: var(--border-2);
}

/* ── SECTION BASE ──────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-gray { background: var(--bg); }
.section-dark {
  background: linear-gradient(135deg, #0F0F0F 0%, #001A33 100%);
  color: #fff;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--blue-bg);
  border: 1px solid #B3D9FF;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-tag.light {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }
.section-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-desc.light { color: rgba(255,255,255,.7); }

/* ── MITRA: SECTION DARK ELEGANT (versi lebih terang & nyaman) ──
   Revisi: sebelumnya terlalu gelap & ada glow radial yang bikin
   bayangan aneh di sisi kartu. Sekarang gradasi navy lebih terang,
   tanpa glow blur di pinggir. ── */
.section-mitra {
  position: relative;
  background: linear-gradient(165deg, #16263F 0%, #1C3D68 55%, #16294A 100%);
}
.section-mitra .container { position: relative; z-index: 1; }

/* ── MITRA FILTER & SEARCH ─────────────────────────────────── */
.mitra-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.mf-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border-2);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font);
}
.mf-btn:hover, .mf-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
/* Variant gelap untuk filter di dalam section-mitra */
.section-mitra .mf-btn {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.78);
}
.section-mitra .mf-btn:hover,
.section-mitra .mf-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.mitra-search-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.mitra-search {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.srch-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
}
.mitra-search input {
  width: 100%;
  height: 48px;
  padding: 0 18px 0 44px;
  border: 1.5px solid var(--border-2);
  border-radius: 999px;
  font-size: 14px;
  font-family: var(--font);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: var(--sh-sm);
}
.mitra-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(4,119,224,.08);
}
/* Variant gelap untuk search di dalam section-mitra */
.section-mitra .mitra-search input {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: #fff;
  box-shadow: none;
}
.section-mitra .mitra-search input::placeholder { color: rgba(255,255,255,.4); }
.section-mitra .mitra-search input:focus {
  border-color: var(--blue-lt);
  box-shadow: 0 0 0 4px rgba(4,119,224,.18);
}
.section-mitra .srch-icon circle,
.section-mitra .srch-icon path { stroke: rgba(255,255,255,.45); }

/* ── MITRA CAROUSEL (auto-slide ke kanan) ──────────────────── */
.mitra-carousel {
  overflow: hidden;
  position: relative;
}
.mitra-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: mitraScroll 24s linear infinite;
}
/* hover-pause dihapus — dikelola JS */
@keyframes mitraScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mitra-carousel.mitra-empty { -webkit-mask-image: none; mask-image: none; }
.mitra-carousel.mitra-empty .mitra-track { animation: none; width: 100%; justify-content: center; }
.mitra-track .mitra-card {
  flex: 0 0 300px;
  width: 300px;
}
.mitra-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.mitra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.mitra-card.hidden { display: none; }

/* ── MITRA CARD TOP: bisa diisi gambar cover + logo di kotak biru ── */
.mitra-card-top {
  position: relative;
  height: 132px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.20), transparent 55%),
    linear-gradient(135deg, #0C2B52 0%, #0477E0 55%, #1C6FE0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
/* Pola halus di atas gradient, biar tetap elegan walau belum ada foto */
.mitra-card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px);
  opacity: .6;
  pointer-events: none;
}
/* Cover image (opsional, kalau nanti ada gambar per-mitra) */
.mitra-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mitra-cover-img + .mitra-card-top::before,
.mitra-card-top:has(.mitra-cover-img)::before {
  background: linear-gradient(180deg, rgba(4,30,60,.15), rgba(2,12,26,.55));
  opacity: 1;
}
.mitra-img { width: 100%; height: 100%; }
.mitra-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Kotak biru → logo box (frosted glass) */
.mitra-avatar {
  position: relative;
  z-index: 1;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  overflow: hidden;
}
.mitra-avatar img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
}
/* Logo placeholder ("halo") — tinggal ganti jadi <img> kalau sudah ada logo asli */
.mitra-logo-placeholder {
  font-family: var(--font);
  font-weight: 800;
  font-style: italic;
  font-size: 19px;
  letter-spacing: -.02em;
  color: #fff;
  text-transform: lowercase;
  display: inline-flex;
  align-items: flex-start;
  gap: 3px;
}
.mitra-logo-placeholder::after {
  content: '';
  width: 5px; height: 5px;
  margin-top: 3px;
  border-radius: 50%;
  background: #5FE0C0;
  flex-shrink: 0;
}

.mitra-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  z-index: 1;
}
.tipe-indibiz { background: #EEF2FF; color: #4F46E5; }
.tipe-datin   { background: #ECFDF5; color: #10B981; }
.mitra-card-body { padding: 20px 20px 14px; flex: 1; }
.mitra-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.mitra-paket, .mitra-alamat {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 8px;
  line-height: 1.5;
}
.mitra-paket svg, .mitra-alamat svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-3);
}
.mitra-revenue {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.01em;
}
.mitra-revenue span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  margin-left: 3px;
}
.mitra-card-foot {
  padding: 12px 20px;
  background: #FAFAFA;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mitra-status {
  font-size: 12px;
  font-weight: 700;
}
.status-aktif { color: var(--green); }
.mitra-am {
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 600;
}
.empty-mitra {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-3);
}
.section-mitra .empty-mitra { color: rgba(255,255,255,.55); }
.empty-icon { font-size: 48px; margin-bottom: 16px; }

/* ── CHART ─────────────────────────────────────────────────── */
.chart-grid {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.chart-card-dark {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  margin-top: 24px;
}
.chart-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.chart-card-head.dark { border-bottom-color: rgba(255,255,255,.1); }
.chart-title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.chart-title.light { color: #fff; }
.chart-sub { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.chart-legend { display: flex; gap: 12px; align-items: center; }
.leg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
}
.leg::before {
  content: '';
  display: block;
  width: 12px; height: 12px;
  border-radius: 3px;
}
.leg.indibiz::before { background: #1883FF; }
.leg.datin::before   { background: #99CAFF; }
.chart-wrap {
  padding: 20px 20px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
:root {
  /* ... variabel lain ... */
  --blue-chart:     #1883FF;
  --blue-chart-lt:  #99CAFF;
}
.leg.indibiz::before { background: var(--blue-chart); }
.leg.datin::before   { background: var(--blue-chart-lt); }

.chart-wrap canvas { width: 100% !important; }
.chart-wrap-sm { padding: 16px; }
.saham-src {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  font-weight: 600;
  padding: 4px 8px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-sm);
}
.saham-note {
  font-size: 11.5px;
  color: rgba(255,255,255,.35);
  text-align: center;
  margin-top: 20px;
}

/* ── TICKER ────────────────────────────────────────────────── */
.saham-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 0;
}
.ticker-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  min-width: 120px;
}
.ticker-label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.ticker-val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.ticker-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* ── PROMO ─────────────────────────────────────────────────── */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Carousel auto-slide pelan untuk Promosi & Paket Spesial */
.promo-carousel {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.promo-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: promoScroll 32s linear infinite;
}
/* hover-pause dihapus — dikelola JS */
@keyframes promoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.promo-carousel.promo-empty { -webkit-mask-image: none; mask-image: none; }
.promo-carousel.promo-empty .promo-track { animation: none; width: 100%; justify-content: center; }
.promo-track .promo-card {
  flex: 0 0 320px;
  width: 320px;
}

.promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

/* Gambar promo: tidak dipotong jadi kotak — pakai backdrop blur dari
   gambar itu sendiri supaya tetap penuh & elegan walau rasio aslinya
   beda-beda (foto, screenshot daftar harga, dll). */
.promo-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #0B1320;
}
.promo-img-bg {
  position: absolute;
  inset: -12%;
  background-size: cover;
  background-position: center;
  filter: blur(26px) brightness(.55) saturate(1.4);
  transform: scale(1.1);
}
.promo-img img.promo-img-real {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
  cursor: zoom-in;
  transition: transform .2s;
}
.promo-img img.promo-img-real:hover { transform: scale(1.03); }

/* ── PROMO LIGHTBOX (klik gambar promo utk perbesar) ── */
.promo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(5,8,14,.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.promo-lightbox.active { opacity: 1; visibility: visible; }
.promo-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  background: #fff;
}
.promo-lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.promo-lightbox-close:hover { background: rgba(255,255,255,.22); }
.promo-img-placeholder {
  background: linear-gradient(135deg, #EBF4FF, #F5F9FF);
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-icon { font-size: 52px; }
.promo-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.promo-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.promo-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.promo-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; flex: 1; }
.promo-cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  transition: gap .15s;
}
.promo-cta:hover { text-decoration: underline; }

/* ── KONTAK ─────────────────────────────────────────────────── */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.kontak-info { display: flex; flex-direction: column; gap: 28px; }
.kontak-item { display: flex; align-items: flex-start; gap: 16px; }
.kontak-icon {
  width: 44px; height: 44px;
  background: var(--blue-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.kontak-label { font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.kontak-val { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.6; }
.kontak-form-wrap {}
.kontak-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--sh);
}
.kontak-form-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.kontak-form { display: flex; flex-direction: column; gap: 16px; }
.kf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kontak-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.kf-inp {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}
.kf-inp:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(4,119,224,.08);
}
.kf-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(4,119,224,.25);
  margin-top: 4px;
}
.kf-submit:hover {
  background: var(--blue-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(4,119,224,.3);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: #0F0F0F;
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 280px;
}
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.25);
  text-align: center;
}

/* ── SCROLL ANIMATE ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--delay, 0s);
}
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .chart-grid { grid-template-columns: 1.7fr 1fr; gap: 18px; }
  .kontak-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 20px; }
  .section { padding: 72px 0; }
  .chart-grid { grid-template-columns: 1.4fr 1fr; gap: 12px; }
  .chart-card-head { padding: 16px 16px 12px; }
  .chart-wrap { padding: 14px 10px 8px; }
  .chart-title { font-size: 13.5px; }
  .chart-sub { font-size: 11px; }
  .mitra-track .mitra-card { flex: 0 0 260px; width: 260px; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-track .promo-card { flex: 0 0 280px; width: 280px; }
  .promo-img { height: 170px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 28px; }
  .kf-row { grid-template-columns: 1fr; }
  .kontak-form-card { padding: 24px; }
  .saham-ticker { gap: 0; }
  .ticker-item { padding: 12px 0; min-width: 50%; }
  .ticker-div { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 34px; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-ghost { text-align: center; justify-content: center; }
  .chart-grid { grid-template-columns: 1.15fr 1fr; gap: 8px; }
  .chart-card-head { padding: 12px 12px 10px; flex-wrap: nowrap; }
  .chart-title { font-size: 12px; }
  .chart-sub { display: none; }
  .mitra-track .mitra-card { flex: 0 0 230px; width: 230px; }
  .promo-carousel { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); }
  .promo-track .promo-card { flex: 0 0 240px; width: 240px; }
  .promo-img { height: 150px; }
}
/* ══════════════════════════════════════════════════════
   HERO — Full background photo dengan overlay gelap
   GANTIKAN blok ".hero-grid / .hero-col-* / .hero-img-*"
   yang ditambahkan sebelumnya (kalau sudah sempat ditempel,
   hapus blok lama itu) — lalu tempel blok ini sebagai
   gantinya di akhir file assets/css/main.css
   ══════════════════════════════════════════════════════ */

.hero-photo {
  position: relative;
  background: #0B1320; /* fallback warna sebelum gambar termuat */
  overflow: hidden;
}

/* Foto background, full-bleed menutupi seluruh section hero */
.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
/* Overlay gelap di atas foto supaya teks tetap terbaca jelas.
   Gradasi: lebih gelap di kiri-bawah (tempat teks berada),
   sedikit lebih terang di kanan supaya detail foto masih terlihat. */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5,10,20,.88) 0%, rgba(8,16,30,.72) 38%, rgba(8,16,30,.42) 65%, rgba(8,16,30,.30) 100%),
    linear-gradient(180deg, rgba(5,10,20,.35) 0%, rgba(5,10,20,.10) 30%, rgba(5,10,20,.55) 100%);
}

.hero-photo .hero-inner { position: relative; z-index: 1; }

/* Tag pill di atas foto gelap — versi terang */
.hero-photo .hero-tag {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-photo .hero-tag .dot { background: var(--blue-lt); }

/* Judul & deskripsi jadi putih agar kontras dengan foto gelap */
.hero-photo .hero-title { color: #fff; }
.hero-photo .hero-title .hero-accent { color: var(--blue-lt); }
.hero-photo .hero-desc { color: rgba(255,255,255,.82); }

/* Tombol ghost disesuaikan supaya terlihat di atas foto */
.hero-photo .btn-hero-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
}
.hero-photo .btn-hero-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.14);
  color: #fff;
}

/* Statistik (angka mitra, layanan aktif, revenue) jadi terang */
.hero-photo .hero-stat-val { color: #fff; }
.hero-photo .hero-stat-lbl { color: rgba(255,255,255,.62); }
.hero-photo .hero-stat-div { background: rgba(255,255,255,.22); }

@media (max-width: 768px) {
  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(5,10,20,.55) 0%, rgba(5,10,20,.45) 35%, rgba(5,10,20,.88) 100%);
  }
}

.carousel-outer {
  position: relative;
}
/* ══════════════════════════════════════════════════════════════
   CAROUSEL NAV BUTTONS — Prev / Next
   Tempel di akhir assets/css/main.css
   ══════════════════════════════════════════════════════════════ */

/* Wrapper yang dibuat JS membungkus carousel — posisi relative
   agar tombol bisa pakai top:50% tanpa terpotong overflow carousel */
.carousel-nav-wrap {
  position: relative;
}

/* Tombol prev / next */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, box-shadow .18s, opacity .18s;
  opacity: .9;
  /* Jangan terpotong wrapper, tapi wrapper sudah overflow:visible */
}
.carousel-btn:hover {
  opacity: 1;
}
.carousel-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none; /* penting: SVG tidak boleh jadi target event */
}

/* Posisi horizontal — sedikit di luar carousel */
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }

/* Versi terang — promo (background putih/abu) */
.carousel-btn-light {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.15), 0 1px 4px rgba(0,0,0,.08);
  color: var(--blue);
}
.carousel-btn-light:hover {
  background: var(--blue-bg);
  box-shadow: 0 4px 20px rgba(4,119,224,.25);
  color: var(--blue-dk);
}

/* Versi gelap — mitra (navy) */
.carousel-btn-dark {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.carousel-btn-dark:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(4,119,224,.45);
}

/* Responsif */
@media (max-width: 768px) {
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-btn.prev { left: 4px; }
  .carousel-btn.next { right: 4px; }
}
@media (max-width: 480px) {
  .carousel-btn { width: 32px; height: 32px; opacity: 1; }
  .carousel-btn svg { width: 16px; height: 16px; }
  .carousel-btn.prev { left: 2px; }
  .carousel-btn.next { right: 2px; }
}