
:root {
    --pr: #003B7A;
    --pr-l: #0056B3;
    --ac: #E8A020;
    --ac-s: #FFF3DC;
    --sf: #F4F7FB;
    --sf2: #EAF0F8;
    --tx: #1A2535;
    --mu: #6B7A90;
    --wh: #FFFFFF;
    --bd: #D6E0EE;
    --gn: #1A7A4A;
    --gn-s: #E8F5EE;
    --rd: #C0392B;
    --rd-s: #FDECEA;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--sf);
    color: var(--tx);
    font-size: 15px;
    line-height: 1.65;
}

/* ── PAGE SYSTEM ── */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ── TOPBAR ── */
.topbar {
    background: var(--pr);
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    padding: 6px 0;
}

.topbar a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.topbar a:hover {
    color: var(--ac);
}

.topbar .sep {
    margin: 0 10px;
    opacity: .3;
}

/* ── NAVBAR ── */
.main-navbar {
    background: var(--wh);
    border-bottom: 3px solid var(--ac);
    box-shadow: 0 2px 18px rgba(0, 59, 122, .09);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--tx);
    flex-shrink: 0;
    cursor: pointer;
}

.brand-logo {
    height: 54px;
}

.brand-text .t1 {
    font-size: 13px;
    font-weight: 800;
    color: var(--pr);
    line-height: 1.2;
}

.brand-text .t2 {
    font-size: 10.5px;
    color: var(--mu);
    line-height: 1.35;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-list>li {
    position: relative;
}

.nav-list>li>a,
.nav-list>li>button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tx);
    text-decoration: none;
    border: none;
    background: none;
    border-radius: 7px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s, color .18s;
}

.nav-list>li>a:hover,
.nav-list>li>button:hover,
.nav-list>li>a.active {
    background: var(--sf2);
    color: var(--pr);
}

.caret {
    font-size: 10px;
    opacity: .55;
}

.drop-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    background: var(--wh);
    border: 1px solid var(--bd);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0, 59, 122, .13);
    padding: 8px;
    z-index: 9999;
}

.drop-panel.show {
    display: block !important;
}

.drop-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tx);
    text-decoration: none;
    transition: background .15s;
}

.drop-panel a:hover,
.drop-panel a.active {
    background: var(--sf2);
    color: var(--pr);
}

.drop-panel .ico {
    width: 30px;
    height: 30px;
    background: var(--sf2);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--pr);
    flex-shrink: 0;
}

.drop-panel .ico.gold {
    background: var(--ac-s);
    color: var(--ac);
}

.drop-panel .ico.green {
    background: var(--gn-s);
    color: var(--gn);
}

.drop-panel .dl {
    height: 1px;
    background: var(--bd);
    margin: 6px 4px;
}

.drop-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--mu);
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 8px 12px 4px;
}

.btn-auth {
    padding: 8px 15px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
    white-space: nowrap;
}

.btn-auth-out {
    border: 1.5px solid var(--pr);
    color: var(--pr);
    background: transparent;
}

.btn-auth-out:hover {
    background: var(--pr);
    color: var(--wh);
}

.btn-auth-fill {
    background: var(--ac);
    color: var(--tx);
    border: 1.5px solid var(--ac);
}

.btn-auth-fill:hover {
    background: #d08c18;
    border-color: #d08c18;
}

.hamburger {
    display: none;
    border: none;
    background: none;
    font-size: 1.45rem;
    color: var(--pr);
    cursor: pointer;
    padding: 4px;
}

.mob-menu {
    display: none;
    background: var(--wh);
    border-top: 1px solid var(--bd);
    padding: 12px 16px;
}

.mob-menu.open {
    display: block;
}

.mob-menu a {
    display: block;
    padding: 10px 8px;
    border-bottom: 1px solid var(--bd);
    font-size: 14px;
    font-weight: 600;
    color: var(--tx);
    text-decoration: none;
}

