/* Questionnaire Specific Styles */
.questionnaire-section {
    min-height: 100vh;
    padding: 120px 0 50px;
    background: var(--gradient-dark);
}

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

.questionnaire-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.questionnaire-header p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 14.28%; /* 1/7 steps */
}

.progress-text {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

/* Form Styles */
.questionnaire-form {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.form-step {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.question-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 144, 255, 0.2);
    text-align: center;
    margin-bottom: 30px;
}

.question-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
}

.question-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.question-card p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Input Styles */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.3);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group select {
    cursor: pointer;
}

.input-group select option {
    background: var(--dark-gray);
    color: var(--white);
}

/* Radio Options */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(30, 144, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(30, 144, 255, 0.4);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(30, 144, 255, 0.5);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-blue);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-content {
    flex: 1;
}

.radio-content strong {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--white);
}

.radio-content small {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.prev-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.prev-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.next-btn,
.submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    margin-left: auto;
}

.next-btn:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.submit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Privacy Notice */
.privacy-notice {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.privacy-notice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.privacy-notice i {
    color: #28a745;
    margin-right: 8px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(30, 144, 255, 0.3);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.loading-content p {
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .questionnaire-section {
        padding: 100px 0 30px;
    }
    
    .questionnaire-header h1 {
        font-size: 2rem;
    }
    
    .question-card {
        padding: 30px 20px;
    }
    
    .question-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .question-card h3 {
        font-size: 1.3rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .prev-btn {
        order: 2;
    }
    
    .next-btn,
    .submit-btn {
        order: 1;
        margin-left: 0;
    }
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-step.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

.form-step.slide-in-left {
    animation: slideInLeft 0.3s ease-out;
}

