.auth-body:has(.auth-landing-v2) {
    --login-purple: #3f2378;
    --login-purple-deep: #241248;
    --login-gold: #d7a83e;
    margin: 0;
    background: var(--login-purple-deep);
}

.auth-body:has(.auth-landing-v2) .topbar,
.auth-body:has(.auth-landing-v2) .app-footer {
    display: none;
}

.auth-body:has(.auth-landing-v2) .shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.auth-body:has(.auth-landing-v2) .auth-landing-v2 {
    box-sizing: border-box;
    isolation: isolate;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
    align-items: center;
    gap: clamp(44px, 6vw, 112px);
    min-height: 100vh;
    padding: clamp(40px, 5vw, 76px) clamp(28px, 6vw, 108px);
    overflow: hidden;
    background: #241248 url("../public-home/hero-lanna-education.png") center / cover no-repeat;
}

.auth-landing-v2::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(24, 12, 53, 0.26) 0%, rgba(24, 12, 53, 0.05) 54%, rgba(18, 8, 34, 0.28) 100%),
        linear-gradient(0deg, rgba(14, 7, 31, 0.56) 0%, transparent 42%);
}

.auth-landing-v2::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -10vw;
    bottom: -28vw;
    width: 62vw;
    height: 62vw;
    border: 1px solid rgba(238, 202, 107, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 7vw rgba(238, 202, 107, 0.035), 0 0 0 14vw rgba(238, 202, 107, 0.025);
    pointer-events: none;
}

.auth-landing-v2 .auth-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
    color: #fff;
}

.auth-office-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    margin-bottom: clamp(42px, 7vh, 88px);
}

.auth-office-brand img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(8, 3, 20, 0.28));
}

.auth-office-brand div {
    display: grid;
    gap: 4px;
}

.auth-office-brand strong {
    color: #fff;
    font-family: "Prompt", sans-serif;
    font-size: clamp(1rem, 1.35vw, 1.3rem);
    line-height: 1.35;
}

.auth-office-brand span {
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-landing-v2 .auth-kicker {
    margin: 0 0 14px;
    color: #edcd74;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
}

.auth-landing-v2 .auth-kicker::before {
    width: 34px;
    background: #edcd74;
}

.auth-landing-v2 .auth-copy h1 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-family: "Prompt", sans-serif;
    font-size: clamp(2.75rem, 5.2vw, 5.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-shadow: 0 10px 36px rgba(9, 4, 24, 0.3);
}

.auth-landing-v2 .auth-copy h1 em {
    color: #edcd74;
    font-style: normal;
}

.auth-landing-v2 .auth-copy > p:not(.auth-kicker):not(.auth-photo-caption) {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.85;
}

.auth-landing-v2 .auth-insight-grid {
    grid-template-columns: repeat(3, minmax(0, 160px));
    gap: 10px;
    margin-top: 30px;
}

.auth-landing-v2 .auth-insight-grid article {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(33, 17, 68, 0.38);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(13px);
}

.auth-landing-v2 .auth-insight-grid strong {
    color: #f1d47f;
    font-size: 1.72rem;
}

.auth-landing-v2 .auth-insight-grid span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
}

.auth-photo-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: auto 0 0;
    padding-top: 38px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-photo-caption span {
    width: 26px;
    height: 1px;
    background: #edcd74;
}

.auth-landing-v2 .auth-login-card {
    width: 100%;
    gap: 0;
    padding: clamp(30px, 3.4vw, 46px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.965);
    box-shadow: 0 42px 100px rgba(13, 5, 30, 0.42);
    backdrop-filter: blur(24px);
}

.auth-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 26px;
    border-bottom: 1px solid #ece8f1;
}

.auth-card-topline > span {
    color: #9a8fa6;
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-landing-v2 .auth-home-link {
    flex: 0 0 auto;
    color: #654091;
}

.auth-landing-v2 .auth-card-head {
    margin: 31px 0 28px;
}

.auth-landing-v2 .auth-card-head h2 {
    color: #251936;
    font-family: "Prompt", sans-serif;
    font-size: clamp(2rem, 3vw, 2.65rem);
    letter-spacing: -0.035em;
}

.auth-landing-v2 .auth-card-head p {
    margin-top: 8px;
    color: #81778c;
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.55;
    text-transform: none;
}

.auth-landing-v2 .auth-field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: #3e3449;
    font-size: 0.9rem;
}

.auth-input-wrap {
    position: relative;
    display: block;
}

