﻿:root{
    --vx-bg:#02040a;
    --vx-panel:#070b14;
    --vx-panel-soft:rgba(10,16,30,.78);
    --vx-border:rgba(148,163,184,.14);
    --vx-border-bright:rgba(34,211,238,.25);
    --vx-text:#f8fafc;
    --vx-muted:#94a3b8;
    --vx-cyan:#22d3ee;
    --vx-blue:#3b82f6;
    --vx-purple:#8b5cf6;
    --vx-success:#22c55e;
}

*{
    box-sizing:border-box;
}

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

body{
    margin:0;
    min-height:100vh;
    background:
        radial-gradient(circle at 15% 20%, rgba(59,130,246,.12), transparent 28%),
        radial-gradient(circle at 84% 12%, rgba(139,92,246,.12), transparent 25%),
        radial-gradient(circle at 70% 82%, rgba(34,211,238,.07), transparent 30%),
        #02040a;
    color:var(--vx-text);
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    overflow-x:hidden;
}

.vx-auth-shell{
    position:relative;
    width:min(1180px,calc(100% - 40px));
    min-height:700px;
    margin:30px auto;
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
    border:1px solid var(--vx-border);
    border-radius:30px;
    overflow:hidden;
    background:rgba(3,7,18,.82);
    box-shadow:
        0 40px 120px rgba(0,0,0,.48),
        inset 0 1px rgba(255,255,255,.025);
    backdrop-filter:blur(20px);
}

.vx-auth-shell::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
    background-size:46px 46px;
    mask-image:linear-gradient(to right,rgba(0,0,0,.7),transparent 70%);
}

.vx-auth-story{
    position:relative;
    z-index:1;
    padding:64px 58px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border-right:1px solid var(--vx-border);
    overflow:hidden;
}

.vx-auth-story::after{
    content:"";
    position:absolute;
    width:440px;
    height:440px;
    right:-190px;
    bottom:-190px;
    border-radius:50%;
    border:1px solid rgba(34,211,238,.14);
    box-shadow:
        0 0 0 55px rgba(34,211,238,.025),
        0 0 0 115px rgba(139,92,246,.018);
}

.vx-brand{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    gap:14px;
}

.vx-brand img{
    width:46px;
    height:46px;
    object-fit:contain;
    filter:drop-shadow(0 0 18px rgba(34,211,238,.18));
}

.vx-brand strong{
    display:block;
    font-size:20px;
    letter-spacing:.01em;
}

.vx-brand span{
    display:block;
    margin-top:2px;
    font-size:11px;
    color:#64748b;
    letter-spacing:.15em;
    text-transform:uppercase;
}

.vx-story-copy{
    position:relative;
    z-index:2;
    max-width:620px;
    margin:72px 0;
}

.vx-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:7px 11px;
    border:1px solid rgba(34,211,238,.18);
    border-radius:999px;
    background:rgba(34,211,238,.05);
    color:#a5f3fc;
    font-size:11px;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.vx-eyebrow::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--vx-cyan);
    box-shadow:0 0 14px var(--vx-cyan);
}

.vx-story-copy h1{
    margin:22px 0 18px;
    max-width:660px;
    font-size:clamp(42px,5vw,70px);
    line-height:.98;
    letter-spacing:-.045em;
    font-weight:800;
}

