* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.survey-box {
    max-width: 650px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.survey-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-circle i {
    font-size: 32px;
}

.survey-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.survey-header p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    opacity: 0.9;
}

.question-card {
    display: none;
    padding: 30px;
    animation: fadeIn 0.3s ease;
}

.question-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    display: block;
    cursor: pointer;
}

.option input {
    display: none;
}

.option-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
}

.option-custom i {
    font-size: 20px;
    color: #667eea;
}

.option input:checked + .option-custom {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.options-check {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.option-check {
    display: block;
    cursor: pointer;
}

.option-check input {
    display: none;
}

.check-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

.check-custom i {
    font-size: 18px;
    color: #667eea;
}

.option-check input:checked + .check-custom {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-color: #667eea;
}

.textarea-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.2s;
}

.textarea-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.emoji-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.emoji {
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.emoji:hover {
    transform: scale(1.2);
    background: #f0f0f0;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px 30px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.nav-btn, .submit-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn {
    background: #f0f0f0;
    color: #666;
}

.nav-btn:hover:not(:disabled) {
    background: #e0e0e0;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.next, .submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.next:hover, .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn {
    margin-left: auto;
}

.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-content {
    background: white;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeInUp 0.3s ease;
}

.success-icon i {
    font-size: 70px;
    color: #4caf50;
    margin-bottom: 20px;
}

.success-content h2 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.success-content p {
    color: #666;
    margin-bottom: 25px;
}

.close-success-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 550px) {
    .survey-box {
        border-radius: 16px;
    }
    .question-card {
        padding: 20px;
    }
    .options-check {
        grid-template-columns: 1fr;
    }
    .navigation-buttons {
        padding: 15px 20px 20px;
    }
    .nav-btn, .submit-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}