* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #1769ff;
    --blue-dark: #0d47b5;
    --blue-light: #edf4ff;
    --blue-pale: #f7faff;

    --dark: #101828;
    --text: #344054;
    --muted: #667085;

    --border: #e4eaf2;
    --white: #ffffff;

    --green: #12b76a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #f6f9fd;
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}


/* =====================================
   APPLICATION
===================================== */

.app {
    min-height: 100vh;
    display: flex;
}


/* =====================================
   SIDEBAR
===================================== */

.sidebar {
    width: 255px;
    min-height: 100vh;

    background: var(--white);

    border-right: 1px solid var(--border);

    position: fixed;
    left: 0;
    top: 0;

    display: flex;
    flex-direction: column;

    padding: 26px 16px;

    z-index: 100;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 0 12px;

    margin-bottom: 45px;

    font-size: 21px;
    font-weight: 800;

    color: var(--dark);
}

.brand-mark {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #1769ff,
            #4b9bff
        );

    font-weight: 800;

    box-shadow:
        0 8px 18px
        rgba(23, 105, 255, .22);
}


/* NAVIGATION */

.navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    min-height: 47px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 0 13px;

    border-radius: 10px;

    color: #667085;

    font-size: 14px;
    font-weight: 600;

    transition: .2s;
}

.nav-item:hover {
    background: var(--blue-pale);
    color: var(--blue);
}

.nav-item.active {
    color: var(--blue);
    background: var(--blue-light);
}

.nav-icon {
    width: 22px;

    text-align: center;

    font-size: 17px;

    color: currentColor;
}


/* SIDEBAR BOTTOM */

.sidebar-bottom {
    margin-top: auto;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.sidebar-translate {
    border: none;

    margin-top: 16px;

    width: 100%;

    padding: 13px;

    border-radius: 10px;

    background: var(--blue);

    color: white;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.sidebar-translate:hover {
    background: var(--blue-dark);
}


/* =====================================
   MAIN
===================================== */

.main {
    width: calc(100% - 255px);

    margin-left: 255px;

    min-height: 100vh;

    padding: 38px 45px 60px;
}


/* =====================================
   TOPBAR
===================================== */

.topbar {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;
}

.eyebrow {
    color: var(--blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.4px;
}

.topbar h1 {
    margin-top: 7px;

    color: var(--dark);

    font-size: 28px;

    letter-spacing: -.7px;
}

.profile {
    display: flex;
    align-items: center;

    gap: 10px;
}

.profile-avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: var(--blue-light);

    color: var(--blue);

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
}

.profile strong {
    display: block;

    font-size: 13px;

    color: var(--dark);
}

.profile small {
    color: var(--muted);

    font-size: 11px;
}


/* =====================================
   STAT CARDS
===================================== */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-bottom: 22px;
}

.stat-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    padding: 20px;

    box-shadow:
        0 5px 18px
        rgba(16, 24, 40, .025);
}

.stat-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    color: var(--muted);

    font-size: 12px;

    font-weight: 600;
}

.stat-icon {
    width: 28px;
    height: 28px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 8px;

    color: var(--blue);

    background: var(--blue-light);

    font-size: 10px;
    font-weight: 800;
}

.stat-card h2 {
    margin-top: 15px;

    font-size: 28px;

    color: var(--dark);
}

.stat-card p {
    margin-top: 6px;

    font-size: 11px;
}

.positive {
    color: var(--green);
}

.neutral {
    color: var(--muted);
}


/* =====================================
   HERO
===================================== */

.dashboard-hero {
    min-height: 340px;

    border-radius: 20px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 45px 55px;

    background:
        linear-gradient(
            120deg,
            #0755df,
            #2386ff
        );

    color: white;

    position: relative;

    margin-bottom: 22px;
}

.dashboard-hero::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    right: -120px;
    top: -180px;

    border: 70px solid rgba(255,255,255,.05);
}

.hero-content {
    max-width: 560px;

    position: relative;

    z-index: 2;
}

