* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #182033;
}

/* =========================
   Layout
========================= */

.container {
    width: min(950px, calc(100% - 40px));
    margin: 80px auto;
}

/* =========================
   Header
========================= */

.header {
    text-align: center;
    margin-bottom: 35px;
}

.header h1 {
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.2;
    color: #182033;
}

.header p {
    max-width: 650px;
    margin: 0 auto;
    color: #718096;
    font-size: 16px;
    line-height: 1.6;
}

/* =========================
   Scanner Card
========================= */

.scanner-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 160px;
    gap: 12px;
    align-items: end;
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

/* =========================
   Form
========================= */

input,
select {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid #d7dce5;
    border-radius: 8px;

    background: #ffffff;
    color: #182033;

    font-size: 14px;

    outline: none;
}

input:focus,
select:focus {
    border-color: #3328a8;
    box-shadow: 0 0 0 3px rgba(51, 40, 168, 0.10);
}

/* =========================
   Buttons
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 20px;

    border: 0;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.btn-primary {
    width: 100%;
    background: #171078;
    color: #ffffff;
}

.btn-primary:hover {
    background: #2419a5;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =========================
   Messages
========================= */

.message {
    display: none;

    margin-top: 20px;
    padding: 15px 18px;

    border-radius: 8px;

    font-size: 14px;
    line-height: 1.5;
}

.message-success {
    display: block;
    background: #ecfdf3;
    color: #027a48;
}

.message-error {
    display: block;
    background: #fff1f2;
    color: #be123c;
}

/* =========================
   Result
========================= */

.result-card {
    max-width: 800px;
    margin: 60px auto;

    padding: 30px;

    background: #ffffff;
    border-radius: 16px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
}

.result-card h1 {
    margin-top: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
}

.status-pending {
    background: #fff4cc;
    color: #7a5b00;
}

.status-running {
    background: #eef2ff;
    color: #3730a3;
}

.status-completed {
    background: #ecfdf3;
    color: #027a48;
}

.status-failed {
    background: #fff1f2;
    color: #be123c;
}

/* =========================
   Responsive
========================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 24px, 950px);
        margin: 40px auto;
    }

    .header h1 {
        font-size: 28px;
    }

    .scanner-card {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}



/* ========================================
   RESULT PAGE
======================================== */

.result-container {
    width: min(1180px, calc(100% - 40px));
    margin: 55px auto 80px;
}

.result-card {
    max-width: none;
    margin: 0;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e8ecf2;
    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(16, 24, 40, .05),
        0 2px 8px rgba(16, 24, 40, .03);
}


/* ========================================
   TARGET HEADER
======================================== */

.result-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 24px;

    padding-bottom: 25px;

    border-bottom: 1px solid #eef1f5;
}

.result-target {
    min-width: 0;
}

.result-label,
.section-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #8a94a6;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .08em;
}

.result-url {
    margin: 0;

    color: #172033;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.5;

    overflow-wrap: anywhere;
}


/* ========================================
   STATUS BADGES
======================================== */

.status-badge {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    min-height: 32px;

    padding: 7px 13px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
}

.status-pending {
    background: #fff7e6;
    color: #a35c00;
}

.status-running {
    background: #eef2ff;
    color: #3730a3;
}

.status-completed {
    background: #eafbf1;
    color: #067647;
}

.status-failed {
    background: #fff0f1;
    color: #b42318;
}


/* ========================================
   PROGRESS CARD
======================================== */

.progress-card {
    margin-top: 26px;

    padding: 22px;

    border: 1px solid #e9edf3;
    border-radius: 14px;

    background: #fafbfc;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.progress-title {
    display: block;

    color: #1d2939;

    font-size: 15px;
    font-weight: 800;
}

.progress-subtitle {
    display: block;

    margin-top: 4px;

    color: #98a2b3;

    font-size: 12px;
}

.progress-number {
    display: flex;
    align-items: baseline;

    gap: 3px;

    color: #667085;
}

.progress-number strong {
    color: #171078;

    font-size: 25px;
}

.progress-bar {
    position: relative;

    width: 100%;
    height: 12px;

    margin-top: 18px;

    overflow: hidden;

    border-radius: 999px;

    background: #e7e9f3;
}

.progress-fill {
    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #171078,
            #4f46e5
        );

    transition: width .4s ease;
}

.progress-footer {
    display: flex;
    justify-content: space-between;

    margin-top: 9px;

    color: #98a2b3;

    font-size: 11px;
}

#progressPercent {
    color: #344054;

    font-weight: 800;
}


/* ========================================
   STAT CARDS
======================================== */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 22px;
}

.stat-card {
    display: flex;
    align-items: center;

    gap: 13px;

    min-height: 95px;

    padding: 19px;

    border: 1px solid transparent;
    border-radius: 14px;
}

.stat-card strong {
    display: block;

    margin: 0;

    font-size: 28px;
    line-height: 1;
}

.stat-card span {
    display: block;

    margin-top: 7px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .04em;
}

.stat-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    font-size: 18px;
    font-weight: 900;
}

.stat-clean {
    background: #edfcf2;
    color: #027a48;

    border-color: #d1fadf;
}

.stat-clean .stat-icon {
    background: #d1fadf;
}

.stat-suspicious {
    background: #fffaeb;
    color: #b54708;

    border-color: #fedf89;
}

.stat-suspicious .stat-icon {
    background: #fef0c7;
}

.stat-infected {
    background: #fff1f3;
    color: #c01048;

    border-color: #feccd6;
}