.mob-menu a:last-child {
    border-bottom: none;
}

.mob-menu a:hover {
    color: var(--pr);
}

.mob-sub {
    padding-left: 16px;
    display: none;
}

.mob-sub.open {
    display: block;
}

.mob-sub a {
    font-weight: 500;
    font-size: 13px;
}

/* ── SENTRA KI SUB TABS ── */
.ki-subnav {
    background: #fff;
    border-bottom: 1px solid var(--bd);
    position: sticky;
    top: 77px;
    z-index: 900;
    box-shadow: 0 2px 8px rgba(0, 59, 122, .05);
}

.ki-subnav-inner {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: none;
}

.ki-subnav-inner::-webkit-scrollbar {
    display: none;
}

.ki-subtab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mu);
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .18s, border-color .18s;
}

.ki-subtab:hover {
    color: var(--pr);
}

.ki-subtab.active {
    color: var(--pr);
    border-bottom-color: var(--ac);
    font-weight: 700;
}

.ki-subtab i {
    font-size: 13px;
}

/* ── SUB PAGES ── */
.ki-subpage {
    display: none;
}

.ki-subpage.active {
    display: block;
}

/* ── SHARED SECTION ── */
.sec-tag {
    display: inline-block;
    background: var(--ac-s);
    color: var(--ac);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.sec-title {
    font-family: 'Lora', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--pr);
    margin: 0;
}

.sec-title span {
    color: var(--ac);
}

.sec-title-sm {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pr);
    margin: 0;
}

/* ── PAGE BANNER ── */
.page-banner {
    background: linear-gradient(135deg, #002F63 0%, #004FA0 60%, #006FCC 100%);
    padding: clamp(28px, 5vw, 44px) 0 clamp(24px, 4vw, 36px);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .03);
    top: -70px;
    right: -60px;
    pointer-events: none;
}

.page-banner .pg-badge {
    display: inline-block;
    background: var(--ac);
    color: var(--tx);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 13px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.page-banner h1 {
    font-family: 'Lora', serif;
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--wh);
    line-height: 1.3;
    margin-bottom: 8px;
    overflow-wrap: break-word;
}

.page-banner p {
    color: rgba(255, 255, 255, .7);
    font-size: clamp(13px, 2vw, 14px);
    max-width: 560px;
}

.breadcrumb-bar {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    margin-top: 14px;
    overflow-wrap: break-word;
}

.breadcrumb-bar a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
}

.breadcrumb-bar a:hover {
    color: var(--ac);
}

.breadcrumb-bar .sep {
    margin: 0 8px;
}

/* ── BOXES ── */
.white-box {
    background: var(--wh);
    border: 1px solid var(--bd);
    border-radius: 14px;
    padding: 24px;
}

.white-box-sm {
    background: var(--wh);
    border: 1px solid var(--bd);
    border-radius: 12px;
    padding: 18px;
}

/* ── HERO BOX ── */
.ki-hero-box {
    background: linear-gradient(135deg, #002F63 0%, #005FBE 100%);
    border-radius: 16px;
    padding: 36px;
    color: var(--wh);
}

/* ── STAT ROW ── */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
    gap: 12px;
}

.stat-cell {
    background: var(--wh);
    padding: 20px 16px;
    text-align: center;
    min-width: 0;
}

.stat-cell .val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pr);
}

.stat-cell .lbl {
    font-size: 12px;
    color: var(--mu);
    margin-top: 3px;
}

/* ── KI TYPE CARD ── */
.ki-type-card {
    background: var(--wh);
    border: 1px solid var(--bd);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: all .22s;
    height: 100%;
}

.ki-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 59, 122, .10);
    border-color: var(--pr);
}

.ki-type-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 14px;
}

.ki-type-card h5 {
    font-size: 14px;
    font-weight: 800;
    color: var(--pr);
    margin-bottom: 8px;
}

.ki-type-card p {
    font-size: 12.5px;
    color: var(--mu);
    line-height: 1.6;
    margin-bottom: 14px;
}

