:root {
    --bg: #eef4fb;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --border: #dbe4f0;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 32px 0 60px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 24px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    background: var(--primary);
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nav a {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.7);
    transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

.hero {
    padding: 54px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.hero-label {
    margin: 0 0 14px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
}

.hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: white;
    color: var(--text);
    transition: 0.2s ease;
}

.button.primary {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.button.primary:hover {
    background: var(--primary-dark);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

.card h2,
.card h3 {
    margin-top: 0;
}

.card p {
    color: var(--muted);
    line-height: 1.6;
}

.card-link {
    display: block;
    transition: 0.2s ease;
}

.card-link:hover {
    transform: translateY(-3px);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
    background: var(--primary);
    font-size: 22px;
    margin-bottom: 16px;
}

.course-list {
    display: grid;
    gap: 18px;
}

.course-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    transition: 0.2s ease;
}

.course-card:hover {
    transform: translateY(-3px);
}

.course-card h2 {
    margin: 0 0 10px;
}

.course-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 999px;
    color: white;
    background: var(--primary);
    font-weight: 700;
}

.placeholder {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.placeholder-box {
    max-width: 560px;
}

.placeholder-box h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.footer {
    margin-top: 36px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 820px) {
    .site-header,
    .course-card {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .hero {
        padding: 34px;
    }

    .hero p {
        font-size: 17px;
    }
}