.stat-infected .stat-icon {
    background: #ffe4e8;
}

.stat-error {
    background: #f8f9fb;
    color: #475467;

    border-color: #e4e7ec;
}

.stat-error .stat-icon {
    background: #eaecf0;
}


/* ========================================
   NOTICE
======================================== */

.notice {
    margin-top: 22px;

    padding: 14px 16px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.5;
}

.notice-info {
    background: #eef4ff;
    color: #3538cd;
}

.notice-success {
    background: #ecfdf3;
    color: #027a48;
}

.notice-error {
    background: #fff1f2;
    color: #be123c;
}


/* ========================================
   BUTTON AREA
======================================== */

.result-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 12px;

    margin-top: 22px;
}

.btn-auto {
    width: auto;
}


/* ========================================
   DETAIL SECTION
======================================== */

.scan-details-section {
    margin-top: 34px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;

    margin-bottom: 18px;
}

.section-title-row h2 {
    margin: 0;

    color: #172033;

    font-size: 24px;
}

.section-title-row p {
    margin: 6px 0 0;

    color: #8a94a6;

    font-size: 13px;
}


/* ========================================
   SCAN PAGE CARDS
======================================== */

.scan-pages {
    display: flex;
    flex-direction: column;

    gap: 13px;
}

.scan-page {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;

    box-shadow:
        0 4px 16px rgba(16, 24, 40, .035);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.scan-page:hover {
    border-color: #cdd3dc;

    box-shadow:
        0 6px 18px rgba(16, 24, 40, .055);
}

.scan-page-head {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 17px 19px;

    border: 0;

    background: #ffffff;

    color: #172033;

    text-align: left;

    cursor: pointer;
}

.scan-page-head:hover {
    background: #fbfcfd;
}

.scan-page-head-main {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 13px;
}

.scan-page-url {
    display: block;

    color: #172033;

    font-size: 13px;
    font-weight: 700;

    overflow-wrap: anywhere;
}

.scan-page-title {
    display: block;

    margin-top: 4px;

    color: #98a2b3;

    font-size: 11px;
}

.scan-page-meta {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    gap: 12px;

    color: #667085;

    font-size: 11px;
}

.expand-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #f2f4f7;

    color: #475467;

    font-size: 17px;
}


/* ========================================
   PAGE STATUS
======================================== */

.page-status {
    min-width: 92px;

    display: inline-flex;
    justify-content: center;

    padding: 6px 9px;

    border-radius: 8px;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
}

.page-status-clean {
    background: #ecfdf3;
    color: #027a48;
}

.page-status-suspicious {
    background: #fffaeb;
    color: #b54708;
}

.page-status-infected {
    background: #fff1f3;
    color: #c01048;
}

.page-status-error {
    background: #f2f4f7;
    color: #475467;
}


/* ========================================
   ACCORDION
======================================== */

.scan-page-body {
    display: none;

    padding: 0 19px 19px;
}

.scan-page.open
.scan-page-body {
    display: block;
}


/* ========================================
   FINDINGS
======================================== */

.finding {
    margin-top: 12px;

    padding: 16px;

    border: 1px solid #e4e7ec;
    border-radius: 12px;

    background: #fafafa;
}

.finding-head {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 8px;
}

.finding-head strong {
    color: #172033;

    font-size: 14px;
}

.finding p {
    margin: 7px 0;

    color: #667085;

    font-size: 12px;
    line-height: 1.6;
}

.severity-badge {
    flex-shrink: 0;

    padding: 5px 8px;

    border-radius: 7px;

    font-size: 9px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .04em;
}

.severity-critical {
    background: #fee4e2;
    color: #b42318;
}

.severity-high {
    background: #fff1f3;
    color: #c01048;
}

.severity-medium {
    background: #fffaeb;
    color: #b54708;
}

.severity-low {
    background: #eff8ff;
    color: #175cd3;
}

.severity-info {
    background: #f2f4f7;
    color: #475467;
}


/* ========================================
   EVIDENCE
======================================== */

.finding-evidence {
    margin-top: 12px;
}

.finding-evidence span {
    display: block;

    margin-bottom: 6px;

    color: #98a2b3;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .06em;

    text-transform: uppercase;
}

.finding-evidence code {
    display: block;

    max-height: 180px;

    overflow: auto;

    padding: 12px 13px;

    background: #172033;

    color: #f8fafc;

    border-radius: 9px;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 11px;
    line-height: 1.55;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.finding-category {
    margin-top: 9px;

    color: #98a2b3;

    font-size: 10px;
}


/* ========================================
   CLEAN / ERROR MESSAGE
======================================== */

.page-clean-message {
    padding: 13px 15px;

    border: 1px solid #d1fadf;
    border-radius: 9px;

    background: #ecfdf3;

    color: #027a48;

    font-size: 12px;
}

.page-error {
    padding: 14px 15px;

    border: 1px solid #fecdca;
    border-radius: 9px;

    background: #fef3f2;

    color: #b42318;
}


/* ========================================
   EMPTY STATE
======================================== */

.empty-state {
    min-height: 160px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 30px;

    background: #ffffff;

    border: 1px dashed #cfd5df;
    border-radius: 14px;

    color: #98a2b3;

    text-align: center;
}

.empty-state strong {
    color: #475467;

    font-size: 14px;
}

.empty-state span {
    font-size: 12px;
}

.empty-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 5px;

    border-radius: 50%;

    background: #f2f4f7;

    color: #667085;

    font-size: 20px;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 800px) {

    .result-container {
        width: calc(100% - 24px);

        margin-top: 32px;
    }

    .result-card {
        padding: 20px;
    }

    .result-top {
        flex-direction: column;
    }

    .progress-header {
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .scan-page-head {
        align-items: flex-start;
    }

    .scan-page-head-main {
        align-items: flex-start;
    }

    .page-status {
        min-width: auto;
    }

}

@media (max-width: 520px) {

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .result-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-auto {
        width: 100%;
    }

    .scan-page-head {
        flex-direction: column;
    }

    .scan-page-meta {
        width: 100%;

        justify-content: space-between;
    }

}
/* =========================
   Result Final
========================= */

.result-container {
    max-width: 1100px;
}

.scan-details-section {
    margin-top: 30px;
}

.section-title-row {
    margin-bottom: 18px;
}

.section-title-row h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

.section-title-row p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}


