/* ==========================================================
   BELAJAREDUTECH
   AKADEMIK - SMA / SMK
========================================================== */

.sma-smk-page {
    --sma-primary: #4f46e5;
    --sma-primary-dark: #4338ca;
    --sma-primary-soft: #eef2ff;

    --sma-secondary: #0891b2;
    --sma-secondary-soft: #ecfeff;

    --sma-purple: #7c3aed;
    --sma-green: #0f766e;
    --sma-green-soft: #f0fdfa;
    --sma-orange: #ea580c;

    --sma-text: #0f172a;
    --sma-muted: #64748b;
    --sma-border: #e2e8f0;
    --sma-soft: #f8fafc;
}


.sma-smk-page .section {
    padding: 82px 0;
}


/* ==========================================================
   BREADCRUMB
========================================================== */

.sma-smk-breadcrumb-section {
    background: #ffffff;

    border-bottom:
        1px solid
        var(--sma-border);
}


.sma-smk-breadcrumb {
    min-height: 54px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color: var(--sma-muted);

    font-size: 0.76rem;
}


.sma-smk-breadcrumb a {
    color: var(--sma-muted);

    text-decoration: none;
}


.sma-smk-breadcrumb a:hover {
    color: var(--sma-primary);
}


.sma-smk-breadcrumb strong {
    color: #334155;
}


/* ==========================================================
   HERO
========================================================== */

.sma-smk-hero {
    overflow: hidden;

    padding: 78px 0 90px;

    background:
        radial-gradient(
            circle at 88% 16%,
            rgba(79, 70, 229, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(8, 145, 178, 0.11),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #fafaff,
            #ffffff
        );
}


.sma-smk-hero-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1.03fr)
        minmax(430px, 0.97fr);

    align-items: center;

    gap: 54px;
}


.sma-smk-hero-content,
.sma-smk-hero-visual {
    min-width: 0;
}


.sma-smk-level-badge {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

    color: var(--sma-primary-dark);

    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.sma-smk-level-badge > span {
    width: 48px;
    height: 42px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--sma-primary),
            var(--sma-secondary)
        );

    border-radius: 13px;

    font-size: 0.68rem;
    font-weight: 900;
}


.sma-smk-hero-content h1 {
    max-width: 720px;

    margin: 0 0 22px;

    font-size:
        clamp(
            3rem,
            5vw,
            4.9rem
        );

    line-height: 1.01;
    letter-spacing: -0.055em;
}


.sma-smk-hero-content > p {
    max-width: 710px;

    margin: 0;

    color: var(--sma-muted);

    line-height: 1.8;
}


.sma-smk-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


.sma-smk-hero-meta {
    max-width: 700px;

    display: grid;

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

    gap: 10px;

    margin-top: 34px;
}


.sma-smk-hero-meta > div {
    padding: 16px;

    background:
        rgba(255, 255, 255, 0.9);

    border:
        1px solid
        var(--sma-border);

    border-radius: 14px;
}


.sma-smk-hero-meta strong,
.sma-smk-hero-meta span {
    display: block;
}


.sma-smk-hero-meta strong {
    margin-bottom: 4px;

    color: var(--sma-primary);

    font-size: 1.07rem;
}


.sma-smk-hero-meta span {
    color: var(--sma-muted);

    font-size: 0.65rem;
}


/* ==========================================================
   HERO BOARD
========================================================== */

.sma-smk-hero-visual {
    width: 100%;
    max-width: 620px;

    margin-left: auto;
}


.sma-smk-board {
    padding: 30px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #1e1b4b,
            #4338ca 48%,
            #0e7490
        );

    border-radius: 30px;

    box-shadow:
        0 32px 85px
        rgba(67, 56, 202, 0.24);
}


.sma-smk-board-label {
    display: block;

    margin-bottom: 18px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 0.6rem;
    font-weight: 850;
    text-transform: uppercase;
}


.sma-smk-board-path {
    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 8px;
}


.sma-smk-board-path > div {
    min-height: 135px;

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

    padding: 13px;

    background:
        rgba(255, 255, 255, 0.07);

    border-radius: 14px;

    text-align: center;
}


.sma-smk-board-path span,
.sma-smk-board-path strong,
.sma-smk-board-path small {
    display: block;
}


.sma-smk-board-path span {
    margin-bottom: 5px;

    color:
        rgba(255, 255, 255, 0.6);

    font-size: 0.48rem;
}


.sma-smk-board-path strong {
    color: #ffffff;

    font-size: 1.55rem;
}


