/* ============================================
   CFC LIFE QUIZ - CLEAN PROFESSIONAL DESIGN
   ============================================ */

:root {
    --primary-green: #00A676;
    --navy: #1E293B;
    --white: #FFFFFF;
    --light-bg: #F8FAFC;
    --text-dark: #334155;
    --text-gray: #64748B;
    --border-gray: #E2E8F0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    color: var(--text-dark);
    line-height: 1.6;
}

.quiz-container {
    max-width: 100%;
    background: var(--white);
}

/* SCREENS */
.quiz-screen {
    display: none;
    padding: 40px 40px 100px;
}

.quiz-screen.active {
    display: block;
}

/* START SCREEN */
.start-content {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.quiz-badge {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.start-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.subtitle {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    padding: 14px 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.avatars {
    display: flex;
}

.avatar {
    width: 28px;
    height: 28px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -6px;
    border: 2px solid var(--white);
    font-size: 11px;
    color: white;
    font-weight: 600;
}

.avatar:first-child {
    margin-left: 0;
}

.social-proof p {
    font-size: 13px;
    color: var(--text-dark);
    margin: 0;
}

.quiz-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    font-size: 13px;
    color: #6b7280;
}

/* BUTTONS */
.btn-primary {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #059669;
}

.btn-secondary {
    background: #f3f4f6;
    color: var(--text-dark);
    border: 1px solid #e5e7eb;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
}

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

.btn-start {
    margin: 20px 0;
}

.privacy-note {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 12px;
}

/* PROGRESS BAR */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 25px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-green);
    transition: width 0.4s ease;
}

.question-counter {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* QUESTION */
.question-container {
    margin-bottom: 20px;
    padding: 15px 0;
}

.question-container h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5;
    text-align: center;
}

/* HIDE EMOJI */
.question-image {
    display: none !important;
}

/* ANSWERS */
.answers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 25px;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.answer-option:hover {
    border-color: var(--primary-green);
    background: #f9fafb;
}

.answer-option.selected {
    border-color: var(--primary-green);
    background: #f0fdf4;
    border-width: 2px;
    padding: 13px 17px;
}

.answer-emoji {
    display: none !important;
}

.answer-text {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* NAV BUTTONS */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

/* RESULTS */
#quiz-results {
    padding: 40px 40px 80px;
}

.results-content {
    max-width: 560px;
    margin: 0 auto;
}

.result-badge {
    text-align: center;
    margin-bottom: 15px;
}

.result-emoji {
    font-size: 40px;
    display: block;
    margin-bottom: 8px;
}

.result-badge-text {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.results-content h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 6px;
}

.result-tagline {
    font-size: 14px;
    color: var(--text-gray);
    text-align: center;
    font-style: italic;
    margin-bottom: 25px;
}

.result-description {
    margin-bottom: 25px;
}

.result-intro {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.result-section {
    margin: 20px 0;
}

.result-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.traits-list {
    list-style: none;
    padding: 0;
}

.traits-list li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 13px;
    line-height: 1.5;
}

.traits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

/* STATS */
.result-stats {
    background: #f9fafb;
    padding: 18px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

.result-stats h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.stat-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 10px;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 600;
}

.stat-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

/* ADVICE */
.result-breakdown {
    margin: 20px 0;
}

.advice-section {
    margin: 18px 0;
}

.advice-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.advice-section ul {
    list-style: none;
    padding: 0;
}

.advice-section li {
    padding: 5px 0 5px 18px;
    position: relative;
    font-size: 13px;
    line-height: 1.5;
}

.advice-section li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

/* EMAIL */
.email-capture-box {
    background: var(--primary-green);
    color: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: center;
}

.email-capture-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.email-capture-box > p {
    font-size: 13px;
    margin-bottom: 12px;
}

.email-capture-box ul {
    text-align: left;
    display: inline-block;
    margin: 12px 0;
    list-style: none;
    padding: 0;
}

.email-capture-box li {
    font-size: 12px;
    margin: 4px 0;
    padding-left: 18px;
    position: relative;
}

.email-capture-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
}

#email-capture-form {
    display: flex;
    gap: 8px;
    max-width: 380px;
    margin: 15px auto 10px;
}

#email-input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
}

.email-capture-box .btn-primary {
    background: var(--navy);
    padding: 12px 20px;
    font-size: 13px;
}

.email-capture-box .privacy-note {
    color: rgba(255,255,255,0.8);
}

/* SOCIAL */
.social-share {
    margin: 25px 0;
    text-align: center;
}

.social-share h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.share-btn {
    padding: 10px 18px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.share-btn:hover {
    border-color: var(--primary-green);
}

/* RELATED */
.related-content {
    margin: 25px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
}

.related-content h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.related-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-link {
    padding: 10px 14px;
    background: var(--white);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
}

.related-link:hover {
    background: #f0fdf4;
}

.btn-retake {
    display: block;
    margin: 25px auto 0;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .quiz-screen, #quiz-results {
        padding: 30px 20px 80px;
    }
    
    .start-content h1 {
        font-size: 24px;
    }
    
    .question-container h2 {
        font-size: 18px;
    }
    
    .results-content h1 {
        font-size: 22px;
    }
    
    #email-capture-form {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