/* =========================
   Scan Pages
========================= */

.scan-pages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scan-page {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(0,0,0,.04);
}

.scan-page-head {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 20px;

    border: 0;

    background: #ffffff;

    color: #182033;

    text-align: left;

    cursor: pointer;
}

.scan-page-head:hover {
    background: #fafbfc;
}

.scan-page-head-main {
    min-width: 0;

    display: flex;
    align-items: flex-start;

    gap: 12px;
}

.scan-page-url {
    display: block;

    max-width: 720px;

    overflow-wrap: anywhere;

    font-size: 14px;
}

.scan-page-title {
    display: block;

    margin-top: 5px;

    color: #98a2b3;

    font-size: 12px;
}

.scan-page-meta {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 15px;

    color: #667085;

    font-size: 12px;
}

.expand-icon {
    width: 25px;
    height: 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f2f4f7;

    font-size: 18px;
}


/* =========================
   Page Status
========================= */

.page-status {
    flex-shrink: 0;

    display: inline-flex;

    padding: 5px 8px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}

.page-status-clean {
    background: #ecfdf3;
    color: #027a48;
}

.page-status-suspicious {
    background: #fffaeb;
    color: #b54708;
}

.page-status-infected {
    background: #fff1f3;
    color: #c01048;
}

.page-status-error {
    background: #f2f4f7;
    color: #475467;
}


/* =========================
   Accordion
========================= */

.scan-page-body {
    display: none;

    padding: 0 20px 20px;
}

.scan-page.open
.scan-page-body {
    display: block;
}


/* =========================
   Findings
========================= */

.finding {
    margin-top: 12px;

    padding: 16px;

    border: 1px solid #e4e7ec;
    border-radius: 10px;

    background: #fafafa;
}

.finding-head {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 10px;
}

.finding p {
    margin: 8px 0;

    color: #475467;

    font-size: 13px;
    line-height: 1.6;
}

.severity-badge {
    display: inline-flex;

    padding: 4px 8px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}

.severity-critical {
    background: #fee4e2;
    color: #b42318;
}

.severity-high {
    background: #fff1f3;
    color: #c01048;
}

.severity-medium {
    background: #fffaeb;
    color: #b54708;
}

.severity-low {
    background: #eff8ff;
    color: #175cd3;
}

.severity-info {
    background: #f2f4f7;
    color: #475467;
}

.finding-evidence {
    margin-top: 12px;
}

.finding-evidence span {
    display: block;

    margin-bottom: 6px;

    color: #667085;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}

.finding-evidence code {
    display: block;

    max-height: 180px;

    overflow: auto;

    padding: 12px;

    border-radius: 8px;

    background: #101828;

    color: #f2f4f7;

    white-space: pre-wrap;
    overflow-wrap: anywhere;

    font-size: 12px;
    line-height: 1.5;
}

.finding-category {
    margin-top: 10px;

    color: #98a2b3;

    font-size: 11px;
}


/* =========================
   Clean / Error
========================= */

.page-clean-message {
    padding: 15px;

    border-radius: 8px;

    background: #ecfdf3;

    color: #027a48;

    font-size: 13px;
}

.page-error {
    padding: 15px;

    border-radius: 8px;

    background: #fef3f2;

    color: #b42318;
}

.page-error p {
    margin: 8px 0 0;

    font-size: 13px;
}


/* =========================
   Empty
========================= */

.empty-state {
    padding: 40px 20px;

    background: #ffffff;

    border: 1px dashed #d0d5dd;
    border-radius: 12px;

    color: #98a2b3;

    text-align: center;
}


/* =========================
   Responsive
========================= */

@media (max-width: 700px) {

    .scan-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .scan-page-meta {
        width: 100%;

        justify-content: space-between;
    }

    .scan-page-head-main {
        width: 100%;
    }

    .finding-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ========================================
   GLOBAL Header
======================================== */

:root {
    --primary: #20198c;
    --primary-dark: #171064;
    --text: #172033;
    --muted: #667085;
    --border: #e4e7ec;
    --background: #f6f8fc;
    --white: #ffffff;
}

body {
    background: var(--background);
}


/* ========================================
   SITE HEADER
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .96);

    border-bottom: 1px solid #e9edf3;

    backdrop-filter: blur(12px);
}

.nav-container {
    width: min(1180px, calc(100% - 40px));

    min-height: 74px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* ========================================
   BRAND
======================================== */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--text);

    text-decoration: none;

    flex-shrink: 0;
}

.brand-logo {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 11px;

    background: #f1f3f8;
}

.brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.brand-text strong {
    display: block;

    font-size: 15px;
    font-weight: 800;

    line-height: 1.2;
}