.vx-story-copy h1 span{
    background:linear-gradient(90deg,#f8fafc 0%,#67e8f9 48%,#a78bfa 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.vx-story-copy p{
    max-width:570px;
    margin:0;
    color:#94a3b8;
    font-size:16px;
    line-height:1.75;
}

.vx-capabilities{
    position:relative;
    z-index:2;
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}

.vx-capabilities span{
    padding:8px 11px;
    border-radius:9px;
    border:1px solid rgba(148,163,184,.12);
    background:rgba(15,23,42,.45);
    color:#94a3b8;
    font-size:11px;
    font-weight:700;
    letter-spacing:.03em;
}

.vx-auth-panel{
    position:relative;
    z-index:2;
    padding:64px 56px;
    display:flex;
    align-items:center;
    background:
        linear-gradient(180deg,rgba(9,14,26,.68),rgba(3,7,18,.86));
}

.vx-auth-form-wrap{
    width:100%;
    max-width:430px;
    margin:0 auto;
}

.vx-auth-kicker{
    color:var(--vx-cyan);
    font-size:11px;
    font-weight:800;
    letter-spacing:.15em;
    text-transform:uppercase;
}

.vx-auth-title{
    margin:10px 0 8px;
    font-size:36px;
    line-height:1.08;
    font-weight:800;
    letter-spacing:-.025em;
}

.vx-auth-subtitle{
    margin:0 0 32px;
    color:var(--vx-muted);
    font-size:14px;
    line-height:1.6;
}

.vx-auth-field{
    margin-bottom:20px;
}

.vx-auth-field label{
    display:block;
    margin-bottom:8px;
    color:#cbd5e1;
    font-size:12px;
    font-weight:700;
    letter-spacing:.02em;
}

.vx-auth-input{
    width:100%;
    height:52px;
    padding:0 15px;
    border:1px solid rgba(148,163,184,.14);
    border-radius:12px;
    outline:none;
    background:rgba(15,23,42,.44);
    color:#f8fafc;
    font-size:14px;
    transition:.2s ease;
}

.vx-auth-input::placeholder{
    color:#475569;
}

.vx-auth-input:hover{
    border-color:rgba(148,163,184,.27);
}

.vx-auth-input:focus{
    border-color:rgba(34,211,238,.5);
    background:rgba(15,23,42,.7);
    box-shadow:0 0 0 3px rgba(34,211,238,.07);
}

.vx-auth-primary{
    width:100%;
    height:52px;
    margin-top:5px;
    border:0;
    border-radius:12px;
    cursor:pointer;
    background:linear-gradient(95deg,#0891b2,#2563eb 58%,#7c3aed);
    color:#fff;
    font-size:13px;
    font-weight:800;
    letter-spacing:.02em;
    box-shadow:0 12px 28px rgba(37,99,235,.18);
    transition:.2s ease;
}

.vx-auth-primary:hover{
    transform:translateY(-1px);
    filter:brightness(1.08);
    box-shadow:0 16px 36px rgba(37,99,235,.23);
}

.vx-auth-divider{
    display:flex;
    align-items:center;
    gap:12px;
    margin:24px 0;
    color:#475569;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.11em;
}

.vx-auth-divider::before,
.vx-auth-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:rgba(148,163,184,.1);
}

.vx-auth-secondary{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:48px;
    border:1px solid rgba(148,163,184,.16);
    border-radius:12px;
    background:rgba(15,23,42,.32);
    color:#cbd5e1;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    transition:.2s ease;
}

.vx-auth-secondary:hover{
    color:#fff;
    background:rgba(15,23,42,.62);
    border-color:rgba(34,211,238,.2);
}

.vx-auth-alert{
    margin-bottom:22px;
    padding:12px 14px;
    border-radius:10px;
    border:1px solid rgba(148,163,184,.15);
    background:rgba(15,23,42,.65);
    color:#cbd5e1;
    font-size:13px;
    line-height:1.5;
}

.vx-auth-meta{
    margin-top:26px;
    color:#475569;
    text-align:center;
    font-size:11px;
    line-height:1.6;
}

.vx-auth-status{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    gap:9px;
    color:#64748b;
    font-size:11px;
}

.vx-auth-status i{
    display:block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--vx-success);
    box-shadow:0 0 10px rgba(34,197,94,.6);
}

@media(max-width:900px){
    .vx-auth-shell{
        width:min(620px,calc(100% - 24px));
        min-height:auto;
        grid-template-columns:1fr;
        margin:12px auto;
    }

    .vx-auth-story{
        padding:34px 28px 30px;
        border-right:0;
        border-bottom:1px solid var(--vx-border);
    }

    .vx-story-copy{
        margin:42px 0 34px;
    }

    .vx-story-copy h1{
        font-size:43px;
    }

    .vx-auth-panel{
        padding:40px 28px;
    }
}

@media(max-width:520px){
    .vx-auth-shell{
        width:100%;
        margin:0;
        border-radius:0;
        border-left:0;
        border-right:0;
    }

    .vx-story-copy h1{
        font-size:36px;
    }

    .vx-auth-title{
        font-size:30px;
    }

    .vx-auth-panel{
        padding:34px 20px;
    }
}
