/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.25rem 1rem 0.75rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-left,
.logo-right {
    height: 80px;
    max-width: 250px;
    width: auto;
    object-fit: contain;
    object-position: center;
}

.subheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0.5rem auto 0;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

.subheader-text {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 500;
}

.phase-badge {
    font-size: 0.875rem;
    color: #2d7a32;
    font-weight: 600;
    background-color: #e8f5e9;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.section.active {
    display: block;
}

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

/* Landing Section */
.landing-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.headline {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.125rem;
    color: #555555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #444444;
    font-size: 1rem;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2d7a32;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background-color: #2d7a32;
    color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
    background-color: #1b5e20;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(45, 122, 50, 0.3);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #eeeeee;
    border-color: #cccccc;
}

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

/* Questionnaire Section */
.questionnaire-content {
    max-width: 600px;
    margin: 0 auto;
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background-color: #2d7a32;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 500;
}

.question-container {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    min-height: 300px;
}

.question-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

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

.option-item {
    margin-bottom: 0.75rem;
}

.option-label {
    display: block;
    padding: 1rem;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.option-label:hover {
    border-color: #2d7a32;
    background-color: #f1f8f2;
}

.option-label:focus-within {
    outline: 2px solid #2d7a32;
    outline-offset: 2px;
}

.option-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    cursor: pointer;
}

.option-input:checked + .option-label {
    border-color: #2d7a32;
    background-color: #e8f5e9;
    font-weight: 600;
}

.question-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.question-nav .btn {
    flex: 1;
}

/* Results Section */
.results-content {
    max-width: 700px;
    margin: 0 auto;
}

.results-headline {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.results-summary {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.focus-area {
    margin-bottom: 2rem;
}

.focus-area-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d7a32;
    margin-bottom: 1rem;
}

.results-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.results-bullets li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #444444;
    line-height: 1.6;
}

.results-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2d7a32;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.checklist {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.checklist-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.checklist-items {
    list-style: none;
    padding: 0;
}

.checklist-items li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #444444;
}

.checklist-items li::before {
    content: "☐";
    position: absolute;
    left: 0;
    color: #2d7a32;
    font-size: 1.2rem;
}

.cta-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.cta-text {
    font-size: 1rem;
    color: #444444;
    margin-bottom: 1.5rem;
    text-align: center;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-input {
    padding: 0.875rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    min-height: 48px;
}

.email-input:focus {
    outline: none;
    border-color: #2d7a32;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #555555;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2d7a32;
    flex-shrink: 0;
}

.email-success {
    background-color: #e8f5e9;
    color: #2d7a32;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
}

.email-error {
    background-color: #ffebee;
    color: #c62828;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
}

.locked-checklist {
    position: relative;
}

.lock-indicator {
    font-size: 0.9em;
    margin-left: 0.5rem;
}

.checklist-lock-message {
    font-size: 0.9rem;
    color: #666666;
    font-style: italic;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
}

.phase-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.coming-soon {
    text-align: center;
    font-size: 0.875rem;
    color: #999999;
    font-style: italic;
    margin-top: -0.5rem;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .header {
        padding: 1rem 0.75rem 0.5rem;
    }

    .logo-left,
    .logo-right {
        height: 65px;
        max-width: 180px;
    }

    .subheader {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-top: 0.5rem;
    }

    .main-content {
        padding: 1.5rem 0.75rem;
    }

    .headline {
        font-size: 1.75rem;
    }

    .subheadline {
        font-size: 1rem;
    }

    .question-container {
        padding: 1.5rem;
        min-height: 250px;
    }

    .question-title {
        font-size: 1.125rem;
    }

    .results-content {
        padding: 0 0.5rem;
    }

    .cta-section {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
    }

    .question-nav {
        flex-direction: column;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus-visible,
.option-label:focus-within,
.email-input:focus {
    outline: 2px solid #2d7a32;
    outline-offset: 2px;
}