.brand-text span {
    display: block;

    margin-top: 3px;

    color: #98a2b3;

    font-size: 10px;

    letter-spacing: .04em;

    text-transform: uppercase;
}


/* ========================================
   DESKTOP NAV
======================================== */

.main-nav {
    display: flex;
    align-items: center;

    gap: 6px;
}

.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 0 14px;

    border-radius: 9px;

    color: #667085;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}

.nav-link:hover {
    background: #f2f4f7;

    color: var(--text);
}

.nav-link.active {
    background: #eeedff;

    color: var(--primary);
}


/* ========================================
   MOBILE BUTTON
======================================== */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: #ffffff;

    color: var(--text);

    font-size: 20px;

    cursor: pointer;
}

.mobile-nav {
    display: none;

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto 14px;

    padding: 10px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 12px;
}

.mobile-nav a {
    display: block;

    padding: 11px 12px;

    border-radius: 8px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.mobile-nav a:hover {
    background: #f2f4f7;
}

.mobile-nav a.active {
    background: #eeedff;

    color: var(--primary);
}

.mobile-nav.open {
    display: block;
}


/* ========================================
   MAIN
======================================== */

.site-main {
    min-height: calc(100vh - 200px);
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    margin-top: 70px;

    background: #ffffff;

    border-top: 1px solid #e9edf3;
}

.footer-container {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 32px 0;

    display: flex;
    justify-content: space-between;

    gap: 30px;
}

.footer-container strong {
    color: var(--text);

    font-size: 14px;
}

.footer-container p {
    max-width: 480px;

    margin: 7px 0 0;

    color: #98a2b3;

    font-size: 12px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    align-items: flex-start;

    gap: 18px;
}

.footer-links a {
    color: #667085;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 15px 20px;

    border-top: 1px solid #f0f2f5;

    color: #98a2b3;

    font-size: 11px;

    text-align: center;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 820px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .brand-text span {
        display: none;
    }

}

@media (max-width: 600px) {

    .nav-container {
        width: calc(100% - 24px);

        min-height: 66px;
    }

    .mobile-nav {
        width: calc(100% - 24px);
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .footer-container {
        width: calc(100% - 24px);

        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}

/* ========================================
   HOME FEATURES
======================================== */

.home-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

    margin-top: 28px;
}

.home-feature-card {
    padding: 20px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;

    box-shadow:
        0 5px 18px rgba(16, 24, 40, .035);
}

.home-feature-card strong {
    display: block;

    margin-bottom: 8px;

    color: #172033;

    font-size: 14px;
}

.home-feature-card p {
    margin: 0;

    color: #667085;

    font-size: 12px;
    line-height: 1.65;
}

.form-submit {
    display: flex;
    align-items: flex-end;
}

@media (max-width: 800px) {

    .home-features {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   CLOAKING PAGE
======================================== */

.cloaking-container {
    padding-top: 42px;
}

.cloaking-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.cloaking-header h1 {
    margin-top: 7px;
}

.cloaking-header p {
    max-width: 700px;
}


/* ========================================
   INTRO
======================================== */

.cloaking-card {
    padding: 28px;
}

.cloaking-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 24px;
}

.cloaking-intro h2 {
    margin: 0 0 6px;

    color: #172033;

    font-size: 18px;
}

.cloaking-intro p {
    margin: 0;

    color: #667085;

    font-size: 13px;
}

.cloaking-status-pill {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    background: #eeedff;

    border: 1px solid #dddcff;
    border-radius: 999px;

    color: #20198c;

    font-size: 11px;
    font-weight: 800;

    white-space: nowrap;
}


/* ========================================
   FORM
======================================== */

.cloaking-form-grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    align-items: end;

    gap: 16px;
}

.cloaking-url-field {
    min-width: 0;
}

.form-help {
    display: block;

    margin-top: 7px;

    color: #98a2b3;

    font-size: 11px;
    line-height: 1.5;
}

.cloaking-submit {
    display: flex;
    align-items: flex-end;
}

.cloaking-submit .btn {
    min-height: 45px;
    white-space: nowrap;
}


/* ========================================
   HOW IT WORKS
======================================== */

.cloaking-info {
    margin-top: 44px;
}

.cloaking-check-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

    margin-top: 20px;
}

.cloaking-check-card {
    padding: 22px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;

    box-shadow:
        0 5px 18px rgba(16, 24, 40, .035);
}

.cloaking-check-number {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    background: #eeedff;

    border-radius: 9px;

    color: #20198c;

    font-size: 11px;
    font-weight: 800;
}

.cloaking-check-card h3 {
    margin: 0 0 8px;

    color: #172033;

    font-size: 14px;
}

.cloaking-check-card p {
    margin: 0;

    color: #667085;

    font-size: 12px;
    line-height: 1.65;
}


/* ========================================
   DETECTION
======================================== */

.cloaking-detection-section {
    margin-top: 44px;
}

.cloaking-detection-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 18px;
}

