/* =========================================================
   FUTUREVERSE — AI ACADEMY
   ai-academy.css
   Premium AI Learning Interface
   ========================================================= */


/* =========================================================
   01. ROOT
========================================================= */

:root {
    --bg-main: #050711;
    --bg-secondary: #080b18;

    --card-bg: rgba(16, 21, 40, 0.78);
    --card-bg-hover: rgba(21, 27, 51, 0.92);

    --text-primary: #f5f7ff;
    --text-secondary: #aeb7d2;
    --text-muted: #747e9d;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(140, 116, 255, 0.35);

    --purple: #7c5cff;
    --purple-light: #a18cff;
    --blue: #4c8dff;
    --cyan: #48d9ff;

    --purple-soft: rgba(124, 92, 255, 0.14);
    --blue-soft: rgba(76, 141, 255, 0.12);

    --shadow-card:
        0 20px 60px rgba(0, 0, 0, 0.30);

    --shadow-glow:
        0 0 60px rgba(124, 92, 255, 0.15);

    --radius-large: 28px;
    --radius-medium: 20px;
    --radius-small: 13px;

    --header-height: 72px;
}


/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--text-primary);

    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(124, 92, 255, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 18%,
            rgba(72, 217, 255, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(76, 141, 255, 0.08),
            transparent 35%
        ),
        var(--bg-main);

    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

button {
    border: none;
}

button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--purple-light);
    outline-offset: 3px;
}


/* =========================================================
   03. HEADER
========================================================= */

.academy-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 32px;

    background:
        rgba(5, 7, 17, 0.82);

    border-bottom:
        1px solid var(--border);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


/* Brand */

.academy-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: #ffffff;
    font-size: 20px;
    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    box-shadow:
        0 8px 25px rgba(124, 92, 255, 0.28);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-text h1 {
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.brand-text span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* Header buttons */

.academy-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search-btn,
.mobile-menu-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-secondary);

    background:
        rgba(255, 255, 255, 0.045);

    border: 1px solid var(--border);
    border-radius: 12px;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.header-search-btn:hover,
.mobile-menu-btn:hover {
    color: #ffffff;

    background:
        rgba(124, 92, 255, 0.12);

    border-color:
        rgba(124, 92, 255, 0.30);

    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
}


/* =========================================================
   04. MOBILE OVERLAY
========================================================= */

.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;

    background:
        rgba(0, 0, 0, 0.55);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* =========================================================
   05. MAIN
========================================================= */

.academy-main {
    width: min(1180px, calc(100% - 32px));

    margin: 0 auto;

    padding:
        30px 0 70px;
}


/* =========================================================
   06. HERO
========================================================= */

.academy-hero {
    position: relative;

    min-height: 350px;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding: 52px 55px;

    border:
        1px solid rgba(124, 92, 255, 0.22);

    border-radius: var(--radius-large);

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(124, 92, 255, 0.20),
            transparent 35%
        ),
        radial-gradient(
            circle at 95% 10%,
            rgba(72, 217, 255, 0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0d1024,
            #10162d 55%,
            #0a1020
        );

    box-shadow:
        var(--shadow-card),
        var(--shadow-glow);
}


/* Decorative grid */

.academy-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 38px 38px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black 45%,
            transparent
        );

    pointer-events: none;
}


/* Hero content */

.hero-content {
    position: relative;
    z-index: 3;

    width: min(600px, 65%);
}

.hero-badge {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 18px;
    padding: 7px 12px;

    color: #c9c0ff;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;

    background:
        rgba(124, 92, 255, 0.12);

    border:
        1px solid rgba(124, 92, 255, 0.25);

    border-radius: 999px;
}

.hero-badge span {
    color: var(--cyan);
}

.hero-content h2 {
    max-width: 620px;

    font-size: clamp(40px, 5vw, 64px);

    line-height: 1.02;
    letter-spacing: -2.5px;
}

