@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #3157d5;
    --primary-dark: #203fa8;
    --background: #f3f6ff;
    --text: #17213c;
    --muted: #75809a;
    --border: #e7ebf4;
    --white: #ffffff;
    --purple: #7556d8;
    --blue-soft: #eaf0ff;
    --purple-soft: #f0ebff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(119, 151, 255, 0.15),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(151, 125, 255, 0.12),
            transparent 30%
        ),
        #f7f8fc;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
strong {
    font-family: 'Manrope', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* =================================
   BACKGROUND DECORATION
================================= */

.ambient {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
    z-index: 0;
    animation: ambientFloat 10s ease-in-out infinite alternate;
}

.ambient-one {
    width: 330px;
    height: 330px;
    background: rgba(100, 139, 255, 0.10);
    top: -130px;
    right: -80px;
}

.ambient-two {
    width: 250px;
    height: 250px;
    background: rgba(143, 112, 255, 0.10);
    bottom: -100px;
    left: -80px;
    animation-delay: -3s;
}

.ambient-three {
    width: 180px;
    height: 180px;
    background: rgba(79, 190, 209, 0.10);
    top: 45%;
    left: 48%;
    animation-delay: -5s;
}

@keyframes ambientFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(25px, -25px, 0) scale(1.08);
    }
}

/* =================================
   PAGE TRANSITION
================================= */

.page-enter {
    animation: pageEnter 0.65s cubic-bezier(.2, .8, .2, 1) both;
}

.page-leave {
    animation: pageLeave 0.28s ease forwards;
    pointer-events: none;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(22px) scale(.99);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes pageLeave {
    to {
        opacity: 0;
        transform: translateY(-12px) scale(.99);
        filter: blur(3px);
    }
}

/* =================================
   WELCOME PAGE
================================= */

.welcome-wrapper {
    width: min(1200px, calc(100% - 64px));
    min-height: 100vh;
    margin: auto;
    padding: 70px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.welcome-content {
    max-width: 540px;
}

.brand-symbol {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    color: white;
    font-size: 27px;
    background: linear-gradient(135deg, #3157d5, #7c5ce5);
    box-shadow: 0 14px 32px rgba(49, 87, 213, .24);
    margin-bottom: 30px;
}

.brand-label,
.section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.4px;
    color: var(--primary);
    margin-bottom: 15px;
}

.welcome-content h1,
.selection-heading h1 {
    font-size: clamp(35px, 4.5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2.4px;
    margin: 0;
}

.welcome-content h1 span,
.selection-heading h1 span {
    color: var(--primary);
}

.welcome-description {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    max-width: 470px;
    margin: 25px 0 30px;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn-main,
.btn-secondary-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 20px;
    min-height: 58px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s ease;
}

.btn-main {
    color: white;
    background: linear-gradient(120deg, #3157d5, #654fe0);
    box-shadow: 0 12px 26px rgba(49, 87, 213, .20);
}

.btn-main:hover {
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 17px 30px rgba(49, 87, 213, .28);
}

.btn-secondary-main {
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary-main:hover {
    color: var(--primary);
    border-color: #b9c8ff;
    transform: translateY(-4px);
}

.welcome-footer {
    margin-top: 45px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}

.footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #39bd91;
    box-shadow: 0 0 0 5px rgba(57, 189, 145, .12);
}

/* =================================
   WELCOME VISUAL
================================= */

.welcome-visual {
    min-height: 490px;
    display: grid;
    place-items: center;
    position: relative;
}

.visual-main-icon {
    width: 230px;
    height: 230px;
    display: grid;
    place-items: center;
    border-radius: 70px;
    color: white;
    font-size: 95px;
    background: linear-gradient(145deg, #3157d5, #7d5ce8);
    box-shadow: 0 35px 80px rgba(62, 82, 191, .28);
    transform: rotate(-7deg);
    animation: heroFloat 5s ease-in-out infinite;
    z-index: 2;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(77, 103, 215, .17);
    border-radius: 50%;
}

.orbit-one {
    width: 360px;
    height: 360px;
    animation: orbitSpin 25s linear infinite;
}

.orbit-two {
    width: 450px;
    height: 450px;
    border-style: dashed;
    animation: orbitSpin 40s linear infinite reverse;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(-7deg);
    }

    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 18px 45px rgba(38, 51, 91, .10);
    border-radius: 17px;
    padding: 15px 18px;
    z-index: 3;
    animation: cardFloat 5s ease-in-out infinite;
}

.floating-card-top {
    top: 70px;
    left: 0;
}

.floating-card-bottom {
    bottom: 70px;
    right: 0;
    animation-delay: -2.5s;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
    margin-bottom: 4px;
}

.floating-card small {
    color: var(--muted);
    font-size: 10px;
}

.floating-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 19px;
}

.floating-icon.purple {
    color: #7756d8;
    background: #f0ebff;
}

.floating-icon.blue {
    color: #3157d5;
    background: #eaf0ff;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.visual-caption {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #8790a8;
}

.visual-caption div {
    width: 45px;
    height: 1px;
    background: #cbd2e4;
}

/* =================================
   ROLE SELECTION
================================= */

.selection-wrapper {
    width: min(1000px, calc(100% - 40px));
    margin: auto;
    padding: 45px 0;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    color: #727d96;
    transition: .25s;
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-3px);
}

.selection-heading {
    text-align: center;
    max-width: 660px;
    margin: 55px auto 40px;
}

.selection-heading h1 {
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -1.8px;
}

.selection-heading p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.8;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.role-card {
    position: relative;
    min-height: 330px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 25px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 15px 45px rgba(32, 48, 88, .045);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(32, 48, 88, .12);
}

.teacher-card:hover {
    border-color: #c4b3ff;
}

.student-card:hover {
    border-color: #a9c5ff;
}

.role-card-top,
.role-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.role-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 25px;
    transition: transform .35s ease;
}

.role-card:hover .role-icon {
    transform: rotate(-8deg) scale(1.08);
}

.teacher-icon {
    color: #7556d8;
    background: #f0ebff;
}

.student-icon {
    color: #3157d5;
    background: #eaf0ff;
}

.role-number {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #9099ae;
}

.role-card-content {
    position: relative;
    z-index: 1;
    margin: 30px 0;
}

.role-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #929bb0;
}