.cloaking-detection-item {
    padding: 16px 18px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

.cloaking-detection-item strong {
    display: block;

    margin-bottom: 5px;

    color: #172033;

    font-size: 12px;
}

.cloaking-detection-item span {
    display: block;

    color: #667085;

    font-size: 11px;
    line-height: 1.5;
}


/* ========================================
   DISCLAIMER
======================================== */

.cloaking-disclaimer {
    margin-top: 32px;

    padding: 18px 20px;

    background: #fffbeb;

    border: 1px solid #fde68a;
    border-radius: 12px;
}

.cloaking-disclaimer strong {
    display: block;

    margin-bottom: 5px;

    color: #92400e;

    font-size: 12px;
}

.cloaking-disclaimer p {
    margin: 0;

    color: #92400e;

    font-size: 11px;
    line-height: 1.65;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .cloaking-form-grid {
        grid-template-columns: 1fr;
    }

    .cloaking-submit .btn {
        width: 100%;
    }

    .cloaking-check-grid {
        grid-template-columns: 1fr;
    }

    .cloaking-detection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 560px) {

    .cloaking-container {
        padding-top: 28px;
    }

    .cloaking-card {
        padding: 20px;
    }

    .cloaking-intro {
        flex-direction: column;
    }

    .cloaking-detection-grid {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   CLOAKING RESULT
======================================== */

.cloaking-result-container {
    padding-top: 42px;
    padding-bottom: 40px;
}

.cloaking-result-header {
    max-width: 760px;
    margin-bottom: 28px;
}


/* ========================================
   RESULT SUMMARY
======================================== */

.cloaking-result-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 16px;

    box-shadow:
        0 8px 28px rgba(16, 24, 40, .045);
}

.cloaking-result-top {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 24px;

    padding-bottom: 22px;

    border-bottom: 1px solid #eaecf0;
}

.cloaking-result-target {
    min-width: 0;
}

.cloaking-result-target h2 {
    margin: 7px 0 0;

    color: #172033;

    font-size: 18px;
    line-height: 1.45;

    word-break: break-word;
}


/* ========================================
   RISK BADGE
======================================== */

.cloaking-risk-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 12px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;

    white-space: nowrap;
}

.cloaking-risk-normal {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.cloaking-risk-low_risk {
    background: #fffaeb;
    color: #b54708;
    border: 1px solid #fedf89;
}

.cloaking-risk-suspicious {
    background: #fff6ed;
    color: #c4320a;
    border: 1px solid #ffd6ae;
}

.cloaking-risk-high_risk_cloaking {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.cloaking-risk-error {
    background: #f2f4f7;
    color: #475467;
    border: 1px solid #d0d5dd;
}


/* ========================================
   SCORE
======================================== */

.cloaking-score-section {
    margin-top: 24px;
}

.cloaking-score-main {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 28px;
}

.cloaking-score-label {
    display: block;

    margin-bottom: 5px;

    color: #667085;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
}

.cloaking-score-main strong {
    color: #172033;

    font-size: 40px;
    line-height: 1;
}

.cloaking-score-max {
    color: #98a2b3;

    font-size: 14px;
}

.cloaking-score-message {
    max-width: 620px;

    color: #667085;

    font-size: 12px;
    line-height: 1.6;

    text-align: right;
}

.cloaking-score-bar {
    height: 9px;

    margin-top: 18px;

    overflow: hidden;

    background: #eaecf0;

    border-radius: 999px;
}

.cloaking-score-fill {
    height: 100%;

    border-radius: inherit;
}

.cloaking-score-fill-normal {
    background: #12b76a;
}

.cloaking-score-fill-low_risk {
    background: #f79009;
}

.cloaking-score-fill-suspicious {
    background: #f97316;
}

.cloaking-score-fill-high_risk_cloaking {
    background: #f04438;
}

.cloaking-score-fill-error {
    background: #98a2b3;
}


/* ========================================
   COMPARISON
======================================== */

.cloaking-comparison-section {
    margin-top: 44px;
}

.cloaking-comparison-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 16px;

    margin-top: 20px;
}

.cloaking-agent-card {
    min-width: 0;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;
}

.cloaking-agent-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 12px;

    padding-bottom: 16px;

    border-bottom: 1px solid #eaecf0;
}

.cloaking-agent-type {
    display: block;

    margin-bottom: 4px;

    color: #98a2b3;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .08em;
}

.cloaking-agent-header h3 {
    margin: 0;

    color: #172033;

    font-size: 16px;
}

.agent-badge {
    padding: 5px 9px;

    background: #f2f4f7;

    border-radius: 999px;

    color: #475467;

    font-size: 10px;
    font-weight: 700;
}


/* ========================================
   AGENT DATA
======================================== */

.cloaking-agent-data {
    padding-top: 8px;
}

.cloaking-data-row {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 14px;

    padding: 10px 0;

    border-bottom: 1px solid #f2f4f7;
}

.cloaking-data-row > span {
    color: #667085;

    font-size: 10px;
}

.cloaking-data-row > strong {
    color: #172033;

    font-size: 11px;

    text-align: right;

    word-break: break-word;
}

.cloaking-data-column {
    display: block;
}

.cloaking-data-column > strong {
    display: block;

    margin-top: 5px;

    text-align: left;
}


/* ========================================
   KEYWORDS
======================================== */

.cloaking-agent-extra {
    margin-top: 16px;
}

.cloaking-agent-extra > span:first-child {
    display: block;

    margin-bottom: 8px;

    color: #667085;

    font-size: 10px;
    font-weight: 700;
}

.cloaking-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}

.cloaking-tag {
    display: inline-flex;

    padding: 5px 8px;

    border-radius: 7px;

    font-size: 9px;
    font-weight: 700;
}

.cloaking-tag-danger {
    background: #fef3f2;

    color: #b42318;

    border: 1px solid #fecdca;
}

.cloaking-empty-value {
    color: #98a2b3;

    font-size: 10px;
}


/* ========================================
   DOMAINS
======================================== */

.cloaking-domains-section {
    margin-top: 44px;
}

