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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Segoe UI, Arial, sans-serif;
    background: #080b12;
    color: #f4f7fb;
    min-height: 100vh;
}

button,
a {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
    width: 250px;
    background: #0c1019;
    border-right: 1px solid #1b2330;
    padding: 28px 18px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 30px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #5d5df6, #9b6cff);
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(93, 93, 246, 0.25);
}

.brand h2 {
    font-size: 15px;
    margin-bottom: 4px;
}

.brand span {
    color: #7e899b;
    font-size: 11px;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    color: #8993a5;
    text-decoration: none;
    padding: 13px 14px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    transition: 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    background: #151b28;
    color: #ffffff;
}

.nav-item.active {
    border: 1px solid #252d3c;
}

.sidebar-bottom {
    margin-top: auto;
}

.bob-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: #111722;
    border: 1px solid #202938;
    border-radius: 12px;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #56d98a;
    box-shadow: 0 0 14px rgba(86, 217, 138, 0.8);
}

.bob-status strong {
    display: block;
    font-size: 12px;
}

.bob-status small {
    display: block;
    color: #768195;
    font-size: 10px;
    margin-top: 3px;
}


/* MAIN */

.main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
    padding: 32px 42px;
    max-width: 1700px;
}


/* TOPBAR */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.eyebrow {
    color: #7f8ca1;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 7px;
}

.topbar h1 {
    font-size: 27px;
    letter-spacing: -0.5px;
}

.top-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

.live-badge {
    border: 1px solid #283243;
    background: #101620;
    padding: 9px 12px;
    border-radius: 30px;
    color: #aeb8c8;
    font-size: 10px;
    letter-spacing: 1px;
}

.live-badge span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #56d98a;
    margin-right: 6px;
}


/* BUTTONS */

