/* ==========================================================
   BELAJAREDUTECH
   SMA / SMK KELAS 12
========================================================== */

.grade-twelve-page {
    --grade12-primary: #7c3aed;
    --grade12-primary-dark: #6d28d9;
    --grade12-primary-soft: #f5f3ff;

    --grade12-secondary: #2563eb;
    --grade12-secondary-soft: #eff6ff;

    --grade12-cyan: #0891b2;
    --grade12-green: #0f766e;
    --grade12-orange: #ea580c;

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


.grade-twelve-page .section {
    padding: 82px 0;
}


.grade-twelve-footer-disabled {
    display: block;

    margin-bottom: 8px;

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

    cursor: default;
}


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

.grade-twelve-breadcrumb-section {
    background: #ffffff;

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


.grade-twelve-breadcrumb {
    min-height: 54px;

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

    gap: 8px;

    color: var(--grade12-muted);

    font-size: 0.76rem;
}


.grade-twelve-breadcrumb a {
    color: var(--grade12-muted);

    text-decoration: none;
}


.grade-twelve-breadcrumb a:hover {
    color: var(--grade12-primary);
}


.grade-twelve-breadcrumb strong {
    color: #334155;
}


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

.grade-twelve-hero {
    overflow: hidden;

    padding: 78px 0 90px;

    background:
        radial-gradient(
            circle at 87% 15%,
            rgba(124, 58, 237, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(37, 99, 235, 0.11),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #fbfaff,
            #ffffff
        );
}


.grade-twelve-hero-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(430px, 0.98fr);

    align-items: center;

    gap: 54px;
}


.grade-twelve-hero-content,
.grade-twelve-hero-visual {
    min-width: 0;
}


.grade-twelve-level-badge {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

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

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


.grade-twelve-level-badge span {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    color: #ffffff;

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

    border-radius: 13px;

    font-size: 0.63rem;
}


.grade-twelve-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;
}


.grade-twelve-hero-content > p {
    max-width: 700px;

    margin: 0;

    color: var(--grade12-muted);

    line-height: 1.8;
}


.grade-twelve-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


.grade-twelve-hero-meta {
    max-width: 680px;

    display: grid;

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

    gap: 10px;

    margin-top: 34px;
}


.grade-twelve-hero-meta > div {
    padding: 16px;

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

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

    border-radius: 14px;
}


.grade-twelve-hero-meta strong,
.grade-twelve-hero-meta span {
    display: block;
}


.grade-twelve-hero-meta strong {
    margin-bottom: 4px;

    color: var(--grade12-primary);

    font-size: 1.05rem;
}


.grade-twelve-hero-meta span {
    color: var(--grade12-muted);

    font-size: 0.65rem;
}


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

.grade-twelve-hero-visual {
    width: 100%;
    max-width: 620px;

    margin-left: auto;
}


.grade-twelve-board {
    padding: 30px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #3b0764,
            #6d28d9 48%,
            #1d4ed8
        );

    border-radius: 30px;

    box-shadow:
        0 32px 85px
        rgba(109, 40, 217, 0.24);
}


.grade-twelve-board-label {
    display: block;

    margin-bottom: 18px;

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

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


.grade-twelve-board-level {
    display: grid;

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

    align-items: center;

    gap: 8px;
}


.grade-twelve-board-level > div {
    min-height: 112px;

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

    padding: 13px;

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

    border-radius: 13px;

    text-align: center;
}


.grade-twelve-board-level span,
.grade-twelve-board-level strong {
    display: block;
}


.grade-twelve-board-level span {
    margin-bottom: 6px;

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

    font-size: 0.48rem;
}


.grade-twelve-board-level strong {
    color: #93c5fd;
}


.grade-twelve-board-level > i {
    color: #d8b4fe;

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


.grade-twelve-board-focus {
    margin-top: 12px;
    padding: 16px;

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

    border-radius: 13px;
}


.grade-twelve-board-focus > span {
    display: block;

    margin-bottom: 10px;

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

    font-size: 0.5rem;

    text-align: center;
}


.grade-twelve-board-focus > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 7px;
}


.grade-twelve-board-focus strong {
    padding: 7px 10px;

    color: #ffffff;

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

    border-radius: 999px;

    font-size: 0.58rem;
}


.grade-twelve-board-footer {
    display: grid;

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

    gap: 8px;

    margin-top: 12px;
}


.grade-twelve-board-footer > div {
    padding: 12px;

    color: #334155;
    background: #ffffff;

    border-radius: 12px;

    text-align: center;
}


.grade-twelve-board-footer span,
.grade-twelve-board-footer strong {
    display: block;
}


.grade-twelve-board-footer span {
    margin-bottom: 4px;

    color: var(--grade12-muted);

    font-size: 0.48rem;
}


.grade-twelve-board-footer strong {
    color: var(--grade12-primary-dark);

    font-size: 0.7rem;
}


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

.grade-twelve-intro-section {
    background: #ffffff;
}


.grade-twelve-intro-container {
    display: grid;

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

    gap: 70px;

    align-items: start;
}


.grade-twelve-intro-container h2 {
    margin: 12px 0 0;

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

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


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


.grade-twelve-intro-container p {
    margin-top: 0;
    margin-bottom: 17px;

    color: var(--grade12-muted);

    line-height: 1.8;
}


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

.grade-twelve-subject-section {
    background: var(--grade12-soft);
}


.grade-twelve-subject-grid {
    display: grid;

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

    gap: 17px;
}


.grade-twelve-subject-card {
    min-height: 330px;

    display: grid;

    grid-template-columns:
        auto 1fr;

    gap: 18px;

    padding: 24px;

    color: #334155;
    background: #ffffff;

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

    border-radius: 23px;

    text-decoration: none;

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


a.grade-twelve-subject-card:hover {
    transform:
        translateY(-3px);

    border-color: #c4b5fd;

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


.grade-twelve-subject-card.featured {
    border-color: #ddd6fe;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fbfaff
        );
}


.grade-twelve-subject-card.disabled {
    opacity: 0.64;
}


.grade-twelve-subject-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    color: #ffffff;

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

    border-radius: 18px;

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


.grade-twelve-subject-card.disabled
.grade-twelve-subject-icon {
    color: #64748b;
    background: #e2e8f0;
}


.grade-twelve-subject-content {
    min-width: 0;
}


.grade-twelve-subject-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 9px;
}


.grade-twelve-subject-top > span {
    color: var(--grade12-primary);

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


.grade-twelve-subject-top small {
    padding: 5px 8px;

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

    border-radius: 999px;

    font-size: 0.5rem;
    font-weight: 800;
}


.grade-twelve-subject-card.disabled
.grade-twelve-subject-top small {
    color: #64748b;
    background: #f1f5f9;
}


.grade-twelve-subject-content h3 {
    margin: 0 0 11px;

    font-size: 1.35rem;
}


.grade-twelve-subject-content p {
    margin: 0;

    color: var(--grade12-muted);

    line-height: 1.67;
}


.grade-twelve-subject-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 17px;
}


.grade-twelve-subject-meta span {
    padding: 6px 9px;

    color: #475569;
    background: var(--grade12-soft);

    border-radius: 999px;

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


.grade-twelve-subject-action {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 19px;

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

    font-size: 0.73rem;
}


.grade-twelve-subject-action > span {
    font-size: 1rem;
}


/* ==========================================================
   FOCUS
========================================================== */

.grade-twelve-focus-section {
    background: #ffffff;
}


.grade-twelve-focus-grid {
    display: grid;

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

    gap: 12px;
}


.grade-twelve-focus-grid article,
.grade-twelve-flow-grid article {
    min-height: 245px;

    padding: 20px;

    background: var(--grade12-soft);

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

    border-radius: 18px;
}


.grade-twelve-focus-grid article > span,
.grade-twelve-flow-grid article > span {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    margin-bottom: 13px;

    color: #ffffff;
    background: var(--grade12-primary);

    border-radius: 50%;

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


.grade-twelve-focus-grid h3,
.grade-twelve-flow-grid h3 {
    margin: 0 0 9px;
}


.grade-twelve-focus-grid p,
.grade-twelve-flow-grid p {
    margin: 0;

    color: var(--grade12-muted);

    line-height: 1.65;
}


/* ==========================================================
   MATH PREVIEW
========================================================== */

.grade-twelve-math-section {
    background: var(--grade12-soft);
}


.grade-twelve-math-card {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 30px;

    padding: 36px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #4c1d95,
            #7c3aed 50%,
            #1d4ed8
        );

    border-radius: 30px;
}


.grade-twelve-math-content > span {
    display: block;

    margin-bottom: 7px;

    color: #ddd6fe;

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


.grade-twelve-math-content h2 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size:
        clamp(
            2.2rem,
            4vw,
            3.6rem
        );

    line-height: 1.05;
}


.grade-twelve-math-content p {
    max-width: 540px;

    margin: 0 0 24px;

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

    line-height: 1.7;
}


.grade-twelve-math-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.grade-twelve-math-list article {
    min-height: 92px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 15px;

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

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

    border-radius: 14px;
}


.grade-twelve-math-list article > span {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: #5b21b6;
    background: #ffffff;

    border-radius: 12px;

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


.grade-twelve-math-list small,
.grade-twelve-math-list strong {
    display: block;
}


.grade-twelve-math-list small {
    margin-bottom: 4px;

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

    font-size: 0.5rem;
}


.grade-twelve-math-list strong {
    color: #ffffff;
}


/* ==========================================================
   FLOW
========================================================== */

.grade-twelve-flow-section {
    background: #ffffff;
}


.grade-twelve-flow-grid {
    display: grid;

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

    gap: 12px;
}


/* ==========================================================
   COMPLETION
========================================================== */

.grade-twelve-completion-section {
    background: var(--grade12-soft);
}


.grade-twelve-completion-card {
    display: grid;

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

    align-items: center;

    gap: 35px;

    padding: 36px;

    background: #ffffff;

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

    border-radius: 28px;
}


.grade-twelve-completion-card > div:first-child > span {
    display: block;

    margin-bottom: 7px;

    color: var(--grade12-primary);

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


.grade-twelve-completion-card h2 {
    margin: 0 0 14px;

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

    line-height: 1.07;
}


.grade-twelve-completion-card p {
    margin: 0;

    color: var(--grade12-muted);

    line-height: 1.7;
}


.grade-twelve-completion-path {
    display: grid;

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

    align-items: center;

    gap: 8px;
}


.grade-twelve-completion-path > div {
    min-height: 135px;

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

    padding: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #4c1d95,
            #7c3aed
        );

    border-radius: 15px;

    text-align: center;
}


.grade-twelve-completion-path span,
.grade-twelve-completion-path strong {
    display: block;
}


.grade-twelve-completion-path span {
    margin-bottom: 8px;

    color: #ddd6fe;

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


.grade-twelve-completion-path strong {
    color: #ffffff;

    font-size: 0.72rem;
}


.grade-twelve-completion-path > i {
    color: var(--grade12-primary);

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


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

.grade-twelve-navigation-section {
    padding: 40px 0 70px;

    background: #ffffff;
}


.grade-twelve-navigation {
    display: grid;

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

    gap: 12px;
}


.grade-twelve-navigation-card {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 20px;

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

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

    border-radius: 17px;

    text-decoration: none;
}


.grade-twelve-navigation-card:hover {
    border-color: #c4b5fd;
}


.grade-twelve-navigation-card.next {
    justify-content: flex-end;

    text-align: right;
}


.grade-twelve-navigation-card > span {
    color: var(--grade12-primary);

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


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


.grade-twelve-navigation-card small {
    margin-bottom: 4px;

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


.grade-twelve-navigation-card div > span {
    margin-top: 4px;

    color: var(--grade12-muted);

    font-size: 0.62rem;
}


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

@media (max-width: 1120px) {

    .grade-twelve-hero-container {
        grid-template-columns: 1fr;

        gap: 48px;
    }


    .grade-twelve-hero-content {
        max-width: 840px;
    }


    .grade-twelve-hero-visual {
        width: 100%;
        max-width: 840px;

        margin-inline: auto;
    }


    .grade-twelve-focus-grid,
    .grade-twelve-flow-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 860px) {

    .grade-twelve-intro-container,
    .grade-twelve-math-card,
    .grade-twelve-completion-card {
        grid-template-columns: 1fr;
    }


    .grade-twelve-subject-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 680px) {

    .grade-twelve-page .section {
        padding: 62px 0;
    }


    .grade-twelve-hero {
        padding: 52px 0 64px;
    }


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


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


    .grade-twelve-hero-actions .button {
        width: 100%;
    }


    .grade-twelve-hero-meta,
    .grade-twelve-board-footer,
    .grade-twelve-focus-grid,
    .grade-twelve-flow-grid,
    .grade-twelve-navigation {
        grid-template-columns: 1fr;
    }


    .grade-twelve-board-level,
    .grade-twelve-completion-path {
        grid-template-columns: 1fr;
    }


    .grade-twelve-board-level > i,
    .grade-twelve-completion-path > i {
        justify-self: center;

        transform: rotate(90deg);
    }


    .grade-twelve-subject-card {
        grid-template-columns: 1fr;
    }


    .grade-twelve-subject-icon {
        width: 54px;
        height: 54px;
    }


    .grade-twelve-navigation-card.next {
        justify-content: flex-start;

        text-align: left;
    }

}


@media (max-width: 460px) {

    .grade-twelve-board,
    .grade-twelve-math-card,
    .grade-twelve-completion-card {
        padding: 21px;
    }


    .grade-twelve-subject-top {
        align-items: flex-start;
        flex-direction: column;
    }

}
/* ==========================================================
   ACTIVE MATH MATERIAL LINKS
========================================================== */

.grade-twelve-math-list > a {
    min-height: 92px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 15px;

    color: inherit;

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

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

    border-radius: 14px;

    text-decoration: none;

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


.grade-twelve-math-list > a:hover {
    transform: translateX(3px);

    background:
        rgba(255, 255, 255, 0.13);
}


.grade-twelve-math-list > a > span {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: #5b21b6;
    background: #ffffff;

    border-radius: 12px;

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


.grade-twelve-math-list > a small,
.grade-twelve-math-list > a strong {
    display: block;
}


.grade-twelve-math-list > a small {
    margin-bottom: 4px;

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

    font-size: 0.5rem;
}


.grade-twelve-math-list > a strong {
    color: #ffffff;
}