.ki-type-card .ki-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--pr);
    text-decoration: none;
    cursor: pointer;
}

.ki-type-card .ki-link:hover {
    color: var(--ac);
}

/* ── STEPS ── */
.ki-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--bd);
}

.ki-step:last-child {
    border-bottom: none;
}

.ki-step-num {
    width: 40px;
    height: 40px;
    background: var(--pr);
    color: var(--wh);
    font-size: 16px;
    font-weight: 800;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ki-step h6 {
    font-size: 14px;
    font-weight: 800;
    color: var(--pr);
    margin-bottom: 4px;
}

.ki-step p {
    font-size: 13px;
    color: var(--mu);
    margin: 0;
    line-height: 1.65;
}

/* ── TABLE ── */
.hki-table {
    width: 100%;
    border-collapse: collapse;
}

.hki-table th {
    background: var(--pr);
    color: var(--wh);
    font-size: 12px;
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
}

.hki-table th:first-child {
    border-radius: 10px 0 0 0;
}

.hki-table th:last-child {
    border-radius: 0 10px 0 0;
}

.hki-table td {
    padding: 12px 14px;
    font-size: 13px;
    border-bottom: 1px solid var(--bd);
}

.hki-table tr:last-child td {
    border-bottom: none;
}

.hki-table tr:nth-child(even) td {
    background: var(--sf);
}

.badge-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.badge-green {
    background: var(--gn-s);
    color: var(--gn);
}

.badge-amber {
    background: var(--ac-s);
    color: #b87c10;
}

.badge-blue {
    background: var(--sf2);
    color: var(--pr);
}

.badge-red {
    background: var(--rd-s);
    color: var(--rd);
}

/* ── SIDEBAR ── */
.sb-box {
    background: var(--wh);
    border: 1px solid var(--bd);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}

.sb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sb-head h5 {
    font-size: 14px;
    font-weight: 800;
    color: var(--pr);
    margin: 0;
}

.ki-promo {
    background: linear-gradient(135deg, #002F63 0%, #005FBE 100%);
    border-radius: 14px;
    padding: 22px;
    color: var(--wh);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.ki-promo .kp-tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--ac);
    margin-bottom: 8px;
}

.ki-promo h5 {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.ki-promo p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.6;
    margin-bottom: 16px;
}

.ki-promo a {
    display: inline-block;
    background: var(--ac);
    color: var(--tx);
    padding: 8px 18px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

.ki-promo a:hover {
    background: #d08c18;
}

/* ── DOKUMEN LIST ── */
.dok-list-scroll {
    max-height: 290px;
    overflow-y: auto;
    padding-right: 14px;
    margin-right: -8px;
}

.dok-list-scroll::-webkit-scrollbar {
    width: 5px;
}

.dok-list-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.dok-list-scroll::-webkit-scrollbar-thumb {
    background: var(--bd);
    border-radius: 10px;
}

.dok-list-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--mu);
}

/* ── DOKUMEN ITEM ── */
.dok-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--bd);
}

.dok-item:last-child {
    border-bottom: none;
}

.dok-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dok-icon-pdf {
    background: var(--rd-s);
    color: var(--rd);
}

.dok-icon-doc {
    background: #EAF0FF;
    color: var(--pr);
}

.dok-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--tx);
    flex: 1;
    line-height: 1.4;
}

.dok-meta {
    font-size: 11px;
    color: var(--mu);
    margin-top: 2px;
}

.dok-dl {
    font-size: 12px;
    font-weight: 700;
    color: var(--pr);
    text-decoration: none;
    flex-shrink: 0;
}

.dok-dl:hover {
    color: var(--ac);
}

/* ── PATENT CATALOG CARD ── */
.patent-card {
    background: var(--wh);
    border: 1px solid var(--bd);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.patent-card-img {
    position: relative;
    height: 150px;
    background: var(--sf);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bd);
    font-size: 2rem;
}

