:root {
    --color-primary: #6B21A8; /* Deep Purple */
    --color-secondary: #9333EA;
    --color-accent: #F59E0B; /* Amber/Gold */
    --color-success: #10B981;
    --color-background: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-text: #1E293B;
    --color-text-secondary: #64748B;
    --color-border: #E2E8F0;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    color: var(--color-text);
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.registration-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.form-wrapper {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header h2 {
    color: var(--color-primary);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-container {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.progress-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-border);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: var(--color-primary);
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.4s ease;
    border-radius: 2px;
    width: 0%;
}

.step-indicators {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
}

.step-dot {
    width: 36px;
    height: 36px;
    background: var(--color-surface);
    border: 4px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

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

.step-dot.completed {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Forms */
.form-step {
    animation: fadeIn 0.4s ease forwards;
}

.form-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.section-title {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin: 1.5rem 0 1rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--color-text);
    transition: all 0.3s ease;
    background: #F8FAFC;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
    background: var(--color-surface);
}

.note {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    background: #F1F5F9;
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
}

/* Social Checklists */
.social-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #F8FAFC;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.social-item:hover {
    border-color: var(--color-primary);
    background: #F5F3FF;
}

.social-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    accent-color: var(--color-primary);
}

.social-item a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    margin-left: auto;
}

.social-item a:hover {
    text-decoration: underline;
}

/* File Upload */
.file-upload-card {
    border: 2px dashed var(--color-border);
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--radius-md);
    background: #F8FAFC;
    transition: all 0.3s;
}

.file-upload-card:hover {
    border-color: var(--color-primary);
    background: #F5F3FF;
}

.file-upload-card label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.file-input {
    margin-top: 0.5rem;
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.btn-group.split {
    justify-content: space-between;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-next, .btn-submit {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 6px rgba(107, 33, 168, 0.2);
}

.btn-next:hover, .btn-submit:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(107, 33, 168, 0.3);
}

.btn-prev {
    background: var(--color-border);
    color: var(--color-text);
}

.btn-prev:hover {
    background: #CBD5E1;
}

/* Custom Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 450px;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(107, 33, 168, 0.1);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
