@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --accent: #06b6d4;
    --bg-dark: #070b1a;
    --bg-card: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --radius: 24px;
    --radius-sm: 16px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* Background Effects */
body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.15), transparent 40%),
                radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15), transparent 40%);
    pointer-events: none;
}

/* Split Layout */
.layout-split {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Left: Marketing Side */
.marketing-side {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem;
    background: var(--bg-dark);
    border-right: 1px solid var(--glass-border);
    overflow: hidden;
}
.marketing-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
    mix-blend-mode: luminosity;
}
.marketing-side::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(7, 11, 26, 0.4) 100%);
    z-index: 1;
    opacity: 0.8;
}
.marketing-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
}
.marketing-logo {
    height: 60px;
    margin-bottom: 4rem;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.2));
}
.marketing-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(79, 70, 229, 0.3);
    color: #a5b4fc;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.marketing-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.marketing-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 3rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(10px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.feature-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: rgba(79, 70, 229, 0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    border: 1px solid rgba(79, 70, 229, 0.3);
}
.feature-text {
    font-size: 1.05rem; font-weight: 600; color: #f8fafc;
}

/* Right: Form Side */
.form-side {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    background: radial-gradient(circle at center, rgba(15,23,42,0.4) 0%, transparent 100%);
}
.back-link {
    position: absolute; top: 2.5rem; right: 3rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 600;
    transition: var(--transition); padding: 0.6rem 1.2rem; border-radius: 99px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
.back-link:hover {
    color: #fff; background: rgba(255, 255, 255, 0.1); transform: translateX(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.wizard-container {
    width: 100%;
    max-width: 650px;
    background: var(--bg-card);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.wizard-header {
    padding: 3rem 3rem 1.5rem;
}
.wizard-header h2 {
    font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; margin: 0 0 0.5rem; color: #fff;
    letter-spacing: -0.02em;
}
.wizard-header p {
    margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.5;
}

/* Progress */
.progress-wrapper {
    display: flex; justify-content: space-between; align-items: center;
    margin: 2rem 3rem 0; position: relative;
}
.progress-wrapper::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 4px;
    background: rgba(255,255,255,0.05); z-index: 0; transform: translateY(-50%); border-radius: 4px;
}
.progress-bar-fill {
    position: absolute; top: 50%; left: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 0; transform: translateY(-50%); transition: width 0.5s var(--ease-spring);
    width: 0%; border-radius: 4px; box-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}
.step-indicator {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--bg-dark); border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; font-weight: 800; position: relative; z-index: 1; transition: var(--transition);
}
.step-indicator.active {
    border-color: var(--accent); background: var(--primary); color: #fff;
    transform: scale(1.15); box-shadow: 0 0 25px rgba(79, 70, 229, 0.5);
}
.step-indicator.completed {
    border-color: var(--primary); background: rgba(79, 70, 229, 0.2); color: var(--primary);
}

/* Wizard Body */
.wizard-body {
    padding: 2rem 3rem; min-height: 420px;
}
.step-content {
    display: none; opacity: 0; transform: translateX(20px); transition: all 0.4s ease;
}
.step-content.active {
    display: block; opacity: 1; transform: translateX(0); animation: slideIn 0.4s ease forwards;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Forms */
.form-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem;
}
.form-group {
    display: flex; flex-direction: column; gap: 0.5rem; position: relative;
}
.form-group.full-width { grid-column: 1 / -1; }

label {
    font-size: 0.75rem; font-weight: 800; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em; margin-left: 0.25rem;
}
label span.req { color: #ef4444; margin-left: 2px; }

input, select, textarea {
    background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm); padding: 1.1rem; color: #fff; font-size: 0.95rem; font-weight: 500;
    font-family: inherit; transition: var(--transition); width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent); background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15); transform: translateY(-2px);
}
input::placeholder { color: rgba(255,255,255,0.25); font-weight: 400; }

select option { background: #0f172a; color: #fff; padding: 10px; }

/* Locked */
.locked-field {
    background: rgba(0, 0, 0, 0.3) !important; color: var(--text-muted) !important;
    border-color: rgba(255, 255, 255, 0.03) !important; cursor: not-allowed !important;
}

/* Info Boxes */
.info-box {
    background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 1.25rem 1.5rem; border-radius: var(--radius-sm); margin-bottom: 2rem;
    display: flex; align-items: center; justify-content: center; text-align: center; gap: 1rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.info-box.visible { animation: fadeIn 0.4s; }
.info-box-icon {
    background: linear-gradient(135deg, #10b981, #059669); color: #fff; width: 38px; height: 38px;
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-weight: bold; flex-shrink: 0; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(16,185,129,0.3);
}

/* Checkbox */
.custom-checkbox-wrapper {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    padding: 1.25rem 1.5rem; border-radius: var(--radius-sm); margin-top: 2rem; transition: var(--transition);
}
.custom-checkbox-wrapper:hover {
    background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15);
}
.custom-checkbox { display: flex; align-items: flex-start; gap: 1rem; cursor: pointer; }
.custom-checkbox input { width: 22px; height: 22px; accent-color: var(--primary); margin-top: 2px; cursor: pointer; }
.custom-checkbox span { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Footer */
.wizard-footer {
    padding: 1.5rem 3rem; border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.25); display: flex; justify-content: space-between; align-items: center;
}
.btn {
    padding: 1rem 2rem; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 800;
    cursor: pointer; transition: var(--transition); border: none; display: flex; align-items: center; gap: 0.6rem;
}
.btn-prev {
    background: rgba(255, 255, 255, 0.05); color: var(--text-main); border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-prev:hover {
    background: rgba(255, 255, 255, 0.1); transform: translateX(-4px); border-color: rgba(255,255,255,0.2);
}
.btn-next {
    background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
    box-shadow: 0 10px 20px -10px rgba(6, 182, 212, 0.5);
}
.btn-next:hover {
    transform: translateY(-2px); box-shadow: 0 15px 30px -10px rgba(6, 182, 212, 0.8);
}
.btn-submit {
    background: linear-gradient(135deg, #10b981, #059669); color: #fff;
    box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.5);
}
.btn-submit:hover { box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.8); transform: translateY(-2px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Responsive */
@media(max-width: 1100px) {
    .layout-split { flex-direction: column; }
    .marketing-side { padding: 3rem; border-right: none; border-bottom: 1px solid var(--glass-border); flex: none; align-items: center; text-align: center; }
    .marketing-content { max-width: 600px; }
    .marketing-title { font-size: 2.5rem; }
    .features-list { display: none; }
    .back-link { position: relative; top: 0; right: 0; margin-bottom: 1rem; display: inline-flex; align-self: flex-end; }
    .form-side { padding: 1.5rem; align-items: flex-start; flex-direction: column; }
    .wizard-container { max-width: 100%; border-radius: var(--radius-sm); }
}
@media(max-width: 600px) {
    .marketing-side { padding: 2rem 1.5rem; }
    .wizard-header { padding: 2rem 1.5rem 1.5rem; }
    .wizard-body { padding: 1.5rem; }
    .progress-wrapper { margin: 1.5rem 1.5rem 0; }
    .wizard-footer { padding: 1.5rem; flex-direction: column-reverse; gap: 1rem; }
    .btn { width: 100%; justify-content: center; }
}

.uppercase-input { text-transform: uppercase; }