.hero-content h2 span {
    background:
        linear-gradient(
            90deg,
            var(--purple-light),
            var(--blue),
            var(--cyan)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-content p {
    max-width: 590px;

    margin-top: 20px;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   07. HERO AI VISUAL
========================================================= */

.hero-visual {
    position: absolute;

    right: 45px;
    top: 50%;

    width: 280px;
    height: 280px;

    transform: translateY(-50%);

    pointer-events: none;
}

.ai-orbit {
    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px solid rgba(124, 92, 255, 0.25);
    border-radius: 50%;

    transform:
        translate(-50%, -50%)
        rotate(-20deg);
}

.orbit-one {
    width: 210px;
    height: 90px;
}

.orbit-two {
    width: 245px;
    height: 110px;

    transform:
        translate(-50%, -50%)
        rotate(55deg);

    border-color:
        rgba(72, 217, 255, 0.20);
}

.orbit-three {
    width: 180px;
    height: 245px;

    transform:
        translate(-50%, -50%)
        rotate(35deg);

    border-color:
        rgba(76, 141, 255, 0.20);
}

.ai-core {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 92px;
    height: 92px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(124, 92, 255, 0.85),
            rgba(76, 141, 255, 0.78)
        );

    box-shadow:
        0 0 45px rgba(124, 92, 255, 0.42),
        inset 0 1px 1px rgba(255, 255, 255, 0.28);

    transform-origin: center;
}

.ai-core span {
    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   08. SEARCH
========================================================= */

.academy-search-section {
    margin-top: 24px;
}

.search-box {
    position: relative;

    height: 58px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    background:
        rgba(13, 18, 35, 0.80);

    border:
        1px solid var(--border);

    border-radius: 16px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.16);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-box:focus-within {
    border-color:
        rgba(124, 92, 255, 0.45);

    box-shadow:
        0 0 0 4px rgba(124, 92, 255, 0.08),
        0 12px 40px rgba(0, 0, 0, 0.18);
}

.search-icon {
    flex: 0 0 auto;

    margin-right: 12px;

    color: var(--purple-light);

    font-size: 24px;
}

.search-box input {
    width: 100%;

    color: var(--text-primary);

    background: transparent;

    border: none;
    outline: none;

    font-size: 14px;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.clear-search {
    display: none;

    width: 30px;
    height: 30px;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    color: var(--text-secondary);

    background:
        rgba(255, 255, 255, 0.06);

    border-radius: 50%;

    cursor: pointer;
}

.clear-search:hover {
    color: #ffffff;
    background:
        rgba(124, 92, 255, 0.18);
}


/* =========================================================
   09. TOOLBAR
========================================================= */

.academy-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-top: 42px;
    margin-bottom: 18px;
}

.toolbar-label {
    display: block;

    margin-bottom: 7px;

    color: var(--purple-light);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.toolbar-heading h3 {
    color: var(--text-primary);

    font-size: 27px;
    letter-spacing: -0.6px;
}

.tool-count {
    color: var(--text-muted);

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   10. FILTERS
========================================================= */

.academy-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 22px;
}

.filter-btn {
    padding: 9px 15px;

    color: var(--text-secondary);

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid var(--border);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.filter-btn:hover {
    color: #ffffff;

    border-color:
        rgba(124, 92, 255, 0.30);

    transform: translateY(-1px);
}

.filter-btn.active {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(124, 92, 255, 0.30),
            rgba(76, 141, 255, 0.18)
        );

    border-color:
        rgba(124, 92, 255, 0.42);

    box-shadow:
        0 5px 20px rgba(124, 92, 255, 0.10);
}


/* =========================================================
   11. AI TOOLS GRID
========================================================= */

.ai-tools-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   12. AI TOOL CARD
========================================================= */

.ai-tool-card {
    position: relative;

    min-height: 275px;

    display: flex;
    flex-direction: column;

    padding: 23px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(17, 22, 40, 0.88),
            rgba(10, 14, 29, 0.88)
        );

    border:
        1px solid var(--border);

    border-radius: var(--radius-medium);

    box-shadow:
        0 14px 45px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.ai-tool-card::before {
    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    right: -70px;
    top: -70px;

    border-radius: 50%;

    background:
        rgba(124, 92, 255, 0.10);

    filter: blur(2px);

    transition:
        transform 0.3s ease;
}

.ai-tool-card:hover {
    transform: translateY(-5px);

    background:
        var(--card-bg-hover);

    border-color:
        var(--border-hover);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.30),
        0 0 35px rgba(124, 92, 255, 0.07);
}

.ai-tool-card:hover::before {
    transform: scale(1.35);
}


/* Card top */

.tool-card-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.tool-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(124, 92, 255, 0.28),
            rgba(76, 141, 255, 0.15)
        );

    border:
        1px solid rgba(124, 92, 255, 0.25);

    border-radius: 14px;

    font-size: 19px;
    font-weight: 700;

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.07);
}