.sma-smk-board-path small {
    margin-top: 7px;

    color: #a5f3fc;
}


.sma-smk-board-path > i {
    color: #c7d2fe;

    font-style: normal;
    font-weight: 900;
}


.sma-smk-board-subject {
    margin-top: 12px;
    padding: 16px;

    background:
        rgba(8, 145, 178, 0.48);

    border-radius: 14px;
}


.sma-smk-board-subject > span {
    display: block;

    margin-bottom: 10px;

    color:
        rgba(255, 255, 255, 0.66);

    font-size: 0.5rem;

    text-align: center;
}


.sma-smk-board-subject > div {
    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 12px;
}


.sma-smk-board-subject > div > strong {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.11);

    border-radius: 12px;
}


.sma-smk-board-subject small,
.sma-smk-board-subject b {
    display: block;
}


.sma-smk-board-subject small {
    margin-bottom: 3px;

    color: #cffafe;
}


.sma-smk-board-subject b {
    color: #ffffff;
}


.sma-smk-board-subject i {
    color: #a7f3d0;

    font-style: normal;
    font-size: 1.1rem;
    font-weight: 900;
}


.sma-smk-board-footer {
    display: grid;

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

    gap: 8px;

    margin-top: 12px;
}


.sma-smk-board-footer > div {
    padding: 12px;

    color: #334155;
    background: #ffffff;

    border-radius: 12px;

    text-align: center;
}


.sma-smk-board-footer span,
.sma-smk-board-footer strong {
    display: block;
}


.sma-smk-board-footer span {
    margin-bottom: 4px;

    color: var(--sma-muted);

    font-size: 0.48rem;
}


.sma-smk-board-footer strong {
    color: var(--sma-primary-dark);

    font-size: 0.68rem;
}


/* ==========================================================
   INTRO
========================================================== */

.sma-smk-intro-section {
    background: #ffffff;
}


.sma-smk-intro-container {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    align-items: start;

    gap: 70px;
}


.sma-smk-intro-container h2 {
    margin: 12px 0 0;

    font-size:
        clamp(
            2.25rem,
            4vw,
            3.7rem
        );

    line-height: 1.05;
    letter-spacing: -0.045em;
}


.sma-smk-intro-container > div:last-child {
    padding-top: 10px;
}


.sma-smk-intro-container p {
    margin-top: 0;
    margin-bottom: 17px;

    color: var(--sma-muted);

    line-height: 1.8;
}


/* ==========================================================
   CLASS CARDS
========================================================== */

.sma-smk-class-section {
    background: var(--sma-soft);
}


.sma-smk-class-grid {
    display: grid;

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

    gap: 18px;
}


.sma-smk-class-card {
    min-width: 0;
    min-height: 560px;

    display: flex;
    flex-direction: column;

    padding: 24px;

    color: #334155;
    background: #ffffff;

    border:
        1px solid
        var(--sma-border);

    border-radius: 24px;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.sma-smk-class-card:hover {
    transform:
        translateY(-4px);

    border-color: #c7d2fe;

    box-shadow:
        0 22px 50px
        rgba(15, 23, 42, 0.09);
}


.sma-smk-class-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}


.sma-smk-class-number {
    width: 78px;
    height: 78px;

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

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--sma-primary),
            var(--sma-secondary)
        );

    border-radius: 20px;
}


.sma-smk-class-number small,
.sma-smk-class-number strong {
    display: block;
}


.sma-smk-class-number small {
    margin-bottom: 2px;

    color:
        rgba(255, 255, 255, 0.7);

    font-size: 0.48rem;
}


.sma-smk-class-number strong {
    font-size: 1.35rem;
}


.sma-smk-status {
    padding: 6px 10px;

    color: #166534;
    background: #dcfce7;

    border-radius: 999px;

    font-size: 0.53rem;
    font-weight: 850;
}


.sma-smk-class-content {
    margin-top: 24px;
}


.sma-smk-class-content > span {
    display: block;

    margin-bottom: 8px;

    color: var(--sma-primary);

    font-size: 0.56rem;
    font-weight: 850;
    text-transform: uppercase;
}


.sma-smk-class-content h3 {
    margin: 0 0 12px;

    font-size:
        clamp(
            1.45rem,
            2vw,
            1.9rem
        );
}


.sma-smk-class-content p {
    margin: 0;

    color: var(--sma-muted);

    line-height: 1.7;
}


.sma-smk-class-math {
    margin-top: 22px;
    padding: 16px;

    background: var(--sma-primary-soft);

    border:
        1px solid
        #e0e7ff;

    border-radius: 15px;
}