.patent-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.patent-card-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .65) 100%);
    color: var(--wh);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── PATENT PAGINATION ── */
.patent-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.patent-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid var(--bd);
    background: var(--wh);
    color: var(--tx);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.patent-page-btn:hover:not(:disabled) {
    background: var(--sf);
}

.patent-page-btn.active {
    background: var(--pr);
    color: var(--wh);
    border-color: var(--pr);
}

.patent-page-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.patent-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--bd);
}

.patent-card-contact {
    flex: 1;
    text-align: center;
    background: var(--ac);
    color: var(--tx);
    padding: 7px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.patent-card-contact:hover {
    background: var(--pr);
    color: var(--wh);
}

.patent-card-more {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--sf);
    color: var(--pr);
    border: 1px solid var(--bd);
    display: flex;
    align-items: center;
    justify-content: center;
}

.patent-card-more:hover {
    background: var(--sf2);
}

/* ── PATENT DETAIL MODAL ── */
.patent-modal-dialog {
    max-width: 640px;
}

.patent-modal-content {
    position: relative;
    border: none;
    border-radius: 18px;
    padding: 28px 24px 24px;
}

.patent-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--wh);
    border: 1px solid var(--bd);
    color: var(--mu);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.patent-modal-close:hover {
    background: var(--sf);
    color: var(--pr);
}

.patent-modal-img {
    border: 1px solid var(--bd);
    border-radius: 14px;
    background: var(--sf);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bd);
    font-size: 2.4rem;
    overflow: hidden;
    margin-bottom: 14px;
}

.patent-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.patent-modal-title {
    border: 1px solid var(--bd);
    border-radius: 12px;
    padding: 10px 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--pr);
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.patent-modal-desc {
    border: 1px solid var(--bd);
    border-radius: 14px;
    padding: 16px;
    min-height: 110px;
    font-size: 13px;
    color: var(--mu);
    line-height: 1.65;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
}

.patent-modal-contact {
    display: block;
    text-align: center;
    background: var(--ac);
    color: var(--tx);
    padding: 12px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.patent-modal-contact:hover {
    background: var(--pr);
    color: var(--wh);
}

/* ── FAQ ── */
.faq-item {
    border-bottom: 1px solid var(--bd);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--pr);
    gap: 12px;
}

.faq-q i {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--mu);
    transition: transform .2s;
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
}

.faq-a {
    display: none;
    font-size: 12.5px;
    color: var(--mu);
    line-height: 1.7;
    padding: 0 0 13px;
}

.faq-item.open .faq-a {
    display: block;
}

/* ── DETAIL PAGE HEADER ── */
.detail-hero {
    background: linear-gradient(135deg, #002F63, #0056B3);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.detail-hero::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.detail-hero .dh-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, .13);
    border: 1.5px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.detail-hero h2 {
    font-family: 'Lora', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.detail-hero p {
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.75;
    max-width: 600px;
    margin: 0;
}

/* ── SYARAT ITEM ── */
.syarat-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--bd);
}

.syarat-item:last-child {
    border-bottom: none;
}

.syarat-num {
    width: 28px;
    height: 28px;
    background: var(--pr);
    color: #fff;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.syarat-item p {
    font-size: 13px;
    color: var(--tx);
    margin: 0;
    line-height: 1.6;
}

/* ── KONTAK FORM ── */
.kontak-box {
    background: var(--wh);
    border: 1px solid var(--bd);
    border-radius: 14px;
    padding: 22px;
}

.form-field {
    margin-bottom: 14px;
}

.form-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--mu);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--bd);
    border-radius: 9px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    color: var(--tx);
    background: #fafcff;
    transition: border-color .16s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--pr);
    background: #fff;
}

.btn-primary-ki {
    background: linear-gradient(135deg, var(--pr-l), var(--pr));
    color: #fff;
    border: none;
    padding: 11px 24px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: transform .15s, box-shadow .15s;
}

