@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #faf7f0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.quiz-title {
    color: #14425e;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.quiz-description {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.quiz-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.question-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.question-header {
    background-color: #d6bc7f;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.question-number {
    color: #14425e;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.question-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
}

.question-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.answer-option:hover {
    border-color: #14425e;
    background-color: #f8fffe;
}

.answer-option.selected {
    border-color: #14425e;
    background-color: #14425e;
    color: white;
}

.answer-option input[type="radio"],
.answer-option input[type="checkbox"] {
    margin-right: 15px;
    accent-color: #14425e;
}

.answer-text {
    font-size: 1.1rem;
    font-weight: 400;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.nav-right {
    display: flex;
    gap: 15px;
}

.intro-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.intro-title {
    color: #14425e;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.intro-image {
    margin-bottom: 40px;
}

.intro-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 50px;
}

.intro-text p {
    margin-bottom: 20px;
}

.intro-button {
    margin-bottom: 40px;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #14425e;
    color: white;
}

.btn-primary:hover {
    background-color: #0f3549;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

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

.btn:disabled:hover {
    background-color: #14425e;
    transform: none;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #14425e;
    transition: width 0.3s ease;
}

.form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

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

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

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #14425e;
}

.result-container {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-title {
    color: #14425e;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.result-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.result-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.admin-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #14425e;
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.leadhub-status {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
}

.leadhub-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.leadhub-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.newsletter-consent {
    font-size: 0.8rem;
    color: #aaa;
    margin: 15px 0 30px 0;
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .quiz-title {
        font-size: 2rem;
    }
    
    .question-container {
        padding: 20px;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .answer-text {
        font-size: 1rem;
    }
    
    .navigation {
        flex-direction: column;
        gap: 15px;
    }
}