:root {
    --ink-900: #0a0a0a;
    --ink-800: #141414;
    --ink-700: #1f1f1f;
    --red-500: #e11d2e;
    --red-600: #b31321;
    --white: #ffffff;
    --text-soft: rgba(255,255,255,0.55);
    --border: rgba(255,255,255,0.08);
    --radius-md: 14px;
    --radius-lg: 22px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Public Sans', sans-serif;
    background: #1d1d1d;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(225,29,46,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 20%, rgba(225,29,46,0.05) 0%, transparent 50%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 480px;
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    gap: 60px;
    align-items: center;
}

.left { display: flex; flex-direction: column; gap: 48px; }

.logo { display: flex; align-items: center; gap: 14px; }

.logo-img { width: 52px; height: 52px; object-fit: contain; }

.logo-text { display: flex; flex-direction: column; }

.logo-text strong {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
}

.logo-text span {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--red-500);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero h1 em { font-style: normal; color: var(--red-500); }

.hero p {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.75;
    max-width: 480px;
}

.features { display: flex; flex-direction: column; gap: 14px; }

.feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--ink-800);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition);
}

.feature:hover { border-color: rgba(225,29,46,0.3); }

.feature-dot {
    width: 8px;
    height: 8px;
    background: var(--red-500);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(225,29,46,0.6);
}

.feature p { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

.badges { display: flex; gap: 10px; flex-wrap: wrap; }

.badge {
    padding: 6px 14px;
    background: var(--ink-800);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-soft);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card {
    background: var(--ink-800);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.card-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.card-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.card-header p { font-size: 0.88rem; color: var(--text-soft); }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-soft);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.input-wrap { position: relative; }

.input-wrap svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.35;
    width: 18px;
    height: 18px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: var(--ink-900);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.95rem;
    font-family: 'Public Sans', sans-serif;
    transition: all var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--red-500);
    box-shadow: 0 0 0 3px rgba(225,29,46,0.12);
}

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

.btn {
    width: 100%;
    padding: 15px;
    background: var(--red-500);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Public Sans', sans-serif;
    cursor: pointer;
    margin-top: 8px;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.btn:hover {
    background: var(--red-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225,29,46,0.4);
}

.btn:active { transform: translateY(0); }

.error-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(225,29,46,0.1);
    border: 1px solid rgba(225,29,46,0.3);
    color: #ff8a8a;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    margin-top: 16px;
}

.security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    color: var(--text-soft);
    line-height: 1.6;
}

.security-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; opacity: 0.5; }

.card-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .wrapper { grid-template-columns: 1fr; padding: 24px; gap: 32px; }
    .left { gap: 28px; }
    .hero h1 { font-size: 1.8rem; }
}