.btn-primary-ki:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 59, 122, .22);
}

/* ── STATUS TRACKER ── */
.tracker-step {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    position: relative;
}

.tracker-step::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 42px;
    bottom: 0;
    width: 2px;
    background: var(--bd);
}

.tracker-step:last-child::before {
    display: none;
}

.tracker-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.tracker-dot.done {
    background: var(--gn);
    color: #fff;
}

.tracker-dot.active {
    background: var(--ac);
    color: var(--tx);
}

.tracker-dot.pending {
    background: var(--bd);
    color: var(--mu);
}

.tracker-body h6 {
    font-size: 14px;
    font-weight: 800;
    color: var(--tx);
    margin-bottom: 3px;
}

.tracker-body p {
    font-size: 12.5px;
    color: var(--mu);
    margin: 0;
}

.tracker-body .ts {
    font-size: 11px;
    color: var(--ac);
    font-weight: 700;
    margin-bottom: 3px;
}

/* ── MARQUEE ── */
.mq-bar {
    background: var(--ac-s);
    border-top: 2px solid var(--ac);
    border-bottom: 2px solid var(--ac);
    padding: 9px 0;
    overflow: hidden;
}

.mq-inner {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: mq 45s linear infinite;
}

.mq-tag {
    background: var(--ac);
    color: var(--tx);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 4px;
    margin-right: 18px;
    flex-shrink: 0;
}

.mq-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--pr);
}

@keyframes mq {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── FOOTER ── */
.footer {
    background: var(--pr);
    color: rgba(255, 255, 255, .72);
    padding: 48px 0 0;
}

.footer .f-logo {
    opacity: .9;
    height: 46px;
}

.footer .f-brand {
    font-size: 15px;
    font-weight: 800;
    color: var(--wh);
}

.footer p {
    font-size: 13px;
    line-height: 1.7;
}

.footer h6 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ac);
    margin-bottom: 14px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: rgba(255, 255, 255, .68);
    text-decoration: none;
    font-size: 13px;
    transition: color .18s;
}

.footer ul li a:hover {
    color: var(--ac);
}

.footer-bottom {
    margin-top: 36px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, .11);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