.role-card-content h2 {
    font-size: 27px;
    font-weight: 800;
    margin: 9px 0 12px;
}

.role-card-content p {
    max-width: 340px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
    margin: 0;
}

.role-card-bottom {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #edf0f6;
    font-size: 12px;
    font-weight: 800;
    z-index: 1;
}

.teacher-card .role-card-bottom {
    color: #7556d8;
}

.student-card .role-card-bottom {
    color: #3157d5;
}

.role-arrow {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f4f6fb;
    transition: .3s ease;
}

.role-card:hover .role-arrow {
    transform: rotate(45deg);
    background: #eaf0ff;
}

.role-decoration {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -90px;
    top: 100px;
    border-radius: 50%;
    opacity: .35;
    transition: transform .6s ease;
}

.teacher-card .role-decoration {
    background: #e8deff;
}

.student-card .role-decoration {
    background: #dce8ff;
}

.role-card:hover .role-decoration {
    transform: scale(1.5);
}

.selection-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: var(--muted);
}

.selection-footer a {
    font-weight: 800;
    color: var(--primary);
    margin-left: 5px;
}

/* =================================
   LOGIN PAGE LAYOUT
================================= */

.login-layout {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 40px));
    min-height: min(690px, calc(100vh - 50px));
    margin: 25px auto;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    overflow: hidden;
    background: white;
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(33, 48, 91, .12);
}

/* PANEL KIRI */

.login-intro {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    color: white;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255,255,255,.18),
            transparent 30%
        ),
        linear-gradient(145deg, #294ec4, #594bd0 65%, #7758d9);
}

.login-guru .login-intro {
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255,255,255,.19),
            transparent 30%
        ),
        linear-gradient(145deg, #4b36a9, #7556d8 65%, #9878e7);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    position: relative;
    z-index: 1;
}

.login-brand:hover {
    color: white;
}

.brand-mini-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255,255,255,.17);
    font-size: 21px;
}

.login-brand strong,
.login-brand small {
    display: block;
}

.login-brand strong {
    font-size: 13px;
}

.login-brand small {
    font-size: 10px;
    opacity: .7;
    margin-top: 4px;
}

.intro-center {
    max-width: 370px;
    position: relative;
    z-index: 1;
}

.intro-orb {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    border-radius: 31px;
    font-size: 44px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 15px 35px rgba(20,20,80,.10);
    margin-bottom: 35px;
    animation: heroFloat 5s ease-in-out infinite;
}

.login-intro .section-eyebrow {
    color: rgba(255,255,255,.72);
}

.intro-center h1 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.intro-center h1 span {
    display: block;
    color: #dcd5ff;
}

.intro-center p {
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 2;
    max-width: 320px;
}

.intro-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255,255,255,.68);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* PANEL KANAN */

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px;
    background: white;
}

.login-form-content {
    width: 100%;
    max-width: 370px;
}

.form-heading {
    margin-top: 35px;
    margin-bottom: 28px;
}

.form-role-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #3157d5;
    background: #eaf0ff;
    font-size: 23px;
    margin-bottom: 22px;
}

.login-guru .form-role-icon {
    color: #7556d8;
    background: #f0ebff;
}

.form-heading .section-eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
}

.form-heading h2 {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 9px;
}

.form-heading p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

/* FORM */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.form-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 11px;
    font-weight: 800;
}

.input-shell {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 14px;
    border: 1px solid #e6eaf3;
    border-radius: 13px;
    background: #fbfcff;
    transition: .25s ease;
}

.input-shell > i {
    color: #929bb0;
    font-size: 17px;
}

.input-shell:focus-within {
    border-color: #8ba4ff;
    background: white;
    box-shadow: 0 0 0 4px rgba(49, 87, 213, .08);
}

.login-guru .input-shell:focus-within {
    border-color: #b9a5ff;
    box-shadow: 0 0 0 4px rgba(117, 86, 216, .09);
}

.input-shell input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    color: var(--text);
}

.input-shell input::placeholder {
    color: #a7afc0;
}

.password-toggle {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 0;
    padding: 5px;
    background: transparent;
    color: #929bb0;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--primary);
}

.login-guru .password-toggle:hover {
    color: var(--purple);
}

