/* =========================================================
   JLPTExam.org - Premium Hero
   ========================================================= */

.hero-new {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #f7fcf9;
}

.hero-new-background {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.98) 22%,
            rgba(255,255,255,.88) 38%,
            rgba(255,255,255,.48) 55%,
            rgba(255,255,255,.08) 75%
        ),
        url('../images/hero-japan.png');

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-new-container {
    position: relative;
    z-index: 2;

    min-height: 650px;

    display: flex;
    align-items: center;

    padding-top: 45px;
    padding-bottom: 45px;
}

.hero-new-content {
    width: 68%;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 18px;
    margin-bottom: 22px;

    border-radius: 999px;

    background: rgba(225,247,235,.94);
    border: 1px solid rgba(0,145,75,.12);

    color: #143b29;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 5px 18px rgba(0,0,0,.04);
}

.hero-new h1 {
    margin: 0;

    color: #10251c;

    font-size: clamp(48px,5vw,76px);
    line-height: .99;

    letter-spacing: -3px;
    font-weight: 800;
}

.hero-new h1 span {
    color: #079447;
}

.hero-description {
    max-width: 650px;

    margin: 25px 0 29px;

    color: #52665d;

    font-size: 18px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 30px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 0 27px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-primary {
    color: #fff;
    background: #079447;

    box-shadow:
        0 12px 28px rgba(0,148,71,.22);
}

.hero-btn-primary:hover {
    background: #067b3c;
}

.hero-btn-secondary {
    color: #078744;

    background: rgba(255,255,255,.88);

    border: 1.5px solid #079447;
}

.hero-btn-secondary:hover {
    background: #effaf4;
}


/* =========================================================
   Feature Cards
   ========================================================= */

.hero-features {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(145px,1fr));

    gap: 10px;

    max-width: 760px;
}

.hero-feature {
    display: flex;
    align-items: center;

    gap: 11px;

    min-height: 68px;

    padding: 12px 15px;

    background: rgba(255,255,255,.94);

    border: 1px solid rgba(0,0,0,.06);

    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.06);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.hero-feature:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.09);
}

.hero-feature-icon {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #e7f8ee;

    color: #078b47;

    font-size: 17px;
    font-weight: 800;
}

.hero-feature strong {
    display: block;

    color: #18372a;

    font-size: 13px;
}

.hero-feature small {
    display: block;

    margin-top: 2px;

    color: #718078;

    font-size: 10px;
}


/* =========================================================
   Right Level Card
   ========================================================= */

.hero-new-right {
    width: 32%;
    min-height: 430px;

    display: flex;
    align-items: flex-start;
    justify-content: flex-end;

    padding-top: 5px;
    padding-right: 15px;

    position: relative;
    z-index: 5;
}

.hero-level-card {
    width: 225px;

    padding: 20px;

    border-radius: 20px;

    background: rgba(255,255,255,.96);

    border: 1px solid rgba(255,255,255,.9);

    box-shadow:
        0 20px 55px rgba(20,60,40,.18);

    backdrop-filter: blur(12px);
}

.hero-level-heading {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 18px;

    color: #183b2b;

    font-size: 17px;
    font-weight: 800;
}

.hero-level-heading span {
    color: #079447;
}

.hero-level-buttons {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 9px;
}

.hero-level-buttons a {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #fff;
    background: #079447;

    text-decoration: none;

    font-size: 15px;
    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.hero-level-buttons a:nth-child(2) {
    background: #397ed8;
}

.hero-level-buttons a:nth-child(3) {
    background: #f39a21;
}

.hero-level-buttons a:nth-child(4) {
    background: #e85b57;
}

.hero-level-buttons a:nth-child(5) {
    background: #8050c9;
}

.hero-level-buttons a:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 18px rgba(0,0,0,.12);
}

.hero-level-cta {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 47px;

    margin-top: 17px;

    border-radius: 10px;

    color: #fff;
    background: #087e42;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;
}

.hero-level-cta:hover {
    background: #066d38;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width:1100px) {

    .hero-new-content {
        width: 61%;
    }

    .hero-new-right {
        width: 35%;
    }

    .hero-features {
        grid-template-columns:
            repeat(2,1fr);
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width:800px) {

    .hero-new {
        min-height: auto;
    }

    .hero-new-background {
        background-image:
            linear-gradient(
                180deg,
                rgba(255,255,255,.97) 0%,
                rgba(255,255,255,.91) 50%,
                rgba(235,249,241,.90) 100%
            ),
            url('../images/hero-japan.png');

        background-position: center;
    }

    .hero-new-container {
        min-height: auto;

        flex-direction: column;

        padding-top: 55px;
        padding-bottom: 45px;
    }

    .hero-new-content {
        width: 100%;
        max-width: 700px;

        text-align: center;
    }

    .hero-badge {
        margin-bottom: 18px;
    }

    .hero-new h1 {
        font-size: clamp(42px,10vw,60px);

        letter-spacing: -2px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;

        font-size: 16px;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-features {
        max-width: 600px;

        margin: 0 auto;
    }

    .hero-new-right {
        width: 100%;

        min-height: 250px;

        justify-content: center;
    }

    .hero-level-card {
        margin-top: 28px;
    }
}


/* =========================================================
   Small Mobile
   ========================================================= */

@media (max-width:480px) {

    .hero-new-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-new h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 15px;
    }

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

    .hero-btn {
        width: 100%;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        width: 100%;
    }

    .hero-level-card {
        width: 100%;
        max-width: 290px;
    }
}