* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5b5bd6;
    --primary-dark: #4545b8;
    --text: #20243a;
    --muted: #7b8195;
    --bg: #f7f8fc;
    --white: #ffffff;
    --border: #eceef5;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

.app {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding-bottom: 90px;
}


/* Header */

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 18px;
    background: var(--white);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #eeeeff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.brand h1 {
    font-size: 19px;
}

.brand p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.notification-btn {
    border: 0;
    background: #f2f3ff;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 19px;
}


/* Welcome */

.welcome-card {
    margin: 12px 16px 20px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        #5b5bd6,
        #7b6ee8
    );
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.welcome-small {
    font-size: 13px;
    opacity: .85;
}

.welcome-card h2 {
    font-size: 22px;
    line-height: 1.3;
    margin: 8px 0;
}

.welcome-card p {
    font-size: 13px;
    opacity: .85;
}

.welcome-image {
    font-size: 60px;
}


/* Search */

.search-box {
    margin: 0 16px 25px;
    padding: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}


/* Section */

.section {
    padding: 0 16px;
    margin-bottom: 25px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-heading h2 {
    font-size: 18px;
}

.section-heading span {
    font-size: 12px;
    color: var(--primary);
}


/* Classes */

.class-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.class-card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    border: 1px solid var(--border);
    transition: .2s;
}

.class-card:active {
    transform: scale(.97);
}

.class-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #eeeeff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 13px;
}

.class-info h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.class-info span {
    color: var(--primary);
    font-size: 12px;
}


/* Features */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-card {
    background: white;
    padding: 17px;
    border-radius: 18px;
    border: 1px solid var(--border);
}

.feature-card > div {
    font-size: 25px;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.feature-card p {
    font-size: 11px;
    color: var(--muted);
}


/* Footer */

.site-footer {
    text-align: center;
    padding: 25px 16px;
    color: var(--muted);
}

.footer-logo {
    font-weight: bold;
    color: var(--text);
}

.footer-links {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 12px;
}

.copyright {
    font-size: 11px;
}


