/* ==========================================================================
   EOS One — login / authentication screen
   ========================================================================== */

.auth {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 100vh;
}

/* ============================================================ left rail == */

.auth__showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 52px;
    overflow: hidden;
    border-right: 1px solid var(--border);
    background:
        radial-gradient(90% 70% at 20% 15%, rgba(var(--a1-rgb), .2) 0%, transparent 60%),
        radial-gradient(70% 60% at 85% 90%, rgba(var(--a3-rgb), .14) 0%, transparent 60%),
        rgba(var(--tint), .018);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.auth__showcase-body {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 40px 0;
}

.auth__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px 5px 8px;
    margin-bottom: 26px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--t-violet);
    background: rgba(var(--a1-rgb), .12);
    border: 1px solid rgba(var(--a1-rgb), .28);
}

.auth__eyebrow-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
}

.auth__eyebrow-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse-ring 2s var(--ease) infinite;
}

@keyframes pulse-ring {
    from {
        transform: scale(1);
        opacity: .8;
    }

    to {
        transform: scale(3);
        opacity: 0;
    }
}

.auth__headline {
    font-size: clamp(30px, 3.3vw, 46px);
    font-weight: 720;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.auth__headline span {
    display: block;
    background: linear-gradient(100deg, #fff 0%, var(--t-violet) 42%, var(--t-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth__lede {
    margin-top: 18px;
    max-width: 46ch;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-dim);
}

/* --------------------------------------------------- six key components - */

.components {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 34px;
}

.components__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 550;
    background: rgba(var(--tint), .04);
    border: 1px solid var(--border);
    transition: transform .3s var(--ease-spring), background-color .3s var(--ease), border-color .3s var(--ease);
    opacity: 0;
    animation: rise .6s var(--ease-out) forwards;
    animation-delay: var(--d, 0s);
}

.components__item:hover {
    transform: translateY(-3px);
    background: rgba(var(--tint), .075);
    border-color: var(--border-strong);
}

.components__item svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--violet-soft);
}

.components__item:nth-child(2) svg {
    color: var(--sky);
}

.components__item:nth-child(3) svg {
    color: var(--cyan);
}

.components__item:nth-child(4) svg {
    color: var(--amber);
}

.components__item:nth-child(5) svg {
    color: var(--emerald);
}

.components__item:nth-child(6) svg {
    color: var(--rose);
}

/* --------------------------------------------------------- orbit visual - */

.orbit {
    position: absolute;
    top: 50%;
    right: -190px;
    width: 620px;
    height: 620px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: .55;
    z-index: 1;
}

.orbit__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(var(--tint), .09);
    transform: translate(-50%, -50%);
}

.orbit__ring--1 {
    width: 44%;
    height: 44%;
    animation: orbit-spin 26s linear infinite;
}

.orbit__ring--2 {
    width: 68%;
    height: 68%;
    border-style: dashed;
    border-color: rgba(var(--a1-rgb), .22);
    animation: orbit-spin 40s linear infinite reverse;
}

.orbit__ring--3 {
    width: 92%;
    height: 92%;
    border-color: rgba(var(--a3-rgb), .14);
    animation: orbit-spin 58s linear infinite;
}

@keyframes orbit-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Each ring carries a satellite dot pinned to its top edge. */
.orbit__sat {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: var(--violet-soft);
    box-shadow: 0 0 16px 3px rgba(var(--a1s-rgb), .8);
}

.orbit__ring--2 .orbit__sat {
    background: var(--cyan);
    box-shadow: 0 0 16px 3px rgba(var(--a3-rgb), .8);
}

.orbit__ring--3 .orbit__sat {
    background: var(--emerald);
    box-shadow: 0 0 16px 3px rgba(16, 185, 129, .8);
}

.orbit__core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    margin: -37px 0 0 -37px;
    border-radius: 50%;
    background: var(--grad-brand);
    filter: blur(2px);
    animation: core-pulse 4s var(--ease) infinite;
}

@keyframes core-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .75;
    }

    50% {
        transform: scale(1.22);
        opacity: 1;
    }
}

/* ------------------------------------------------------------- footnote - */

.auth__quote {
    position: relative;
    z-index: 2;
    max-width: 460px;
    padding-left: 18px;
    border-left: 2px solid rgba(var(--a1-rgb), .45);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
}

.auth__quote cite {
    display: block;
    margin-top: 9px;
    font-size: 12.5px;
    font-style: normal;
    color: var(--text-faint);
}

/* ============================================================== form ==== */

.auth__panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 40px;
}

.auth__form-wrap {
    width: 100%;
    max-width: 404px;
}

.auth__mobile-brand {
    display: none;
    justify-content: center;
    margin-bottom: 30px;
}

.auth__title {
    font-size: 27px;
    letter-spacing: -.03em;
}

.auth__subtitle {
    margin-top: 7px;
    font-size: 14px;
    color: var(--text-dim);
}

.auth__card {
    margin-top: 26px;
    padding: 28px;
    border-radius: var(--r-xl);
    background: var(--card-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Slow sweeping highlight across the card edge. */
.auth__card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--a1s-rgb), .9), transparent);
    animation: edge-sweep 5s var(--ease) infinite;
}

@keyframes edge-sweep {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

.auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0 22px;
}

.auth__link {
    font-size: 13px;
    font-weight: 550;
    color: var(--violet-soft);
    transition: color .2s;
}

.auth__link:hover {
    color: #ddd6fe;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 18px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.auth__divider::before,
.auth__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* ----------------------------------------------------- demo credentials - */

.demo {
    display: grid;
    gap: 8px;
}

.demo__btn {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    border-radius: var(--r-md);
    background: rgba(var(--tint), .035);
    border: 1px solid var(--border);
    transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease-spring);
}

.demo__btn:hover {
    background: rgba(var(--tint), .07);
    border-color: var(--border-strong);
    transform: translateX(3px);
}

.demo__role {
    font-size: 13px;
    font-weight: 600;
}

.demo__mail {
    font-size: 11.5px;
    color: var(--text-faint);
}

.demo__use {
    margin-left: auto;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--violet-soft);
}

.auth__legal {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-faint);
}

.auth__legal a {
    color: var(--text-dim);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth__legal a:hover {
    color: var(--text);
}

/* ============================================================ responsive = */

@media (max-width: 1080px) {
    .auth {
        grid-template-columns: 1fr;
    }

    .auth__showcase {
        display: none;
    }

    .auth__mobile-brand {
        display: flex;
    }

    .auth__panel {
        padding: 40px 22px;
        min-height: 100vh;
    }
}

@media (max-width: 460px) {
    .auth__card {
        padding: 22px 18px;
        border-radius: var(--r-lg);
    }

    .auth__title {
        font-size: 24px;
    }
}

@media (min-width: 1081px) and (max-width: 1300px) {
    .auth__showcase {
        padding: 36px 34px;
    }

    .orbit {
        right: -260px;
        opacity: .35;
    }
}