.tool-number {
    color: var(--text-muted);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* Card content */

.ai-tool-card h4 {
    position: relative;
    z-index: 2;

    color: var(--text-primary);

    font-size: 19px;
    line-height: 1.25;

    letter-spacing: -0.3px;
}

.ai-tool-card p {
    position: relative;
    z-index: 2;

    margin-top: 10px;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.65;
}


/* Explore button */

.explore-tool-btn {
    position: relative;
    z-index: 2;

    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: auto;
    padding-top: 20px;

    color: var(--purple-light);

    background: transparent;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.explore-tool-btn:hover {
    color: var(--cyan);
    gap: 13px;
}


/* =========================================================
   13. NO RESULTS
========================================================= */

.no-results {
    padding: 60px 20px;

    text-align: center;

    background:
        rgba(14, 19, 36, 0.60);

    border:
        1px solid var(--border);

    border-radius: var(--radius-medium);
}

.no-results-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    color: var(--purple-light);

    background:
        var(--purple-soft);

    border-radius: 16px;

    font-size: 25px;
}

.no-results h3 {
    font-size: 18px;
}

.no-results p {
    margin-top: 7px;

    color: var(--text-muted);

    font-size: 13px;
}


/* =========================================================
   14. BOTTOM MOTIVATION
========================================================= */

.academy-bottom {
    position: relative;

    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 38px;
    padding: 25px 28px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(124, 92, 255, 0.12),
            rgba(76, 141, 255, 0.07)
        );

    border:
        1px solid rgba(124, 92, 255, 0.17);

    border-radius: var(--radius-medium);
}

.bottom-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    border-radius: 15px;

    font-size: 20px;

    box-shadow:
        0 8px 25px rgba(124, 92, 255, 0.25);
}

.academy-bottom h3 {
    font-size: 17px;
    letter-spacing: -0.2px;
}

.academy-bottom p {
    margin-top: 5px;

    color: var(--text-secondary);

    font-size: 12px;
}


/* =========================================================
   15. TABLET
========================================================= */