.sma-smk-class-math > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


.sma-smk-class-math > div:first-child span {
    color: var(--sma-muted);

    font-size: 0.56rem;
}


.sma-smk-class-math > div:first-child strong {
    color: var(--sma-primary-dark);
}


.sma-smk-class-topics {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 12px;
}


.sma-smk-class-topics span {
    padding: 5px 8px;

    color: #475569;
    background: #ffffff;

    border:
        1px solid
        #e0e7ff;

    border-radius: 999px;

    font-size: 0.51rem;
    font-weight: 750;
}


.sma-smk-class-action {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: auto;
    padding-top: 22px;

    color: var(--sma-primary-dark);

    font-weight: 850;
}


.sma-smk-class-action > span {
    font-size: 0.7rem;
}


.sma-smk-class-action > strong {
    font-size: 1.25rem;
}


/* ==========================================================
   LEARNING PATH
========================================================== */

.sma-smk-path-section {
    background: #ffffff;
}


.sma-smk-learning-path {
    max-width: 1150px;

    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr;

    align-items: stretch;

    gap: 12px;

    margin-inline: auto;
}


.sma-smk-path-card {
    min-height: 290px;

    display: grid;

    grid-template-columns:
        auto 1fr;

    align-items: flex-start;

    gap: 15px;

    padding: 22px;

    color: #334155;
    background: var(--sma-soft);

    border:
        1px solid
        var(--sma-border);

    border-radius: 20px;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.sma-smk-path-card:hover {
    transform:
        translateY(-3px);

    border-color: #c7d2fe;
}


.sma-smk-path-number {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background: var(--sma-primary);

    border-radius: 13px;

    font-size: 0.7rem;
    font-weight: 900;
}


.sma-smk-path-card > div:last-child > span {
    display: block;

    margin-bottom: 7px;

    color: var(--sma-primary);

    font-size: 0.53rem;
    font-weight: 850;
    text-transform: uppercase;
}


.sma-smk-path-card h3 {
    margin: 0 0 9px;
}


.sma-smk-path-card p {
    margin: 0 0 13px;

    color: var(--sma-muted);

    line-height: 1.65;
}


.sma-smk-path-card > div:last-child > strong {
    color: var(--sma-primary-dark);

    font-size: 0.68rem;
}


.sma-smk-path-arrow {
    align-self: center;

    color: var(--sma-primary);

    font-style: normal;
    font-size: 1.35rem;
    font-weight: 900;
}


/* ==========================================================
   MATHEMATICS OVERVIEW
========================================================== */

.sma-smk-math-section {
    background: var(--sma-soft);
}


.sma-smk-math-grid {
    display: grid;

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

    gap: 16px;
}


.sma-smk-math-card {
    min-height: 520px;

    display: flex;
    flex-direction: column;

    padding: 24px;

    color: #334155;
    background: #ffffff;

    border:
        1px solid
        var(--sma-border);

    border-radius: 22px;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.sma-smk-math-card:hover {
    transform:
        translateY(-3px);

    border-color: #c7d2fe;

    box-shadow:
        0 18px 42px
        rgba(15, 23, 42, 0.08);
}


.sma-smk-math-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 14px;
}


.sma-smk-math-card-heading > span {
    padding: 6px 10px;

    color: var(--sma-primary-dark);
    background: var(--sma-primary-soft);

    border-radius: 999px;

    font-size: 0.54rem;
    font-weight: 850;
}


.sma-smk-math-card-heading > strong {
    color: var(--sma-green);

    font-size: 0.61rem;
}


.sma-smk-math-card h3 {
    margin: 0 0 17px;

    font-size: 1.4rem;
}


.sma-smk-math-card ul {
    margin: 0;
    padding-left: 20px;

    color: var(--sma-muted);

    line-height: 1.9;
}


.sma-smk-math-card li::marker {
    color: var(--sma-primary);
}


.sma-smk-math-spacer {
    flex: 1;
}


.sma-smk-math-action {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: auto;
    padding-top: 20px;

    border-top:
        1px solid
        var(--sma-border);

    color: var(--sma-primary-dark);
}


.sma-smk-math-action > span {
    font-size: 0.65rem;
    font-weight: 850;
}


.sma-smk-math-action > strong {
    font-size: 1.2rem;
}


/* ==========================================================
   OTHER SUBJECTS
========================================================== */

.sma-smk-other-section {
    background: #ffffff;
}


.sma-smk-other-card {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 36px;

    padding: 36px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1e1b4b,
            #4338ca 52%,
            #0e7490
        );

    border-radius: 30px;
}


