:root {
    --primary: #202124;
    --accent: #1a73e8;
    --bg-light: #f8f9fa;
    --text: #3c4043;
    --error: #d93025;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(-45deg, #f8f9fa, #e8f0fe, #fce8e6, #e6f4ea);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header {
    padding: 24px 40px;
    display: flex;
    justify-content: center; /* This centers the logo */
}

/* New Miraculous Header Styling */
.brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.brand-number {
    font-size: 26px;
    font-weight: 300;
    color: #5f6368;
}
.brand-text {
    font-size: 24px;
    font-weight: 600;
    /* Soft, elegant gradient for a 'miracle' feel */
    background: linear-gradient(45deg, #1a73e8, #8ab4f8, #1a73e8);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.wizard-container {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 10px 24px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 600px;
}

footer {
    padding: 24px;
    text-align: center;
    font-size: 13px;
    color: #5f6368;
}
footer a {
    color: #5f6368;
    text-decoration: none;
    margin: 0 12px;
    transition: color 0.2s;
}
footer a:hover {
    color: var(--primary);
}

.step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.step.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: 28px;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.3;
    font-weight: 600;
}
p.subtitle {
    color: #5f6368;
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.5;
}
.form-group {
    margin-bottom: 24px;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--primary);
}
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}
textarea {
    height: 140px;
    resize: vertical;
}

.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}
button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
button.next-btn, button.submit-btn {
    background-color: var(--accent);
    color: white;
    margin-left: auto;
}
button.next-btn:hover, button.submit-btn:hover { 
    background-color: #1765cc;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
button.prev-btn {
    background-color: transparent;
    color: var(--accent);
    padding-left: 0;
}
button.prev-btn:hover {
    color: #1765cc;
}
.error-msg {
    color: var(--error);
    font-size: 13px;
    margin-top: 6px;
    display: none;
}