:root {
    --bg: #0b1220;
    --card: #0f1b2f;
    --soft: #0e1a2b;
    --text: #e8eefc;
    --muted: #a9b6d3;
    --line: rgba(255, 255, 255, .08);
    --g1: #22c55e;
    /* hijau */
    --g2: #16a34a;
    --y: #f59e0b;
    --r: #ef4444;
    --shadow: 0 12px 40px rgba(0, 0, 0, .35);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body.bg {
    margin: 0;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: #070c16;
    position: relative;
}

/* pindahkan radial gradient ke layer terpisah */
body.bg::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(1200px 500px at 20% -10%, rgba(34, 197, 94, .22), transparent 60%),
        radial-gradient(900px 500px at 90% 0%, rgba(245, 158, 11, .12), transparent 60%),
        linear-gradient(180deg, #08101f 0%, #070c16 100%);
}


a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px
}

.mt {
    margin-top: 16px
}

.w-100 {
    width: 100%
}

.muted {
    color: var(--muted)
}

.tiny {
    font-size: 12px
}

.divider {
    height: 1px;
    background: var(--line);
    margin: 16px 0
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(8, 16, 31, .6);
    border-bottom: 1px solid var(--line);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 12px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(255, 255, 255, .06)
}

.brand__name {
    font-weight: 900;
    letter-spacing: .8px
}

.brand__tag {
    font-size: 12px;
    color: var(--muted)
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.nav a {
    padding: 8px 10px;
    border-radius: 12px
}

.nav a:hover {
    background: rgba(255, 255, 255, .06)
}

.btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
}

.btn--primary {
    border: none;
    background: linear-gradient(90deg, var(--g1), var(--g2));
    box-shadow: 0 10px 30px rgba(34, 197, 94, .18);
}

.btn--primary:hover {
    filter: brightness(1.05)
}

.btn--success {
    border: none;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    box-shadow: 0 10px 30px rgba(59, 130, 246, .25);
    color: #fff;
}

.btn--success:hover {
    filter: brightness(1.05);
}

.btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .15);
    color: inherit;
    /* transition: background .2s ease, border-color .2s ease, transform .15s ease; */
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .25);
}

.btn--ghost:active {
    transform: translateY(1px);
}


.btn--sm {
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px
}

.toast {
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
}


.hero {
    padding: 26px 0 8px
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 18px;
    align-items: stretch
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, .25);
    background: rgba(34, 197, 94, .08);
    color: #c8f7d6;
    font-weight: 800;
    font-size: 12px;
}

.hero__title {
    font-size: 44px;
    line-height: 1.06;
    margin: 12px 0 10px
}

.grad {
    background: linear-gradient(90deg, #a7f3d0, #fef08a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__desc {
    color: var(--muted);
    font-size: 15px;
    max-width: 52ch
}

.hero__cta {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap
}

.hero__stats {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap
}

.stat {
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    min-width: 120px;
}

.stat__num {
    font-weight: 900;
    font-size: 18px
}

.stat__label {
    color: var(--muted);
    font-size: 12px
}

.hero__card {
    position: relative;
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;

    /* jangan pakai border langsung pada layer gradient */
    border: 0 !important;

    /* layer content */
    background: rgba(10, 18, 26, 0.55);
    /* base solid */
    overflow: hidden;
    /* kunci bocor 1px */
    transform: translateZ(0);
    /* stabilkan compositing */
    isolation: isolate;
    /* pisahkan blending */
}

/* gradient gloss (di layer terpisah) */
.hero__card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;

    background: linear-gradient(180deg,
            rgba(255, 255, 255, .05),
            rgba(255, 255, 255, .02));

    /* penting: jangan sampai gradient "nyentuh" tepi radius */
    clip-path: inset(0 round var(--radius));
}

/* border & shadow (di layer terpisah) */
.hero__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;

    /* border halus putih (anti hijau bocor) */
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        var(--shadow);

    /* cegah 1px leak di tepi */
    clip-path: inset(0 round var(--radius));
}

/* pastikan semua konten di atas pseudo elements */
.hero__card>* {
    position: relative;
    z-index: 2;
}


.hero__logoMark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: rgba(34, 197, 94, .15);
    border: 1px solid rgba(34, 197, 94, .25);
}

.hero__cardTitle {
    font-weight: 900
}

.hero__cardBody {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.pill {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    font-size: 12px;
}

.section {
    padding: 26px 0
}

.section {
    position: relative;
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* lapisan tipis anti banding/anti garis */
    background: rgba(8, 16, 31, 0.0);
}

.section--soft {
    /* jangan tembus ke radial hijau background */
    background: rgba(8, 16, 31, 0.92);

    /* jangan pakai border yang gampang ketint hijau */
    border-top: 0;
    border-bottom: 0;

    /* ganti dengan inset shadow halus (lebih premium & anti garis) */
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.04),
        inset 0 -1px rgba(255, 255, 255, 0.04);
}


.section__head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    align-items: end
}

.section__title {
    margin: 0;
    font-size: 26px
}

.filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.input {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    color: var(--text);
    padding: 10px 12px;
    border-radius: 14px;
    outline: none;
}

