@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #020d1f;
    --navy-light: #07254c;
    --panel: rgba(5, 29, 59, 0.78);
    --blue: #087cff;
    --blue-light: #20b8ff;
    --white: #ffffff;
    --muted: #a8bbd2;
    --line: rgba(255, 255, 255, 0.16);
    --danger: #ff7185;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 15%, rgba(0, 123, 255, 0.24), transparent 30%),
        radial-gradient(circle at 85% 55%, rgba(0, 160, 255, 0.18), transparent 30%),
        linear-gradient(135deg, #020b1a 0%, #03152d 50%, #062955 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.auth-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(85px);
    pointer-events: none;
}

.auth-orb.one {
    width: 420px;
    height: 420px;
    left: -170px;
    bottom: -170px;
    background: rgba(0, 116, 255, 0.28);
}

.auth-orb.two {
    width: 380px;
    height: 380px;
    right: -130px;
    top: -160px;
    background: rgba(0, 174, 255, 0.18);
}

.auth-main {
    position: relative;
    z-index: 2;
    width: min(1390px, calc(100% - 54px));
    min-height: calc(100vh - 92px);
    margin: auto;
    padding: 55px 0 40px;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 85px;
    align-items: center;
}

.auth-brand {
    width: 390px;
    max-width: 100%;
    display: block;
    margin-bottom: 30px;
}

.marketing-column {
    padding: 10px 0;
}

.marketing-copy {
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(38, 166, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 121, 255, 0.12);
    color: #3db8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.marketing-column h1 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(40px, 4.3vw, 67px);
    line-height: 1.05;
    letter-spacing: -2.7px;
}

.marketing-column h1 span {
    color: var(--blue-light);
}

.marketing-description {
    max-width: 600px;
    margin: 22px 0 30px;
    color: #cedbea;
    font-size: 17px;
    line-height: 1.75;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 28px;
}

.benefit {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(12px);
}

.benefit-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 13px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(36, 167, 255, 0.55);
    border-radius: 11px;
    background: rgba(0, 118, 255, 0.16);
    color: #46bdff;
    font-size: 19px;
}

.benefit strong,
.benefit span {
    display: block;
}

.benefit strong {
    font-size: 13px;
}

.benefit span {
    margin-top: 6px;
    color: #9fb2c9;
    font-size: 11px;
    line-height: 1.55;
}

.product-scene {
    position: relative;
    height: 265px;
    margin-top: 38px;
}

.monitor {
    position: absolute;
    left: 65px;
    bottom: 20px;
    width: 520px;
    max-width: 78%;
}

