/* ORGANIC BLUE FLUID THEME */
:root {
    --primary-blue: #0066FF;
    /* Vibrant Tech Blue */
    --primary-gradient: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    --secondary-blue: #eef2ff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    /* Prevent blob scroll */
}

/* CONTAINER */
.main-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    overflow: hidden;
}

/* DECORATIVE BLOBS (Blue & White Theme) */
.blob {
    position: absolute;
    background: var(--primary-gradient);
    opacity: 0.9;
    z-index: 0;
    filter: drop-shadow(0 20px 40px rgba(0, 114, 255, 0.2));
}

.blob-top-left {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 20s infinite ease-in-out;
}

.blob-bottom-right {
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: linear-gradient(135deg, #0072FF 0%, #00C6FF 100%);
    /* Reverse gradient */
    animation: morph 20s infinite ease-in-out reverse;
}

/* Tiny floating dots/blobs */
.blob-bottom-left {
    bottom: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e0e7ff;
    /* Very light blue */
    z-index: 0;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 40% 60% 30% 50%;
    }

    100% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    }
}

/* SIGNUP CARD */
.signup-card {
    position: relative;
    z-index: 10;
    width: 1000px;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.85);
    /* Glassy white */
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 40px 100px -20px rgba(50, 50, 93, 0.15),
        0 20px 60px -30px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* LEFT SIDE (Brand) */
.card-brand-section {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    color: var(--text-dark);
}

.card-brand-section .logo-area {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: #0072FF;
    /* Brand Blue */
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-brand-section h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 24px 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.card-brand-section p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 80%;
}

/* Back Link */
.back-link {
    position: absolute;
    top: 40px;
    right: 40px;
    /* On the right side for this layout? No, let's keep consistent */
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
    z-index: 20;
}

.back-link:hover {
    color: var(--primary-blue);
}

/* RIGHT SIDE (Form) */
.card-form-section {
    flex: 0.9;
    /* Slightly smaller */
    background: #ffffff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Step Dots */
.step-indicators {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    justify-content: flex-end;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: 0.3s;
}

.step-dot.active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 4px;
}

/* FORM STYLES (Minimal Material) */
.step h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.input-group {
    position: relative;
    margin-bottom: 30px;
    /* Spacing */
}

.input-group input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-dark);
    border: none;
    border-bottom: 2px solid #e2e8f0;
    outline: none;
    background: transparent;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
    transition: 0.3s ease all;
}

/* Float Label Effect */
.input-group input:focus,
.input-group input:not(:placeholder-shown) {
    border-bottom-color: var(--primary-blue);
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
}

/* BUTTONS */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
}

.btn-pill {
    background: var(--primary-gradient);
    color: white;
    padding: 16px 48px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(0, 114, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(0, 114, 255, 0.6);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
}

.btn-text:hover {
    color: var(--text-dark);
}

/* Steps */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    body {
        background: #f1f5f9;
        /* Slight contrast on mobile behind card */
        align-items: flex-start;
        padding: 20px 0;
    }

    .main-container {
        height: auto;
        min-height: auto;
        padding-bottom: 40px;
        overflow-y: auto;
    }

    .signup-card {
        flex-direction: column;
        width: 92%;
        min-height: auto;
        margin-top: 10px;
        border-radius: 24px;
        background: #ffffff;
        /* Solid white on mobile for readability */
    }

    /* Header Section */
    .card-brand-section {
        padding: 40px 24px 30px;
        /* Top padding clears back button */
        min-height: auto;
        align-items: center;
        text-align: center;
    }

    /* Make Logo Stack Naturally */
    .card-brand-section .logo-area {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 16px;
        justify-content: center;
    }

    .card-brand-section h1 {
        font-size: 32px;
    }

    .card-brand-section p {
        font-size: 15px;
        max-width: 100%;
    }

    /* Form Section */
    .card-form-section {
        padding: 30px 24px 40px;
    }

    /* Back Button - Keep floating but visible */
    .back-link {
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.9);
        padding: 8px 14px;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    /* Adjust Blob to be a header background */
    .blob {
        display: none;
    }

    .blob-top-left {
        display: block;
        width: 120%;
        height: 280px;
        top: -120px;
        left: -10%;
        border-radius: 0 0 50% 50% / 0 0 20% 20%;
        z-index: 0;
        opacity: 0.15;
        /* Subtler */
    }
}