/* ── PERFORMANCE: non-active pages tidak di-render GPU ── */
.ki-subpage {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.ki-subpage.active {
    content-visibility: visible;
}

/* ── PERF: batasi reflow pada animasi ── */
.ki-type-card,
.patent-card {
    will-change: transform;
    contain: layout style;
}

.mq-inner {
    will-change: transform;
}

/* ── UTILITY CLASSES (mengganti inline styles berulang) ── */
/* Icon warna */
.ic-pr   { color: var(--pr); }
.ic-ac   { color: var(--ac); }
.ic-gn   { color: var(--gn); }
.ic-mu   { color: var(--mu); }
.ic-rd   { color: var(--rd); }

/* Font size helpers */
.fs-11 { font-size: 11px; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }

/* Font weight */
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Text color helpers */
.tc-pr  { color: var(--pr); }
.tc-mu  { color: var(--mu); }
.tc-ac  { color: var(--ac); }

/* Icon besar di white-box */
.box-icon-lg { font-size: 2rem; margin-bottom: 8px; }

/* Box dengan border kiri warna primer */
.border-l-pr { border-left: 4px solid var(--pr); border-radius: 0 14px 14px 0; }
.border-l-ac { border-left: 4px solid var(--ac); border-radius: 0 14px 14px 0; }

/* Teks deskripsi standar di dalam hero/card */
.desc-text { font-size: 13px; color: var(--mu); line-height: 1.65; margin: 0; }
.desc-text-lg { font-size: 14.5px; color: rgba(255,255,255,.85); line-height: 1.8; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .desktop-nav {
        display: none !important;
    }

    .hamburger {
        display: block;
    }

    .ki-subnav-inner {
        padding: 0 0.5rem;
    }

    .ki-subtab {
        padding: 12px 14px;
        font-size: 12px;
    }

    /* Navbar brand: kurangi ukuran di tablet */
    .brand-logo {
        height: 44px;
    }

    /* Hero box padding lebih kecil */
    .ki-hero-box {
        padding: 24px;
    }

    /* Detail hero padding lebih kecil */
    .detail-hero {
        padding: 28px 24px;
        border-radius: 16px;
    }

    /* White box padding lebih kecil */
    .white-box {
        padding: 18px;
    }

    /* Ki promo padding lebih kecil */
    .ki-promo {
        padding: 18px;
    }

    /* Stat row: konversi ke grid 2 kolom di tablet */
    .stat-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (min-width: 992px) {
    .mob-menu {
        display: none !important;
    }
}

/* ── TABLET KECIL & MOBILE ── */
@media (max-width: 767px) {
    /* Topbar: sembunyikan info jam di mobile */
    .topbar-inner > div:first-child {
        display: none;
    }
    .topbar-inner {
        justify-content: flex-end;
    }

    /* Navbar brand */
    .brand-logo {
        height: 38px;
    }
    .brand-text .t1 {
        font-size: 11.5px;
    }
    .brand-text .t2 {
        font-size: 10px;
    }

    /* Hero: padding lebih kecil, font clamp */
    .detail-hero {
        padding: 22px 18px;
        border-radius: 14px;
    }
    .detail-hero h2 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }
    .detail-hero .dh-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    /* Ki hero box */
    .ki-hero-box {
        padding: 20px 16px;
        border-radius: 14px;
    }

    /* Stat row: 1 kolom di mobile */
    .stat-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .stat-cell {
        padding: 14px 12px;
        border-radius: 10px;
    }
    .stat-cell .val {
        font-size: 1.5rem;
    }

    /* White box */
    .white-box {
        padding: 16px;
        border-radius: 12px;
    }

    /* Ki subnav: horizontal scroll */
    .ki-subnav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
    .ki-subnav-inner::-webkit-scrollbar {
        display: none;
    }
    .ki-subtab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Tabel HKI: bungkus dengan scroll horizontal */
    .hki-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .hki-table {
        min-width: 540px;
    }

    /* Section title */
    .sec-title {
        font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    }

    /* Footer padding */
    .footer {
        padding: 36px 0 0;
    }
    .footer-bottom {
        margin-top: 24px;
        text-align: center;
        justify-content: center;
    }

    /* Beranda hero section padding */
    .hero-section {
        padding: 36px 20px !important;
    }

    /* Patent modal: full-width di mobile */
    .patent-modal-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        border-radius: 0;
    }
    .patent-modal-title {
        white-space: normal;
        word-break: break-word;
    }
}

/* ── MOBILE KECIL ── */
@media (max-width: 425px) {
    /* Stat row: 1 kolom penuh */
    .stat-row {
        grid-template-columns: 1fr;
    }

    /* Brand text baris ke-2 sembunyikan */
    .brand-text .t2 {
        display: none;
    }

    /* Detail hero */
    .detail-hero {
        padding: 18px 14px;
    }

    /* Ki promo */
    .ki-promo {
        padding: 16px;
    }

    /* Sub page container */
    .ki-subpage .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Section kicker / tag */
    .sec-tag {
        font-size: 9.5px;
        padding: 3px 9px;
    }

    /* Footer kontak text: biar wrap */
    .footer ul li a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    /* Card header actions: stack di mobile */
    .card-header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ── LAYAR SANGAT KECIL 320px ── */
@media (max-width: 359px) {
    body {
        font-size: 13.5px;
    }
    .brand-logo {
        height: 32px;
    }
    .brand-text .t1 {
        font-size: 10px;
    }
    .stat-cell .val {
        font-size: 1.3rem;
    }
    .ki-subtab {
        font-size: 11px;
        padding: 10px 10px;
    }
}

.sentraki-quick-access .sentraki-shortcut-card {
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .08);
    font-weight: 600;
    padding: .7rem .85rem;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.sentraki-quick-access .sentraki-shortcut-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 .35rem .85rem rgba(0, 0, 0, .14);
    filter: saturate(1.05);
}

