﻿:root {
    --page: #080910;
    --panel: #100d1c;
    --card: #0d0b17;
    --field: #080910;
    --line: rgba(155, 135, 230, .18);
    --text: #f4f2ff;
    --muted: #a5a0c2;
    --blue: #8057f6;
    --blue2: #3978f5;
    --cyan: #48baff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--page);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

.page-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
}

.brand-side {
    position: relative;
    overflow: hidden;
    padding: 42px clamp(30px, 6vw, 92px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(ellipse at 16% 20%, rgba(116,65,210,.20), transparent 38%), radial-gradient(ellipse at 82% 78%, rgba(43,91,220,.14), transparent 36%), #080910;
    border-right: 1px solid var(--line);
}

    .brand-side:before {
        content: "";
        position: absolute;
        width: 460px;
        height: 460px;
        left: -210px;
        top: 5%;
        border-radius: 50%;
        background: rgba(116,65,210,.10);
        filter: blur(100px);
        pointer-events: none;
    }

.brand-content, .brand-top, .brand-bottom {
    position: relative;
    z-index: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font: 800 21px 'Manrope',sans-serif;
    letter-spacing: -.5px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg,#8658f7,#3978f5);
    box-shadow: 0 9px 28px rgba(105,76,225,.28);
    font-size: 19px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(65,183,255,.25);
    border-radius: 30px;
    color: #a8dfff;
    background: rgba(21,126,206,.09);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

    .eyebrow i {
        color: #4bd5ed;
    }

.hero-title {
    max-width: 610px;
    margin: 25px 0 18px;
    font: 800 clamp(36px,4.2vw,60px)/1.12 'Manrope',sans-serif;
    letter-spacing: -2.3px;
}

    .hero-title span {
        color: #48b7ff;
        background: linear-gradient(90deg,#4ac7f4,#438cff 65%,#a28aff);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero-copy {
    max-width: 520px;
    color: #9eb0ca;
    font-size: 15px;
    line-height: 1.85;
}

.visual-card {
    max-width: 550px;
    margin-top: 42px;
    padding: 22px;
    border: 1px solid rgba(130,177,230,.19);
    border-radius: 20px;
    background: linear-gradient(135deg,rgba(20,48,83,.75),rgba(9,23,46,.7));
    box-shadow: 0 25px 70px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}

.visual-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #b7c9e1;
    font-size: 12px;
}

.live-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: #38d99a;
    box-shadow: 0 0 12px #38d99a;
    margin-right: 7px;
}

.chart {
    width: 100%;
    height: 125px;
    margin-top: 12px;
}

    .chart svg {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

.visual-foot {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: #91a8c8;
    font-size: 11px;
}

    .visual-foot i {
        color: #54c6fa;
        margin-right: 6px;
    }

.trust-row {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: #91a4c2;
    font-size: 11px;
}

    .trust-row i {
        color: #4dbcf5;
        margin-right: 7px;
    }

.auth-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px clamp(24px,5vw,76px);
    position: relative;
    background: radial-gradient(ellipse at 88% 18%, rgba(50,91,220,.13), transparent 38%),radial-gradient(ellipse at 18% 82%, rgba(112,58,194,.13), transparent 42%),#080910;
}

.auth-wrap {
    width: 100%;
    max-width: 440px;
}

.mobile-brand {
    display: none;
}

.auth-heading {
    margin-bottom: 28px;
}

.auth-kicker {
    color: #a58aff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.auth-title {
    margin: 9px 0 7px;
    color: #fff;
    font: 800 30px 'Manrope',sans-serif;
    letter-spacing: -.8px;
}

.auth-subtitle {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.auth-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(155deg,rgba(15,32,59,.96),rgba(8,19,38,.98));
    box-shadow: 0 24px 75px rgba(0,0,0,.28);
}

.form-label {
    display: block;
    margin: 0 0 8px;
    color: #dce7f8;
    font-size: 12px;
    font-weight: 600;
}

.field-wrap {
    position: relative;
    margin-bottom: 19px;
}

.field-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7892b5;
    font-size: 14px;
    pointer-events: none;
}

