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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    width: 100%;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800);
    border-radius: 20px 20px 0 0;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.progress-bar {
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 4px;
    width: 14.28%;
    transition: width 0.5s ease;
}

.step {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.step.active {
    display: block;
}

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

/* OTP Input Styling */
.otp-input {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
}

.otp-input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.step-header {
    text-align: center;
    margin-bottom: 25px;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 15px;
}

.step-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.step-description {
    color: #7f8c8d;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
    font-size: 14px;
}

input[type="text"], input[type="email"], input[type="tel"], select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    transform: scale(1.2);
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

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

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

.benefits {
    background: linear-gradient(135deg, #f8f9ff, #e8f0fe);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #667eea;
}

.benefits h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #34495e;
}

.benefit-item::before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 8px;
}

.security-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.footer-links {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 12px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #7f8c8d;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.success-step {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

/* Disqualification styles */
.disqualification-step {
    text-align: center;
    padding: 40px 20px;
}

.disqualification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.disqualification-alternatives {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid #e74c3c;
}

.alternative-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    color: #2c3e50;
    text-align: left;
}

.alternative-item::before {
    content: "→";
    color: #e74c3c;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 2px;
}

.alternative-item:last-child {
    margin-bottom: 0;
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin-top: 20px;
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* OTP Input Styles */
.otp-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: bold;
}

.otp-input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Mobile-specific optimizations for iPhone 14 and similar devices */
@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 25px 20px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .subtitle {
        margin-bottom: 15px;
    }

    .header {
        margin-bottom: 20px;
    }

    .progress-bar {
        margin-bottom: 20px;
    }

    .step-header {
        margin-bottom: 15px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-bottom: 10px;
    }

    .step-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .step-description {
        font-size: 13px;
    }

    .benefits {
        padding: 15px;
        margin-bottom: 15px;
    }

    .benefits h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .benefit-item {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Make step 1 even more compact */
    .step[data-step="1"] .benefits {
        padding: 12px;
        margin-bottom: 12px;
    }

    .step[data-step="1"] .benefit-item {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .step[data-step="1"] .step-header {
        margin-bottom: 12px;
    }

    .step[data-step="1"] .form-group {
        margin-bottom: 12px;
    }

    /* Extra compact for step 1 on very small screens */
    @media (max-height: 700px) {
        .step[data-step="1"] .container {
            padding: 20px 15px;
        }
        
        .step[data-step="1"] .header {
            margin-bottom: 15px;
        }
        
        .step[data-step="1"] .progress-bar {
            margin-bottom: 15px;
        }
        
        .step[data-step="1"] .benefits {
            padding: 10px;
            margin-bottom: 10px;
        }
        
        .step[data-step="1"] .benefit-item {
            font-size: 11px;
            margin-bottom: 3px;
        }
    }
} 
