/* =========================================================
   SmartSkillAI Global Stylesheet
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #111827;
    line-height: 1.65;
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: auto;
}


/* =========================================================
   Header / Navigation
   ========================================================= */

header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e7eaf0;
    z-index: 10;
}

.nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -1px;
}

.brand span {
    color: #635bff;
}

nav {
    display: flex;
    gap: 25px;
    font-weight: 650;
    color: #475467;
    font-size: 14px;
}

nav a:hover {
    color: #635bff;
}


/* =========================================================
   Typography
   ========================================================= */

/*
 * Normal page headings
 *
 * Used for:
 * Register
 * Login
 * Course
 * Lesson
 * Quiz
 * Dictionary
 * Tutorials
 * About
 * Contact
 * etc.
 */

h1 {
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 15px 0 20px;
}


/*
 * Homepage hero heading
 *
 * Deliberately larger than normal page headings.
 */

.hero h1 {
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -3px;
    margin: 15px 0 25px;
}


h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 12px 0 18px;
}

h3 {
    font-size: 20px;
    line-height: 1.3;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #635bff;
}

.hero p,
.lead {
    font-size: 19px;
    color: #667085;
    max-width: 760px;
}


/* =========================================================
   Homepage Hero
   ========================================================= */

.hero {
    padding: 90px 0;
    background: linear-gradient(135deg, #fafaff, #f3f7ff);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: center;
}


/* =========================================================
   Hero Card
   ========================================================= */

.hero-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(20, 25, 45, 0.09);
}

.orb {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: linear-gradient(135deg, #635bff, #14b8a6);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 900;
}


/* =========================================================
   Buttons
   ========================================================= */

.btn {
    display: inline-block;
    background: #635bff;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 750;
    margin-top: 18px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.92;
}


/* =========================================================
   Sections
   ========================================================= */

.section {
    padding: 75px 0;
}


/* =========================================================
   Cards
   ========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.cards.two {
    grid-template-columns: repeat(2, 1fr);
}

.cards article,
.level {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 25px;
    background: #fff;
}

.cards article b {
    color: #635bff;
}

.cards article p,
.level div,
.reading p {
    color: #667085;
}

.cards article a {
    color: #635bff;
    font-weight: 750;
}


/* =========================================================
   Course / Module Levels
   ========================================================= */

.level {
    margin: 20px 0;
    padding: 25px;
    background: #fafbff;
}

.level a,
.level div {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #e9ecf1;
}

.level a {
    font-weight: 700;
}

.level small {
    color: #98a2b3;
    margin-left: 8px;
}


/* =========================================================
   Reading / Lesson Content
   ========================================================= */

.reading {
    max-width: 800px;
}

.reading h2 {
    margin-top: 42px;
}


/* =========================================================
   Quiz / Information Boxes
   ========================================================= */

.quiz {
    background: #f5f7fb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px;
    margin: 35px 0;
}


/* =========================================================
   Forms
   ========================================================= */

input,
textarea,
select {
    font-family: inherit;
    font-size: 16px;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(99, 91, 255, 0.25);
    border-color: #635bff;
}


/* =========================================================
   Footer
   ========================================================= */

footer {
    border-top: 1px solid #e5e7eb;
    padding: 35px 0;
    color: #667085;
    font-size: 14px;
}

footer a {
    color: #635bff;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 800px) {

    nav {
        display: none;
    }

    .hero-grid,
    .cards,
    .cards.two {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0;
    }

    .section {
        padding: 55px 0;
    }

    /*
     * Normal page headings
     */

    h1 {
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    /*
     * Homepage hero heading
     */

    .hero h1 {
        font-size: clamp(44px, 11vw, 58px);
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .hero p,
    .lead {
        font-size: 18px;
    }

    .wrap {
        width: min(100% - 30px, 1120px);
    }

    .hero-card {
        padding: 25px;
    }

}


/* =========================================================
   Small Mobile Devices
   ========================================================= */

@media (max-width: 480px) {

    h1 {
        font-size: 31px;
    }

    .hero h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 19px;
    }

    .section {
        padding: 45px 0;
    }

    .hero {
        padding: 50px 0;
    }

}

.btn {
    color: #ffffff !important;
}