
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fc;
    color: #202b45;
    font-family: "Segoe UI", Arial, sans-serif;
}

.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    padding: 28px 18px;
    border-right: 1px solid #e9edf5;
}

.brand {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 45px;
    color: #2463eb;
}

    .brand i {
        margin-right: 8px;
    }

.menu-label {
    font-size: 11px;
    font-weight: 700;
    color: #9aa5b8;
    margin: 20px 10px 12px;
}

.sidebar a {
    display: block;
    padding: 13px 14px;
    margin: 5px 0;
    border-radius: 10px;
    color: #68758d;
    text-decoration: none;
    font-size: 14px;
    transition: .2s;
}

    .sidebar a:hover {
        background: #edf3ff;
        color: #2463eb;
    }

    .sidebar a i {
        margin-right: 10px;
    }

.sidebar-bottom {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    padding: 17px;
    background: #edf3ff;
    border-radius: 12px;
    color: #2463eb;
}

    .sidebar-bottom p {
        margin: 8px 0 0;
        font-size: 12px;
        color: #64748b;
    }

.main-content {
    margin-left: 250px;
}

.topbar {
    height: 70px;
    background: white;
    border-bottom: 1px solid #e9edf5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
    color: #68758d;
    font-size: 14px;
}

.user-icon {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #edf3ff;
    display: grid;
    place-items: center;
    color: #2463eb;
    font-size: 18px;
}

.page-container {
    padding: 35px;
    max-width: 1400px;
    margin: auto;
}

.welcome-card {
    background: linear-gradient(120deg, #205be0, #4388f5);
    border-radius: 18px;
    padding: 45px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 280px;
    margin-bottom: 35px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: .8;
}

.welcome-card h1 {
    font-size: 34px;
    font-weight: 750;
    margin: 15px 0;
}

.welcome-card p {
    color: #e4edff;
    max-width: 520px;
}

.welcome-icon {
    font-size: 110px;
    opacity: .22;
    padding: 20px;
}

.btn-primary-custom {
    background: white;
    color: #2463eb;
    border: none;
    border-radius: 9px;
    padding: 12px 18px;
    font-weight: 600;
}

    .btn-primary-custom:hover {
        background: #edf3ff;
        color: #1749b5;
    }

.section-title, .page-title {
    font-weight: 750;
    margin-bottom: 8px;
}

.page-description {
    color: #8792a6;
    margin-bottom: 28px;
}

.feature-card, .content-card, .stat-card {
    display: block;
    background: white;
    border: 1px solid #edf0f6;
    border-radius: 15px;
    padding: 25px;
    text-decoration: none;
    color: #202b45;
}

.feature-card {
    height: 100%;
    transition: .2s;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px #172b4d12;
    }

    .feature-card h5 {
        font-weight: 700;
        margin-top: 18px;
    }

    .feature-card p {
        color: #8792a6;
        font-size: 14px;
    }

    .feature-card span {
        color: #2463eb;
        font-size: 13px;
        font-weight: 600;
    }

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 22px;
}

.blue {
    background: #e9f0ff;
    color: #2463eb;
}

.purple {
    background: #f0eaff;
    color: #8153d9;
}

.green {
    background: #e4f8ee;
    color: #1b9c60;
}

.equation-box {
    background: #edf3ff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    font-size: 30px;
    font-weight: 750;
    color: #2463eb;
    margin: 20px 0;
}

.equation-small {
    font-size: 19px;
    padding: 8px 0;
    font-weight: 650;
}

.content-card h4 {
    font-weight: 700;
}

.content-card p, .content-card li {
    color: #64748b;
    line-height: 1.8;
}

.step-box {
    background: #f8faff;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.success-box {
    background: #e6f8ef;
    color: #168653;
    border-radius: 10px;
    padding: 15px;
    font-weight: 650;
}

.tag {
    background: #edf3ff;
    color: #2463eb;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.answer-input {
    max-width: 350px;
    padding: 12px;
}

.stat-card span {
    color: #8792a6;
    font-size: 13px;
}

.stat-card h2 {
    font-size: 30px;
    font-weight: 750;
    margin-top: 12px;
    color: #2463eb;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px;
    }

    .brand {
        margin-bottom: 15px;
    }

    .menu-label, .sidebar-bottom {
        display: none;
    }

    .sidebar a {
        display: inline-block;
        padding: 8px;
        font-size: 12px;
    }

        .sidebar a i {
            margin-right: 3px;
        }

    .main-content {
        margin-left: 0;
    }

    .page-container {
        padding: 20px;
    }

    .welcome-card {
        padding: 25px;
    }

        .welcome-card h1 {
            font-size: 25px;
        }

    .welcome-icon {
        display: none;
    }

    .topbar {
        padding: 0 20px;
    }
}
