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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html, body {
    height: 100%;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 768px;
}

/* Header Styles */
.header {
    background: white;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    padding: 8px 0 0 0;
    margin-bottom: 0px;
}

.logo {
    text-align: center;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 6px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
    width: 90%;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #796eff 50%, #000000 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 14.28%;
}

.step-indicator {
    text-align: center;
    /* color: white; */
    font-size: 14px;
    font-weight: 600;
    width: 10%;
}

/* Form Container */
.form-container {
    background: white;
    padding: 24px;
    border-radius: 15px;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); */
    min-height: 500px;
    display: flex;
    flex-direction: column;
    /* width: 575px; */
}

#leadForm {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
    flex: 1;
}

.form-step.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* Options (Radio Buttons) */
.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #e2eeff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #eef5ff;
}

.option-label:hover {
    border-color: #c3ccf5;
    /* border-color: #667eea; */
    background: #f0f4ff;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
}

.option-input {
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    margin-right: 15px;
    transition: all 0.3s ease;
    background: white;
}

.option-input:hover {
    border-color: #667eea;
}

.option-input:checked {
    border-color: #667eea;
    background: #667eea;
    box-shadow: inset 0 0 0 4px white;
}

.option-text {
    font-size: 16px;
    color: #0124ac;
    font-weight: 500;
}

/* Form Groups (for Step 7) */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0124ac;
    font-weight: 600;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #0124ac0a;
    background: #e7ebff;
    color: #0124ac;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #796eff 30%, #2e75e7 100%);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    flex: 1;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-success {
    background: linear-gradient(135deg, #2e75e7 30%, #796eff 100%);
    color: white;
    flex: 1;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #817e7e;
    text-align: center;
    font-size: 14px;
}

/* Success Message */
.success-message {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.error-message {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 25px;
        min-height: auto;
    }

    .form-step h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .options {
        gap: 10px;
        margin-bottom: 30px;
    }

    .option-label {
        padding: 12px 15px;
    }

    .option-text {
        font-size: 14px;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .form-navigation {
        flex-direction: column-reverse;
    }

    .main-content {
        padding: 10px 0;
    }

    .header {
        margin-bottom: 20px;
    }

    .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        min-width: 320px;
        width: 375px;
    }

    .form-container {
        padding: 15px;
        border-radius: 10px;
    }

    .form-step h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .option-label {
        padding: 10px 12px;
    }

    .option-input {
        width: 18px;
        height: 18px;
        margin-right: 12px;
    }

    .option-text {
        font-size: 13px;
    }

    .btn {
        padding: 10px 15px;
        font-size: 13px;
    }

    .step-indicator {
        font-size: 12px;
    }
}