.monitor-frame {
    height: 225px;
    padding: 8px;
    border-radius: 15px 15px 8px 8px;
    background: linear-gradient(145deg, #2b3544, #0d1118);
    box-shadow: 0 35px 65px rgba(0,0,0,.42);
}

.monitor-screen {
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: 92px 1fr;
    border-radius: 8px;
    background: #f3f6fa;
}

.monitor-sidebar {
    padding: 11px 7px;
    background: #061a35;
}

.monitor-sidebar span {
    display: block;
    height: 8px;
    margin: 9px 4px;
    border-radius: 5px;
    background: rgba(255,255,255,.12);
}

.monitor-sidebar span:first-child {
    height: 22px;
    margin-bottom: 18px;
    background: #087cff;
}

.monitor-content {
    padding: 15px;
}

.monitor-top {
    width: 48%;
    height: 11px;
    margin-bottom: 14px;
    border-radius: 6px;
    background: #dce4ed;
}

.monitor-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.monitor-products i {
    display: block;
    height: 63px;
    border: 1px solid #e0e7ef;
    border-radius: 7px;
    background: white;
}

.monitor-products i::before {
    content: "";
    display: block;
    width: 70%;
    height: 27px;
    margin: 7px auto;
    border-radius: 5px;
    background: linear-gradient(135deg, #d9efff, #eff8ff);
}

.monitor-base {
    width: 106%;
    height: 14px;
    margin-left: -3%;
    border-radius: 3px 3px 18px 18px;
    background: linear-gradient(#8e98a5, #323942);
}

.monitor-stand {
    width: 90px;
    height: 24px;
    margin: auto;
    background: linear-gradient(90deg, #262d36, #69727d, #262d36);
    clip-path: polygon(36% 0, 64% 0, 75% 100%, 25% 100%);
}

.device {
    position: absolute;
    right: 10px;
    bottom: 0;
    width: 112px;
    height: 180px;
    padding: 12px 9px;
    border-radius: 20px;
    background: linear-gradient(145deg, #46515d, #131820);
    transform: rotate(5deg);
    box-shadow: 0 28px 50px rgba(0,0,0,.4);
}

.device-screen {
    height: 70px;
    padding-top: 15px;
    border-radius: 9px;
    background: linear-gradient(135deg, #18aeff, #0068e8);
    text-align: center;
}

.device-screen small,
.device-screen strong {
    display: block;
}

.device-screen small {
    font-size: 7px;
}

.device-screen strong {
    margin-top: 8px;
    font-size: 17px;
}

.device-keys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 13px 6px;
}

.device-keys i {
    height: 8px;
    border-radius: 4px;
    background: #6f7882;
}

.scanner {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 125px;
    border-radius: 24px 24px 14px 14px;
    background: linear-gradient(145deg, #303b49, #111820);
    transform: rotate(-13deg);
    box-shadow: 0 25px 45px rgba(0,0,0,.4);
}

.scanner::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 13px;
    width: 50px;
    height: 34px;
    border-radius: 12px;
    background: #0a73ea;
    box-shadow: inset 0 0 0 6px #263444;
}

.scanner::after {
    content: "";
    position: absolute;
    width: 32px;
    height: 75px;
    left: 28px;
    top: 54px;
    border-radius: 8px;
    background: #1b2530;
    transform: rotate(-10deg);
}

.login-column {
    display: flex;
    justify-content: flex-end;
}

.login-card {
    width: min(100%, 575px);
    padding: 48px 50px 44px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 23px;
    background:
        linear-gradient(145deg, rgba(9, 45, 86, 0.77), rgba(2, 22, 47, 0.78));
    backdrop-filter: blur(22px);
    box-shadow:
        0 35px 80px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.05);
}

.login-logo {
    width: 285px;
    max-width: 85%;
    display: block;
    margin: 0 auto 25px;
}

.login-heading {
    text-align: center;
}

.login-heading h2 {
    margin: 0;
    font-size: 29px;
    letter-spacing: -0.8px;
}

.login-heading p {
    margin: 9px 0 35px;
    color: var(--muted);
}

.status-message {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(34, 211, 140, 0.35);
    border-radius: 10px;
    background: rgba(34, 211, 140, 0.1);
    color: #70e5b3;
    font-size: 13px;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 650;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #7189a5;
    pointer-events: none;
}

.input-wrap input {
    width: 100%;
    height: 57px;
    padding: 0 52px 0 48px;
    border: 1px solid rgba(255,255,255,.16);
    outline: none;
    border-radius: 10px;
    background: rgba(3, 21, 44, 0.47);
    color: white;
    font: inherit;
    font-size: 14px;
    transition: .2s;
}

.input-wrap input::placeholder {
    color: #71839a;
}

.input-wrap input:focus {
    border-color: #168eff;
    box-shadow: 0 0 0 4px rgba(22, 142, 255, 0.12);
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    padding: 7px;
    border: 0;
    transform: translateY(-50%);
    background: transparent;
    color: #8ca2ba;
    cursor: pointer;
}

.field-error {
    margin-top: 7px;
    color: var(--danger);
    font-size: 12px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 2px 0 26px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #dbe5f1;
    font-size: 13px;
    cursor: pointer;
}

.remember input {
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
}

.forgot {
    color: #28aaff;
    font-size: 13px;
}

.forgot:hover {
    color: #73c9ff;
}

.login-button {
    width: 100%;
    height: 55px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #178dff, #075ef1);
    box-shadow: 0 16px 34px rgba(0, 105, 255, 0.28);
    color: white;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 39px rgba(0, 105, 255, 0.34);
}

.divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 26px 0;
    color: #7589a1;
    font-size: 11px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.12);
}

.back-home {
    width: 100%;
    min-height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.21);
    border-radius: 10px;
    color: #e6eef8;
    font-size: 14px;
    font-weight: 650;
    transition: .2s;
}

.back-home:hover {
    border-color: #168eff;
    background: rgba(22,142,255,.08);
}

.auth-footer {
    position: relative;
    z-index: 2;
    width: min(1390px, calc(100% - 54px));
    margin: auto;
    padding: 21px 0 25px;
    border-top: 1px solid rgba(255,255,255,.13);
}

.footer-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    color: #d2ddeb;
    font-size: 13px;
}

.footer-contact span,
.footer-contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
}

.copyright {
    margin-top: 22px;
    text-align: center;
    color: #6f8299;
    font-size: 11px;
}

@media (max-width: 1050px) {
    .auth-main {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 36px;
    }

    .marketing-column {
        text-align: center;
    }

    .marketing-copy {
        margin: auto;
    }

    .auth-brand {
        margin-left: auto;
        margin-right: auto;
    }

    .benefits {
        text-align: left;
    }

    .product-scene {
        max-width: 690px;
        margin-left: auto;
        margin-right: auto;
    }

    .login-column {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .auth-main,
    .auth-footer {
        width: min(100% - 28px, 1390px);
    }

    .auth-main {
        padding-top: 25px;
    }

    .auth-brand {
        width: 310px;
    }

    .marketing-column h1 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .marketing-description {
        font-size: 15px;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .product-scene {
        height: 190px;
    }

    .monitor {
        left: 25px;
        width: 420px;
        max-width: 82%;
    }

    .monitor-frame {
        height: 160px;
    }

    .monitor-products i {
        height: 38px;
    }

    .scanner {
        transform: scale(.7) rotate(-13deg);
        transform-origin: bottom left;
    }

    .device {
        transform: scale(.72) rotate(5deg);
        transform-origin: bottom right;
    }

    .login-card {
        padding: 36px 22px 30px;
        border-radius: 18px;
    }

    .login-logo {
        width: 240px;
    }

    .login-heading h2 {
        font-size: 25px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .footer-contact {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
