/* =========================================================
   YEW — MAIN STYLE
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}


/* =========================================================
   BODY
========================================================= */

body {
    margin: 0;

    min-height: 100vh;

    background:
        linear-gradient(
            rgba(50, 16, 122, 0.20),
            rgba(50, 16, 122, 0.20)
        ),
        linear-gradient(
            to right,
            rgba(50, 16, 122, 0.10),
            rgba(255, 79, 195, 0.10)
        );

    overflow-x: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;

    max-width: 1320px;

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 20;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 48px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #fff4e6;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 32px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.logo:hover {
    transform: translateY(-2px);

    opacity: 0.92;
}


.logo img {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    object-fit: cover;
}


/* =========================================================
   MENU
========================================================= */

.menu {
    display: flex;

    align-items: center;

    gap: 40px;
}


.menu a {
    position: relative;

    color: #6a4e8a;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 30px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.menu a:hover {
    color: #8e3f63;

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    padding: 0;

    background: transparent;

    border: none;

    color: #fff3dc;

    font-size: 32px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100dvh;

    padding-top: 180px;

    overflow: hidden;
}


.hero .container {
    position: relative;

    z-index: 2;

    display: flex;

    min-height:
        calc(
            100dvh - 180px
        );

    padding-left: 48px;

    padding-right: 48px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: flex-start;

    gap: 28px;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1 {
    margin: 0;

    color: #fff3dc;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 96px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: -1px;
}


/* =========================================================
   HERO SUBTITLE
========================================================= */

.hero p {
    margin: 0;

    color: #8e3f63;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 36px;

    font-weight: 800;

    line-height: 42px;
}


/* =========================================================
   HERO BACKGROUND CIRCLE
========================================================= */

.hero-circle {
    position: absolute;

    top: -87px;
    left: 60px;

    width: 1052px;
    height: 1075px;

    background: #ff4fc3;

    opacity: 0.60;

    border-radius: 50%;

    filter: blur(300px);

    z-index: 0;

    pointer-events: none;
}


/* =========================================================
   DECORATIONS
========================================================= */

.hero-decoration {
    position: absolute;

    z-index: 1;

    pointer-events: none;

    user-select: none;

    color:
        rgba(
            255,
            243,
            220,
            0.42
        );

    font-family:
        "Fredoka",
        sans-serif;
}


.hero-decoration-one {
    top: 22%;

    right: 11%;

    font-size: 48px;

    transform: rotate(12deg);
}


.hero-decoration-two {
    right: 21%;

    bottom: 19%;

    color:
        rgba(
            142,
            63,
            99,
            0.20
        );

    font-size: 35px;

    transform: rotate(-15deg);
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {
    width: 100%;

    max-width: 1080px;

    margin-top: 12px;

    display: flex;

    align-items: stretch;

    gap: 18px;
}


/* =========================================================
   START LEARNING BUTTON
========================================================= */

.hero-button {
    min-width: 0;

    height: 92px;

    flex: 1.15;

    padding:
        0
        30px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    background: #ff8f66;

    border-radius: 24px;

    color: #8e3f63;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 25px;

    font-weight: 800;

    line-height: 1;

    text-decoration: none;

    box-shadow:
        0 10px 24px
        rgba(
            142,
            63,
            99,
            0.11
        );

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.hero-button:hover {
    background: #ff9973;

    transform:
        translateY(-4px)
        scale(1.015);

    box-shadow:
        0 15px 30px
        rgba(
            142,
            63,
            99,
            0.18
        );
}


.hero-button .arrow {
    display: inline-block;

    font-size: 28px;

    transition:
        transform 0.3s ease;
}


.hero-button:hover .arrow {
    transform:
        translateX(8px);
}


/* =========================================================
   REVIEW BUTTON
========================================================= */

.review-hero-button {
    min-width: 0;

    height: 92px;

    flex: 0.85;

    padding:
        14px
        20px;

    display: flex;

    align-items: center;

    gap: 14px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 247, 225, 0.96),
            rgba(255, 226, 241, 0.96)
        );

    border:
        2px solid
        rgba(
            255,
            255,
            255,
            0.55
        );

    border-radius: 24px;

    color: #6a4e8a;

    font-family:
        "Manrope",
        sans-serif;

    text-decoration: none;

    box-shadow:
        0 12px 28px
        rgba(
            106,
            78,
            138,
            0.15
        );

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.review-hero-button::before {
    content: "";

    position: absolute;

    top: -60px;
    right: -50px;

    width: 140px;
    height: 140px;

    background:
        rgba(
            255,
            143,
            102,
            0.13
        );

    border-radius: 50%;

    pointer-events: none;
}


.review-hero-button:hover {
    transform:
        translateY(-4px)
        scale(1.015);

    box-shadow:
        0 17px 34px
        rgba(
            106,
            78,
            138,
            0.21
        );
}


/* =========================================================
   REVIEW STAR
========================================================= */

.review-button-star {
    width: 50px;
    height: 50px;

    flex:
        0 0
        50px;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #ffbd62,
            #ff9b62
        );

    border-radius: 16px;

    color: #fff8e9;

    font-size: 24px;

    box-shadow:
        0 7px 16px
        rgba(
            216,
            121,
            74,
            0.20
        );

    transform: rotate(-4deg);

    transition:
        transform 0.3s ease;
}


.review-hero-button:hover
.review-button-star {
    transform:
        rotate(5deg)
        scale(1.08);
}


/* =========================================================
   REVIEW BUTTON TEXT
========================================================= */

.review-button-content {
    min-width: 0;

    flex: 1;

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 4px;
}


.review-button-content strong {
    color: #704e89;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 20px;

    font-weight: 650;

    line-height: 1.1;
}


.review-button-content small {
    color: #8e6b85;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.3;
}


/* =========================================================
   REVIEW ARROW
========================================================= */

.review-button-arrow {
    width: 38px;
    height: 38px;

    flex:
        0 0
        38px;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(
            142,
            63,
            99,
            0.08
        );

    border-radius: 50%;

    color: #8e3f63;

    font-size: 21px;

    font-weight: 800;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.review-hero-button:hover
.review-button-arrow {
    background:
        rgba(
            142,
            63,
            99,
            0.13
        );

    transform:
        translateX(4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    nav {
        padding:
            36px
            38px;
    }


    .menu {
        gap: 25px;
    }


    .menu a {
        font-size: 22px;
    }


    .hero {
        padding-top: 155px;
    }


    .hero .container {
        min-height:
            calc(
                100dvh - 155px
            );

        padding-left: 38px;

        padding-right: 38px;
    }


    .hero h1 {
        font-size: 82px;
    }


    .hero p {
        font-size: 30px;
    }


    .hero-actions {
        max-width: 930px;
    }


    .hero-button {
        font-size: 22px;
    }


    .review-button-content strong {
        font-size: 18px;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 850px) {

    .hero h1 {
        font-size: 72px;
    }


    .hero-actions {
        max-width: 700px;

        flex-direction: column;

        align-items: flex-start;
    }


    .hero-button,
    .review-hero-button {
        width: 100%;

        max-width: 520px;

        flex: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    /* HEADER */

    nav {
        position: relative;

        padding:
            28px
            32px;
    }


    .logo {
        margin-left: -15px;

        font-size: 27px;
    }


    .logo img {
        width: 38px;
        height: 38px;
    }


    /* MENU */

    .menu {
        display: none;
    }


    .menu-toggle {
        display: block;
    }


    .menu.menu-open {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        position: absolute;

        top: calc(100% - 5px);

        left: 20px;
        right: 20px;

        padding: 20px;

        gap: 7px;

        background:
            rgba(
                255,
                255,
                255,
                0.96
            );

        border:
            1px solid
            rgba(
                106,
                78,
                138,
                0.08
            );

        border-radius: 20px;

        box-shadow:
            0 12px 30px
            rgba(
                0,
                0,
                0,
                0.10
            );

        backdrop-filter:
            blur(14px);

        -webkit-backdrop-filter:
            blur(14px);
    }


    .menu.menu-open a {
        padding:
            11px
            14px;

        color: #6a4e8a;

        border-radius: 12px;

        font-size: 17px;

        text-decoration: none;
    }


    .menu.menu-open a:hover {
        background: #f7edfa;

        transform: none;
    }


    /* HERO */

    .hero {
        height: auto;

        min-height: 100dvh;

        padding-top: 145px;

        padding-bottom: 55px;
    }


    .hero .container {
        min-height: auto;

        padding-left: 32px;

        padding-right: 32px;
    }


    .hero-content {
        gap: 24px;
    }


    .hero h1 {
        margin: 0;

        font-size: 68px;

        font-weight: 700;

        line-height: 0.88;
    }


    .hero p {
        margin: 0;

        font-size: 20px;

        font-weight: 800;

        line-height: 28px;
    }


    /* ACTIONS */

    .hero-actions {
        width: 100%;

        max-width: 430px;

        margin-top: 7px;

        gap: 13px;

        flex-direction: column;
    }


    .hero-button {
        width: 100%;

        height: 82px;

        padding:
            0
            24px;

        flex: none;

        font-size: 23px;

        border-radius: 22px;
    }


    .review-hero-button {
        width: 100%;

        height: 82px;

        padding:
            13px
            16px;

        flex: none;

        border-radius: 22px;
    }


    .review-button-star {
        width: 46px;
        height: 46px;

        flex-basis: 46px;

        border-radius: 14px;

        font-size: 21px;
    }


    .review-button-content strong {
        font-size: 18px;
    }


    .review-button-content small {
        font-size: 9px;
    }


    .review-button-arrow {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        font-size: 19px;
    }


    /* BACKGROUND */

    .hero-circle {
        top: -80px;

        left: -180px;

        width: 760px;

        height: 900px;

        filter: blur(230px);
    }


    .hero-decoration-one {
        top: 22%;

        right: 7%;

        font-size: 33px;
    }


    .hero-decoration-two {
        right: 10%;

        bottom: 10%;

        font-size: 27px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    nav {
        padding:
            23px
            24px;
    }


    .logo {
        margin-left: 0;

        font-size: 24px;
    }


    .logo img {
        width: 34px;
        height: 34px;
    }


    .menu-toggle {
        font-size: 29px;
    }


    .hero {
        padding-top: 130px;

        padding-bottom: 45px;
    }


    .hero .container {
        padding-left: 22px;

        padding-right: 22px;
    }


    .hero h1 {
        font-size:
            clamp(
                50px,
                16vw,
                64px
            );
    }


    .hero p {
        font-size: 18px;
    }


    .hero-actions {
        max-width: 100%;
    }


    .hero-button {
        height: 76px;

        font-size: 20px;
    }


    .review-hero-button {
        height: 78px;

        gap: 11px;
    }


    .review-button-star {
        width: 43px;
        height: 43px;

        flex-basis: 43px;

        font-size: 20px;
    }


    .review-button-content strong {
        font-size: 17px;
    }


    .review-button-content small {
        font-size: 8px;
    }


    .review-button-arrow {
        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;
    }

}