.btn-login {
    width: 100%;
    height: 53px;
    margin-top: 4px;
    padding: 0 18px;
    border: 0;
    border-radius: 13px;
    color: white;
    background: linear-gradient(110deg, #3157d5, #5267e6);
    box-shadow: 0 10px 22px rgba(49, 87, 213, .20);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s ease;
}

.login-guru .btn-login {
    background: linear-gradient(110deg, #6244c4, #9270e3);
    box-shadow: 0 10px 22px rgba(117, 86, 216, .22);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(49, 87, 213, .26);
}

.btn-login i {
    font-size: 17px;
    transition: transform .25s;
}

.btn-login:hover i {
    transform: translateX(4px);
}

.login-alert {
    font-size: 12px;
    border-radius: 12px;
    line-height: 1.7;
}

.register-prompt {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    margin-top: 24px;
}

.register-prompt a {
    display: inline-block;
    font-weight: 800;
    color: var(--primary);
    margin-top: 7px;
}

.login-guru .register-prompt a {
    color: var(--purple);
}

.switch-role {
    margin-top: 27px;
    padding-top: 20px;
    border-top: 1px solid #edf0f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 10px;
    color: var(--muted);
}

.switch-role a {
    font-weight: 800;
    color: var(--primary);
}

.login-guru .switch-role a {
    color: var(--purple);
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 850px) {

    .welcome-wrapper {
        grid-template-columns: 1fr;
        padding: 65px 0;
        gap: 20px;
    }

    .welcome-content {
        max-width: 650px;
        margin: auto;
        text-align: center;
    }

    .brand-symbol {
        margin-left: auto;
        margin-right: auto;
    }

    .welcome-description {
        margin-left: auto;
        margin-right: auto;
    }

    .welcome-actions {
        justify-content: center;
    }

    .welcome-footer {
        justify-content: center;
    }

    .welcome-visual {
        min-height: 390px;
    }

    .visual-main-icon {
        width: 175px;
        height: 175px;
        border-radius: 50px;
        font-size: 72px;
    }

    .orbit-one {
        width: 290px;
        height: 290px;
    }

    .orbit-two {
        width: 360px;
        height: 360px;
    }

    .floating-card-top {
        left: 4%;
        top: 45px;
    }

    .floating-card-bottom {
        right: 3%;
        bottom: 35px;
    }

    .login-layout {
        grid-template-columns: 1fr;
        max-width: 520px;
        min-height: auto;
    }

    .login-intro {
        min-height: 340px;
        padding: 26px;
    }

    .intro-center {
        margin: 35px 0;
    }

    .intro-orb {
        width: 70px;
        height: 70px;
        font-size: 31px;
        border-radius: 23px;
        margin-bottom: 22px;
    }

    .intro-center h1 {
        font-size: 30px;
    }

    .login-form-panel {
        padding: 35px 28px;
    }
}

@media (max-width: 560px) {

    .welcome-wrapper {
        width: calc(100% - 36px);
        padding: 45px 0;
    }

    .welcome-content h1 {
        font-size: 37px;
        letter-spacing: -1.5px;
    }

    .welcome-description {
        font-size: 13px;
    }

    .welcome-actions {
        flex-direction: column;
    }

    .btn-main,
    .btn-secondary-main {
        width: 100%;
    }

    .welcome-visual {
        min-height: 320px;
    }

    .visual-main-icon {
        width: 130px;
        height: 130px;
        font-size: 55px;
        border-radius: 40px;
    }

    .orbit-one {
        width: 230px;
        height: 230px;
    }

    .orbit-two {
        width: 290px;
        height: 290px;
    }

    .floating-card {
        padding: 10px;
        gap: 8px;
    }

    .floating-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card small {
        font-size: 8px;
    }

    .floating-card-top {
        top: 20px;
        left: 0;
    }

    .floating-card-bottom {
        bottom: 20px;
        right: 0;
    }

    .visual-caption {
        font-size: 8px;
    }

    .selection-wrapper {
        width: calc(100% - 32px);
        padding: 30px 0;
    }

    .selection-heading {
        margin: 40px auto 28px;
    }

    .selection-heading h1 {
        font-size: 31px;
    }

    .selection-heading p {
        font-size: 12px;
    }

    .role-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .role-card {
        min-height: 290px;
        padding: 22px;
    }

    .role-card-content h2 {
        font-size: 24px;
    }

    .login-layout {
        width: calc(100% - 24px);
        margin: 12px auto;
        border-radius: 21px;
    }

    .login-intro {
        min-height: 300px;
        padding: 23px;
    }

    .intro-center {
        margin: 30px 0;
    }

    .intro-center h1 {
        font-size: 27px;
    }

    .intro-bottom {
        font-size: 8px;
    }

    .login-form-panel {
        padding: 28px 21px;
    }

    .form-heading {
        margin-top: 27px;
    }

    .form-heading h2 {
        font-size: 24px;
    }

    .switch-role {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Menghormati preferensi pengguna yang mengurangi animasi */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   PILIH REGISTRASI - PAGE TRANSITION
========================================== */

.register-motion-page {
    --motion-ink: #17233f;
    --motion-muted: #7b8499;
    --motion-purple: #7866f5;
    --motion-cyan: #38c9d9;

    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    position: relative;
    isolation: isolate;
    background: #f6f8ff;
    color: var(--motion-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Background */

.register-motion-page .motion-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.register-motion-page .motion-grid {
    position: absolute;
    inset: 0;
    opacity: .23;
    background-image:
        linear-gradient(rgba(102, 117, 164, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 117, 164, .08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.register-motion-page .motion-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.register-motion-page .orb-one {
    width: 330px;
    height: 330px;
    top: 8%;
    left: -150px;
    background: radial-gradient(circle, rgba(120, 102, 245, .16), transparent 70%);
    animation: orbFloat 9s ease-in-out infinite;
}

.register-motion-page .orb-two {
    width: 420px;
    height: 420px;
    right: -170px;
    top: 25%;
    background: radial-gradient(circle, rgba(56, 201, 217, .18), transparent 70%);
    animation: orbFloat 11s ease-in-out infinite reverse;
}

.register-motion-page .orb-three {
    width: 260px;
    height: 260px;
    left: 40%;
    bottom: -160px;
    background: radial-gradient(circle, rgba(120, 102, 245, .12), transparent 70%);
    animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(20px, -25px, 0);
    }
}

/* Navbar */

.register-motion-page .motion-navbar {
    width: min(1160px, calc(100% - 48px));
    margin: auto;
    min-height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 5;
}

.register-motion-page .motion-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--motion-ink);
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -.3px;
}

.register-motion-page .brand-symbol {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 15px;
    font-size: 21px;
    background: linear-gradient(135deg, #7866f5, #4c8de8);
    box-shadow: 0 8px 20px rgba(120, 102, 245, .22);
}

.register-motion-page .motion-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid rgba(115, 126, 160, .2);
    border-radius: 13px;
    color: var(--motion-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, .7);
    transition: .25s ease;
}

.register-motion-page .motion-login:hover {
    background: white;
    border-color: #a69bff;
    transform: translateY(-2px);
}

/* Konten utama */

.register-motion-page .register-motion-main {
    width: min(920px, calc(100% - 40px));
    margin: 34px auto 45px;
}

.register-motion-page .register-heading {
    text-align: center;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(22px);
}

.register-motion-page.page-ready .register-heading {
    animation: headingEnter .8s cubic-bezier(.2, .75, .25, 1) .08s forwards;
}

.register-motion-page .register-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #7465df;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.4px;
    margin-bottom: 13px;
}

.register-motion-page .eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7866f5;
    box-shadow: 0 0 0 5px rgba(120, 102, 245, .1);
}

.register-motion-page .register-heading h1 {
    margin: 0;
    font-size: clamp(35px, 5vw, 53px);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -2.4px;
}

.register-motion-page .register-heading h1 span {
    color: #7866f5;
}

.register-motion-page .register-heading p {
    margin: 13px 0 0;
    color: var(--motion-muted);
    font-size: 14px;
}

/* Dua pilihan akun */

.register-motion-page .register-motion-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    perspective: 1000px;
}

.register-motion-page .motion-option {
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 355px;
    padding: 23px;
    color: var(--motion-ink);
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, .95);
    background: rgba(255, 255, 255, .76);
    box-shadow:
        0 18px 55px rgba(47, 61, 112, .07),
        inset 0 1px 0 rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(35px) scale(.97);
    transition:
        transform .35s cubic-bezier(.2, .8, .2, 1),
        box-shadow .35s ease,
        border-color .35s ease,
        opacity .35s ease;
}

.register-motion-page.page-ready .option-guru {
    animation: cardEnter .8s cubic-bezier(.2, .75, .25, 1) .18s forwards;
}

.register-motion-page.page-ready .option-siswa {
    animation: cardEnter .8s cubic-bezier(.2, .75, .25, 1) .3s forwards;
}

@keyframes headingEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: translateY(35px) scale(.97);
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Bagian atas kartu */

.register-motion-page .option-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.register-motion-page .option-number {
    color: #8991a8;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.7px;
}

.register-motion-page .option-arrow {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f0efff;
    color: #7866f5;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}

/* Ilustrasi ikon */

.register-motion-page .option-illustration {
    min-height: 208px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.register-motion-page .art-ring {
    position: absolute;
    border: 1px solid rgba(120, 102, 245, .14);
    border-radius: 50%;
    transition: transform .5s ease;
}

.register-motion-page .ring-one {
    width: 170px;
    height: 170px;
}

.register-motion-page .ring-two {
    width: 125px;
    height: 125px;
    border-style: dashed;
    border-color: rgba(120, 102, 245, .25);
}

.register-motion-page .art-icon {
    width: 105px;
    height: 105px;
    z-index: 1;
    display: grid;
    place-items: center;
    font-size: 49px;
    color: white;
    border-radius: 32px;
    background: linear-gradient(145deg, #8877ff, #6654dc);
    box-shadow: 0 18px 35px rgba(120, 102, 245, .28);
    transform: rotate(-7deg);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.register-motion-page .student-art .art-icon {
    color: #fff;
    background: linear-gradient(145deg, #36cdd6, #318bdc);
    box-shadow: 0 18px 35px rgba(49, 160, 215, .25);
    transform: rotate(7deg);
}

.register-motion-page .student-art .art-ring {
    border-color: rgba(49, 160, 215, .19);
}

.register-motion-page .art-decoration {
    position: absolute;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    z-index: 2;
    border-radius: 15px;
    background: white;
    font-size: 19px;
    box-shadow: 0 9px 24px rgba(39, 53, 94, .1);
    animation: decorationFloat 4s ease-in-out infinite;
}

.register-motion-page .decoration-one {
    top: 34px;
    left: calc(50% - 90px);
    color: #7866f5;
}

.register-motion-page .decoration-two {
    right: calc(50% - 95px);
    bottom: 27px;
    color: #ef9c4d;
    animation-delay: -2s;
}

.register-motion-page .student-art .decoration-one {
    color: #21aebc;
}

.register-motion-page .student-art .decoration-two {
    color: #7866f5;
}

@keyframes decorationFloat {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-9px) rotate(7deg);
    }
}

/* Bagian bawah kartu */

.register-motion-page .option-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #edf0f7;
}

.register-motion-page .option-bottom h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -.7px;
}

.register-motion-page .option-bottom p {
    margin: 5px 0 0;
    color: var(--motion-muted);
    font-size: 12px;
}

.register-motion-page .option-choose {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #f0efff;
    color: #7866f5;
    font-size: 19px;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}

.register-motion-page .option-siswa .option-choose {
    background: #e8faff;
    color: #199fb8;
}

/* Efek hover: kartu terasa hidup, bukan terbuka */

@media (hover: hover) and (pointer: fine) {
    .register-motion-page .motion-option:hover {
        transform: translateY(-8px);
        box-shadow: 0 27px 65px rgba(47, 61, 112, .13);
        border-color: rgba(120, 102, 245, .25);
    }

    .register-motion-page .motion-option:hover .art-icon {
        transform: rotate(0) scale(1.08);
    }

    .register-motion-page .motion-option:hover .art-ring.ring-one {
        transform: scale(1.09);
    }

    .register-motion-page .motion-option:hover .art-ring.ring-two {
        transform: scale(1.14) rotate(18deg);
    }

    .register-motion-page .motion-option:hover .option-arrow {
        transform: rotate(45deg);
        background: #7866f5;
        color: white;
    }

    .register-motion-page .option-siswa:hover .option-arrow {
        background: #25afc6;
    }

    .register-motion-page .motion-option:hover .option-choose {
        transform: translateX(4px);
        color: white;
        background: #7866f5;
    }

    .register-motion-page .option-siswa:hover .option-choose {
        background: #25afc6;
    }
}

/* Footer */

.register-motion-page .register-motion-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 27px;
    color: #8991a5;
    font-size: 11px;
    opacity: 0;
    transform: translateY(12px);
}

.register-motion-page.page-ready .register-motion-footer {
    animation: headingEnter .7s ease .4s forwards;
}

.register-motion-page .register-motion-footer span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.register-motion-page .register-motion-footer span i {
    color: #36ae88;
    font-size: 15px;
}

.register-motion-page .register-motion-footer a {
    color: #7866f5;
    font-weight: 750;
    text-decoration: none;
}

/* ==========================================
   TRANSISI KELUAR MENUJU HALAMAN BERIKUTNYA
========================================== */

.register-motion-page .page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    pointer-events: none;
    visibility: hidden;
    background: #f6f8ff;
    clip-path: circle(0% at 50% 50%);
}

.register-motion-page .page-transition.transition-active {
    visibility: visible;
    pointer-events: auto;
    animation: pageWipe .65s cubic-bezier(.77, 0, .18, 1) forwards;
}

@keyframes pageWipe {
    0% {
        clip-path: circle(0% at 50% 50%);
    }
    100% {
        clip-path: circle(150% at 50% 50%);
    }
}

.register-motion-page .transition-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 18px;
    opacity: 0;
    transform: translateY(15px) scale(.94);
}