.hero-label {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    opacity: .8;
}

.hero-content h2 {
    margin-top: 12px;

    font-size: 42px;

    line-height: 1.08;

    letter-spacing: -1.5px;
}

.hero-content p {
    margin-top: 18px;

    max-width: 510px;

    line-height: 1.7;

    color: rgba(255,255,255,.8);

    font-size: 14px;
}

.primary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 25px;

    padding: 13px 21px;

    border-radius: 9px;

    background: white;

    color: var(--blue);

    font-size: 13px;

    font-weight: 800;

    border: none;

    cursor: pointer;
}


/* HERO VISUAL */

.hero-visual {
    width: 300px;

    display: flex;

    justify-content: center;

    position: relative;
}

.scan-circle {
    width: 230px;
    height: 230px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.35);

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;
}

.scan-circle::before {
    content: "";

    position: absolute;

    width: 165px;
    height: 165px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.25);
}

.hand-placeholder {
    font-size: 17px;

    letter-spacing: 2px;

    font-weight: 800;

    z-index: 2;

    opacity: .9;
}

.scan-line {
    position: absolute;

    width: 90%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            white,
            transparent
        );

    animation: scan 2.5s infinite;
}

@keyframes scan {
    0% {
        transform: translateY(-80px);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: translateY(80px);
        opacity: 0;
    }
}


/* =====================================
   DASHBOARD LOWER
===================================== */

.dashboard-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 20px;
}

.panel {
    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    padding: 24px;
}

.panel-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;
}

.panel-header h3 {
    color: var(--dark);

    font-size: 15px;
}

.panel-header p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 11px;
}

.panel-badge {
    color: var(--green);

    background: #ecfdf3;

    padding: 5px 8px;

    border-radius: 6px;

    font-size: 10px;

    font-weight: 700;
}


/* CHART */

.chart {
    height: 190px;

    margin-top: 20px;

    position: relative;
}

.chart-bars {
    height: 155px;

    display: flex;

    align-items: flex-end;

    justify-content: space-around;

    border-bottom: 1px solid var(--border);

    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 38px,
            #edf1f7 39px
        );
}

.chart-bars div {
    width: 30px;

    max-width: 9%;

    border-radius: 5px 5px 0 0;

    background:
        linear-gradient(
            to top,
            var(--blue),
            #6ca8ff
        );

    transition: .3s;
}

.chart-bars div:hover {
    background: var(--blue-dark);
}

.chart-labels {
    display: flex;

    justify-content: space-around;

    margin-top: 9px;

    color: var(--muted);

    font-size: 9px;
}


/* QUICK LIST */

.quick-list {
    margin-top: 16px;
}

.quick-list a {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px 0;

    border-bottom: 1px solid var(--border);
}

.quick-list a:last-child {
    border-bottom: none;
}

.quick-number {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: var(--blue-light);

    color: var(--blue);

    font-size: 9px;

    font-weight: 800;
}

.quick-list strong {
    display: block;

    color: var(--dark);

    font-size: 12px;
}

.quick-list p {
    margin-top: 4px;

    color: var(--muted);

    font-size: 10px;
}


/* =====================================
   PAGE HEADERS
===================================== */

.page-header {
    max-width: 750px;

    margin-bottom: 42px;
}

.page-header h1 {
    margin-top: 9px;

    font-size: 44px;

    letter-spacing: -1.5px;

    line-height: 1.1;

    color: var(--dark);
}

.page-header p {
    margin-top: 15px;

    color: var(--muted);

    line-height: 1.7;

    font-size: 15px;
}


/* =====================================
   HOW IT WORKS
===================================== */

.process {
    max-width: 900px;

    position: relative;
}

.process-card {
    position: relative;

    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 24px;

    margin-bottom: 18px;
}

.process-line {
    position: absolute;

    width: 1px;

    height: calc(100% - 50px);

    left: 42px;

    top: 25px;

    background: #cbdcff;
}

.process-number {
    position: relative;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--blue);
    color: white;
}