:root {

    --bg: #030712;

    --panel: rgba(8, 15, 32, .74);

    --cyan: #00e5ff;

    --blue: #3b82f6;

    --purple: #8b5cf6;

    --green: #00ff9d;

    --white: #f8fafc;

    --muted: #7d8ca3;

    --border: rgba(255,255,255,.09);

}


/* ===================================================
   RESET
=================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html,
body {

    min-height: 100%;

}


body {

    font-family: 'Inter', sans-serif;

    min-height: 100vh;

    background: #020617;

    color: white;

    overflow-x: hidden;

}


/* ===================================================
   MAIN BACKGROUND
=================================================== */

.tech-background {

    position: fixed;

    inset: 0;

    overflow: hidden;

    z-index: 0;

    background:

        radial-gradient(
            circle at 15% 20%,
            rgba(0,229,255,.09),
            transparent 25%
        ),

        radial-gradient(
            circle at 80% 75%,
            rgba(139,92,246,.13),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #020617 0%,
            #061123 48%,
            #030712 100%
        );

}


/* ===================================================
   MOVING GRID
=================================================== */

.grid {

    position: absolute;

    inset: -80%;

    width: 260%;

    height: 260%;

    background-image:

        linear-gradient(
            rgba(0,229,255,.045) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(0,229,255,.045) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    transform:
        perspective(500px)
        rotateX(55deg)
        translateY(-15%);

    animation:
        gridMove 13s linear infinite;

}


@keyframes gridMove {

    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 110px;
    }

}


/* ===================================================
   STARS / PARTICLES
=================================================== */

.particle {

    position: absolute;

    width: 4px;

    height: 4px;

    border-radius: 50%;

    background: #00e5ff;

    box-shadow:
        0 0 10px #00e5ff,
        0 0 18px #00e5ff;

    opacity: .4;

    animation:
        particleFloat 8s ease-in-out infinite;

}


.p1 {

    top: 18%;
    left: 8%;

}


.p2 {

    top: 70%;
    left: 18%;

    animation-delay: -2s;

}


.p3 {

    top: 20%;
    right: 13%;

    animation-delay: -4s;

}


.p4 {

    bottom: 12%;
    right: 22%;

    animation-delay: -6s;

}


.p5 {

    top: 48%;
    left: 52%;

    animation-delay: -3s;

}


@keyframes particleFloat {

    0%,
    100% {

        transform:
            translateY(0)
            scale(1);

    }

    50% {

        transform:
            translateY(-35px)
            scale(1.8);

    }

}


/* ===================================================
   ORBS
=================================================== */

.orb {

    position: absolute;

    border-radius: 50%;

    filter: blur(65px);

    opacity: .32;

}


.orb-one {

    width: 300px;

    height: 300px;

    background: #00e5ff;

    top: -80px;

    left: -100px;

    animation:
        orbOne 8s ease-in-out infinite;

}


.orb-two {

    width: 360px;

    height: 360px;

    background: #7c3aed;

    right: -100px;

    bottom: -130px;

    animation:
        orbTwo 10s ease-in-out infinite;

}


@keyframes orbOne {

    50% {

        transform:
            translate(70px, 35px);

    }

}


@keyframes orbTwo {

    50% {

        transform:
            translate(-60px, -30px);

    }

}


/* ===================================================
   LAYOUT
=================================================== */

.login-page {

    position: relative;

    z-index: 2;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 28px;

}


/* ===================================================
   MAIN GLASS CARD
=================================================== */

.login-shell {

    width: 100%;

    max-width: 1180px;

    min-height: 650px;

    display: grid;

    grid-template-columns: 1.15fr .85fr;

    position: relative;

    overflow: hidden;

    border-radius: 30px;

    border:
        1px solid rgba(255,255,255,.10);

    background:
        linear-gradient(
            135deg,
            rgba(10,20,40,.72),
            rgba(2,8,23,.78)
        );

    backdrop-filter: blur(26px);

    box-shadow:

        0 0 0 1px rgba(0,229,255,.04),

        0 40px 100px rgba(0,0,0,.55),

        0 0 80px rgba(0,229,255,.045);

}


/* animated border */

.login-shell::before {

    content: "";

    position: absolute;

    inset: -2px;

    border-radius: 31px;

    padding: 1px;

    background:

        linear-gradient(
            110deg,
            transparent,
            rgba(0,229,255,.55),
            transparent,
            rgba(139,92,246,.45),
            transparent
        );

    background-size: 300% 300%;

    animation:
        borderFlow 8s linear infinite;

    pointer-events: none;

    opacity: .7;

}