.sma-smk-other-card > div:first-child > span {
    display: block;

    margin-bottom: 8px;

    color: #c7d2fe;

    font-size: 0.57rem;
    font-weight: 850;
    text-transform: uppercase;
}


.sma-smk-other-card h2 {
    margin: 0 0 13px;

    color: #ffffff;

    font-size:
        clamp(
            2rem,
            3.5vw,
            3.2rem
        );
}


.sma-smk-other-card p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.76);

    line-height: 1.7;
}


.sma-smk-other-list {
    display: flex;
    flex-direction: column;

    gap: 9px;
}


.sma-smk-other-list > div {
    display: grid;

    grid-template-columns:
        auto 1fr;

    align-items: center;

    gap: 12px;

    padding: 14px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 14px;
}


.sma-smk-other-list > div > span {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.11);

    border-radius: 11px;

    font-size: 0.6rem;
    font-weight: 900;
}


.sma-smk-other-list strong,
.sma-smk-other-list small {
    display: block;
}


.sma-smk-other-list strong {
    color: #ffffff;
}


.sma-smk-other-list small {
    margin-top: 3px;

    color:
        rgba(255, 255, 255, 0.57);
}


/* ==========================================================
   NAVIGATION
========================================================== */

.sma-smk-navigation-section {
    padding: 40px 0 70px;

    background: #ffffff;
}


.sma-smk-navigation {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


.sma-smk-navigation-card {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 20px;

    color: #334155;
    background: var(--sma-soft);

    border:
        1px solid
        var(--sma-border);

    border-radius: 17px;

    text-decoration: none;
}


.sma-smk-navigation-card:hover {
    border-color: #c7d2fe;
}


.sma-smk-navigation-card.next {
    justify-content: flex-end;

    text-align: right;
}


.sma-smk-navigation-card > span {
    color: var(--sma-primary);

    font-size: 1.25rem;
    font-weight: 900;
}


.sma-smk-navigation-card small,
.sma-smk-navigation-card strong,
.sma-smk-navigation-card div > span {
    display: block;
}


.sma-smk-navigation-card small {
    margin-bottom: 4px;

    color: var(--sma-muted);
}


.sma-smk-navigation-card div > span {
    margin-top: 4px;

    color: var(--sma-muted);

    font-size: 0.62rem;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1120px) {

    .sma-smk-hero-container {
        grid-template-columns: 1fr;

        gap: 48px;
    }


    .sma-smk-hero-content {
        max-width: 850px;
    }


    .sma-smk-hero-visual {
        width: 100%;
        max-width: 850px;

        margin-inline: auto;
    }


    .sma-smk-class-grid,
    .sma-smk-math-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .sma-smk-class-card:last-child,
    .sma-smk-math-card:last-child {
        grid-column: 1 / -1;

        max-width: 600px;
        width: 100%;

        justify-self: center;
    }

}


@media (max-width: 900px) {

    .sma-smk-intro-container,
    .sma-smk-other-card {
        grid-template-columns: 1fr;
    }


    .sma-smk-learning-path {
        grid-template-columns: 1fr;
    }


    .sma-smk-path-arrow {
        justify-self: center;

        transform: rotate(90deg);
    }

}


@media (max-width: 680px) {

    .sma-smk-page .section {
        padding: 62px 0;
    }


    .sma-smk-hero {
        padding: 52px 0 64px;
    }


    .sma-smk-hero-content h1 {
        font-size:
            clamp(
                2.4rem,
                11vw,
                3.7rem
            );
    }


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


    .sma-smk-hero-actions .button {
        width: 100%;
    }


    .sma-smk-hero-meta,
    .sma-smk-board-footer,
    .sma-smk-class-grid,
    .sma-smk-math-grid,
    .sma-smk-navigation {
        grid-template-columns: 1fr;
    }


    .sma-smk-class-card:last-child,
    .sma-smk-math-card:last-child {
        grid-column: auto;

        max-width: none;
    }


    .sma-smk-board-path {
        grid-template-columns: 1fr;
    }


    .sma-smk-board-path > i {
        justify-self: center;

        transform: rotate(90deg);
    }


    .sma-smk-navigation-card.next {
        justify-content: flex-start;

        text-align: left;
    }

}


@media (max-width: 460px) {

    .sma-smk-board,
    .sma-smk-other-card {
        padding: 21px;
    }


    .sma-smk-class-card,
    .sma-smk-math-card {
        padding: 20px;
    }


    .sma-smk-hero-meta {
        gap: 8px;
    }

}