:root {
    /* Main background: Clean sky-gray */
    --bg: #f8fafc; 
    
    /* Card background: Pure white */
    --card: #ffffff; 
    
    /* Primary Aero Blue (#3f6ac9) */
    --mint: #3f6ac9; 
    
    /* Deep Navy for secondary accents and text weight */
    --violet: #1e293b; 
    
    /* Text: High contrast charcoal */
    --text-high: #0f172a; 
    
    /* Muted text: Slate gray */
    --text-low: #64748b; 
    
    /* Subtle blue-tinted border */
    --input-border: #e2e8f0; 
}

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

body {
    background-color: var(--bg);
    color: var(--text-high);
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.auth-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Subtler Ambient Accents for Light Theme */
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    filter: blur(150px);
    opacity: 0.05;
    z-index: -1;
}
.top-right { background: var(--mint); top: -250px; right: -150px; }
.bottom-left { background: var(--violet); bottom: -250px; left: -150px; }

.register-card {
    background: var(--card);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid rgba(63, 106, 201, 0.08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.card-header .logo {
    text-decoration: none;
    color: var(--text-high);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
    text-align: center;
}
.logo span { color: var(--mint); }

.card-header h2 { 
    font-size: 1.6rem; 
    font-weight: 800; 
    text-align: center; 
    margin-bottom: 8px; 
    color: var(--text-high);
    letter-spacing: -0.5px;
}
.card-header p { 
    color: var(--text-low); 
    text-align: center; 
    font-size: 0.9rem; 
    margin-bottom: 30px; 
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-low);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step span {
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    border: 1px solid var(--input-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-low);
}

.step.active { color: var(--mint); }
.step.active span { 
    background: var(--mint); 
    color: white; 
    border-color: var(--mint);
    box-shadow: 0 4px 10px rgba(63, 106, 201, 0.2);
}

/* Form Layout */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group { margin-bottom: 20px; }
.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-high);
    margin-bottom: 8px;
}

.input-wrapper { position: relative; }
.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-low);
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--input-border);
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-high);
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-wrapper input { padding-left: 48px; }

input:focus {
    outline: none;
    border-color: var(--mint);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(63, 106, 201, 0.1);
}

/* Terms Checkbox */
.terms-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: var(--text-low);
    font-weight: 500;
}

.terms-check input {
    margin-top: 3px;
    accent-color: var(--mint);
    width: 16px;
    height: 16px;
}

.terms-check a { 
    color: var(--mint); 
    text-decoration: none; 
    font-weight: 700; 
}

.btn-auth {
    width: 100%;
    background: linear-gradient(90deg, var(--mint), var(--violet));
    color: white;
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-auth:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.15); 
}

/* Social Signup */
.social-auth { margin: 30px 0; text-align: center; }
.divider { 
    display: flex; 
    align-items: center; 
    color: var(--text-low); 
    font-size: 0.7rem; 
    font-weight: 700;
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.divider::before, .divider::after { 
    content: ""; 
    flex: 1; 
    height: 1px; 
    background: var(--input-border); 
    margin: 0 15px; 
}

.social-buttons { display: flex; gap: 12px; margin-top: 20px; }
.btn-social {
    flex: 1;
    background: white;
    border: 1px solid var(--input-border);
    color: var(--text-high);
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.2s;
}
.btn-social:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.footer-text { 
    text-align: center; 
    font-size: 0.9rem; 
    color: var(--text-low); 
    font-weight: 500;
}
.footer-text a { color: var(--mint); text-decoration: none; font-weight: 700; }
.footer-text a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 500px) {
    .input-row { grid-template-columns: 1fr; }
    .register-card { padding: 30px 20px; }
}