.register-motion-page .transition-active .transition-content {
    animation: transitionContentIn .4s ease .16s forwards;
}

@keyframes transitionContentIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.register-motion-page .transition-symbol {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 25px;
    color: white;
    font-size: 35px;
    background: linear-gradient(135deg, #7866f5, #37b9d5);
    box-shadow: 0 18px 45px rgba(120, 102, 245, .25);
    animation: symbolPulse 1s ease-in-out infinite alternate;
}

@keyframes symbolPulse {
    from {
        transform: translateY(0) rotate(-4deg);
    }
    to {
        transform: translateY(-5px) rotate(4deg);
    }
}

.register-motion-page .transition-label {
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 2.6px;
    color: #727d9a;
}

.register-motion-page .transition-loader {
    width: 110px;
    height: 3px;
    overflow: hidden;
    border-radius: 20px;
    background: #e2e6f4;
}

.register-motion-page .transition-loader span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7866f5, #37c8d6);
    animation: loadingLine .55s ease-in-out infinite alternate;
}

@keyframes loadingLine {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(125%);
    }
}

/* Saat meninggalkan halaman */

.register-motion-page.page-leaving .register-heading,
.register-motion-page.page-leaving .register-motion-footer {
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
}

.register-motion-page.page-leaving .motion-option {
    opacity: 0;
    transform: translateY(-20px) scale(.96);
    transition: opacity .2s ease, transform .2s ease;
}

