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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 40px 0;
    background: white;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.logo {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.logo .slim {
    color: #333;
}

.logo .ai {
    color: #10B981;
}

.logo .t {
    color: #3B82F6;
}

.subtitle {
    color: #666;
    font-size: 18px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: slideIn 0.5s ease;
}

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

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step.active {
    background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    transform: scale(1.1);
}

.step.completed {
    background: #10B981;
}

.question-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

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

.option {
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.option:hover {
    border-color: #10B981;
    background: #f0fdf4;
    transform: translateX(5px);
}

.option.selected {
    border-color: #10B981;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    font-weight: 600;
}

.checkbox-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-option:hover {
    border-color: #10B981;
    background: #f0fdf4;
}

.checkbox-option.selected {
    border-color: #10B981;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
}

.checkbox-option input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 10px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #666;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 5px;
}

.result-container {
    text-align: center;
    padding: 40px 20px;
}

.level-badge {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background: #f3f4f6;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.level-badge img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.level-progress-container {
    margin: 30px auto 40px;
    max-width: 600px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 16px;
}

.level-progress-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.level-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.level-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e5e7eb;
    transform: translateY(-50%);
    z-index: 0;
}

.level-point {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.level-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.level-point.active .level-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    border: 3px solid white;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    font-size: 16px;
}

.level-point.completed .level-circle {
    background: #10B981;
    border-color: #10B981;
    color: white;
}

.level-label-text {
    font-size: 10px;
    color: #9ca3af;
    text-align: center;
    max-width: 60px;
    line-height: 1.2;
}

.level-point.active .level-label-text {
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.level-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-display {
    font-size: 20px;
    color: #666;
    margin-bottom: 20px;
}

.result-message {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 20px;
}

.cta-container {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    border-radius: 12px;
}

.cta-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

/* SNS Share Styles */
.sns-share-container {
    margin: 30px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
}

.sns-share-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.sns-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sns-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.sns-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.facebook-btn {
    background: #1877f2;
}

.facebook-btn:hover {
    background: #166fe5;
}

.x-btn {
    background: #000000;
}

.x-btn:hover {
    background: #333333;
}

.linkedin-btn {
    background: #0077b5;
}

.linkedin-btn:hover {
    background: #006097;
}

@media (max-width: 640px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
    }
    
    .level-badge {
        width: 150px;
        height: 150px;
    }
    
    .level-badge img {
        width: 140px;
        height: 140px;
    }
    
    .level-progress {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .level-progress::before {
        display: none;
    }
    
    .level-circle {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .level-point.active .level-circle {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    
    .sns-share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .sns-btn {
        width: 100%;
        max-width: 200px;
    }
}