:root {
    --primary: #635bff;
    --primary-dark: #4338ca;
    --dark: #10152b;
    --dark-two: #171d3b;
    --text: #172033;
    --muted: #667085;
    --light: #f7f8fc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--light);
}

.main-navbar {
    padding: 18px 0;
    background: rgba(16, 21, 43, .72);
    backdrop-filter: blur(18px);
}

.navbar-brand {
    letter-spacing: .5px;
}

.nav-link {
    color: rgba(255,255,255,.82) !important;
    margin-left: 12px;
}

.btn-login {
    color: var(--dark);
    border-radius: 50px;
    padding: 9px 20px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 15% 20%, rgba(99,91,255,.35), transparent 35%),
        radial-gradient(circle at 85% 30%, rgba(20,184,166,.25), transparent 30%),
        linear-gradient(135deg, #0c1024, #171d3b 55%, #10152b);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-title span {
    display: block;
    background: linear-gradient(90deg, #a78bfa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,.72);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 12px;
}

.hero-mini-stats {
    display: flex;
    gap: 42px;
    margin-top: 45px;
}

.hero-mini-stats strong {
    display: block;
    font-size: 28px;
}

.hero-mini-stats span {
    color: rgba(255,255,255,.55);
    font-size: 13px;
}

.hero-card {
    position: relative;
    padding: 20px;
}

.hero-card-inner {
    padding: 38px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 30px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.dashboard-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(99,91,255,.25);
    font-size: 25px;
    margin-bottom: 25px;
}

.hero-card-inner h3 {
    font-weight: 700;
}

.hero-card-inner p {
    color: rgba(255,255,255,.6);
}

.progress-item {
    margin-top: 25px;
}

.progress-item span {
    color: rgba(255,255,255,.6);
    font-size: 13px;
}

.progress-item strong {
    font-size: 12px;
}

.progress {
    height: 7px;
    margin-top: 8px;
    background: rgba(255,255,255,.1);
}

.progress-bar {
    background: linear-gradient(90deg, #8b5cf6, #22d3ee);
}

.floating-icon {
    position: absolute;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: white;
    color: var(--primary);
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
    z-index: 3;
}

.icon-one {
    top: 5%;
    right: 0;
}

.icon-two {
    bottom: 12%;
    left: 0;
}

.icon-three {
    top: 45%;
    right: -15px;
}

.section-light {
    padding: 110px 0;
    background: #fff;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

.section-heading p {
    color: var(--muted);
    line-height: 1.8;
}

.component-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid #eaecf0;
    border-radius: 24px;
    background: white;
    transition: .3s ease;
}

.component-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(16,24,40,.1);
}

.component-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 42px;
    font-weight: 900;
    color: #f0f1f8;
}

.component-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: #eef2ff;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 25px;
}

.component-card h4 {
    font-size: 19px;
    line-height: 1.5;
    font-weight: 750;
}

.component-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.component-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.section-dark {
    padding: 110px 0;
    color: white;
    background: linear-gradient(135deg, #10152b, #171d3b);
}

.section-dark h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
}

.section-dark p {
    color: rgba(255,255,255,.65);
    line-height: 1.8;
}

.section-label.light {
    color: #a78bfa;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.feature-box {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    background: rgba(255,255,255,.05);
}

.feature-box i {
    color: #a78bfa;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-box h5 {
    font-weight: 700;
}

.feature-box p {
    font-size: 13px;
    margin: 0;
}

.footer-section {
    padding: 55px 0;
    color: rgba(255,255,255,.65);
    background: #090d1c;
}

.footer-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 16px;
    background: rgba(99,91,255,.15);
    color: #a78bfa;
}

.footer-section h5 {
    color: white;
}

.footer-section p {
    max-width: 550px;
    margin: 10px auto 20px;
    font-size: 14px;
}

.footer-line {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 25px 0;
}