/* Responsive */

@media (max-width: 650px) {
    .register-motion-page .motion-navbar {
        width: calc(100% - 32px);
        min-height: 72px;
    }

    .register-motion-page .motion-brand {
        font-size: 14px;
    }

    .register-motion-page .brand-symbol {
        width: 39px;
        height: 39px;
        border-radius: 13px;
    }

    .register-motion-page .register-motion-main {
        width: calc(100% - 32px);
        margin-top: 27px;
    }

    .register-motion-page .register-heading {
        margin-bottom: 26px;
    }

    .register-motion-page .register-heading h1 {
        font-size: 39px;
        letter-spacing: -1.7px;
    }

    .register-motion-page .register-heading p {
        font-size: 12px;
    }

    .register-motion-page .register-motion-options {
        gap: 14px;
    }

    .register-motion-page .motion-option {
        min-height: 285px;
        padding: 15px;
        border-radius: 20px;
    }

    .register-motion-page .option-illustration {
        min-height: 155px;
    }

    .register-motion-page .ring-one {
        width: 125px;
        height: 125px;
    }

    .register-motion-page .ring-two {
        width: 95px;
        height: 95px;
    }

    .register-motion-page .art-icon {
        width: 78px;
        height: 78px;
        font-size: 37px;
        border-radius: 24px;
    }

    .register-motion-page .art-decoration {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 11px;
    }

    .register-motion-page .decoration-one {
        top: 25px;
        left: calc(50% - 67px);
    }

    .register-motion-page .decoration-two {
        right: calc(50% - 70px);
        bottom: 17px;
    }

    .register-motion-page .option-bottom h2 {
        font-size: 21px;
    }

    .register-motion-page .option-bottom p {
        font-size: 10px;
    }

    .register-motion-page .option-choose {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }
}

