@font-face {
    font-family: "Inter";
    src: url("/fonts/Inter.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Sora";
    src: url("/fonts/Sora.ttf") format("truetype");
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(72, 95, 255, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(72, 95, 255, 0.08),
            transparent 30%
        ),
        #ffffff;
}

.navbar {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 10px;
}

.nav-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.nav-button,
.primary-button {
    color: #ffffff;
    background: #172033;
}

.nav-button:hover,
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(23, 32, 51, 0.18);
}

.secondary-button {
    border: 1px solid #dce1eb;
    background: #ffffff;
}

.secondary-button:hover {
    transform: translateY(-2px);
    border-color: #b8c0cf;
}

.hero-content {
    width: min(900px, calc(100% - 40px));
    margin: auto;
    padding: 70px 0 100px;
    text-align: center;
}

.hero-logo {
    margin-bottom: 24px;
}

.hero-logo img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(23, 32, 51, 0.12);
}

.eyebrow {
    margin-bottom: 12px;
    font-family: "Sora", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #566176;
}

.hero h1,
.section h2,
.cta-section h2 {
    font-family: "Sora", sans-serif;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 24px;
    font-size: clamp(3rem, 8vw, 6rem);
}

.hero h1 span {
    color: #566176;
}

.hero-description {
    max-width: 680px;
    margin: 0 auto;
    color: #596477;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.section-heading {
    max-width: 560px;
}

.section-heading.centered {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading .eyebrow {
    color: #697489;
}

.section h2,
.cta-section h2 {
    font-size: clamp(2.1rem, 5vw, 4rem);
}

.section h2 span,
.cta-section h2 span {
    color: #697489;
}

.section-heading > p:last-child {
    margin-top: 18px;
    color: #687387;
}

.introduction {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: start;
    border-top: 1px solid #edf0f5;
}

.section-content {
    color: #596477;
    font-size: 1.05rem;
}

.section-content p + p {
    margin-top: 20px;
}

.subjects-section {
    border-top: 1px solid #edf0f5;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.subject-card,
.feature-card {
    padding: 30px;
    border: 1px solid #e5e8ef;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(23, 32, 51, 0.04);
}

.subject-number {
    margin-bottom: 40px;
    font-family: "Sora", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: #8b94a5;
}

.subject-card h3,
.feature-card h3,
.step h3 {
    margin-bottom: 10px;
    font-family: "Sora", sans-serif;
}

.subject-card p,
.feature-card p,
.step p {
    color: #687387;
}

.levels-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
    border-top: 1px solid #edf0f5;
}

.levels-content {
    color: #687387;
    font-size: 1.05rem;
}

.level-list {
    margin-top: 30px;
    display: grid;
    gap: 12px;
}

.level-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border: 1px solid #e5e8ef;
    border-radius: 14px;
}

.level-item strong {
    font-family: "Sora", sans-serif;
    color: #172033;
}

.level-item span {
    text-align: right;
    font-size: 0.9rem;
}

.how-section {
    border-top: 1px solid #edf0f5;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step {
    padding: 28px;
    border-radius: 20px;
    background: #f7f8fa;
}

.step-number {
    width: 42px;
    height: 42px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #172033;
    color: #ffffff;
    font-family: "Sora", sans-serif;
    font-weight: 800;
}

.features-section {
    border-top: 1px solid #edf0f5;
}

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

.feature-card {
    min-height: 190px;
}

.assessment-section {
    border-top: 1px solid #edf0f5;
}

.assessment-box {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
    padding: 55px;
    border-radius: 28px;
    background: #f5f6f8;
}

.assessment-text {
    color: #687387;
}

.assessment-text p + p {
    margin-top: 20px;
}

.cta-section {
    padding: 120px 20px;
    text-align: center;
    background: #172033;
    color: #ffffff;
}

.cta-content {
    width: min(760px, 100%);
    margin: 0 auto;
}

.cta-section .eyebrow {
    color: #aeb6c5;
}

.cta-section h2 span {
    color: #aeb6c5;
}

.cta-section p {
    max-width: 600px;
    margin: 22px auto 0;
    color: #c5cad4;
}

.cta-section .primary-button {
    margin-top: 32px;
    color: #172033;
    background: #ffffff;
}

.footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 45px 0 30px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-main > p {
    color: #7a8495;
}

.footer-links {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #687387;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #172033;
}

.copyright {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #edf0f5;
    color: #929aa8;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .subject-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .introduction,
    .levels-section,
    .assessment-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .assessment-box {
        padding: 40px;
    }
}

@media (max-width: 600px) {
    .navbar {
        width: min(100% - 28px, 1180px);
        padding: 18px 0;
    }

    .nav-button {
        min-height: 42px;
        padding: 0 15px;
        font-size: 0.85rem;
    }

    .hero-content {
        width: min(100% - 28px, 900px);
        padding: 55px 0 80px;
    }

    .hero-logo img {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .section {
        width: min(100% - 28px, 1180px);
        padding: 75px 0;
    }

    .subject-grid,
    .steps,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .subject-card,
    .feature-card {
        padding: 24px;
    }

    .subject-number {
        margin-bottom: 25px;
    }

    .level-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .level-item span {
        text-align: left;
    }

    .assessment-box {
        padding: 28px;
    }

    .cta-section {
        padding: 90px 14px;
    }

    .footer {
        width: min(100% - 28px, 1180px);
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
    }
}