@media (max-width: 991px) {
    .hero-section .min-vh-100 {
        padding-top: 130px;
        padding-bottom: 80px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-card {
        max-width: 600px;
        margin: auto;
    }
}

@media (max-width: 576px) {
    .hero-mini-stats {
        gap: 25px;
    }

    .hero-mini-stats strong {
        font-size: 23px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-card-inner {
        padding: 25px;
    }
}


/* =========================================================
   INSTRUMENT PAGE
   ========================================================= */

.instrument-hero {
    position: relative;
    overflow: hidden;
    padding: 145px 0 80px;
    color: white;
    background:
        radial-gradient(circle at 10% 20%, rgba(99,91,255,.30), transparent 35%),
        radial-gradient(circle at 90% 30%, rgba(34,211,238,.18), transparent 30%),
        linear-gradient(135deg, #0c1024, #171d3b 55%, #10152b);
}

.instrument-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
    color: rgba(255,255,255,.55);
    font-size: 13px;
}

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

.instrument-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px;
    background: rgba(255,255,255,.07);
    color: #a78bfa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.component-code-large {
    position: absolute;
    right: 5%;
    top: 80px;
    font-size: 220px;
    line-height: 1;
    font-weight: 900;
    color: rgba(255,255,255,.025);
    pointer-events: none;
}

.instrument-hero h1 {
    max-width: 850px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 800;
}

.instrument-hero p {
    max-width: 760px;
    margin-top: 20px;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
}

.instrument-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(15px);
}

.summary-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(99,91,255,.25);
    color: #a78bfa;
    font-size: 21px;
}

.instrument-summary span {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: 12px;
}

.instrument-summary strong {
    display: block;
    margin-top: 3px;
    font-size: 30px;
}

.instrument-section {
    padding: 100px 0;
    background: #f7f8fc;
}

.instrument-heading {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 40px;
}

.instrument-heading h2 {
    margin-bottom: 12px;
}

.instrument-accordion {
    max-width: 1050px;
    margin: auto;
}

.instrument-subcomponent {
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid #e6e8ef;
    border-radius: 22px;
    background: white;
    box-shadow: 0 8px 30px rgba(16,24,40,.04);
}

.subcomponent-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 23px 26px;
    border: 0;
    background: white;
    text-align: left;
    cursor: pointer;
}

.subcomponent-header > i {
    transition: transform .25s ease;
}

.subcomponent-header:not(.collapsed) > i {
    transform: rotate(180deg);
}

.subcomponent-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.subcomponent-code {
    min-width: 65px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #eef2ff;
    color: #5147d9;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.subcomponent-title {
    font-size: 16px;
    font-weight: 750;
    color: #172033;
}

.subcomponent-left small {
    display: block;
    margin-top: 4px;
    color: #98a2b3;
    font-size: 12px;
}

.indicator-list {
    padding: 0 18px 18px;
}

.indicator-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    margin-top: 10px;
    border: 1px solid #eaecf0;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    transition: .25s ease;
}

.indicator-card:hover {
    transform: translateX(5px);
    border-color: #c7c9ff;
    box-shadow: 0 12px 30px rgba(16,24,40,.07);
}

.indicator-number {
    min-width: 95px;
    color: #635bff;
    font-size: 12px;
    font-weight: 800;
}

.indicator-number i {
    margin-right: 5px;
}

.indicator-content {
    flex: 1;
}

.indicator-content h4 {
    margin: 0;
    color: #172033;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

.indicator-content p {
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.indicator-arrow {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f4f3ff;
    color: #635bff;
    flex-shrink: 0;
}

.indicator-empty {
    padding: 25px;
    color: #667085;
    text-align: center;
}

.empty-instrument {
    max-width: 700px;
    margin: auto;
    padding: 60px 40px;
    border: 1px solid #e6e8ef;
    border-radius: 28px;
    background: white;
    text-align: center;
    box-shadow: 0 15px 45px rgba(16,24,40,.06);
}

.empty-icon {
    width: 75px;
    height: 75px;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    border-radius: 22px;
    background: #eef2ff;
    color: #635bff;
    font-size: 28px;
}

.empty-instrument h3 {
    font-weight: 800;
}

.empty-instrument p {
    color: #667085;
    line-height: 1.8;
}

.empty-note {
    padding: 15px;
    margin-top: 25px;
    border-radius: 14px;
    background: #f8f9fc;
    color: #667085;
    font-size: 13px;
}

@media (max-width: 576px) {

    .instrument-hero {
        padding-top: 120px;
    }

    .component-code-large {
        display: none;
    }

    .subcomponent-header {
        padding: 18px;
    }

    .subcomponent-left {
        gap: 10px;
    }

    .subcomponent-code {
        min-width: 55px;
        font-size: 11px;
    }

    .subcomponent-title {
        font-size: 14px;
    }

    .indicator-card {
        align-items: flex-start;
        padding: 16px;
    }

    .indicator-number {
        min-width: 75px;
        font-size: 10px;
    }

    .indicator-content h4 {
        font-size: 13px;
    }

    .indicator-arrow {
        display: none;
    }

    .empty-instrument {
        padding: 40px 22px;
    }
}


/* =========================================================
   DETAIL INDIKATOR
   ========================================================= */

.indicator-detail-header {
    position: relative;
    display: flex;
    gap: 24px;
    padding: 30px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(13, 110, 253, .10), rgba(111, 66, 193, .08));
    border: 1px solid rgba(13, 110, 253, .12);
    overflow: hidden;
}

.indicator-detail-header::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(13, 110, 253, .08);
}

