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

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --grey-dark: #1a1a1a;
    --grey-mid: #2a2a2a;
    --grey-light: #3a3a3a;
    --text-muted: #888;
    --radius: 8px;
    --max-width: 720px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    padding: 40px 20px 80px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 48px;
}

.logo {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Progress */
.progress-wrap {
    margin-bottom: 40px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.progress-labels .current {
    color: var(--gold);
    font-weight: 600;
}

.progress-bar-track {
    background: var(--grey-mid);
    border-radius: 99px;
    height: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--grey-mid);
    border: 2px solid var(--grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.step-dot.done {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.step-dot.active {
    border-color: var(--gold);
    color: var(--gold);
}

/* Card */
.card {
    background: var(--grey-dark);
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 40px;
}

.stage-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.card .subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

/* Form elements */
.field {
    margin-bottom: 24px;
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 8px;
}

.field .hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field input[type="number"],
.field select,
.field textarea {
    width: 100%;
    background: var(--grey-mid);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 15px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--gold);
}

.field select option {
    background: var(--grey-mid);
}

.field textarea {
    resize: vertical;
    min-height: 100px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #555;
}

/* Radio/checkbox groups */
.radio-group,
.check-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label,
.check-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--grey-mid);
    border: 1px solid var(--grey-light);
    border-radius: var(--radius);
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    color: #ccc;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 0;
}

.radio-group label:hover,
.check-group label:hover {
    border-color: var(--gold);
    background: var(--grey-light);
}

.radio-group input[type="radio"],
.check-group input[type="checkbox"] {
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Two-col grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Buttons */
.btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    gap: 12px;
}

.btn {
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--gold-light);
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--grey-light);
}

.btn-secondary:hover {
    color: var(--white);
    border-color: #555;
}

/* Error */
.error-box {
    background: rgba(220, 60, 60, 0.12);
    border: 1px solid rgba(220, 60, 60, 0.4);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #f87171;
}

/* Success */
.success-wrap {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.success-wrap h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-wrap p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto;
}

.divider {
    border: none;
    border-top: 1px solid var(--grey-light);
    margin: 28px 0;
}

@media (max-width: 600px) {
    .card { padding: 24px 20px; }
    .grid-2 { grid-template-columns: 1fr; }
    .btn-row { flex-direction: column-reverse; }
    .btn { width: 100%; text-align: center; }
}