@media (max-width: 390px) {
    .register-motion-page .register-motion-options {
        grid-template-columns: 1fr;
    }

    .register-motion-page .motion-option {
        min-height: 290px;
    }

    .register-motion-page .option-illustration {
        min-height: 165px;
    }

    .register-motion-page .register-motion-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Aksesibilitas: kurangi gerakan jika diminta pengguna */

@media (prefers-reduced-motion: reduce) {
    .register-motion-page *,
    .register-motion-page *::before,
    .register-motion-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .register-motion-page .motion-option,
    .register-motion-page .register-heading,
    .register-motion-page .register-motion-footer {
        opacity: 1;
        transform: none;
    }
}

/* ==================================================
   HALAMAN UTAMA WEBSITE SEKOLAH
   TEMA EMERALD - CREAM - GOLD
================================================== */

.welcome-page {
    --welcome-green: #176b50;
    --welcome-green-dark: #104b3b;
    --welcome-green-deep: #0b3329;
    --welcome-gold: #e6b86b;
    --welcome-cream: #faf7ef;
    --welcome-muted: #777c70;

    min-height: 100vh;
    color: #193b30;

    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(230, 184, 107, .13),
            transparent 32%
        ),
        radial-gradient(
            circle at 95% 90%,
            rgba(23, 107, 80, .10),
            transparent 32%
        ),
        var(--welcome-cream);
}

/* Background */

.welcome-page .welcome-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.welcome-page .welcome-grid {
    position: absolute;
    inset: 0;
    opacity: .22;

    background-image:
        linear-gradient(rgba(23, 107, 80, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 107, 80, .07) 1px, transparent 1px);

    background-size: 48px 48px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 85%
    );
}

.welcome-page .welcome-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(5px);
    animation: welcomeGlowFloat 11s ease-in-out infinite alternate;
}

.welcome-page .welcome-glow-one {
    width: 440px;
    height: 440px;
    top: -210px;
    right: -100px;

    background: radial-gradient(
        circle,
        rgba(230, 184, 107, .19),
        transparent 70%
    );
}

.welcome-page .welcome-glow-two {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -100px;

    background: radial-gradient(
        circle,
        rgba(23, 107, 80, .14),
        transparent 70%
    );

    animation-delay: -4s;
}

@keyframes welcomeGlowFloat {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(20px, -20px, 0);
    }
}

/* Navbar */

.welcome-page .welcome-navbar {
    width: min(1200px, calc(100% - 64px));
    min-height: 92px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    position: relative;
    z-index: 5;

    border-bottom: 1px solid rgba(23, 107, 80, .10);
}

.welcome-page .welcome-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    color: var(--welcome-green-dark);
}

.welcome-page .welcome-brand-icon {
    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    border-radius: 16px;

    color: var(--welcome-gold);
    background: linear-gradient(
        145deg,
        var(--welcome-green-dark),
        var(--welcome-green)
    );

    font-size: 23px;

    box-shadow: 0 10px 25px rgba(16, 75, 59, .18);

    transition: transform .3s ease;
}

.welcome-page .welcome-brand:hover .welcome-brand-icon {
    transform: rotate(-8deg) scale(1.06);
}

.welcome-page .welcome-brand strong,
.welcome-page .welcome-brand small {
    display: block;
}

.welcome-page .welcome-brand strong {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.welcome-page .welcome-brand small {
    margin-top: 4px;
    color: #858b7e;
    font-size: 10px;
    letter-spacing: .3px;
}

.welcome-page .welcome-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    border: 1px solid rgba(23, 107, 80, .18);
    border-radius: 13px;

    background: rgba(255, 255, 255, .45);

    color: var(--welcome-green-dark);
    font-size: 12px;
    font-weight: 800;

    transition: .3s ease;
}

.welcome-page .welcome-nav-link:hover {
    color: white;
    background: var(--welcome-green-dark);
    transform: translateY(-2px);
}

/* Layout utama */

.welcome-page .welcome-wrapper {
    width: min(1200px, calc(100% - 64px));
    min-height: calc(100vh - 93px);

    margin: auto;
    padding: 55px 0 65px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;

    position: relative;
    z-index: 1;
}

/* Konten kiri */

.welcome-page .welcome-content {
    max-width: 540px;
    position: relative;
    z-index: 2;
}

.welcome-page .welcome-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 24px;

    color: var(--welcome-green);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 2.5px;
}

.welcome-page .welcome-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;

    background: var(--welcome-gold);

    box-shadow: 0 0 0 5px rgba(230, 184, 107, .17);
}

.welcome-page .welcome-content h1 {
    margin: 0;

    color: var(--welcome-green-deep);

    font-family: 'Manrope', sans-serif;
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -3px;
}

.welcome-page .welcome-content h1 span {
    color: var(--welcome-green);
    position: relative;
    display: inline-block;
}

.welcome-page .welcome-content h1 span::after {
    content: "";
    position: absolute;

    left: 2px;
    right: 5px;
    bottom: -5px;

    height: 5px;
    border-radius: 10px;

    background: var(--welcome-gold);

    transform: scaleX(0);
    transform-origin: left;

    animation: welcomeUnderline .7s ease .7s forwards;
}

@keyframes welcomeUnderline {
    to {
        transform: scaleX(1);
    }
}

.welcome-page .welcome-description {
    max-width: 420px;
    margin: 27px 0 30px;

    color: var(--welcome-muted);
    font-size: 14px;
    line-height: 1.95;
}

/* Tombol */

.welcome-page .welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.welcome-page .btn-main,
.welcome-page .btn-secondary-main {
    min-height: 57px;
    padding: 0 19px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    border-radius: 14px;

    font-size: 12px;
    font-weight: 800;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.welcome-page .btn-main {
    color: #fffdf6;

    background: linear-gradient(
        120deg,
        var(--welcome-green-dark),
        var(--welcome-green)
    );

    border: 1px solid transparent;

    box-shadow: 0 12px 25px rgba(16, 75, 59, .19);
}

.welcome-page .btn-main:hover {
    color: white;
    transform: translateY(-4px);

    box-shadow: 0 18px 32px rgba(16, 75, 59, .25);
}

.welcome-page .btn-secondary-main {
    color: var(--welcome-green-dark);

    background: rgba(255, 255, 255, .6);

    border: 1px solid rgba(23, 107, 80, .18);
}

.welcome-page .btn-secondary-main:hover {
    color: var(--welcome-green-dark);

    background: #fffdf7;
    border-color: var(--welcome-gold);

    transform: translateY(-4px);

    box-shadow: 0 12px 25px rgba(89, 78, 49, .08);
}

.welcome-page .button-arrow {
    transition: transform .3s ease;
}

.welcome-page .btn-main:hover .button-arrow,
.welcome-page .btn-secondary-main:hover .button-arrow {
    transform: translate(3px, -3px);
}

/* Footer */

.welcome-page .welcome-footer {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 39px;

    color: #858b7e;
    font-size: 11px;
}

.welcome-page .footer-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;

    border-radius: 50%;
    background: #2b9b70;

    box-shadow: 0 0 0 5px rgba(43, 155, 112, .12);
}

