/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}


/* =========================================================
   BODY
========================================================= */

.about-page {
    margin: 0;

    min-height: 100vh;

    position: relative;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 8% 9%,
            rgba(221, 211, 255, 0.50),
            transparent 24%
        ),
        radial-gradient(
            circle at 92% 12%,
            rgba(210, 238, 248, 0.48),
            transparent 26%
        ),
        radial-gradient(
            circle at 10% 76%,
            rgba(218, 242, 215, 0.38),
            transparent 25%
        ),
        radial-gradient(
            circle at 92% 78%,
            rgba(255, 224, 211, 0.35),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #fbf9ff 0%,
            #fffefd 47%,
            #faf8ff 100%
        );

    color: #2f3142;

    font-family:
        "Manrope",
        sans-serif;
}


/* =========================================================
   BACKGROUND
========================================================= */

.about-background {
    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   BLOBS
========================================================= */

.about-blob {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);
}


.about-blob.blob-one {
    width: 410px;
    height: 410px;

    left: -230px;
    top: 340px;

    background:
        rgba(196, 231, 221, 0.18);
}


.about-blob.blob-two {
    width: 430px;
    height: 430px;

    right: -240px;
    top: 650px;

    background:
        rgba(213, 198, 250, 0.18);
}


.about-blob.blob-three {
    width: 360px;
    height: 360px;

    left: 37%;
    bottom: -250px;

    background:
        rgba(255, 221, 175, 0.14);
}


/* =========================================================
   BACKGROUND STARS
========================================================= */

.about-bg-star {
    position: absolute;

    color: rgba(154, 130, 224, 0.20);

    font-size: 28px;

    animation:
        aboutFloat 5s ease-in-out infinite;
}


.about-bg-star.star-one {
    left: 5%;
    top: 210px;
}


.about-bg-star.star-two {
    right: 7%;
    top: 300px;

    color: rgba(237, 181, 70, 0.32);

    animation-delay: 1s;
}


.about-bg-star.star-three {
    left: 4%;
    top: 65%;

    animation-delay: 2s;
}


.about-bg-star.star-four {
    right: 5%;
    top: 73%;

    color: rgba(237, 181, 70, 0.28);

    animation-delay: 0.6s;
}


/* =========================================================
   FLOATING WORDS
========================================================= */

.about-floating-word {
    position: absolute;

    color: rgba(112, 91, 192, 0.045);

    font-family:
        "Fredoka",
        sans-serif;

    font-weight: 700;

    letter-spacing: 5px;

    user-select: none;
}


.about-floating-word.word-one {
    left: 1%;

    top: 35%;

    font-size: 50px;

    transform: rotate(-9deg);
}


.about-floating-word.word-two {
    right: 0;

    top: 49%;

    font-size: 45px;

    transform: rotate(8deg);
}


.about-floating-word.word-three {
    left: 4%;

    bottom: 7%;

    font-size: 42px;

    transform: rotate(-6deg);
}


/* =========================================================
   HEADER
========================================================= */

.about-body header {
    padding:
        22px
        24px
        0;

    position: relative;

    z-index: 20;
}


/* =========================================================
   NAV
========================================================= */

.about-body nav {
    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    padding:
        14px
        18px
        14px
        26px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    background:
        rgba(255, 255, 255, 0.88);

    border:
        1px solid
        rgba(143, 123, 214, 0.13);

    border-radius: 24px;

    box-shadow:
        0 12px 32px
        rgba(72, 58, 130, 0.09);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);
}


/* =========================================================
   LOGO
========================================================= */