.cloaking-domain-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 16px;

    margin-top: 18px;
}

.cloaking-domain-card {
    padding: 18px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

.cloaking-domain-card h3 {
    margin: 0 0 12px;

    color: #172033;

    font-size: 13px;
}

.cloaking-domain-card p {
    margin: 0;

    color: #98a2b3;

    font-size: 10px;
}

.cloaking-domain-list {
    display: flex;

    flex-direction: column;

    gap: 6px;
}

.cloaking-domain-list span {
    padding: 7px 9px;

    overflow-wrap: anywhere;

    background: #f8fafc;

    border-radius: 7px;

    color: #475467;

    font-size: 9px;
}


/* ========================================
   FINDINGS
======================================== */

.cloaking-findings-section {
    margin-top: 44px;
}

.cloaking-findings-count {
    padding: 6px 10px;

    background: #f2f4f7;

    border-radius: 999px;

    color: #475467;

    font-size: 10px;
    font-weight: 700;
}

.cloaking-findings-list {
    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 18px;
}

.cloaking-finding {
    padding: 18px 20px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

.cloaking-finding-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;
}

.cloaking-finding-header h3 {
    margin: 8px 0 0;

    color: #172033;

    font-size: 13px;
}

.cloaking-finding-category {
    color: #98a2b3;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .06em;
}

.cloaking-finding-description {
    margin: 12px 0 0;

    color: #667085;

    font-size: 11px;
    line-height: 1.65;
}


/* ========================================
   SEVERITY
======================================== */

.severity-badge {
    display: inline-flex;

    padding: 5px 8px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 800;
}

.severity-info {
    background: #eff8ff;
    color: #175cd3;
}

.severity-low {
    background: #ecfdf3;
    color: #027a48;
}

.severity-medium {
    background: #fffaeb;
    color: #b54708;
}

.severity-high,
.severity-critical {
    background: #fef3f2;
    color: #b42318;
}


/* ========================================
   EVIDENCE
======================================== */

.cloaking-evidence {
    margin-top: 14px;

    padding: 12px;

    background: #f8fafc;

    border: 1px solid #eaecf0;
    border-radius: 8px;
}

.cloaking-evidence > span {
    display: block;

    margin-bottom: 6px;

    color: #98a2b3;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .08em;
}

.cloaking-evidence code {
    display: block;

    color: #344054;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 10px;
    line-height: 1.6;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* ========================================
   NO FINDINGS
======================================== */

.cloaking-no-findings {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 18px;

    padding: 18px;

    background: #ecfdf3;

    border: 1px solid #abefc6;
    border-radius: 12px;
}

.cloaking-no-findings-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    background: #d1fadf;

    border-radius: 50%;

    color: #027a48;

    font-weight: 800;
}

.cloaking-no-findings strong {
    display: block;

    color: #027a48;

    font-size: 12px;
}

.cloaking-no-findings span {
    display: block;

    margin-top: 3px;

    color: #039855;

    font-size: 10px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 950px) {

    .cloaking-comparison-grid,
    .cloaking-domain-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .cloaking-result-container {
        padding-top: 28px;
    }

    .cloaking-result-card {
        padding: 20px;
    }

    .cloaking-result-top {
        flex-direction: column;
    }

    .cloaking-score-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .cloaking-score-message {
        text-align: left;
    }

    .cloaking-finding-header {
        flex-direction: column;
    }

}

/* ========================================
   CLOAKING FORM STATE
======================================== */

#cloakingButton:disabled {
    opacity: .75;
    cursor: not-allowed;
}

.button-spinner {
    width: 14px;
    height: 14px;

    display: inline-block;

    margin-right: 7px;

    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #ffffff;
    border-radius: 50%;

    vertical-align: -2px;

    animation: cloaking-spin .7s linear infinite;
}

@keyframes cloaking-spin {

    to {
        transform: rotate(360deg);
    }

}

#cloakingMessage {
    display: none;

    margin-top: 16px;
}

.message-info,
.message-success,
.message-error {
    padding: 12px 14px;

    border-radius: 10px;

    font-size: 12px;
    line-height: 1.55;
}

.message-info {
    background: #eff8ff;
    border: 1px solid #b2ddff;
    color: #175cd3;
}

.message-success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #027a48;
}

.message-error {
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #b42318;
}

/* ========================================
   CLOAKING CONTENT WARNING
======================================== */

.content-warning-card,
.bot-cloaking-warning {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    margin-top: 20px;
    padding: 20px 22px;

    border-radius: 14px;
}

.content-warning-card {
    background: #fffaeb;
    border: 1px solid #fedf89;
}

.bot-cloaking-warning {
    background: #fef3f2;
    border: 1px solid #fecdca;
}

.content-warning-icon,
.bot-cloaking-warning-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 36px;

    border-radius: 50%;

    font-size: 16px;
    font-weight: 800;
}

.content-warning-icon {
    background: #fef0c7;
    color: #b54708;
}

.bot-cloaking-warning-icon {
    background: #fee4e2;
    color: #b42318;
}

.content-warning-body {
    min-width: 0;
}

.content-warning-label {
    display: block;

    margin-bottom: 5px;

    color: #b54708;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .09em;
}

.content-warning-body h3,
.bot-cloaking-warning h3 {
    margin: 0;

    color: #7a2e0e;

    font-size: 14px;
}

.bot-cloaking-warning h3 {
    color: #912018;
}

.content-warning-body p,
.bot-cloaking-warning p {
    margin: 8px 0 0;

    font-size: 11px;
    line-height: 1.65;
}