.auth-input-wrap > svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 17px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #978b9f;
    stroke-width: 1.8;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-landing-v2 .auth-input-wrap input {
    width: 100%;
    min-height: 58px;
    padding: 0 52px;
    border: 1px solid #ddd7e4;
    border-radius: 15px;
    background: #fbfafc;
    color: #281c36;
    font-size: 1rem;
}

.auth-landing-v2 .auth-input-wrap input::placeholder {
    color: #aaa1b1;
}

.auth-landing-v2 .auth-input-wrap input:focus {
    border-color: #7a52a5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(101, 64, 145, 0.11);
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #897d92;
    transform: translateY(-50%);
    cursor: pointer;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    background: #f0ebf5;
    color: #593583;
    outline: none;
}

.auth-password-toggle svg,
.auth-submit svg,
.auth-security-note svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-eye-closed,
.auth-password-toggle.is-visible .auth-eye-open {
    display: none;
}

.auth-password-toggle.is-visible .auth-eye-closed {
    display: block;
}

.auth-landing-v2 .auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    margin: 7px 0 17px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #4f2b88 0%, #7250a5 100%);
    box-shadow: 0 15px 34px rgba(72, 40, 121, 0.28);
    font-size: 1rem;
}

.auth-landing-v2 .auth-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 160ms ease;
}

.auth-landing-v2 .auth-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.auth-landing-v2 .auth-submit:hover svg {
    transform: translateX(3px);
}

.auth-landing-v2 .auth-demo {
    display: block;
    padding: 0;
    border: 1px solid #e6e0eb;
    border-radius: 14px;
    background: #f9f7fb;
    color: #716779;
    overflow: hidden;
}

.auth-landing-v2 .auth-demo summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    color: #49375c;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.auth-landing-v2 .auth-demo summary::-webkit-details-marker {
    display: none;
}

.auth-landing-v2 .auth-demo summary small {
    color: #76539d;
    font-size: 0.76rem;
}

.auth-landing-v2 .auth-demo summary small::after {
    content: " +";
}

.auth-landing-v2 .auth-demo[open] summary small::after {
    content: " −";
}

.auth-demo-list {
    display: grid;
    gap: 6px;
    padding: 0 15px 14px;
    border-top: 1px solid #e9e3ee;
}

.auth-demo-list span:first-child {
    margin-top: 12px;
}

.auth-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 0;
    color: #948a9c;
    font-size: 0.76rem;
    text-align: center;
}

.auth-security-note svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: #ad8c42;
}

@media (max-width: 1100px) {
    .auth-body:has(.auth-landing-v2) .auth-landing-v2 {
        grid-template-columns: minmax(0, 1fr) minmax(370px, 460px);
        gap: 32px;
        padding-inline: 32px;
        background-position: 58% center;
    }

    .auth-office-brand {
        margin-bottom: 44px;
    }

    .auth-landing-v2 .auth-copy h1 {
        font-size: clamp(2.6rem, 5.2vw, 4.6rem);
    }
}

@media (max-width: 760px) {
    .auth-body:has(.auth-landing-v2) .auth-landing-v2 {
        display: block;
        min-height: 100svh;
        padding: 24px 16px 34px;
        background-position: 66% center;
    }

    .auth-landing-v2::before {
        background: linear-gradient(180deg, rgba(29, 14, 59, 0.42), rgba(25, 11, 52, 0.86) 38%, #251346 72%);
    }

    .auth-landing-v2 .auth-copy {
        display: block;
        width: min(100%, 560px);
        margin: 0 auto 24px;
    }

    .auth-office-brand {
        margin-bottom: 44px;
    }

    .auth-office-brand img {
        width: 62px;
        height: 62px;
    }

    .auth-landing-v2 .auth-copy h1 {
        font-size: clamp(2.35rem, 11vw, 3.5rem);
    }

    .auth-landing-v2 .auth-copy > p:not(.auth-kicker):not(.auth-photo-caption),
    .auth-landing-v2 .auth-insight-grid,
    .auth-photo-caption {
        display: none;
    }

    .auth-landing-v2 .auth-login-card {
        width: min(100%, 560px);
        margin: 0 auto;
        padding: 25px 20px;
        border-radius: 24px;
    }
}

@media (max-width: 430px) {
    .auth-office-brand span,
    .auth-card-topline > span {
        display: none;
    }

    .auth-office-brand {
        margin-bottom: 34px;
    }

    .auth-landing-v2 .auth-card-head {
        margin-block: 25px 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-landing-v2 *,
    .auth-landing-v2 *::before,
    .auth-landing-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