@media (max-width: 900px) {

    .academy-main {
        width: min(100% - 28px, 760px);
    }

    .academy-hero {
        min-height: 330px;
        padding: 42px;
    }

    .hero-content {
        width: 72%;
    }

    .hero-visual {
        right: -10px;
        opacity: 0.65;
        transform:
            translateY(-50%)
            scale(0.85);
    }

    .ai-tools-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   16. MOBILE
========================================================= */

@media (max-width: 700px) {

    .academy-header {
        height: 64px;
        padding: 0 16px;
    }

    .brand-logo {
        width: 37px;
        height: 37px;

        border-radius: 11px;
    }

    .brand-text h1 {
        font-size: 16px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .header-search-btn,
    .mobile-menu-btn {
        width: 38px;
        height: 38px;

        border-radius: 11px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .academy-main {
        width: calc(100% - 24px);

        padding:
            18px 0 45px;
    }


    /* Hero */

    .academy-hero {
        min-height: 430px;

        display: block;

        padding: 30px 24px;

        border-radius: 22px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-badge {
        margin-bottom: 15px;

        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .hero-content h2 {
        font-size: 40px;

        line-height: 1.04;

        letter-spacing: -1.8px;
    }

    .hero-content p {
        margin-top: 17px;

        font-size: 13px;
        line-height: 1.7;
    }

    .hero-visual {
        position: absolute;

        width: 220px;
        height: 220px;

        left: 50%;
        right: auto;
        top: auto;
        bottom: -30px;

        opacity: 0.65;

        transform:
            translateX(-50%)
            scale(0.78);
    }


    /* Search */

    .academy-search-section {
        margin-top: 18px;
    }

    .search-box {
        height: 53px;

        padding: 0 15px;

        border-radius: 14px;
    }

    .search-icon {
        font-size: 21px;
    }


    /* Toolbar */

    .academy-toolbar {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;

        margin-top: 32px;
        margin-bottom: 15px;
    }

    .toolbar-heading h3 {
        font-size: 23px;
    }

    .tool-count {
        font-size: 11px;
    }


    /* Filters */

    .academy-filters {
        gap: 7px;

        margin-bottom: 17px;

        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 4px;

        scrollbar-width: none;
    }

    .academy-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;

        padding: 8px 13px;

        font-size: 11px;
    }


    /* Cards */

    .ai-tools-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .ai-tool-card {
        min-height: 245px;

        padding: 20px;

        border-radius: 18px;
    }

    .tool-card-top {
        margin-bottom: 18px;
    }

    .tool-icon {
        width: 43px;
        height: 43px;

        border-radius: 13px;
    }

    .ai-tool-card h4 {
        font-size: 18px;
    }

    .ai-tool-card p {
        font-size: 12.5px;
        line-height: 1.6;
    }


    /* Bottom */

    .academy-bottom {
        align-items: flex-start;

        margin-top: 25px;
        padding: 20px;

        border-radius: 18px;
    }

    .bottom-icon {
        width: 42px;
        height: 42px;

        border-radius: 13px;

        font-size: 17px;
    }

    .academy-bottom h3 {
        font-size: 15px;
        line-height: 1.35;
    }

    .academy-bottom p {
        font-size: 11px;
        line-height: 1.5;
    }

}


/* =========================================================
   17. SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .academy-hero {
        min-height: 420px;
        padding: 27px 20px;
    }

    .hero-content h2 {
        font-size: 35px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .hero-visual {
        transform:
            translateX(-50%)
            scale(0.70);
    }

    .ai-tool-card {
        padding: 18px;

        min-height: 235px;
    }

}


/* =========================================================
   18. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}





















/* =========================================================
   19. AI ACADEMY — MOBILE MENU
========================================================= */

.academy-mobile-menu {
    width: min(390px, 88%);
    height: 100%;

    margin-left: auto;

    display: flex;
    flex-direction: column;

    padding: 22px 18px;

    background:
        linear-gradient(
            145deg,
            #10162c,
            #090e20
        );

    border-left:
        1px solid rgba(124, 92, 255, 0.24);

    box-shadow:
        -20px 0 60px rgba(0, 0, 0, 0.35);

    animation:
        academyMenuSlide 0.28s ease;
}


/* =========================================================
   MENU HEADER
========================================================= */

.academy-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--border);
}


.academy-menu-brand {
    display: flex;
    align-items: center;

    gap: 11px;
}


.academy-menu-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    border-radius: 13px;

    font-size: 19px;
    font-weight: 800;

    box-shadow:
        0 8px 25px rgba(124, 92, 255, 0.28);
}


.academy-menu-brand > div:last-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.academy-menu-brand strong {
    color: var(--text-primary);

    font-size: 15px;
}


.academy-menu-brand span {
    color: var(--text-muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.3px;
    text-transform: uppercase;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.academy-menu-close {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-secondary);

    background:
        rgba(255, 255, 255, 0.045);

    border:
        1px solid var(--border);

    border-radius: 12px;

    font-size: 25px;
    font-weight: 300;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.academy-menu-close:hover {
    color: #ffffff;

    background:
        rgba(124, 92, 255, 0.15);

    transform: rotate(3deg);
}


/* =========================================================
   MENU OPTIONS
========================================================= */

.academy-menu-nav {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-top: 22px;
}


.academy-menu-item {
    width: 100%;
    min-height: 68px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px 13px;

    color: inherit;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid var(--border);

    border-radius: 16px;

    text-decoration: none;

    text-align: left;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.academy-menu-item:hover {
    transform: translateX(-3px);

    background:
        rgba(124, 92, 255, 0.10);

    border-color:
        rgba(124, 92, 255, 0.30);
}


/* =========================================================
   OPTION ICON
========================================================= */

.academy-menu-item-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(124, 92, 255, 0.10);

    border:
        1px solid rgba(124, 92, 255, 0.18);

    border-radius: 12px;

    font-size: 18px;
}


/* =========================================================
   OPTION CONTENT
========================================================= */

.academy-menu-item-content {
    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;
}


.academy-menu-item-content strong {
    color: var(--text-primary);

    font-size: 13px;
}


.academy-menu-item-content small {
    color: var(--text-muted);

    font-size: 9px;

    line-height: 1.4;
}


/* Chevron */

.academy-menu-item > .fa-chevron-right {
    flex: 0 0 auto;

    color: var(--text-muted);

    font-size: 10px;
}


/* =========================================================
   MENU FOOTER
========================================================= */

.academy-menu-footer {
    margin-top: auto;

    padding-top: 18px;

    border-top:
        1px solid var(--border);
}


.academy-back-item {
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--purple-light);

    background:
        rgba(124, 92, 255, 0.08);

    border:
        1px solid rgba(124, 92, 255, 0.18);

    border-radius: 12px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.academy-back-item:hover {
    background:
        rgba(124, 92, 255, 0.14);

    border-color:
        rgba(124, 92, 255, 0.30);
}


/* =========================================================
   MENU ANIMATION
========================================================= */

@keyframes academyMenuSlide {

    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 701px) {

    .academy-mobile-menu {
        display: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .academy-mobile-menu {
        width: min(360px, 88%);
        padding: 18px 14px;
    }

    .academy-menu-header {
        padding-bottom: 17px;
    }

    .academy-menu-item {
        min-height: 64px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .academy-mobile-menu {
        width: 91%;
    }

    .academy-menu-item {
        gap: 10px;
        padding: 11px;
    }

    .academy-menu-item-icon {
        width: 39px;
        height: 39px;

        font-size: 16px;
    }

}




/* =========================================================
   FINAL MOBILE MENU — FULL SCREEN
========================================================= */

@media (max-width: 700px) {

    .mobile-overlay {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;

        padding: 0;
        margin: 0;

        overflow: hidden;

        background: rgba(0, 0, 0, 0.58);

        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .academy-mobile-menu {
        width: 100%;
        max-width: none;

        height: 100dvh;
        min-height: 100dvh;

        margin: 0;
        padding: 20px 16px;

        border-left: none;
        border-radius: 0;

        box-sizing: border-box;

        overflow-y: auto;
        overflow-x: hidden;

        animation:
            academyMenuFullScreen
            0.32s
            cubic-bezier(.22, .61, .36, 1);
    }

}


/* =========================================================
   FULL SCREEN MENU ANIMATION
========================================================= */

@keyframes academyMenuFullScreen {

    from {
        opacity: 0;
        transform: translateX(25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}