.content-warning-body p {
    color: #854a0e;
}

.bot-cloaking-warning p {
    color: #b42318;
}

.content-warning-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 12px;
}

.content-warning-tags span {
    padding: 5px 9px;

    background: #ffffff;

    border: 1px solid #fedf89;
    border-radius: 7px;

    color: #b54708;

    font-size: 10px;
    font-weight: 700;
}

.content-warning-explanation {
    margin-top: 12px !important;
}

.content-warning-explanation strong {
    color: #7a2e0e;
}


/* Keyword biasa / muncul pada Browser juga */
.cloaking-tag-warning {
    background: #fffaeb;

    color: #b54708;

    border: 1px solid #fedf89;
}


/* Keyword khusus crawler */
.bot-only-warning {
    margin-top: 10px;
    padding: 9px 10px;

    background: #fef3f2;

    border: 1px solid #fecdca;
    border-radius: 7px;

    color: #b42318;

    font-size: 9px;
    line-height: 1.55;
}


@media (max-width: 650px) {

    .content-warning-card,
    .bot-cloaking-warning {
        padding: 16px;
        gap: 12px;
    }

}

/* ========================================
   HISTORY
======================================== */

.history-container {
    padding-top: 42px;
    padding-bottom: 48px;
}

.history-header {
    max-width: 760px;
    margin-bottom: 28px;
}


/* ========================================
   STATS
======================================== */

.history-stats {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 16px;

    margin-bottom: 42px;
}

.history-stat-card {
    padding: 20px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;
}

.history-stat-card > span {
    display: block;

    color: #667085;

    font-size: 10px;
    font-weight: 700;
}

.history-stat-card > strong {
    display: block;

    margin-top: 7px;

    color: #172033;

    font-size: 28px;
    line-height: 1;
}

.history-stat-card > small {
    display: block;

    margin-top: 7px;

    color: #98a2b3;

    font-size: 9px;
}


/* ========================================
   SECTION
======================================== */

.history-section {
    margin-top: 36px;
}

.history-section-cloaking {
    margin-top: 52px;
}


/* ========================================
   TABLE
======================================== */

.history-table-wrap {
    margin-top: 18px;

    overflow-x: auto;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;
}

.history-table {
    width: 100%;

    min-width: 850px;

    border-collapse: collapse;
}

.history-table th {
    padding: 12px 14px;

    background: #f8fafc;

    border-bottom: 1px solid #eaecf0;

    color: #667085;

    font-size: 9px;
    font-weight: 800;

    text-align: left;

    letter-spacing: .04em;

    white-space: nowrap;
}

.history-table td {
    padding: 14px;

    border-bottom: 1px solid #f2f4f7;

    vertical-align: middle;
}

.history-table tbody tr:last-child td {
    border-bottom: 0;
}

.history-table tbody tr:hover {
    background: #fcfcfd;
}


/* ========================================
   TARGET
======================================== */

.history-target {
    max-width: 340px;
}

.history-target strong {
    display: block;

    color: #172033;

    font-size: 11px;
    line-height: 1.45;

    overflow-wrap: anywhere;
}

.history-target span {
    display: block;

    margin-top: 3px;

    color: #98a2b3;

    font-size: 9px;
}


/* ========================================
   STATUS
======================================== */

.history-status,
.history-risk {
    display: inline-flex;
    align-items: center;

    padding: 5px 8px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 800;

    white-space: nowrap;
}

.history-status-completed {
    background: #ecfdf3;
    color: #027a48;
}

.history-status-running {
    background: #eff8ff;
    color: #175cd3;
}

.history-status-pending {
    background: #fffaeb;
    color: #b54708;
}

.history-status-failed {
    background: #fef3f2;
    color: #b42318;
}


/* ========================================
   RISK
======================================== */

.history-risk-normal {
    background: #ecfdf3;
    color: #027a48;
}

.history-risk-low_risk {
    background: #fffaeb;
    color: #b54708;
}

.history-risk-suspicious {
    background: #fff6ed;
    color: #c4320a;
}

.history-risk-high_risk_cloaking {
    background: #fef3f2;
    color: #b42318;
}

.history-risk-error {
    background: #f2f4f7;
    color: #475467;
}


/* ========================================
   COUNTS
======================================== */

.history-count {
    display: inline-flex;

    min-width: 28px;

    justify-content: center;

    padding: 5px 7px;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 800;
}

.history-count-clean {
    background: #ecfdf3;
    color: #027a48;
}

.history-count-warning {
    background: #fffaeb;
    color: #b54708;
}

.history-count-danger {
    background: #fef3f2;
    color: #b42318;
}


/* ========================================
   SCORE
======================================== */

.history-score {
    display: flex;
    align-items: baseline;

    gap: 3px;
}

.history-score strong {
    color: #172033;

    font-size: 15px;
}

.history-score span {
    color: #98a2b3;

    font-size: 8px;
}


/* ========================================
   DATE
======================================== */

.history-date {
    color: #667085;

    font-size: 9px;

    white-space: nowrap;
}


/* ========================================
   BUTTON
======================================== */

.history-action-cell {
    text-align: right;
}

.history-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 10px;

    background: #eef2ff;

    border-radius: 7px;

    color: #3538cd;

    font-size: 9px;
    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease;
}

.history-view-button:hover {
    background: #e0e7ff;
    color: #2d31a6;
}


/* ========================================
   EMPTY
======================================== */