/* Ilustrasi kanan */

.welcome-page .welcome-visual {
    min-height: 500px;

    display: grid;
    place-items: center;

    position: relative;
    isolation: isolate;
}

.welcome-page .welcome-visual-glow {
    position: absolute;

    width: 340px;
    height: 340px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(230, 184, 107, .21),
        rgba(23, 107, 80, .08) 48%,
        transparent 72%
    );

    animation: visualGlowPulse 5s ease-in-out infinite alternate;
}

@keyframes visualGlowPulse {
    from {
        transform: scale(.9);
        opacity: .7;
    }

    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

.welcome-page .visual-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(23, 107, 80, .17);
    pointer-events: none;
}

.welcome-page .orbit-one {
    width: 350px;
    height: 350px;
    animation: orbitSpin 28s linear infinite;
}

.welcome-page .orbit-two {
    width: 450px;
    height: 450px;

    border-color: rgba(185, 142, 67, .28);
    border-style: dashed;

    animation: orbitSpin 42s linear infinite reverse;
}

/* Ikon utama */

.welcome-page .visual-main-icon {
    width: 225px;
    height: 225px;

    display: grid;
    place-items: center;

    position: relative;
    z-index: 2;

    border-radius: 68px;

    background: linear-gradient(
        145deg,
        #247b5d,
        #104b3b 72%,
        #0b3329
    );

    box-shadow:
        0 35px 70px rgba(16, 75, 59, .23),
        inset 0 1px 0 rgba(255, 255, 255, .25);

    transform: rotate(-7deg);

    animation: welcomeHeroFloat 5s ease-in-out infinite;
}

.welcome-page .visual-icon-inner {
    width: 145px;
    height: 145px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(230, 184, 107, .4);
    border-radius: 46px;

    color: var(--welcome-gold);
    font-size: 78px;

    background: rgba(255, 255, 255, .055);
}

@keyframes welcomeHeroFloat {
    0%, 100% {
        transform: translateY(0) rotate(-7deg);
    }

    50% {
        transform: translateY(-13px) rotate(-3deg);
    }
}

/* Ikon dekoratif */

.welcome-page .visual-star {
    position: absolute;

    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    border-radius: 16px;

    color: var(--welcome-green-dark);
    background: #f4d9a5;

    font-size: 20px;

    box-shadow: 0 10px 25px rgba(43, 54, 36, .13);

    animation: starFloat 4s ease-in-out infinite;
}

.welcome-page .star-one {
    top: 7px;
    right: -7px;
}

.welcome-page .star-two {
    bottom: 8px;
    left: -5px;

    color: white;
    background: #bd8050;

    animation-delay: -2s;
}

@keyframes starFloat {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-8px) rotate(8deg);
    }
}

/* Titik dekoratif */

.welcome-page .visual-particle {
    width: 9px;
    height: 9px;

    position: absolute;
    z-index: 2;

    border-radius: 50%;
    background: var(--welcome-gold);

    box-shadow: 0 0 0 6px rgba(230, 184, 107, .12);

    animation: particleFloat 5s ease-in-out infinite;
}

.welcome-page .particle-one {
    top: 80px;
    left: 20%;
}

.welcome-page .particle-two {
    top: 28%;
    right: 12%;

    width: 6px;
    height: 6px;

    background: #3b9a74;
    animation-delay: -1.5s;
}

.welcome-page .particle-three {
    bottom: 100px;
    left: 25%;

    width: 6px;
    height: 6px;

    background: #3b9a74;
    animation-delay: -3s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Kartu mengambang */

.welcome-page .floating-card {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px 17px;

    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 17px;

    background: rgba(255, 253, 247, .94);

    box-shadow: 0 18px 42px rgba(29, 59, 44, .10);

    backdrop-filter: blur(12px);

    animation: welcomeCardFloat 5s ease-in-out infinite;
}

.welcome-page .floating-card-top {
    top: 60px;
    left: -3px;
}

.welcome-page .floating-card-bottom {
    right: -3px;
    bottom: 65px;

    animation-delay: -2.5s;
}

@keyframes welcomeCardFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

.welcome-page .floating-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 13px;
    font-size: 19px;
}

.welcome-page .floating-icon.purple {
    color: #f8e1b5;
    background: var(--welcome-green-dark);
}

.welcome-page .floating-icon.blue {
    color: #70491c;
    background: #f4dfb9;
}

.welcome-page .floating-card strong,
.welcome-page .floating-card small {
    display: block;
}

.welcome-page .floating-card strong {
    color: var(--welcome-green-dark);
    font-size: 12px;
    font-weight: 800;
}

.welcome-page .floating-card small {
    margin-top: 4px;
    color: #858b7e;
    font-size: 10px;
}

.welcome-page .floating-status {
    width: 7px;
    height: 7px;
    flex-shrink: 0;

    border-radius: 50%;
    background: #39a879;

    box-shadow: 0 0 0 4px rgba(57, 168, 121, .11);
}