@keyframes borderFlow {

    0% {

        background-position: 0 50%;

    }

    100% {

        background-position: 300% 50%;

    }

}


/* ===================================================
   LEFT AREA
=================================================== */

.visual-panel {

    position: relative;

    overflow: hidden;

    padding: 55px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}


.visual-panel::after {

    content: "";

    position: absolute;

    right: 0;

    top: 8%;

    bottom: 8%;

    width: 1px;

    background:

        linear-gradient(
            transparent,
            rgba(0,229,255,.35),
            transparent
        );

}


/* ===================================================
   BRAND
=================================================== */

.brand {

    position: relative;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 13px;

}


.brand-icon {

    width: 50px;

    height: 50px;

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    color: white;

    font-size: 22px;

    background:

        linear-gradient(
            145deg,
            rgba(0,229,255,.24),
            rgba(59,130,246,.12)
        );

    border:
        1px solid rgba(0,229,255,.35);

    box-shadow:
        0 0 25px rgba(0,229,255,.16);

}


.brand-icon::after {

    content: "";

    position: absolute;

    inset: 5px;

    border-radius: 10px;

    border:
        1px solid rgba(255,255,255,.08);

}


.brand-name {

    font-family: 'Orbitron', sans-serif;

    font-size: 24px;

    font-weight: 700;

    letter-spacing: .5px;

}


.brand-name span {

    color: var(--cyan);

}


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

.hero {

    position: relative;

    z-index: 3;

    max-width: 560px;

    margin-top: 30px;

}


.system-tag {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    border-radius: 100px;

    margin-bottom: 20px;

    font-family: 'Orbitron';

    font-size: 10px;

    letter-spacing: 1.7px;

    color: #9eeeff;

    background:
        rgba(0,229,255,.07);

    border:
        1px solid rgba(0,229,255,.18);

}


.system-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #00ff9d;

    box-shadow:
        0 0 13px #00ff9d;

    animation:
        statusPulse 1.4s infinite;

}


@keyframes statusPulse {

    50% {

        opacity: .35;

        transform:
            scale(.75);

    }

}


.hero h1 {

    font-family: 'Orbitron', sans-serif;

    font-size: clamp(39px, 5vw, 61px);

    line-height: 1.03;

    letter-spacing: -2px;

    margin-bottom: 20px;

}


.gradient-text {

    background:

        linear-gradient(
            90deg,
            #00e5ff,
            #60a5fa,
            #a78bfa
        );

    -webkit-background-clip: text;

    color: transparent;

}


.hero p {

    max-width: 530px;

    color: #8090a8;

    line-height: 1.8;

    font-size: 14px;

}


/* ===================================================
   DIGITAL DISPLAY
=================================================== */

.data-screen {

    position: relative;

    z-index: 3;

    margin-top: 34px;

    width: 100%;

    max-width: 540px;

    padding: 18px;

    border-radius: 18px;

    background:
        rgba(2,8,23,.62);

    border:
        1px solid rgba(0,229,255,.12);

    box-shadow:
        inset 0 0 30px rgba(0,229,255,.025);

}


.data-screen::before {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    height: 1px;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(0,229,255,.65),
            transparent
        );

    box-shadow:
        0 0 12px rgba(0,229,255,.6);

    animation:
        scanLine 4s linear infinite;

}


@keyframes scanLine {

    from {

        top: 8px;

    }

    to {

        top: calc(100% - 8px);

    }

}


.data-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;

    font-family: 'Orbitron';

    color: #60748f;

    font-size: 9px;

    letter-spacing: 1.5px;

}


.data-cards {

    display: grid;

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

    gap: 10px;

}


.data-card {

    background:
        rgba(255,255,255,.025);

    border:
        1px solid rgba(255,255,255,.055);

    border-radius: 12px;

    padding: 14px 12px;

    transition:
        .25s ease;

}


.data-card:hover {

    border-color:
        rgba(0,229,255,.25);

    transform:
        translateY(-3px);

}


.data-label {

    color: #52647d;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .8px;

    margin-bottom: 7px;

}


.data-value {

    font-family: 'Orbitron';

    font-size: 15px;

    color: #e4faff;

}


.data-value.online {

    color: #00ff9d;

}


/* ===================================================
   FLOATING CHIP
=================================================== */