.history-empty {
    margin-top: 18px;
    padding: 22px;

    background: #ffffff;

    border: 1px dashed #d0d5dd;
    border-radius: 12px;

    text-align: center;
}

.history-empty strong {
    display: block;

    color: #344054;

    font-size: 12px;
}

.history-empty span {
    display: block;

    margin-top: 5px;

    color: #98a2b3;

    font-size: 10px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 800px) {

    .history-stats {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .history-container {
        padding-top: 28px;
    }

}

/* ========================================
   ABOUT
======================================== */

.about-container {
    padding-top: 42px;
    padding-bottom: 52px;
}

.about-header {
    max-width: 800px;
    margin-bottom: 28px;
}


/* ========================================
   INTRO
======================================== */

.about-intro-card {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 16px;

    box-shadow:
        0 8px 28px rgba(16, 24, 40, .045);
}

.about-intro-content {
    max-width: 850px;
}

.about-intro-content h2 {
    margin: 7px 0 12px;

    color: #172033;

    font-size: 23px;
}

.about-intro-content p {
    margin: 8px 0 0;

    color: #667085;

    font-size: 12px;
    line-height: 1.75;
}


/* ========================================
   SECTION
======================================== */

.about-section {
    margin-top: 48px;
}


/* ========================================
   FEATURES
======================================== */

.about-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;

    margin-top: 20px;
}

.about-feature-card {
    position: relative;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;
}

.about-feature-number {
    display: inline-flex;

    margin-bottom: 16px;

    color: #6172f3;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .08em;
}

.about-feature-card h3 {
    margin: 0;

    color: #172033;

    font-size: 17px;
}

.about-feature-card > p {
    margin: 9px 0 0;

    color: #667085;

    font-size: 11px;
    line-height: 1.65;
}

.about-list {
    margin: 18px 0 0;
    padding-left: 18px;

    color: #475467;
}

.about-list li {
    margin-bottom: 8px;

    font-size: 10px;
    line-height: 1.55;
}

.about-feature-link {
    display: inline-flex;

    margin-top: 14px;

    color: #444ce7;

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;
}

.about-feature-link:hover {
    text-decoration: underline;
}


/* ========================================
   STEPS
======================================== */

.about-step-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 14px;

    margin-top: 20px;
}

.about-step-card {
    padding: 18px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

.about-step-card > span {
    color: #6172f3;

    font-size: 10px;
    font-weight: 800;
}

.about-step-card h3 {
    margin: 12px 0 7px;

    color: #172033;

    font-size: 12px;
}

.about-step-card p {
    margin: 0;

    color: #667085;

    font-size: 10px;
    line-height: 1.6;
}


/* ========================================
   STATUS
======================================== */

.about-status-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;

    margin-top: 18px;
}

.about-status-card {
    padding: 18px;

    border-radius: 12px;
}

.about-status-card strong {
    display: block;

    font-size: 12px;
}

.about-status-card p {
    margin: 7px 0 0;

    font-size: 10px;
    line-height: 1.6;
}

.about-status-clean {
    background: #ecfdf3;
    border: 1px solid #abefc6;
}

.about-status-clean strong {
    color: #027a48;
}

.about-status-clean p {
    color: #039855;
}

.about-status-warning {
    background: #fffaeb;
    border: 1px solid #fedf89;
}

.about-status-warning strong {
    color: #b54708;
}

.about-status-warning p {
    color: #b54708;
}

.about-status-danger {
    background: #fef3f2;
    border: 1px solid #fecdca;
}

.about-status-danger strong {
    color: #b42318;
}

.about-status-danger p {
    color: #d92d20;
}


/* ========================================
   LIMITATIONS
======================================== */

.about-limit-card {
    margin-top: 18px;
    padding: 24px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 14px;
}

.about-limit-card > p {
    max-width: 850px;

    margin: 0;

    color: #667085;

    font-size: 11px;
    line-height: 1.7;
}

.about-limit-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-top: 20px;
}

.about-limit-grid > div {
    padding: 15px;

    background: #f8fafc;

    border-radius: 9px;
}

.about-limit-grid strong {
    display: block;

    color: #344054;

    font-size: 11px;
}

.about-limit-grid span {
    display: block;

    margin-top: 5px;

    color: #667085;

    font-size: 9px;
    line-height: 1.55;
}


/* ========================================
   SECURITY
======================================== */

.about-security-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-top: 18px;
}

.about-security-item {
    padding: 17px;

    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 11px;
}

.about-security-item strong {
    display: block;

    color: #344054;

    font-size: 11px;
}

.about-security-item span {
    display: block;

    margin-top: 5px;

    color: #667085;

    font-size: 9px;
    line-height: 1.6;
}


/* ========================================
   DISCLAIMER
======================================== */

.about-disclaimer {
    margin-top: 50px;
    padding: 26px;

    background: #f8fafc;

    border: 1px solid #e4e7ec;
    border-radius: 14px;
}

.about-disclaimer h2 {
    margin: 7px 0 10px;

    color: #172033;

    font-size: 17px;
}

.about-disclaimer p {
    max-width: 900px;

    margin: 8px 0 0;

    color: #667085;

    font-size: 10px;
    line-height: 1.7;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .about-step-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


@media (max-width: 700px) {

    .about-feature-grid,
    .about-status-grid,
    .about-limit-grid,
    .about-security-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 560px) {

    .about-container {
        padding-top: 28px;
    }

    .about-intro-card {
        padding: 21px;
    }

    .about-step-grid {
        grid-template-columns: 1fr;
    }

}