.about-body .logo {
    padding:
        12px
        20px;

    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #b29cf7
        );

    border-radius: 16px;

    color: white;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 24px;

    font-weight: 700;

    letter-spacing: 2px;

    text-decoration: none;

    box-shadow:
        0 8px 20px
        rgba(143, 123, 214, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.about-body .logo:hover {
    transform:
        translateY(-2px)
        rotate(-2deg);

    box-shadow:
        0 11px 25px
        rgba(143, 123, 214, 0.32);
}


/* =========================================================
   NAV LINKS
========================================================= */

.about-body .nav-links {
    margin: 0;

    padding: 0;

    display: flex;

    align-items: center;

    gap: 7px;

    list-style: none;
}


.about-body .nav-links a {
    display: block;

    padding:
        11px
        18px;

    border-radius: 14px;

    color: #4c4960;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.about-body .nav-links a:hover {
    background: #f1edff;

    color: #725fc2;

    transform: translateY(-2px);
}

/* =========================================================
   ACTIVE NAV LINK
========================================================= */

.about-body .nav-links a.active {
    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #a994ed
        );

    color: #ffffff;

    box-shadow:
        0 6px 15px
        rgba(115, 94, 190, 0.22);

    transform: none;
}


.about-body .nav-links a.active:hover {
    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #a994ed
        );

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px
        rgba(115, 94, 190, 0.28);
}

/* =========================================================
   MAIN
========================================================= */

.about-container {
    width:
        min(1040px, 90%);

    margin: 0 auto;

    padding:
        90px
        0
        100px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   INTRO
========================================================= */

.about-intro {
    max-width: 790px;

    margin:
        25px
        auto
        65px;

    text-align: center;
}


/* =========================================================
   INTRO ICON
========================================================= */

.intro-icon {
    width: 76px;

    height: 76px;

    margin:
        0 auto
        20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #f3eeff,
            #e4d8ff
        );

    border:
        1px solid
        rgba(135, 111, 211, 0.12);

    border-radius: 25px;

    font-size: 34px;

    box-shadow:
        0 11px 28px
        rgba(111, 89, 180, 0.12);

    transform: rotate(-4deg);
}


/* =========================================================
   ABOUT LABEL
========================================================= */

.about-label {
    margin:
        0
        0
        12px;

    color: #8f7bd6;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.about-label span {
    color: #6652ae;
}


/* =========================================================
   INTRO TITLE
========================================================= */

.about-intro h1 {
    margin:
        0
        0
        21px;

    color: #302b59;

    font-family:
        "Fredoka",
        sans-serif;

    font-size:
        clamp(
            43px,
            6vw,
            68px
        );

    font-weight: 650;

    line-height: 1.06;

    letter-spacing: -1px;
}


.about-intro h1 span {
    color: #8b73db;
}


/* =========================================================
   INTRO DESCRIPTION
========================================================= */

.intro-description {
    max-width: 650px;

    margin: 0 auto;

    color: #686678;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   CREATOR CARD
========================================================= */

.creator-card {
    padding: 40px;

    position: relative;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.78);

    border:
        1px solid
        rgba(139, 118, 210, 0.11);

    border-radius: 35px;

    box-shadow:
        0 20px 55px
        rgba(69, 61, 104, 0.09);
}


.creator-card::before {
    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    right: -130px;

    top: -140px;

    border-radius: 50%;

    background:
        rgba(224, 213, 255, 0.28);

    pointer-events: none;
}


/* =========================================================
   CREATOR TOP
========================================================= */

.creator-top {
    margin-bottom: 32px;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 20px;
}


.creator-icon {
    width: 78px;

    height: 78px;

    flex:
        0 0 78px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #fff1cf,
            #ffe1a4
        );

    border-radius: 24px;

    font-size: 37px;

    box-shadow:
        0 10px 24px
        rgba(172, 126, 39, 0.10);
}