.sentraki-quick-access .sentraki-shortcut-card .sentraki-shortcut-icon {
    display: inline-flex;
    width: 1.4rem;
    margin-right: .5rem;
    justify-content: center;
    align-items: center;
    opacity: .95;
}

.sentraki-quick-access .sentraki-shortcut-card.btn-warning,
.sentraki-quick-access .sentraki-shortcut-card.btn-warning:hover {
    color: #1f2d3d;
}

.sentraki-quick-access .sentraki-shortcut-card.btn-dark {
    color: #fff;
}

/* ── SENTRAKI MODULE PAGES ── */

/* Description textarea auto-resize, no scrollbar */
#description {
    resize: none;
    overflow: hidden;
}

#description {
    text-align: justify;
}
/* Patent product form */
.product-image-preview {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 4 / 3;
    border: 1px solid #ced4da;
    border-radius: .5rem;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 2rem;
    margin-top: .5rem;
}

.product-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-cropper-stage {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    border: 1px solid #ced4da;
    border-radius: .5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2f7 0%, #dde5ee 100%);
    touch-action: none;
    cursor: grab;
}

.product-cropper-stage.is-dragging {
    cursor: grabbing;
}

.product-cropper-stage img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: top left;
    pointer-events: none;
}

.product-cropper-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(255, 255, 255, .95);
    border-radius: .5rem;
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, .12);
    pointer-events: none;
}

/* Verification stats */
.sentraki-verification-stat {
    color: #fff;
    border-radius: .75rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
}

.sentraki-verification-stat .inner {
    padding: 1.25rem;
}

.sentraki-verification-stat h3,
.sentraki-verification-stat p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(15, 23, 42, .22);
}

.sentraki-verification-stat p {
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: .01em;
}

.sentraki-stat-submitted { background: #0f766e; }
.sentraki-stat-document-review { background: #0891b2; }
.sentraki-stat-verified { background: #1d4ed8; }
.sentraki-stat-revision { background: #b45309; }
.sentraki-stat-rejected { background: #b91c1c; }

/* Submission detail */
.btn-billing {
    background-color: transparent;
    border-color: #17a2b8;
    color: #17a2b8;
}

.btn-billing:hover,
.btn-billing:focus,
.btn-billing:active {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #fff;
}

.btn-djki {
    background-color: #fff;
    border-color: #ffc107;
    color: #212529;
}

.btn-djki:hover,
.btn-djki:focus,
.btn-djki:active {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-edit-outline {
    background-color: transparent;
    border-color: #ffc107;
    color: #212529;
}

.btn-edit-outline:hover,
.btn-edit-outline:focus,
.btn-edit-outline:active {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-download-outline {
    background-color: transparent;
    border-color: #007bff;
    color: #007bff;
}

.btn-download-outline:hover,
.btn-download-outline:focus,
.btn-download-outline:active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.card-header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ktp-cropper-stage {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    aspect-ratio: 1.586;
    border: 1px solid #ced4da;
    border-radius: .5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2f7 0%, #dde5ee 100%);
    touch-action: none;
    cursor: grab;
}

.ktp-cropper-stage.is-dragging {
    cursor: grabbing;
}

.ktp-cropper-stage img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: top left;
    pointer-events: none;
}

.ktp-cropper-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(255, 255, 255, .95);
    border-radius: .5rem;
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, .12);
    pointer-events: none;
}

.ktp-crop-preview {
    min-height: 1.5rem;
}

/* Document uploader */
.sentraki-document-action-delete .btn {
    min-height: calc(1.8125rem + 2px);
    border-radius: 0 .2rem .2rem 0;
    border-width: 1px;
}
