:root {
    --bg-color: #02050C;
    --text-color: #FAFAFA;
    --primary-red: #FF3333;
    --input-bg: #1a1a1a;
    --border-color: #444;
    --font-family: 'Space Grotesk', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body { font-family: var(--font-family); background-color: var(--bg-color); color: var(--text-color); display: grid; place-items: center; padding: 1rem; }
.form-container { width: 100%; max-width: 450px; background-color: #000; border-radius: 20px; padding: 2.5rem; box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2); border: 1px solid var(--border-color); position: relative; overflow: hidden; z-index: 2; }
.logo-placeholder { width: 120px; height: 40px; margin: 0 auto 1.5rem; display: block; }
.progress-bar { width: 100%; height: 6px; background-color: var(--input-bg); border-radius: 3px; margin-bottom: 1rem; }
.progress-bar-inner { width: 0%; height: 100%; background-color: var(--primary-red); border-radius: 3px; transition: width 0.5s ease-in-out; }
.form-step { min-width: 100%; opacity: 0; transform: scale(0.95); transition: opacity 0.6s cubic-bezier(0.76, 0, 0.24, 1), transform 0.6s cubic-bezier(0.76, 0, 0.24, 1); position: absolute; visibility: hidden; width: calc(100% - 5rem); }
.form-step.active { opacity: 1; transform: scale(1); position: relative; visibility: visible; }
.step-content { min-height: 250px; display: flex; flex-direction: column; justify-content: center; }
h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; text-align: center; }

.choice-group button { width: 100%; background: var(--input-bg); border: 1px solid var(--border-color); color: var(--text-color); padding: 1rem; border-radius: 10px; font-family: var(--font-family); font-size: 1.1rem; cursor: pointer; transition: background 0.3s, border-color 0.3s, transform 0.2s; margin-bottom: 0.75rem; text-align: left; position: relative; }
.choice-group.vertical { flex-direction: column; }
.choice-group button:hover { border-color: var(--primary-red); transform: translateY(-2px); }
.choice-group button.selected { background-color: var(--primary-red); border-color: var(--primary-red); font-weight: 700; }

.input-group { display: flex; flex-direction: column; gap: 0.75rem; }
.form-input { width: 100%; background: var(--input-bg); border: 1px solid var(--border-color); color: var(--text-color); padding: 1rem; border-radius: 10px; font-family: var(--font-family); font-size: 1.1rem; transition: border-color 0.3s; }
.form-input:focus { outline: none; border-color: var(--primary-red); }
.form-input.error { border-color: var(--primary-red); }
.form-input::placeholder { color: #888; }


.navigation-buttons { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-color); }
.nav-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-color); padding: 0.75rem 1.5rem; border-radius: 8px; font-family: var(--font-family); font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.nav-btn#back-btn { visibility: hidden; }
.nav-btn#next-btn { background-color: var(--primary-red); }
.nav-btn:hover { background: var(--border-color); }