.creator-small-label {
    display: block;

    margin-bottom: 5px;

    color: #8b75d7;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


.creator-heading h2 {
    margin: 0;

    color: #34304d;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 34px;

    font-weight: 600;
}


/* =========================================================
   LANGUAGE BLOCK
========================================================= */

.language-block {
    padding:
        28px
        30px;

    position: relative;

    z-index: 2;

    border-radius: 25px;
}


.ukrainian-block {
    background:
        linear-gradient(
            145deg,
            #f5f2ff,
            #ebe5ff
        );

    border:
        1px solid
        rgba(135, 111, 211, 0.10);
}


.english-block {
    background:
        linear-gradient(
            145deg,
            #eff9f6,
            #e0f3ed
        );

    border:
        1px solid
        rgba(72, 157, 136, 0.10);
}


/* =========================================================
   LANGUAGE TITLE
========================================================= */

.language-title {
    margin-bottom: 15px;

    display: flex;

    align-items: center;

    gap: 9px;

    color: #4c4862;

    font-size: 14px;
}


/* =========================================================
   LANGUAGE TEXT
========================================================= */

.language-block p {
    margin:
        0
        0
        13px;

    color: #5f5d6e;

    font-size: 16px;

    line-height: 1.8;
}


.language-block p:last-child {
    margin-bottom: 0;
}


.language-block strong {
    color: #443d69;
}


/* =========================================================
   LANGUAGE DIVIDER
========================================================= */

.language-divider {
    margin:
        25px
        0;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 15px;
}


.language-divider span {
    height: 1px;

    background:
        rgba(121, 105, 178, 0.15);
}


.language-divider strong {
    color:
        #9485c8;

    font-size: 10px;

    letter-spacing: 2px;
}


/* =========================================================
   CONTENT SECTION
========================================================= */

.about-content-section {
    margin-top: 85px;
}


/* =========================================================
   CONTENT HEADING
========================================================= */

.content-heading {
    max-width: 680px;

    margin:
        0 auto
        38px;

    text-align: center;
}


.content-heading > span {
    display: block;

    margin-bottom: 8px;

    color: #8a74d5;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


.content-heading h2 {
    margin:
        0
        0
        12px;

    color: #34304d;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 40px;

    font-weight: 600;
}


.content-heading p {
    margin: 0;

    color: #747181;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   FEATURES GRID
========================================================= */

.about-features {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 22px;
}


/* =========================================================
   FEATURE CARD
========================================================= */

.feature-card {
    min-height: 315px;

    padding: 29px;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    border-radius: 30px;

    box-shadow:
        0 12px 30px
        rgba(58, 56, 72, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.feature-card::before {
    content: "";

    position: absolute;

    width: 170px;

    height: 170px;

    right: -75px;

    top: -80px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.30);
}


.feature-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 39px
        rgba(58, 56, 72, 0.11);
}


/* =========================================================
   FEATURE COLORS
========================================================= */

.grades-feature {
    background:
        linear-gradient(
            145deg,
            #f1edff,
            #e4dbff
        );
}


.practice-feature {
    background:
        linear-gradient(
            145deg,
            #fff3dc,
            #ffe7bd
        );
}


.games-feature {
    background:
        linear-gradient(
            145deg,
            #edf9e9,
            #dcefd7
        );
}


.resources-feature {
    background:
        linear-gradient(
            145deg,
            #e9f8f5,
            #d5eee7
        );
}


/* =========================================================
   FEATURE TOP
========================================================= */

.feature-top {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.feature-icon {
    width: 72px;

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.73);

    border-radius: 22px;

    font-size: 34px;

    box-shadow:
        0 8px 20px
        rgba(50, 50, 60, 0.07);
}


.feature-number {
    color:
        rgba(67, 61, 89, 0.30);

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 15px;

    font-weight: 600;
}


/* =========================================================
   FEATURE TEXT
========================================================= */

.feature-card h3 {
    margin:
        24px
        0
        10px;

    position: relative;

    z-index: 2;

    color: #37334b;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 29px;

    font-weight: 600;
}


.feature-card p {
    margin:
        0
        0
        22px;

    position: relative;

    z-index: 2;

    color: #646170;

    font-size: 15px;

    line-height: 1.72;
}


/* =========================================================
   FEATURE BUTTON
========================================================= */

.feature-button {
    width: fit-content;

    margin-top: auto;

    padding:
        11px
        16px;

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background:
        rgba(255, 255, 255, 0.70);

    border-radius: 14px;

    color: #6b55b7;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.feature-button:hover {
    background: white;

    transform: translateY(-2px);
}


/* =========================================================
   COMING SOON
========================================================= */

.coming-soon,
.resource-note {
    width: fit-content;

    margin-top: auto;

    padding:
        8px
        12px;

    position: relative;

    z-index: 2;

    background:
        rgba(255, 255, 255, 0.58);

    border-radius: 999px;

    color: #666173;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.4px;
}


/* =========================================================
   GOAL SECTION
========================================================= */

.goal-section {
    margin-top: 75px;

    padding:
        38px
        42px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    gap: 28px;

    background:
        linear-gradient(
            145deg,
            #fff6e5,
            #ffebc9
        );

    border:
        1px solid
        rgba(210, 155, 61, 0.10);

    border-radius: 33px;

    box-shadow:
        0 16px 40px
        rgba(102, 78, 44, 0.08);
}


.goal-section::after {
    content: "✦";

    position: absolute;

    right: 28px;

    top: 20px;

    color:
        rgba(198, 143, 45, 0.18);

    font-size: 60px;
}


/* =========================================================
   GOAL ICON
========================================================= */

.goal-icon {
    width: 90px;

    height: 90px;

    flex:
        0 0 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.66);

    border-radius: 27px;

    font-size: 42px;

    box-shadow:
        0 9px 22px
        rgba(107, 80, 38, 0.08);
}


/* =========================================================
   GOAL CONTENT
========================================================= */

.goal-content {
    position: relative;

    z-index: 2;
}


.goal-label {
    display: block;

    margin-bottom: 6px;

    color: #bb7a21;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


.goal-content h2 {
    margin:
        0
        0
        10px;

    color: #4d3b27;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 31px;

    font-weight: 600;
}


.goal-content p {
    margin: 0;

    color: #6c604f;

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   ENDING
========================================================= */

.about-ending {
    max-width: 650px;

    margin:
        90px
        auto
        0;

    text-align: center;
}


.ending-stars {
    margin-bottom: 15px;

    color: #e6ad42;

    font-size: 19px;

    letter-spacing: 9px;
}


.about-ending h2 {
    margin:
        0
        0
        9px;

    color: #332f4a;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 41px;

    font-weight: 600;
}


.about-ending p {
    margin:
        0
        0
        25px;

    color: #747080;

    font-size: 17px;
}


/* =========================================================
   START BUTTON
========================================================= */

.about-start-button {
    padding:
        15px
        24px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #a890f3
        );

    border-radius: 16px;

    color: white;

    font-size: 15px;

    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 11px 25px
        rgba(122, 98, 199, 0.24);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.about-start-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 31px
        rgba(122, 98, 199, 0.31);
}


.about-start-button span {
    font-size: 20px;

    transition:
        transform 0.25s ease;
}


.about-start-button:hover span {
    transform: translateX(5px);
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes aboutFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-9px)
            rotate(7deg);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .about-container {
        width:
            calc(100% - 36px);
    }


    .about-features {
        grid-template-columns: 1fr;
    }


    .feature-card {
        min-height: 280px;
    }


    .goal-section {
        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .about-body header {
        width: 100%;

        padding: 12px;
    }


    .about-body nav {
        width: 100%;

        max-width: none;

        padding: 16px;

        flex-direction: column;

        align-items: center;

        gap: 14px;

        border-radius: 20px;
    }


    .about-body .logo {
        padding:
            10px
            18px;

        font-size: 22px;
    }


    .about-body .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 7px;
    }


    .about-body .nav-links a {
        padding:
            8px
            13px;

        font-size: 13px;
    }


    .about-container {
        width:
            calc(100% - 24px);

        padding:
            65px
            0
            65px;
    }


    .about-intro {
        margin:
            15px
            auto
            45px;
    }


    .about-intro h1 {
        font-size: 42px;
    }


    .intro-description {
        font-size: 16px;
    }


    .creator-card {
        padding:
            25px
            18px;

        border-radius: 28px;
    }


    .creator-top {
        align-items: flex-start;
    }


    .creator-icon {
        width: 64px;

        height: 64px;

        flex-basis: 64px;

        border-radius: 20px;

        font-size: 30px;
    }


    .creator-heading h2 {
        font-size: 27px;
    }


    .language-block {
        padding:
            23px
            20px;

        border-radius: 22px;
    }


    .language-block p {
        font-size: 15px;
    }


    .about-content-section {
        margin-top: 65px;
    }


    .content-heading h2 {
        font-size: 34px;
    }


    .feature-card {
        min-height: 300px;

        padding: 24px;

        border-radius: 27px;
    }


    .goal-section {
        margin-top: 55px;

        padding:
            27px
            23px;

        flex-direction: column;

        border-radius: 28px;
    }


    .goal-icon {
        width: 75px;

        height: 75px;

        flex-basis: 75px;

        border-radius: 23px;

        font-size: 35px;
    }


    .goal-content h2 {
        font-size: 27px;
    }


    .about-ending {
        margin-top: 65px;
    }


    .about-ending h2 {
        font-size: 35px;
    }


    .about-floating-word {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .about-intro h1 {
        font-size: 37px;
    }


    .creator-top {
        flex-direction: column;
    }


    .creator-heading h2 {
        font-size: 26px;
    }


    .content-heading h2 {
        font-size: 30px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .about-bg-star {
        animation: none;
    }


    .feature-card,
    .about-start-button,
    .about-body .logo,
    .about-body .nav-links a {
        transition: none;
    }

}

/* =========================================================
   FIRST ABOUT ALISA BLOCK
========================================================= */

.creator-card-first {
    margin-top: 55px;
}

.creator-card-first .creator-heading h1 {
    margin: 0;

    color: #34304d;

    font-family: "Fredoka", sans-serif;

    font-size: clamp(34px, 5vw, 48px);

    font-weight: 600;

    line-height: 1.15;
}

@media (max-width: 650px) {

    .creator-card-first {
        margin-top: 35px;
    }

    .creator-card-first .creator-heading h1 {
        font-size: 30px;
    }

}

/* =========================================================
   BETTER TEXT READABILITY
========================================================= */

/* Основной текст в блоке про Алису */
.language-block p {
    color: #3f3d4d;
    font-size: 17px;
    font-weight: 550;
    line-height: 1.8;
}

/* Выделенные слова: 11 клас, C1 и т.д. */
.language-block p strong {
    color: #29263a;
    font-weight: 800;
}

/* Названия языков */
.language-title {
    color: #343142;
    font-weight: 700;
}

.language-title strong {
    color: #343142;
    font-weight: 800;
}


/* =========================================================
   CARDS: GRADES / PRACTICE / GAMES / RESOURCES
========================================================= */

.feature-card p {
    color: #454351;
    font-size: 16px;
    font-weight: 550;
    line-height: 1.75;
}

.feature-card h3 {
    color: #292637;
    font-weight: 650;
}


/* =========================================================
   GOAL
========================================================= */

.goal-content p {
    color: #514838;
    font-size: 16px;
    font-weight: 550;
    line-height: 1.8;
}

.goal-content h2 {
    color: #342c22;
    font-weight: 650;
}


/* =========================================================
   SECTION DESCRIPTION
========================================================= */

.content-heading p {
    color: #4e4b5a;
    font-size: 17px;
    font-weight: 550;
}


/* =========================================================
   FINAL TEXT
========================================================= */

.about-ending p {
    color: #4b4857;
    font-weight: 600;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .language-block p {
        font-size: 16px;
        font-weight: 550;
        line-height: 1.75;
    }

    .feature-card p {
        font-size: 15.5px;
        font-weight: 550;
    }

    .goal-content p {
        font-size: 15.5px;
        font-weight: 550;
    }
}