/* login.css */

:root {
    --bg:         #04080f;
    --surface:    rgba(255,255,255,0.04);
    --border:     rgba(255,255,255,0.08);
    --blue:       #4d8fff;
    --blue-glow:  rgba(77,143,255,0.2);
    --green:      #00e5a0;
    --red:        #ffa94d;
    --text:       #f0f4ff;
    --muted:      rgba(240,244,255,0.5);
    --mono:       'JetBrains Mono', monospace;
    --sans:       'Syne', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
}

.login-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left column */
.left-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    border-right: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(77,143,255,0.03) 0%, transparent 60%);
}

.wordmark {
    font-family: var(--sans);
    font-size: 72px;
    font-weight: 800;
    letter-spacing: 12px;
    color: var(--text);
    margin-bottom: 48px;
    line-height: 1;
}

.tagline {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 28px;
    max-width: 520px;
}

.tagline em {
    font-style: normal;
    color: var(--blue);
}

.sub {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    max-width: 460px;
    margin-bottom: 64px;
}

.proof-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.proof-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.proof-num {
    font-family: var(--mono);
    font-size: 36px;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: -1px;
}

.proof-label {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Right column */
.right-col {
    width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 60px;
}

.login-card {
    width: 100%;
}

.card-eyebrow {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.card-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
}

.input-wrap {
    margin-bottom: 16px;
}

input {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--mono);
    font-size: 16px;
    padding: 18px 20px;
    letter-spacing: 0.08em;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

input::placeholder { color: rgba(240,244,255,0.25); }

input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

button#loginBtn {
    width: 100%;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 18px 24px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 24px;
}

button#loginBtn:hover {
    background: #6aa3ff;
    transform: translateY(-2px);
}

button#loginBtn:active { transform: translateY(0); }

.btn-arrow {
    font-size: 18px;
    transition: transform 0.2s;
}

button#loginBtn:hover .btn-arrow { transform: translateX(4px); }

.error-msg {
    font-size: 13px;
    color: var(--red);
    min-height: 20px;
    margin-bottom: 20px;
    font-family: var(--mono);
}

.security-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    font-family: var(--mono);
}