.form-control-dark {
    width: 100%;
    height: 49px;
    padding: 0 45px 0 43px;
    border: 1px solid rgba(139,167,207,.2);
    border-radius: 11px;
    outline: none;
    background: #071326;
    color: #f4f7ff;
    font: 13px 'DM Sans',sans-serif;
    transition: .2s;
}

    .form-control-dark::placeholder {
        color: #7185a5;
    }

    .form-control-dark:focus {
        border-color: #8057f6;
        box-shadow: 0 0 0 3px rgba(128,87,246,.14);
    }

.field-action {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #91a7c7;
    padding: 5px;
    cursor: pointer;
}

    .field-action:hover {
        color: #fff;
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 1px 0 22px;
    color: #9eb0ca;
    font-size: 12px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .remember input {
        accent-color: #2498f4;
        width: 15px;
        height: 15px;
    }

.text-link {
    color: #9a80ff;
    text-decoration: none;
    font-size: 12px;
}

    .text-link:hover {
        color: #c0b1ff;
        text-decoration: underline;
    }

.primary-btn {
    width: 100%;
    min-height: 49px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(105deg,#8658f7 0%,#665cf4 48%,#3978f5 100%);
    color: white;
    font: 700 13px 'DM Sans',sans-serif;
    letter-spacing: .2px;
    box-shadow: 0 10px 24px rgba(23,126,224,.2);
    cursor: pointer;
    transition: transform .2s,filter .2s;
}

    .primary-btn:hover {
        filter: brightness(1.08);
        transform: translateY(-1px);
    }

.secondary-btn {
    width: 100%;
    margin-top: 12px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: #b8c8df;
    font-size: 12px;
    cursor: pointer;
}

    .secondary-btn:hover {
        border-color: #319fe9;
        color: white;
    }

.security-note {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 19px;
    color: #8297b7;
    font-size: 10px;
}

    .security-note i {
        color: #43b9ee;
        margin-right: 5px;
    }

.auth-footer {
    margin-top: 27px;
    text-align: center;
    color: #7186a7;
    font-size: 11px;
    line-height: 1.8;
}

    .auth-footer a {
        color: #8fa8cb;
        text-decoration: none;
    }

.message {
    display: block;
    margin: 0 0 17px;
    padding: 11px 13px;
    border: 1px solid rgba(248,113,113,.25);
    border-radius: 10px;
    background: rgba(127,29,29,.16);
    color: #ffb5b5;
    font-size: 12px;
    line-height: 1.5;
}

    .message.success {
        border-color: rgba(52,211,153,.25);
        background: rgba(6,95,70,.16);
        color: #9cf2cf;
    }

.otp-hint {
    color: #a8bad4;
    font-size: 12px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.otp-email {
    color: #fff;
    font-weight: 700;
}

.back-link {
    display: inline-block;
    margin-top: 18px;
    color: #8eb5dc;
    text-decoration: none;
    font-size: 12px;
}

    .back-link:hover {
        color: #fff;
    }

.hidden {
    display: none !important;
}

@media(max-width:900px) {
    .page-shell {
        grid-template-columns: 1fr
    }

    .brand-side {
        display: none
    }

    .auth-side {
        min-height: 100vh;
        padding: 30px 20px
    }

    .mobile-brand {
        display: flex;
        justify-content: center;
        margin-bottom: 32px
    }

    .auth-wrap {
        max-width: 460px
    }
}

@media(max-width:480px) {
    .auth-card {
        padding: 23px 19px
    }

    .auth-title {
        font-size: 26px
    }

    .auth-side {
        padding: 25px 16px
    }

    .form-options {
        font-size: 11px
    }
}
