/* =========================================================
   Diplogs - Company Profile
   Palet: Orange · Putih · Biru
   ========================================================= */
:root {
    --blue-900: #0a1f5c;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-100: #dbe7ff;
    --blue-50: #f1f6ff;
    --orange-600: #f26100;
    --orange-500: #ff7a1a;
    --orange-100: #ffe9d6;
    --ink: #0f1b3d;
    --muted: #5a6785;
    --line: rgba(15, 27, 61, .09);
    --glass: rgba(255, 255, 255, .72);
    --radius: 18px;
    --shadow: 0 12px 32px -14px rgba(10, 31, 92, .28);
    --grad: linear-gradient(120deg, var(--orange-500) 0%, var(--blue-600) 100%);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    font: 15px/1.65 var(--font);
    color: var(--ink);
    background: linear-gradient(180deg, #fff 0%, #f5f9ff 55%, #fff 100%);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; }

#bg-canvas {
    position: fixed; inset: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}
main, .footer { position: relative; z-index: 1; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.glass {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
    font: 600 14px/1 var(--font); transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--primary {
    color: #fff; background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    box-shadow: 0 10px 22px -8px rgba(242, 97, 0, .6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -8px rgba(242, 97, 0, .7); }
.btn--ghost { color: var(--blue-700); background: #fff; border: 1px solid var(--blue-100); }
.btn--ghost:hover { background: var(--blue-50); transform: translateY(-2px); }
.btn:disabled { opacity: .75; cursor: progress; transform: none; }

/* ---------- Navbar ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav__inner {
    width: min(1120px, 100%); margin: 0 auto; padding: 8px 10px 8px 18px;
    display: flex; align-items: center; justify-content: space-between;
    border-radius: 999px; background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 8px 28px -14px rgba(10, 31, 92, .3);
    transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled .nav__inner { background: rgba(255, 255, 255, .9); box-shadow: 0 14px 34px -14px rgba(10, 31, 92, .4); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand b { color: var(--orange-500); font-weight: 800; }
.brand__logo { display: block; height: 36px; width: auto; }
.brand__logo--dark { display: none; }
html[data-theme]:not([data-theme="light"]) .brand__logo--light { display: none; }
html[data-theme]:not([data-theme="light"]) .brand__logo--dark { display: block; }
.brand__mark {
    width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
    box-shadow: 0 6px 14px -6px rgba(37, 99, 235, .7);
}
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a:not(.btn) { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: .2s; }
.nav__links a:not(.btn):hover { color: var(--ink); background: var(--blue-50); }
.nav__links a.is-active { color: var(--blue-700); background: var(--blue-50); }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--blue-50); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--blue-900); border-radius: 2px; transition: .25s; }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 22px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 60px; }
.hero--sm { min-height: 72vh; padding-bottom: 20px; }
.hero__copy { max-width: 590px; }
.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
    background: #fff; border: 1px solid var(--orange-100); color: var(--orange-600);
    font-size: 12.5px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 6px 16px -10px rgba(242, 97, 0, .6);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 0 rgba(255, 122, 26, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 122, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); } }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; margin: 18px 0 16px; }
.lead { font-size: 16.5px; color: var(--muted); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__trust { display: flex; gap: 30px; margin-top: 34px; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-size: 24px; font-weight: 800; color: var(--blue-900); line-height: 1.1; }
.hero__trust span { font-size: 12.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section__head { max-width: 620px; margin-bottom: 30px; }
.eyebrow { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); }
.eyebrow--light { color: #ffc999; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section__head p { margin-top: 10px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { padding-bottom: 8px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 10px; }
.stats__grid > div { text-align: center; padding: 6px 10px; border-right: 1px solid var(--line); }
.stats__grid > div:last-child { border-right: 0; }
.stats__grid b { display: block; font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__grid span { font-size: 13px; color: var(--muted); }

/* ---------- Cards ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 22px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -16px rgba(10, 31, 92, .35); }
.card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 6px; }
.card p { font-size: 14px; color: var(--muted); }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.icon--orange { color: var(--orange-600); background: var(--orange-100); }
.icon--blue { color: var(--blue-600); background: var(--blue-100); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 22px; position: relative; overflow: hidden; }
.step__no { font-size: 40px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.step h3 { font-size: 17px; margin: 12px 0 6px; }
.step p { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100); font-size: 13px; font-weight: 600; color: var(--blue-700); transition: .2s; }
.chip:hover { border-color: var(--orange-500); color: var(--orange-600); transform: translateY(-2px); }

/* ---------- CTA + Form ---------- */
.cta {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; padding: 38px; border: 0;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%); color: #fff;
    position: relative; overflow: hidden;
}
.cta::after {
    content: ''; position: absolute; width: 340px; height: 340px; right: -110px; top: -130px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 26, .55), transparent 65%); pointer-events: none;
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.cta__copy p { color: #cfdcff; }
.cta__list { margin-top: 18px; display: grid; gap: 8px; }
.cta__list li { position: relative; padding-left: 26px; font-size: 14px; color: #e6eeff; }
.cta__list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }

.form { display: grid; gap: 12px; background: #fff; padding: 20px; border-radius: 16px; color: var(--ink); position: relative; z-index: 1; box-shadow: 0 24px 44px -20px rgba(0, 0, 0, .5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.form input, .form textarea {
    width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--blue-50);
    font: 500 14px var(--font); color: var(--ink); outline: none; transition: .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.form .is-invalid { border-color: #e5484d; background: #fff6f6; }
.err { color: #d13438; font-size: 12px; font-weight: 500; min-height: 0; }
.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Profile ---------- */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: stretch; }
.about__text { padding: 30px; }
.about__text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.about__text p { color: var(--muted); margin-bottom: 10px; }
.about__mv { display: grid; gap: 16px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num { font-size: 30px; font-weight: 800; }
.num--orange { color: var(--orange-500); }
.num--blue { color: var(--blue-600); }
.values .card h3 { margin-top: 6px; }

.timeline { position: relative; display: grid; gap: 14px; padding-left: 0; }
.timeline::before { content: ''; position: absolute; left: 47px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--orange-500), var(--blue-600)); opacity: .35; }
.tl { display: grid; grid-template-columns: 96px 1fr; align-items: start; gap: 6px; }
.tl__year {
    position: relative; z-index: 1; justify-self: start; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; color: #fff;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); box-shadow: 0 8px 16px -8px rgba(242, 97, 0, .7);
}
.tl__body { padding: 16px 20px; }
.tl__body h3 { font-size: 16px; margin-bottom: 4px; }
.tl__body p { font-size: 14px; color: var(--muted); }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member { padding: 24px 18px; text-align: center; transition: transform .25s; }
.member:hover { transform: translateY(-5px); }
.member h3 { font-size: 16px; margin-top: 12px; }
.member p { font-size: 13px; color: var(--muted); }
.avatar { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; }
.avatar--orange { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); box-shadow: 0 10px 20px -8px rgba(242, 97, 0, .6); }
.avatar--blue { background: linear-gradient(135deg, var(--blue-600), var(--blue-900)); box-shadow: 0 10px 20px -8px rgba(37, 99, 235, .6); }

.banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 34px; }
.banner h2 { font-size: 24px; font-weight: 800; }
.banner p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { margin-top: 30px; padding-top: 44px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer__desc { margin-top: 12px; max-width: 340px; color: var(--muted); font-size: 14px; }
.footer__col { display: grid; gap: 6px; align-content: start; font-size: 14px; color: var(--muted); }
.footer__col h4 { color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.footer__col a:hover { color: var(--orange-600); }
.footer__bottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 16px 0 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
    max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; color: #fff;
    background: var(--blue-900); box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); transition: .35s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast--success { background: linear-gradient(135deg, #0f9d58, #0b7a44); }
.toast--error { background: linear-gradient(135deg, #e5484d, #b3262b); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .bento, .values { grid-template-columns: repeat(2, 1fr); }
    .steps, .team { grid-template-columns: repeat(2, 1fr); }
    .cta, .about { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-top: 130px; }
    .hero__copy { max-width: 100%; }
}
@media (max-width: 720px) {
    .nav__toggle { display: block; }
    .nav__links {
        position: absolute; top: 62px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
        background: rgba(255, 255, 255, .96); border-radius: 22px; box-shadow: var(--shadow);
        opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .25s;
    }
    .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .nav__links a:not(.btn) { padding: 12px 16px; }
    .nav__cta { margin: 4px 0 0; padding: 13px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
    .stats__grid > div:nth-child(2) { border-right: 0; }
    .form__row { grid-template-columns: 1fr; }
    .cta { padding: 24px 18px; }
    .footer__inner { grid-template-columns: 1fr; }
    .banner { flex-direction: column; align-items: flex-start; }
    .tl { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
    .hero__trust { gap: 22px; }
}
@media (max-width: 520px) {
    .bento, .values, .steps, .team { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .dot { animation: none; }
}

/* ---------- Tombol mode animasi ---------- */
.motion-toggle {
    position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--blue-100); background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px); color: var(--blue-900); font: 600 12px/1 var(--font); cursor: pointer;
    box-shadow: 0 8px 20px -10px rgba(10, 31, 92, .4); transition: .2s;
}
.motion-toggle:hover { border-color: var(--orange-500); transform: translateY(-2px); }
.motion-toggle i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); }

/* ---------- Halaman Customer (jaringan terhubung) ---------- */
.hero--xs { min-height: auto; padding: 128px 0 22px; }
.hero--xs h1 { font-size: clamp(28px, 4.4vw, 44px); }
.dummy-note { font-style: normal; font-size: 12.5px; padding: 2px 9px; border-radius: 999px; background: var(--orange-100); color: var(--orange-600); white-space: nowrap; }

.cus-stats { padding-bottom: 6px; }
.cus-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 14px 6px; }
.cus-stats__grid > div { display: grid; text-align: center; padding: 2px 8px; }
.cus-stats__grid > div + div { border-left: 1px solid var(--line); }
.cus-stats__grid b { font-size: 26px; font-weight: 800; line-height: 1.2; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cus-stats__grid span { font-size: 12px; color: var(--muted); font-weight: 500; }

.cus-table { padding-top: 22px; }
.cus-card { padding: 14px 16px 12px; position: relative; }
.cus-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.cus-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.cus-filter button { font: 600 12.5px/1 var(--font); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--blue-100); background: transparent; color: var(--muted); cursor: pointer; transition: .2s; }
.cus-filter button:hover { color: var(--orange-600); border-color: var(--orange-500); }
.cus-filter button.is-active { color: #fff; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); border-color: transparent; box-shadow: 0 6px 14px -6px rgba(242, 97, 0, .6); }
.cus-sort { font: 500 13px/1 var(--font); padding: 9px 12px; border-radius: 10px; border: 1px solid var(--blue-100); background: rgba(255, 255, 255, .6); color: var(--ink); outline: none; }

/* hub pusat */
.cus-hub { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; margin: 14px 0 0; text-align: center; }
.cus-hub__core { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--orange-500), var(--blue-600)); box-shadow: 0 0 0 6px rgba(255, 122, 26, .14), 0 12px 30px -8px rgba(37, 99, 235, .6); }
.cus-hub__core::before, .cus-hub__core::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--orange-500); opacity: 0; animation: hubRing 3s ease-out infinite; }
.cus-hub__core::after { animation-delay: 1.5s; border-color: var(--blue-600); }
.cus-hub b { font-size: 13px; letter-spacing: .04em; }
.cus-hub small { font-size: 12px; color: var(--muted); }

/* jaringan: Datatables dirender sebagai kartu yang tersambung ke rel tengah */
.cus-card .dt-layout-table { overflow: visible; }
.cus-net, .cus-net tbody { display: block; width: 100% !important; }
.cus-net thead { display: none; }
.cus-net tbody { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 76px; row-gap: 14px; padding: 16px 0 18px; }
.cus-net tbody::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; border-radius: 2px; background: linear-gradient(180deg, var(--orange-500), var(--blue-600) 60%, transparent); opacity: .55; }
.cus-net tbody::after { content: ''; position: absolute; left: 50%; top: 0; width: 6px; height: 90px; margin-left: -3px; border-radius: 6px; background: linear-gradient(180deg, transparent, var(--orange-500), #fff); filter: blur(1.5px); animation: railPulse 4.5s linear infinite; pointer-events: none; }
.cus-net tr { position: relative; display: block; }
.cus-net tr:nth-child(even) { margin-top: 38px; }
.cus-net td { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .65); backdrop-filter: blur(6px); transition: border-color .25s, box-shadow .25s, transform .25s; }
.cus-net tr:hover td { border-color: var(--orange-500); box-shadow: 0 12px 26px -14px rgba(242, 97, 0, .55); transform: translateY(-2px); }
/* konektor: garis dari kartu ke rel + titik simpul */
.cus-net tr::before { content: ''; position: absolute; top: 30px; height: 2px; width: 38px; background: linear-gradient(90deg, var(--blue-600), var(--orange-500)); opacity: .7; }
.cus-net tr::after { content: ''; position: absolute; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--c, #0f9d58); box-shadow: 0 0 0 4px rgba(255, 255, 255, .5), 0 0 12px var(--c, #0f9d58); }
.cus-net tr:nth-child(odd)::before { right: -38px; transform-origin: left; }
.cus-net tr:nth-child(odd)::after { right: -44px; }
.cus-net tr:nth-child(even)::before { left: -38px; transform-origin: right; background: linear-gradient(270deg, var(--blue-600), var(--orange-500)); }
.cus-net tr:nth-child(even)::after { left: -44px; }
.cus-net tr.st-active { --c: #0f9d58; }
.cus-net tr.st-trial { --c: var(--orange-500); }
.cus-net tr.st-inactive { --c: #8a94ad; }
.cus-net tr:has(.dt-empty) { grid-column: 1 / -1; }
.cus-net tr:has(.dt-empty)::before, .cus-net tr:has(.dt-empty)::after { display: none; }

.cus-item { display: grid; gap: 8px; }
.cus-item__top { display: flex; align-items: center; gap: 10px; }
.cus-item__top > span:nth-child(2) { flex: 1; min-width: 0; }
.cus-item b { display: block; font-weight: 700; line-height: 1.3; }
.cus-item small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.cus-av { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.cus-av--orange { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.cus-av--blue { background: linear-gradient(135deg, var(--blue-600), var(--blue-900)); }
.cus-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--muted); }
.cus-tag { padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: 12px; font-weight: 600; white-space: nowrap; }
.cus-item__foot { display: flex; align-items: center; gap: 10px; }
.cus-fleet { display: flex; align-items: center; gap: 8px; flex: 1; font-size: 12px; color: var(--muted); }
.cus-fleet i { position: relative; flex: 1; height: 5px; border-radius: 3px; background: var(--blue-100); overflow: hidden; }
.cus-fleet i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--grad); transform-origin: left; animation: barIn .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms + 300ms); }
.cus-fleet b { display: inline; color: var(--ink); }
.cus-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cus-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cus-badge--active { color: #0f9d58; background: rgba(15, 157, 88, .12); }
.cus-badge--active::before { animation: pulseDot 1.8s infinite; }
.cus-badge--trial { color: var(--orange-600); background: var(--orange-100); }
.cus-badge--inactive { color: var(--muted); background: rgba(120, 130, 160, .14); }

/* animasi masuk: kartu meluncur dari sisi rel, konektor tumbuh */
.cus-net tr.cus-row td { animation: cardL .55s ease both; animation-delay: calc(var(--i, 0) * 70ms); }
.cus-net tr.cus-row:nth-child(even) td { animation-name: cardR; }
.cus-net tr.cus-row::before { animation: grow .45s ease both; animation-delay: calc(var(--i, 0) * 70ms + 180ms); }
.cus-net tr.cus-row::after { animation: nodeIn .4s ease both; animation-delay: calc(var(--i, 0) * 70ms + 300ms); }
.cus-net.no-motion tr.cus-row td, .cus-net.no-motion tr.cus-row::before, .cus-net.no-motion tr.cus-row::after, .cus-net.no-motion .cus-fleet i::after, .cus-net.no-motion tbody::after { animation: none; }
@keyframes cardL { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes cardR { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nodeIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 currentColor; } 60% { box-shadow: 0 0 0 5px transparent; } }
@keyframes railPulse { from { top: -90px; opacity: 0; } 10%, 90% { opacity: 1; } to { top: 100%; opacity: 0; } }
@keyframes hubRing { from { transform: scale(.9); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }

/* kontrol Datatables */
.cus-card .dt-container { display: block; }
.cus-card .dt-layout-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.cus-card .dt-layout-cell { display: flex; align-items: center; gap: 8px; }
.cus-card .dt-layout-full { width: 100%; }
.cus-card .dt-search input, .cus-card .dt-length select { font: 500 13px/1 var(--font); padding: 9px 12px; border-radius: 10px; border: 1px solid var(--blue-100); background: rgba(255, 255, 255, .6); color: var(--ink); outline: none; }
.cus-card .dt-search input { width: min(260px, 60vw); }
.cus-card .dt-search input:focus, .cus-card .dt-length select:focus, .cus-sort:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.cus-card .dt-info, .cus-card .dt-length label { font-size: 12.5px; color: var(--muted); }
.cus-card .dt-paging { display: flex; gap: 4px; }
.cus-card .dt-paging-button { min-width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--blue-100); background: transparent; color: var(--ink); font: 600 13px/1 var(--font); cursor: pointer; transition: .15s; }
.cus-card .dt-paging-button:hover:not(.disabled):not(.current) { border-color: var(--orange-500); color: var(--orange-600); }
.cus-card .dt-paging-button.current { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.cus-card .dt-paging-button.disabled { opacity: .4; cursor: default; }
.cus-card .dt-processing { position: absolute; top: 8px; right: 16px; font-size: 12px; font-weight: 600; color: var(--orange-600); }
.cus-card .dt-empty { text-align: center; color: var(--muted); }

@media (max-width: 820px) {
    .cus-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
    .cus-stats__grid > div:nth-child(3) { border-left: 0; }
    .cus-card .dt-layout-row { justify-content: flex-start; }
    /* mobile: satu kolom, rel di kiri */
    .cus-net tbody { grid-template-columns: 1fr; padding-left: 30px; row-gap: 12px; }
    .cus-net tbody::before, .cus-net tbody::after { left: 9px; }
    .cus-net tr:nth-child(even) { margin-top: 0; }
    .cus-net tr:nth-child(n)::before { left: -21px; right: auto; width: 20px; transform-origin: left; background: linear-gradient(90deg, var(--blue-600), var(--orange-500)); }
    .cus-net tr:nth-child(n)::after { left: -27px; right: auto; }
    .cus-net tr.cus-row:nth-child(n) td { animation-name: cardR; }
}

/* ---------- Halaman Penerapan (alur satu order) ---------- */
.flow { position: relative; height: 380vh; margin-top: 8px; }
.flow__sticky { position: sticky; top: 88px; display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.flow__steps { display: grid; gap: 8px; position: relative; }
.flow__steps::before { content: ''; position: absolute; left: 23px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.flow__steps li { position: relative; }
.flow__steps button {
    position: relative; width: 100%; display: grid; grid-template-columns: 34px 1fr; grid-template-areas: "n t" ". r"; gap: 2px 12px; align-items: center; text-align: left;
    padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: background .3s, border-color .3s, opacity .3s;
    opacity: .6;
}
.flow__steps button:hover { opacity: 1; }
.flow__no { grid-area: n; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--muted); background: var(--blue-50); border: 1px solid var(--blue-100); transition: .3s; }
.flow__txt { grid-area: t; display: grid; line-height: 1.3; }
.flow__txt b { font-size: 15px; }
.flow__txt small { color: var(--muted); font-size: 12.5px; }
.flow__role { grid-area: r; font-size: 11.5px; font-weight: 700; color: var(--orange-600); opacity: 0; max-height: 0; transition: .3s; }
.flow__steps button.is-done { opacity: .85; }
.flow__steps button.is-done .flow__no { color: #fff; background: var(--blue-600); border-color: transparent; }
.flow__steps button.is-active { opacity: 1; background: var(--glass); border-color: var(--blue-100); box-shadow: var(--shadow); }
.flow__steps button.is-active .flow__no { color: #fff; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); border-color: transparent; box-shadow: 0 0 0 5px rgba(255, 122, 26, .18); }
.flow__steps button.is-active .flow__role { opacity: 1; max-height: 20px; }

.flow__card { padding: 16px 18px 14px; display: grid; gap: 12px; }
.fc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fc-head b { display: block; font-size: 16px; }
.fc-head small { color: var(--muted); font-size: 12.5px; }
.fc-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.fc-track { position: relative; height: 6px; border-radius: 4px; background: var(--blue-100); }
.fc-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: var(--grad); }
.fc-truck { position: absolute; top: 50%; left: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); box-shadow: 0 6px 14px -4px rgba(242, 97, 0, .7); }
.fc-panels { display: grid; gap: 8px; }
.fp { padding: 9px 12px; border-radius: 12px; border: 1px dashed var(--line); opacity: .38; filter: saturate(.3); transition: opacity .5s, filter .5s, border-color .4s, background .4s, transform .5s; transform: translateX(10px); }
.fp h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.fp p { font-size: 13.5px; line-height: 1.5; }
.fp p span { display: inline-block; min-width: 110px; color: var(--muted); font-size: 12px; }
.fp.is-on { opacity: 1; filter: none; border-style: solid; transform: none; background: rgba(255, 255, 255, .5); }
.fp.is-now { border-color: var(--orange-500); box-shadow: 0 10px 24px -14px rgba(242, 97, 0, .6); }
.fp.is-now h4 { color: var(--orange-600); }
.fc-foot { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.fc-meter { flex: 1; height: 5px; border-radius: 3px; background: var(--blue-100); overflow: hidden; }
.fc-meter i { display: block; height: 100%; width: 0; background: var(--grad); }
.flow.no-motion * { transition: none !important; }

@media (max-width: 899px) {
    .flow { height: 420vh; }
    .flow__sticky { grid-template-columns: 1fr; gap: 10px; top: 76px; }
    .flow__steps { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .flow__steps::-webkit-scrollbar { display: none; }
    .flow__steps::before { display: none; }
    .flow__steps li { flex: none; }
    .flow__steps button { width: auto; grid-template-columns: 26px auto; grid-template-areas: "n t"; padding: 6px 12px 6px 8px; border-color: var(--line); opacity: .8; }
    .flow__no { width: 26px; height: 26px; font-size: 11px; }
    .flow__txt small, .flow__role { display: none; }
    .flow__txt b { font-size: 13px; white-space: nowrap; }
    .flow__card { padding: 12px; gap: 9px; }
    .fp { padding: 7px 10px; }
    .fp p { font-size: 12.5px; }
    .fp p span { min-width: 84px; }
}
@media (max-height: 640px) and (min-width: 900px) { .fp p:nth-of-type(n+3) { display: none; } }

/* ===== Customer: peta sebaran ===== */
.cus-mapsec { padding-bottom: 6px; }
.cus-map { position: relative; padding: 14px; }
.cus-map__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.cus-map__head b { display: block; font-size: 15px; }
.cus-map__head small { font-size: 12.5px; color: var(--muted); }
.cus-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); font-weight: 500; }
.cus-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.lg--hub { background: var(--orange-500); box-shadow: 0 0 0 3px rgba(255, 122, 26, .25); }
.lg--node { background: var(--blue-600); }
.lg--line { width: 16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-600), var(--orange-500)); }
.cus-map canvas { display: block; width: 100%; }
.cus-tip { position: absolute; z-index: 3; padding: 5px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; color: #fff; background: rgba(15, 23, 42, .92); pointer-events: none; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.cus-map__hint { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); text-align: center; }

/* ===== Customer: hub lebih besar + orbit ===== */
.cus-hub__core { width: 88px; height: 88px; box-shadow: 0 0 0 8px rgba(255, 122, 26, .16), 0 16px 40px -8px rgba(37, 99, 235, .7); }
.cus-hub__core::before, .cus-hub__core::after { inset: -8px; }
.cus-hub__orb { position: absolute; inset: -18px; border-radius: 50%; border: 1.5px dashed rgba(37, 99, 235, .45); animation: spin 14s linear infinite; pointer-events: none; }
.cus-hub__orb::after { content: ''; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 10px var(--orange-500); }
.cus-hub__orb--2 { inset: -32px; border-color: rgba(255, 122, 26, .4); animation-duration: 22s; animation-direction: reverse; }
.cus-hub__orb--2::after { background: var(--blue-600); box-shadow: 0 0 10px var(--blue-600); }
.cus-hub { margin: 40px 0 6px; gap: 30px; }
.cus-net tbody::before { opacity: .8; box-shadow: 0 0 14px rgba(255, 122, 26, .45); }

/* ===== Customer: kartu armada besar ===== */
.cus-star { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); vertical-align: middle; }
.cus-net tr.is-star td { border-color: var(--orange-500); background: linear-gradient(135deg, rgba(255, 122, 26, .12), rgba(37, 99, 235, .08)), rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px rgba(255, 122, 26, .35), 0 14px 30px -14px rgba(242, 97, 0, .6); }

@media (max-width: 720px) {
    .cus-map { padding: 10px; }
    .cus-legend { gap: 10px; }
    .cus-hub { margin-top: 30px; }
}

/* jebakan bot pada form kontak */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ, testimoni, halaman legal, WhatsApp ---------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--orange-600); transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; color: var(--muted); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { font-size: 15px; line-height: 1.6; }
.quote blockquote::before { content: '\201C'; display: block; font-size: 38px; line-height: .8; color: var(--orange-500); font-weight: 800; }
.quote figcaption { margin-top: auto; font-size: 13px; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); font-size: 14px; }

.legal { max-width: 780px; padding: 26px 30px; }
.legal h2 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--muted); font-size: 14.5px; }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; margin-top: 6px; }
.legal a { color: var(--orange-600); text-decoration: underline; }
.legal .draft { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--orange-100); color: var(--orange-600); font-size: 12px; font-weight: 700; }
.consent { font-size: 12px; color: var(--muted); text-align: center; }
.consent a { text-decoration: underline; }

.wa-fab {
    position: fixed; right: 18px; bottom: 82px; z-index: 40; width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
    transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.hero .draft { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--orange-100); color: var(--orange-600); font-size: 12px; font-weight: 700; }
