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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
    line-height: 1.6;
}

/* Language Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease-out;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.modal-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.language-btn {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
    position: relative;
    overflow: hidden;
}

.language-btn:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

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

.language-btn .flag {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.language-btn .language-text {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Hide modal when language is selected */
.modal-overlay.hidden {
    display: none;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.survey-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.6s ease-out;
}

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

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

.title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: 400;
}

.video-container {
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-container iframe {
    display: block;
    border-radius: 16px;
}

.survey-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.question-group {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.question-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.question-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.question-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: white;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-item:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #667eea;
    cursor: pointer;
}

.option-item input[type="radio"]:checked + label,
.option-item input[type="checkbox"]:checked + label {
    color: #667eea;
    font-weight: 500;
}

.option-item label {
    flex: 1;
    cursor: pointer;
    font-size: 1rem;
    color: #4a5568;
    transition: color 0.3s ease;
}

.text-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

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

.textarea-input {
    min-height: 120px;
    resize: vertical;
}

.rating-group {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.rating-option {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: white;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.rating-option:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

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

.rating-option input[type="radio"]:checked + label {
    color: #667eea;
}

.rating-option label {
    cursor: pointer;
    display: block;
    font-size: 1.1rem;
    color: #4a5568;
    transition: color 0.3s ease;
}

/* Likert Scale Styling */
.likert-group {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.likert-option {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: white;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.likert-option:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

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

.likert-option input[type="radio"]:checked + label {
    color: #667eea;
}

.likert-option label {
    cursor: pointer;
    display: block;
    font-size: 1rem;
    color: #4a5568;
    transition: color 0.3s ease;
    line-height: 1.3;
}

/* Multiple Likert Scale Styling */
.likert-multiple-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.statement-group {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.statement-text {
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.form-actions {
    margin-top: 32px;
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

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

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

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 24px;
        margin: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .language-btn {
        padding: 16px 20px;
        font-size: 1.1rem;
    }
    
    .language-btn .flag {
        font-size: 1.8rem;
    }
    
    .survey-card {
        padding: 24px;
        margin: 10px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .question-group {
        padding: 20px;
    }
    
    .rating-group {
        flex-wrap: wrap;
    }
    
    .rating-option {
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .modal-content {
        padding: 24px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.6rem;
    }
    
    .language-btn {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .language-btn .flag {
        font-size: 1.6rem;
    }
    
    .survey-card {
        padding: 20px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .question-title {
        font-size: 1.1rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 14px 24px;
    }
}

/* Section header styling */
.section-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.section-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Disclaimer styling */
.disclaimer-container {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.disclaimer-text {
    color: #856404;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.disclaimer-text strong {
    color: #856404;
    font-weight: 600;
}

/* Loading animation */
.loading {
    text-align: center;
    padding: 40px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
} 