.primary-button {
    border: none;
    color: white;
    background: linear-gradient(135deg, #5c5cf2, #8d62f7);
    padding: 11px 17px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 10px 30px rgba(92, 92, 242, 0.2);
    transition: 0.2s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(92, 92, 242, 0.32);
}

.secondary-button {
    background: transparent;
    color: #c2cad6;
    border: 1px solid #2a3445;
    padding: 10px 16px;
    border-radius: 9px;
    font-size: 12px;
}


/* HERO */

.hero {
    min-height: 330px;
    position: relative;
    overflow: hidden;
    border: 1px solid #202939;
    border-radius: 20px;
    padding: 42px;
    background:
        radial-gradient(circle at 80% 50%, rgba(93, 93, 246, 0.13), transparent 32%),
        linear-gradient(135deg, #101520, #0c111a);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: #9a83ff;
    border: 1px solid #39324f;
    padding: 7px 10px;
    border-radius: 5px;
    margin-bottom: 18px;
}

.hero h2 {
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    margin-bottom: 18px;
}

.hero h2 span {
    background: linear-gradient(90deg, #7a78ff, #bd91ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: #9aa5b7;
    max-width: 570px;
    line-height: 1.7;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}


/* ORBIT */

.hero-orbit {
    width: 280px;
    height: 280px;
    position: relative;
    display: grid;
    place-items: center;
    margin-right: 60px;
}

.orbit-ring {
    position: absolute;
    border: 1px solid #303a50;
    border-radius: 50%;
}

.ring-one {
    width: 220px;
    height: 220px;
}

.ring-two {
    width: 155px;
    height: 155px;
    border-style: dashed;
}

.orbit-core {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5e5ef2, #9866ff);
    display: grid;
    place-items: center;
    align-content: center;
    box-shadow:
        0 0 35px rgba(108, 96, 255, 0.35),
        0 0 100px rgba(108, 96, 255, 0.12);
}

.orbit-core strong {
    font-size: 18px;
}

.orbit-core span {
    font-size: 8px;
    letter-spacing: 1px;
    opacity: 0.8;
}


/* METRICS */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 18px 0 45px;
}

.metric-card {
    background: #0e141e;
    border: 1px solid #1e2938;
    border-radius: 14px;
    padding: 19px;
    transition: 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
    border-color: #343f54;
}

.metric-top {
    display: flex;
    justify-content: space-between;
    color: #8490a3;
    font-size: 11px;
    margin-bottom: 13px;
}

.metric-icon {
    color: #9b83ff;
}

.metric-card strong {
    display: block;
    font-size: 27px;
    margin-bottom: 5px;
}

.metric-card small {
    color: #667286;
    font-size: 10px;
}


/* SECTIONS */

.section {
    margin-bottom: 55px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
}

.section-heading h2 {
    font-size: 23px;
    letter-spacing: -0.5px;
}

.completed-badge,
.result-count,
.review-status {
    font-size: 10px;
    border: 1px solid #273241;
    background: #101620;
    padding: 8px 11px;
    border-radius: 20px;
    color: #9da9ba;
}


/* WORKFLOW */

.workflow {
    background: #0c1119;
    border: 1px solid #1c2635;
    border-radius: 15px;
    padding: 20px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 15px;
    border-radius: 10px;
    background: #111721;
    border: 1px solid #1e2938;
}

.workflow-step.approved {
    border-color: #35315c;
    background: #141323;
}

.step-number {
    font-family: monospace;
    color: #8379ff;
    font-size: 11px;
    min-width: 25px;
}

.workflow-step strong {
    display: block;
    font-size: 12px;
}

.workflow-step small {
    color: #697589;
    display: block;
    font-size: 10px;
    margin-top: 4px;
}

.workflow-line {
    height: 15px;
    width: 1px;
    background: #2a3445;
    margin-left: 28px;
}


/* BUGS */

.bug-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.bug-card {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 13px;
    background: #0e141e;
    border: 1px solid #1e2938;
    padding: 17px;
    border-radius: 13px;
}

.bug-id {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #171b2c;
    color: #998aff;
    font-size: 11px;
    font-weight: 800;
}

.bug-card strong {
    font-size: 12px;
}

.bug-card p {
    color: #6f7b8e;
    font-size: 10px;
    margin-top: 4px;
    line-height: 1.5;
}

.fixed {
    font-size: 8px;
    letter-spacing: 1px;
    border: 1px solid #244333;
    color: #68d493;
    padding: 6px 8px;
    border-radius: 5px;
}


/* COMPARISON */

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: center;
}

.comparison-card {
    background: #0e141e;
    border: 1px solid #202a39;
    border-radius: 15px;
    padding: 25px;
}

.comparison-card.after {
    border-color: #35315c;
    background: linear-gradient(145deg, #11131f, #10151e);
}

.comparison-label {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #778397;
}

.comparison-number {
    font-size: 45px;
    font-weight: 800;
    margin: 10px 0 2px;
}

.comparison-card p {
    color: #7c8799;
    font-size: 11px;
    margin-bottom: 18px;
}

.comparison-detail {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-top: 1px solid #1b2432;
    font-size: 11px;
    color: #7c8798;
}

.comparison-detail strong {
    color: #dfe5ef;
}

.arrow {
    text-align: center;
    color: #8a7cff;
    font-size: 25px;
}


/* REVIEW */

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.review-card {
    padding: 25px;
    border: 1px solid #202a39;
    border-radius: 14px;
    background: #0e141e;
}

.review-card strong {
    display: block;
    font-size: 35px;
    margin-bottom: 7px;
}

.review-card span {
    color: #7b8799;
    font-size: 11px;
}

.review-card.warning {
    border-color: #3b3523;
}

.review-card.positive {
    border-color: #263c31;
}


/* PRODUCTIVITY */

.productivity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.productivity-grid > div {
    padding: 25px;
    background: #0e141e;
    border: 1px solid #202a39;
    border-radius: 14px;
}

.productivity-grid span {
    display: block;
    color: #788497;
    font-size: 10px;
    margin-bottom: 9px;
}

.productivity-grid strong {
    font-size: 28px;
}

.disclaimer {
    color: #596578;
    font-size: 9px;
    margin-top: 12px;
}


/* REPORTS */

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.report-card {
    text-align: left;
    border: 1px solid #202a39;
    background: #0e141e;
    border-radius: 14px;
    padding: 21px;
    color: white;
    transition: 0.2s ease;
}

.report-card:hover {
    border-color: #403d6d;
    transform: translateY(-3px);
}

.report-card > span {
    color: #9487ff;
    font-size: 20px;
}

.report-card strong {
    display: block;
    font-size: 12px;
    margin-top: 14px;
}

.report-card small {
    display: block;
    color: #6f7b8e;
    font-size: 10px;
    margin-top: 5px;
}


/* FOOTER */

footer {
    border-top: 1px solid #1c2533;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    color: #667286;
    font-size: 10px;
}

footer strong {
    color: #b9c2cf;
    margin-right: 8px;
}


/* TOAST */

.toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #171d29;
    border: 1px solid #323c4d;
    padding: 13px 17px;
    border-radius: 10px;
    color: #dbe1ea;
    font-size: 11px;
    transform: translateY(100px);
    opacity: 0;
    transition: 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .hero-orbit {
        display: none;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

}

@media (max-width: 750px) {

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 22px;
    }

    .topbar {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column;
    }

    .hero {
        padding: 28px;
    }

    .metrics-grid,
    .review-grid,
    .productivity-grid,
    .reports-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .arrow {
        transform: rotate(90deg);
    }

}