.indicator-detail-code {
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(13, 110, 253, .20);
}

.indicator-detail-content {
    position: relative;
    z-index: 2;
}

.info-card {
    height: 100%;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .09);
}

.info-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(13, 110, 253, .10);
    color: #0d6efd;
}

.detail-section {
    padding: 26px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .045);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.section-heading-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(25, 135, 84, .10);
    color: #198754;
}

.example-notice {
    display: flex;
    align-items: flex-start;
    padding: 15px 18px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(255, 193, 7, .10);
    border: 1px solid rgba(255, 193, 7, .20);
    color: #664d03;
    font-size: .92rem;
}

.empty-state-small {
    padding: 38px 20px;
    text-align: center;
    border: 1px dashed rgba(0, 0, 0, .14);
    border-radius: 18px;
    background: rgba(248, 249, 250, .75);
}

.empty-state-small > i {
    font-size: 2rem;
    color: #adb5bd;
}

.evidence-type-card {
    height: 100%;
    padding: 22px;
    border-radius: 17px;
    border: 1px solid rgba(0, 0, 0, .07);
    background: #f8f9fa;
    transition: transform .25s ease, background .25s ease;
}

.evidence-type-card:hover {
    transform: translateY(-3px);
    background: #fff;
}

.evidence-type-card > i {
    font-size: 1.7rem;
    color: #0d6efd;
}

.action-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 25px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(13, 110, 253, .12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
}

@media (max-width: 767.98px) {

    .indicator-detail-header {
        flex-direction: column;
        padding: 22px;
    }

    .indicator-detail-code {
        width: 76px;
        height: 76px;
        border-radius: 18px;
        font-size: 1rem;
    }

    .detail-section {
        padding: 20px;
    }

    .action-panel {
        flex-direction: column;
        align-items: stretch;
    }

}


/* =========================================================
   DETAIL INDIKATOR
   ========================================================= */

.indicator-detail-header {
    position: relative;
    display: flex;
    gap: 24px;
    padding: 30px;
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(13, 110, 253, .10),
            rgba(111, 66, 193, .08)
        );
    border: 1px solid rgba(13, 110, 253, .12);
    overflow: hidden;
}

.indicator-detail-header::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(13, 110, 253, .08);
}

.indicator-detail-code {
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(13, 110, 253, .20);
}

.indicator-detail-content {
    position: relative;
    z-index: 2;
}

.info-card {
    height: 100%;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .09);
}

.info-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(13, 110, 253, .10);
    color: #0d6efd;
}

.detail-section {
    padding: 26px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .045);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.section-heading-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(25, 135, 84, .10);
    color: #198754;
}

.example-notice {
    display: flex;
    align-items: flex-start;
    padding: 15px 18px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(255, 193, 7, .10);
    border: 1px solid rgba(255, 193, 7, .20);
    color: #664d03;
    font-size: .92rem;
}

.empty-state-small {
    padding: 38px 20px;
    text-align: center;
    border: 1px dashed rgba(0, 0, 0, .14);
    border-radius: 18px;
    background: rgba(248, 249, 250, .75);
}

.empty-state-small > i {
    font-size: 2rem;
    color: #adb5bd;
}

.evidence-type-card {
    height: 100%;
    padding: 22px;
    border-radius: 17px;
    border: 1px solid rgba(0, 0, 0, .07);
    background: #f8f9fa;
    transition: transform .25s ease, background .25s ease;
}

.evidence-type-card:hover {
    transform: translateY(-3px);
    background: #fff;
}

.evidence-type-card > i {
    font-size: 1.7rem;
    color: #0d6efd;
}

.action-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 25px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(13, 110, 253, .12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
}

@media (max-width: 767.98px) {

    .indicator-detail-header {
        flex-direction: column;
        padding: 22px;
    }

    .indicator-detail-code {
        width: 76px;
        height: 76px;
        border-radius: 18px;
        font-size: 1rem;
    }

    .detail-section {
        padding: 20px;
    }

    .action-panel {
        flex-direction: column;
        align-items: stretch;
    }

}
