/* Register page — dark cinematic conversion page */

.reg-canvas-wrap {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
}

.reg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.reg-vignette {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 30% 50%, transparent 30%, rgba(6, 6, 12, 0.7) 80%),
        linear-gradient(to right, transparent 40%, rgba(6, 6, 12, 0.85) 70%);
}

.reg-page {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* Left: marketing showcase */

.reg-showcase {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 5rem 6rem 6rem;
    max-width: 720px;
}

.reg-showcase .ln-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.2rem;
}

.reg-showcase .ln-subline {
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

/* Mini value props */

.reg-props {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.reg-prop {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    transition: border-color 0.3s;
}

.reg-prop:hover {
    border-color: var(--accent);
}

.reg-prop-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    opacity: 0.85;
}

.reg-prop-icon svg {
    width: 22px;
    height: 22px;
}

.reg-prop strong {
    display: block;
    color: var(--text);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
}

.reg-prop span {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Right: form panel */

.reg-form-panel {
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3rem;
    background: rgba(14, 14, 24, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 3;
}

.reg-form-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.4rem 0;
    letter-spacing: -0.01em;
}

.reg-form-sub {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 2rem 0;
}

/* Form */

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reg-form label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.5rem;
}

.reg-form label:first-of-type {
    margin-top: 0;
}

.reg-form input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dim);
    color: var(--text);
    padding: 0.75rem 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.reg-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.reg-form input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.reg-submit {
    margin-top: 1.25rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    transition: background 0.2s, box-shadow 0.2s;
}

.reg-submit:hover {
    background: #d06060;
    box-shadow: 0 0 20px var(--accent-glow);
}

.reg-error {
    color: #ff6b6b;
    background: rgba(192, 85, 85, 0.1);
    border: 1px solid rgba(192, 85, 85, 0.3);
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.reg-switch {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

.reg-switch a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.reg-switch a:hover {
    border-bottom-color: var(--accent);
}

/* Free badge */

.reg-free {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(192, 85, 85, 0.4);
    padding: 0.25rem 0.6rem;
    margin-bottom: 1.5rem;
}

/* Responsive */

@media (max-width: 900px) {
    .reg-page {
        flex-direction: column;
    }

    .reg-showcase {
        padding: 5rem 2rem 2.5rem;
        max-width: none;
    }

    .reg-showcase .ln-headline {
        font-size: 1.8rem;
    }

    .reg-form-panel {
        flex: none;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding: 2.5rem 2rem 3rem;
    }

    .reg-vignette {
        background:
            radial-gradient(ellipse at 50% 30%, transparent 20%, rgba(6, 6, 12, 0.7) 70%),
            linear-gradient(to bottom, transparent 30%, rgba(6, 6, 12, 0.85) 60%);
    }
}

@media (max-width: 480px) {
    .reg-showcase {
        padding: 4.5rem 1.25rem 2rem;
    }

    .reg-form-panel {
        padding: 2rem 1.25rem 2.5rem;
    }

    .reg-props {
        gap: 0.75rem;
    }

    .reg-prop {
        padding: 0.75rem 1rem;
    }
}
