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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: #F3F4F6;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    justify-content: center;
}

.logo img {
    height: 48px;
    width: auto;
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.section {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

h1 {
    color: #1E3A8A;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
}

/* Quiz */
.progress-bar {
    background-color: #E5E7EB;
    height: 8px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.progress {
    background-color: #1E3A8A;
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.question-counter {
    color: #1E3A8A;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

#question {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1E3A8A;
    text-align: left;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
}

.option:hover {
    border-color: #1E3A8A;
    background: #F8F9FA;
}

.option-letter {
    font-weight: bold;
    margin-right: 1rem;
    color: #1E3A8A;
    font-size: 1.1rem;
}

.option.correct {
    border-color: #10B981;
    background: #ECFDF5;
}

.option.incorrect {
    border-color: #EF4444;
    background: #FEF2F2;
}

.explanation {
    background-color: #F3F4F6;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    color: #1E3A8A;
    font-size: 0.95rem;
}

/* Buttons */
.start-button, .next-button, .restart-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 1.5rem auto;
    padding: 1rem 2rem;
    background-color: #1E3A8A;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.start-button:hover, .next-button:hover, .restart-button:hover {
    background-color: #1E40AF;
}

/* Results */
.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #1E3A8A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
}

.score-inner {
    text-align: center;
    color: white;
}

#scorePercentage {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

#scoreText {
    display: block;
    font-size: 1rem;
    margin-top: 0.5rem;
}

#resultTitle {
    color: #1E3A8A;
    text-align: center;
    margin: 1.5rem 0;
    font-size: 1.5rem;
}

#resultDescription {
    text-align: center;
    color: #4B5563;
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: #1E3A8A;
    color: white;
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #93C5FD;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    main {
        padding: 1rem;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* CTA Form */
.cta-section {
    background-color: #1E3A8A;
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.ml-form-embedContainer {
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.ml-form-embedContent {
    margin-bottom: 2rem;
}

.ml-form-embedContent h4 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    color: white !important;
}

.ml-form-embedContent p {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.ml-form-formContent .ml-form-fieldRow {
    margin-bottom: 1rem !important;
}

.ml-form-fieldRow input {
    width: 100% !important;
    padding: 1rem !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: white !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.ml-form-fieldRow input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.ml-form-fieldRow input:focus {
    outline: none !important;
    border-color: #10B981 !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.ml-form-checkboxRow {
    margin: 1.5rem 0 !important;
    text-align: left !important;
}

.ml-form-checkboxRow label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
}

.ml-form-checkboxRow input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 2px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    background-color: transparent !important;
    cursor: pointer !important;
}

.ml-form-checkboxRow .label-description p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
}

.ml-form-checkboxRow .label-description a {
    color: #10B981 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.ml-form-checkboxRow .label-description a:hover {
    color: #059669 !important;
    text-decoration: underline !important;
}

.ml-form-embedSubmit button.primary {
    width: 100% !important;
    padding: 1rem 2rem !important;
    background-color: #10B981 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.ml-form-embedSubmit button.primary:hover {
    background-color: #059669 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.ml-form-successContent {
    text-align: center !important;
    padding: 2rem !important;
}

.ml-form-successContent h4 {
    font-size: 1.5rem !important;
    color: white !important;
    margin-bottom: 1rem !important;
}

.ml-form-successContent p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem !important;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 2rem;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
} 