.floating-chip {

    position: absolute;

    right: 25px;

    top: 130px;

    z-index: 4;

    padding: 13px 15px;

    border-radius: 15px;

    background:
        rgba(8,18,38,.72);

    border:
        1px solid rgba(0,229,255,.15);

    backdrop-filter: blur(10px);

    animation:
        chipFloat 5s ease-in-out infinite;

    box-shadow:
        0 15px 40px rgba(0,0,0,.25);

}


@keyframes chipFloat {

    50% {

        transform:
            translateY(-13px);

    }

}


.chip-title {

    color: #4f6580;

    font-size: 9px;

    letter-spacing: 1px;

}


.chip-value {

    margin-top: 5px;

    font-family: 'Orbitron';

    font-size: 11px;

    color: #00e5ff;

}


/* ===================================================
   RIGHT LOGIN PANEL
=================================================== */

.login-panel {

    position: relative;

    z-index: 4;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 55px;

    background:
        linear-gradient(
            160deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.012)
        );

}


.login-box {

    width: 100%;

    max-width: 390px;

    animation:
        loginEntrance .9s ease-out;

}


@keyframes loginEntrance {

    from {

        opacity: 0;

        transform:
            translateX(25px);

    }

    to {

        opacity: 1;

        transform:
            translateX(0);

    }

}


/* ===================================================
   LOGIN HEADER
=================================================== */

.login-kicker {

    font-family: 'Orbitron';

    text-transform: uppercase;

    color: var(--cyan);

    letter-spacing: 2px;

    font-size: 10px;

    margin-bottom: 12px;

}


.login-title {

    font-size: 32px;

    font-weight: 800;

    letter-spacing: -1px;

    margin-bottom: 8px;

}


.login-subtitle {

    font-size: 13px;

    color: #75859c;

    line-height: 1.6;

    margin-bottom: 30px;

}


/* ===================================================
   ERROR
=================================================== */

.error-box {

    padding: 12px 14px;

    margin-bottom: 18px;

    display: flex;

    gap: 10px;

    align-items: center;

    border-radius: 12px;

    background:
        rgba(239,68,68,.08);

    border:
        1px solid rgba(239,68,68,.25);

    color: #ff8f8f;

    font-size: 12px;

}


/* ===================================================
   FORM
=================================================== */

.form-group {

    margin-bottom: 18px;

}


.form-label {

    display: flex;

    justify-content: space-between;

    color: #9ba9bc;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .4px;

    margin-bottom: 8px;

}


.input-shell {

    position: relative;

}


.input-shell::after {

    content: "";

    position: absolute;

    left: 50%;

    right: 50%;

    bottom: 0;

    height: 1px;

    background: var(--cyan);

    box-shadow:
        0 0 12px var(--cyan);

    transition:
        .25s ease;

}


.input-shell:focus-within::after {

    left: 15px;

    right: 15px;

}


.input-icon {

    position: absolute;

    top: 50%;

    left: 15px;

    transform:
        translateY(-50%);

    color: #4f647f;

    z-index: 2;

}


.tech-input {

    width: 100%;

    height: 54px;

    border-radius: 12px;

    border:
        1px solid rgba(255,255,255,.075);

    outline: none;

    background:
        rgba(2,8,23,.52);

    color: #e5f7ff;

    font-size: 13px;

    padding:
        0 47px;

    transition:
        .25s ease;

}


.tech-input::placeholder {

    color: #44556c;

}


.tech-input:focus {

    border-color:
        rgba(0,229,255,.28);

    box-shadow:
        0 0 0 3px rgba(0,229,255,.04),
        inset 0 0 22px rgba(0,229,255,.02);

}


/* ===================================================
   PASSWORD
=================================================== */

.eye-btn {

    position: absolute;

    top: 50%;

    right: 10px;

    transform:
        translateY(-50%);

    border: 0;

    width: 36px;

    height: 36px;

    border-radius: 9px;

    background: transparent;

    color: #53657e;

    cursor: pointer;

    transition:
        .2s;

}


.eye-btn:hover {

    color: var(--cyan);

    background:
        rgba(0,229,255,.06);

}


/* ===================================================
   OPTIONS
=================================================== */

.login-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin:
        4px 0 23px;

}


.remember {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #75859b;

    font-size: 11px;

    cursor: pointer;

}


.remember input {

    accent-color:
        #00e5ff;

}


.forgot {

    color: #69dcf0;

    font-size: 11px;

    text-decoration: none;

}


.forgot:hover {

    color: #a5f3fc;

}


/* ===================================================
   LOGIN BUTTON
=================================================== */