.input--sm {
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    width: auto
}

.label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 800;
    font-size: 12px;
    color: #cfd8f0
}

textarea.input {
    resize: vertical
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    margin: 10px 0
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px
}

.card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transform: translateZ(0);
}

.card__img {
    position: relative;
    height: 170px;
    cursor: zoom-in
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08)
}

.card__badge {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .18);
    font-weight: 800;
    font-size: 12px;
}

.card__body {
    padding: 14px
}

.card__title {
    font-weight: 900;
    font-size: 16px
}

.card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px
}

.chip {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    font-size: 12px;
    color: var(--muted)
}

.chip--warn {
    border-color: rgba(245, 158, 11, .35);
    color: #fde68a
}

.priceRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px
}

.price {
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .02)
}

.price__num {
    font-weight: 900;
    margin-top: 4px
}

.card__actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap
}

.panel {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
}

.panel--glass {
    position: relative;
    background: rgba(16, 24, 32, 0.65);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel--glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}


.twoCol {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
    align-items: start
}

.cart {
    margin: 14px 0;
    border: 1px dashed rgba(255, 255, 255, .16);
    border-radius: 16px;
    padding: 12px
}

.cart__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center
}

.cart__items {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.cartItem {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .02)
}

.cartItem__left {
    min-width: 0
}

.cartItem__name {
    font-weight: 900
}

.cartItem__meta {
    color: var(--muted);
    font-size: 12px
}

.cartItem__right {
    display: flex;
    gap: 8px;
    align-items: center
}

.qty {
    width: 90px
}

.map {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, .02)
}

.map iframe {
    width: 100%;
    height: 360px;
    border: 0
}

.footer {
    padding: 26px 0;
    border-top: 1px solid var(--line)
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.footer__title {
    font-weight: 900
}

.waFloat {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: linear-gradient(90deg, var(--g1), var(--g2));
    color: #071015;
    font-weight: 900;
    padding: 12px 14px;
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(34, 197, 94, .25);
}

.waFloat span {
    color: #04100a
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 50
}

.modal[aria-hidden="false"] {
    display: block
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65)
}

.modal__dialog {
    position: relative;
    max-width: 860px;
    margin: 6vh auto 0;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #08101f;
    box-shadow: var(--shadow);
    padding: 14px;
}

.modal__close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
}

.modal img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line)
}

.modal__meta {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px
}

.dashTop {
    border-bottom: 1px solid var(--line);
    background: rgba(8, 16, 31, .55);
    backdrop-filter: blur(10px)
}

.dashTop__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 12px;
    flex-wrap: wrap
}

.dashBrand {
    display: flex;
    gap: 10px;
    align-items: center
}

.dashBrand__logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: rgba(34, 197, 94, .15);
    border: 1px solid rgba(34, 197, 94, .25);
}

.dashBrand__title {
    font-weight: 900
}

.dashWrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 14px;
    margin-top: 16px;
    margin-bottom: 26px
}

.sidebar {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
    padding: 10px;
    position: sticky;
    top: 80px;
    height: fit-content
}

.sideLink {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--text);
    border: 1px solid transparent
}

.sideLink:hover {
    background: rgba(255, 255, 255, .05);
    border-color: var(--line)
}

.sideLink.disabled {
    opacity: .4;
    pointer-events: none
}

.dashMain {
    min-width: 0
}

.h1 {
    margin: 0;
    font-size: 26px
}

.h3 {
    margin: 0 0 10px;
    font-size: 16px
}

.tableWrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .02)
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    text-align: left;
    vertical-align: top
}

.table th {
    font-size: 12px;
    color: #cfd8f0
}

.pillStatus {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    font-weight: 800;
    font-size: 12px
}

.inline {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 8px
}

.gridForm {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: center
}

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

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .twoCol {
        grid-template-columns: 1fr
    }

    .dashWrap {
        grid-template-columns: 1fr
    }

    .sidebar {
        position: relative;
        top: auto
    }

    .row {
        grid-template-columns: 1fr
    }

    .gridForm {
        grid-template-columns: 1fr
    }

    .modal img {
        height: 300px
    }
}

@media (max-width: 520px) {
    .grid {
        grid-template-columns: 1fr
    }

    .hero__title {
        font-size: 34px
    }
}

/* =========================================================
   FIX: garis hijau tipis (GPU compositing seam / subpixel)
   Penyebab utama: transform: translateZ(0) + background radial hijau
   ========================================================= */

/* 1) Matikan forced GPU layer yang memicu seam */
.card,
.hero__card,
.panel,
.tableWrap,
.map,
.waFloat {
    transform: none !important;
}

/* 2) Paksa rendering border/rounded lebih stabil */
.card,
.hero__card,
.panel,
.tableWrap,
.map {
    backface-visibility: hidden;
    outline: 1px solid transparent;
    /* trik anti-seam */
    background-clip: padding-box;
    isolation: isolate;
}

/* 3) Untuk elemen yang punya shadow besar (sering bikin seam) */
.card,
.hero__card {
    will-change: auto;
    /* jangan dipaksa jadi GPU layer */
}