:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --primary-light: #dbeafe;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --success-light: #d1fae5;
    --error-color: #ef4444;
    --error-light: #fef2f2;
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --background-color: #f8fafc;
    --card-background: #ffffff;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --border-focus: #3b82f6;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

/* Progress Indicator */
.progress-container {
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--success-color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: white;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* Main Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') no-repeat bottom;
    background-size: cover;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header p {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 400;
}

/* Form Section */
.form-container {
    padding: 40px 30px;
}

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

.step {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: var(--success-color);
    color: white;
}

/* Form Groups */
.form-section {
    margin-bottom: 32px;
    padding: 24px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: var(--primary-light);
    background: rgba(59, 130, 246, 0.02);
}

.form-section.active {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.section-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

/* Input Styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
}

.required::after {
    content: ' *';
    color: var(--error-color);
}

.input-container {
    position: relative;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* Input States */
.input-valid {
    border-color: var(--success-color) !important;
    background: var(--success-light);
}

.input-invalid {
    border-color: var(--error-color) !important;
    background: var(--error-light);
}

/* Validation Icons */
.validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.validation-icon.valid {
    color: var(--success-color);
}

.validation-icon.invalid {
    color: var(--error-color);
}

/* Checkbox Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.tech-card {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.tech-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.tech-card.selected {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.tech-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.tech-card-content {
    display: flex;
    align-items: center;
}

.tech-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 12px;
    transition: all 0.3s;
}

.tech-card.selected .tech-icon {
    background: var(--success-color);
}

.tech-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.tech-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* Error Messages */
.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--error-light);
    border-radius: 6px;
    border-left: 4px solid var(--error-color);
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border-radius: var(--radius);
    margin: 20px;
}

.success-message h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.success-message p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

/* Buttons */
.form-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 140px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Loading State */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 24px;
    }

    .form-container {
        padding: 24px 20px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .step-indicator {
        flex-direction: column;
        gap: 8px;
    }

    .form-section {
        padding: 16px;
    }
}

.hidden {
    display: none !important;
}

/* Real-time feedback */
.character-count {
    font-size: 12px;
    color: var(--text-light);
    text-align: right;
    margin-top: 4px;
}

.character-count.warning {
    color: var(--warning-color);
}

.character-count.error {
    color: var(--error-color);
}
/* Feedback Section */
.feedback-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed rgba(255, 255, 255, 0.3);
}

.feedback-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feedback-section p {
    margin-bottom: 15px;
    opacity: 0.9;
}