.login-btn {

    position: relative;

    width: 100%;

    height: 54px;

    overflow: hidden;

    border: 0;

    border-radius: 12px;

    cursor: pointer;

    background:

        linear-gradient(
            110deg,
            #00c6df,
            #2563eb,
            #6d4ce8
        );

    background-size:
        200% 200%;

    color: white;

    font-family: 'Orbitron';

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    box-shadow:
        0 13px 30px rgba(0,174,255,.14);

    transition:
        .25s;

    animation:
        buttonGradient 5s ease infinite;

}


@keyframes buttonGradient {

    0%,
    100% {

        background-position:
            0% 50%;

    }

    50% {

        background-position:
            100% 50%;

    }

}


.login-btn::before {

    content: "";

    position: absolute;

    top: 0;

    left: -110%;

    width: 70%;

    height: 100%;

    transform:
        skewX(-20deg);

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.28),
            transparent
        );

    transition:
        .6s;

}


.login-btn:hover::before {

    left: 130%;

}


.login-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 17px 35px rgba(0,174,255,.22);

}


.login-btn:disabled {

    opacity: .7;

    cursor: wait;

    transform: none;

}


/* ===================================================
   ACCESS STATUS
=================================================== */

.security-status {

    margin-top: 22px;

    padding: 12px 13px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid rgba(255,255,255,.055);

    color: #566980;

    font-size: 9px;

    letter-spacing: .6px;

    font-family: 'Orbitron';

}


.secure {

    display: flex;

    align-items: center;

    gap: 7px;

    color: #00bc7a;

}


.secure-dot {

    width: 6px;

    height: 6px;

    background: #00ff9d;

    border-radius: 50%;

    box-shadow:
        0 0 10px #00ff9d;

}


/* ===================================================
   CORNER MARKS
=================================================== */

.corner {

    position: absolute;

    width: 32px;

    height: 32px;

    border-color:
        rgba(0,229,255,.35);

}


.corner-tl {

    top: 20px;

    left: 20px;

    border-top: 1px solid;

    border-left: 1px solid;

}


.corner-tr {

    top: 20px;

    right: 20px;

    border-top: 1px solid;

    border-right: 1px solid;

}


.corner-bl {

    bottom: 20px;

    left: 20px;

    border-bottom: 1px solid;

    border-left: 1px solid;

}


.corner-br {

    bottom: 20px;

    right: 20px;

    border-bottom: 1px solid;

    border-right: 1px solid;

}


/* ===================================================
   MOBILE BRAND
=================================================== */

.mobile-brand {

    display: none;

}


/* ===================================================
   FOOTER
=================================================== */

.footer {

    position: absolute;

    bottom: 12px;

    left: 0;

    right: 0;

    z-index: 3;

    text-align: center;

    font-size: 10px;

    color: #31425a;

    letter-spacing: .4px;

}


.footer a {

    color: #4b627e;

    text-decoration: none;

    margin:
        0 8px;

}


.footer a:hover {

    color: var(--cyan);

}


/* ===================================================
   TABLET
=================================================== */

@media(max-width: 950px) {

    .login-shell {

        max-width: 520px;

        min-height: auto;

        grid-template-columns: 1fr;

    }


    .visual-panel {

        display: none;

    }


    .login-panel {

        padding:
            50px 45px;

    }


    .mobile-brand {

        display: flex;

        align-items: center;

        gap: 10px;

        margin-bottom: 35px;

    }


    .mobile-brand .brand-name {

        font-size: 19px;

    }

}


/* ===================================================
   MOBILE
=================================================== */

@media(max-width: 576px) {

    .login-page {

        padding:
            18px 13px 55px;

    }


    .login-shell {

        border-radius: 21px;

    }


    .login-panel {

        padding:
            38px 23px;

    }


    .login-title {

        font-size: 27px;

    }


    .login-options {

        flex-wrap: wrap;

        gap: 12px;

    }


    .footer {

        bottom: 7px;

        padding:
            0 10px;

    }


    .footer span {

        display: none;

    }

}


/* ===================================================
   LOADING SPINNER
=================================================== */

.spinner {

    display: inline-block;

    width: 13px;

    height: 13px;

    margin-left: 8px;

    border:
        2px solid rgba(255,255,255,.3);

    border-top-color:
        white;

    border-radius: 50%;

    animation:
        spinner .7s linear infinite;

}


@keyframes spinner {

    to {

        transform:
            rotate(360deg);

    }

}