/* Caption */

.welcome-page .visual-caption {
    position: absolute;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #858b7e;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.welcome-page .caption-line {
    width: 28px;
    height: 1px;
    background: #c4b18b;
}

.welcome-page .caption-separator {
    color: #bc9553;
}

/* Animasi saat halaman dibuka */

.welcome-page .welcome-content,
.welcome-page .welcome-visual {
    opacity: 0;
    transform: translateY(20px);
}

.welcome-page.welcome-ready .welcome-content {
    animation: welcomeContentEnter .8s cubic-bezier(.2, .8, .2, 1) .08s forwards;
}

.welcome-page.welcome-ready .welcome-visual {
    animation: welcomeVisualEnter .9s cubic-bezier(.2, .8, .2, 1) .2s forwards;
}

@keyframes welcomeContentEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes welcomeVisualEnter {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animasi keluar saat berpindah halaman */

.welcome-page.welcome-leaving .welcome-content {
    opacity: 0;
    transform: translateX(-18px);
    transition: opacity .3s ease, transform .3s ease;
}

.welcome-page.welcome-leaving .welcome-visual {
    opacity: 0;
    transform: translateX(18px) scale(.97);
    transition: opacity .3s ease, transform .3s ease;
}

/* Tablet */

@media (max-width: 850px) {
    .welcome-page .welcome-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 55px;
    }

    .welcome-page .welcome-content {
        max-width: 650px;
        margin: auto;
        text-align: center;
    }

    .welcome-page .welcome-label {
        justify-content: center;
    }

    .welcome-page .welcome-description {
        margin-left: auto;
        margin-right: auto;
    }

    .welcome-page .welcome-actions {
        justify-content: center;
    }

    .welcome-page .welcome-footer {
        justify-content: center;
    }

    .welcome-page .welcome-visual {
        min-height: 430px;
    }

    .welcome-page .visual-main-icon {
        width: 185px;
        height: 185px;
        border-radius: 55px;
    }

    .welcome-page .visual-icon-inner {
        width: 120px;
        height: 120px;
        border-radius: 38px;
        font-size: 65px;
    }

    .welcome-page .orbit-one {
        width: 300px;
        height: 300px;
    }

    .welcome-page .orbit-two {
        width: 380px;
        height: 380px;
    }

    .welcome-page .floating-card-top {
        left: 8%;
        top: 35px;
    }

    .welcome-page .floating-card-bottom {
        right: 7%;
        bottom: 35px;
    }
}

/* Ponsel */

@media (max-width: 560px) {
    .welcome-page .welcome-navbar {
        width: calc(100% - 32px);
        min-height: 76px;
    }

    .welcome-page .welcome-brand-icon {
        width: 41px;
        height: 41px;
        border-radius: 13px;
    }

    .welcome-page .welcome-brand strong {
        font-size: 12px;
    }

    .welcome-page .welcome-brand small {
        font-size: 9px;
    }

    .welcome-page .welcome-nav-link {
        padding: 10px 12px;
        font-size: 11px;
    }

    .welcome-page .welcome-wrapper {
        width: calc(100% - 36px);
        padding-top: 43px;
        gap: 15px;
    }

    .welcome-page .welcome-content h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .welcome-page .welcome-description {
        font-size: 13px;
        margin-top: 22px;
    }

    .welcome-page .welcome-actions {
        flex-direction: column;
    }

    .welcome-page .btn-main,
    .welcome-page .btn-secondary-main {
        width: 100%;
    }

    .welcome-page .welcome-footer {
        font-size: 10px;
        margin-top: 29px;
    }

    .welcome-page .welcome-visual {
        min-height: 335px;
    }

    .welcome-page .visual-main-icon {
        width: 135px;
        height: 135px;
        border-radius: 42px;
    }

    .welcome-page .visual-icon-inner {
        width: 91px;
        height: 91px;
        border-radius: 30px;
        font-size: 49px;
    }

    .welcome-page .orbit-one {
        width: 230px;
        height: 230px;
    }

    .welcome-page .orbit-two {
        width: 290px;
        height: 290px;
    }

    .welcome-page .welcome-visual-glow {
        width: 240px;
        height: 240px;
    }

    .welcome-page .floating-card {
        gap: 8px;
        padding: 10px;
        border-radius: 13px;
    }

    .welcome-page .floating-icon {
        width: 33px;
        height: 33px;
        font-size: 15px;
        border-radius: 10px;
    }

    .welcome-page .floating-card strong {
        font-size: 10px;
    }

    .welcome-page .floating-card small {
        font-size: 8px;
    }

    .welcome-page .floating-card-top {
        top: 15px;
        left: 0;
    }

    .welcome-page .floating-card-bottom {
        right: 0;
        bottom: 30px;
    }

    .welcome-page .floating-status {
        width: 6px;
        height: 6px;
    }

    .welcome-page .visual-caption {
        gap: 6px;
        font-size: 7px;
        letter-spacing: 1.3px;
    }

    .welcome-page .caption-line {
        width: 16px;
    }

    .welcome-page .visual-star {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 16px;
    }
}

/* Hormati preferensi pengurangan animasi */

@media (prefers-reduced-motion: reduce) {
    .welcome-page .welcome-glow,
    .welcome-page .visual-orbit,
    .welcome-page .visual-main-icon,
    .welcome-page .visual-star,
    .welcome-page .visual-particle,
    .welcome-page .floating-card {
        animation: none !important;
    }

    .welcome-page .welcome-content,
    .welcome-page .welcome-visual {
        opacity: 1;
        transform: none;
    }

    .welcome-page .welcome-content h1 span::after {
        transform: scaleX(1);
        animation: none;
    }
}
