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

:root {
    --primary: #D2691E;
    --secondary: #FFE5DC;
    --white: #FEFEFE;
    --charcoal: #2A2D3A;
    --light-grey: #F7F8FA;
    --shadow: rgba(0, 0, 0, 0.08);
    --border: rgba(0, 0, 0, 0.06);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background: var(--light-grey);
    color: var(--charcoal);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
    max-width: 600px;
    width: 100%;
    padding: 48px;
    animation: fadeIn 0.3s ease-in-out;
}

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

.logo-img {
    width: 200px;
    height: auto;
    margin: 0 auto 40px;
    display: block;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-align: center;
}

.subtitle {
    font-size: 16px;
    color: #6B7280;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    width: 100%;
    margin-top: 32px;
}

.btn-primary:hover {
    background: #B8581A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.3);
}

.question-container {
    display: none;
}

.question-container.active {
    display: block;
}

.progress-bar {
    height: 4px;
    background: var(--light-grey);
    border-radius: 2px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.question-number {
    font-size: 14px;
    color: #9CA3AF;
    margin-bottom: 12px;
    font-weight: 500;
}

.question-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 32px;
    line-height: 1.4;
}

.answer-btn {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.result-container {
    display: none;
    text-align: center;
}

.result-container.active {
    display: block;
}

.score-circle {
    width: 160px;
    height: 160px;
    margin: 0 auto 32px;
    position: relative;
}

.score-circle svg {
    transform: rotate(-90deg);
}

.score-circle .score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}

.score-circle .score-label {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #6B7280;
}

.level-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.result-description {
    font-size: 16px;
    color: #4B5563;
    margin-bottom: 32px;
    line-height: 1.6;
}

.advice-section {
    background: var(--light-grey);
    border-radius: 8px;
    padding: 24px;
    margin-top: 32px;
    text-align: left;
}

.advice-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--charcoal);
}

.advice-list {
    list-style: none;
}

.advice-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.5;
}

.advice-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.illustration {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restart-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
}

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

@media (max-width: 640px) {
    .container {
        padding: 32px 24px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .question-text {
        font-size: 18px;
    }
    
    .logo-img {
        width: 150px;
    }
}