:root {
    --primary-color: #2c3e50; /* Navy */
    --secondary-color: #34495e;
    --accent-color: #1abc9c; /* Mint */
    --light-gray: #ecf0f1;
    --text-color: #333;
    --white-color: #ffffff;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.2em; }

.quiz-container {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    padding: 40px;
    box-sizing: border-box;
    text-align: center;
}

/* 화면 전환 */
.hidden {
    display: none;
}

/* 시작 화면 */
#start-screen p {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 20px 0 30px;
}

#start-btn, #purchase-btn {
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#start-btn:hover, #purchase-btn:hover {
    background-color: #16a085;
    transform: translateY(-2px);
}

/* 퀴즈 화면 */
#progress-container {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 20px;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--accent-color);
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
}

#quiz-category {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

#question {
    margin-bottom: 30px;
}

.btn-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.btn {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--light-gray);
    padding: 15px;
    font-size: 1em;
    text-align: left;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn:hover {
    background-color: var(--light-gray);
    border-color: var(--accent-color);
}

/* 결과 화면 */
.persona-result {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.chart-container {
    margin: 40px 0;
}

#result-details {
    text-align: left;
    margin-top: 30px;
}

.result-item {
    background-color: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.result-item-header {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.3em;
}

.result-item-header span:first-child {
    font-size: 1.5em;
    margin-right: 15px;
}

.result-item-header .score {
    margin-left: auto;
    color: var(--accent-color);
}

.result-item p {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 45px;
    line-height: 1.5;
}

.result-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

.final-cta {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
}

.price {
    margin: 20px 0;
    font-size: 1.2em;
}
.original-price {
    text-decoration: line-through;
    color: #7f8c8d;
    margin-right: 10px;
}

.email-cta {
    margin-top: 20px;
    font-size: 0.9em;
}
.email-cta a {
    color: var(--primary-color);
}

.share-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-buttons button {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.share-buttons button:hover {
    background-color: var(--primary-color);
}

/* 모바일 반응형 */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .quiz-container {
        padding: 20px;
    }
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.3em; }
}