/* ===== AUDIT-SPECIFIC STYLES ===== */

.audit-body {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    min-height: 100vh;
}

.audit-main {
    min-height: calc(100vh - var(--header-height) - 200px);
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.button--small {
    padding: 0.5rem 1rem;
    font-size: var(--small-font-size);
}

.button--large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== AUDIT LANDING ===== */
.audit-landing {
    width: 100%;
    padding: 4rem 0;
}

.landing-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

.audit-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-color);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-2);
}

.landing-title {
    font-size: 3rem;
    margin-bottom: var(--mb-1);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--mb-3);
}

/* ===== CATEGORY SELECTION ===== */
.category-selection {
    width: 100%;
    padding: 3rem 0;
}

.selection-header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.selection-title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-0-5);
}

.selection-subtitle {
    color: var(--text-light);
}

.category-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.category-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
}

.category-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--mb-1);
}

.category-title {
    font-size: 1.25rem;
    margin-bottom: var(--mb-0-5);
}

.category-description {
    color: var(--text-light);
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-0-5);
}

.category-subtitle {
    color: var(--text-light);
    font-size: var(--smaller-font-size);
    font-style: italic;
}

.category-actions {
    margin-top: var(--mb-3);
    text-align: center;
}

/* ===== QUESTIONS SECTION ===== */
.questions-section {
    width: 100%;
    padding: 3rem 0;
}

.progress-container {
    margin-bottom: var(--mb-3);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: var(--mb-1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.5s ease;
    border-radius: 1rem;
}

.progress-text {
    text-align: center;
    color: var(--text-light);
    font-size: var(--small-font-size);
}

.framing-text {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: var(--mb-3);
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

.question-container {
    max-width: 800px;
    margin: 0 auto;
}

.question-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.5s ease;
}

.question-number {
    color: var(--primary-color);
    font-weight: var(--font-semibold);
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-1);
}

.question-text {
    font-size: 1.5rem;
    margin-bottom: var(--mb-2);
    line-height: 1.4;
}

.reality-check {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.75rem;
    color: var(--text-light);
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-2);
    border-left: 3px solid var(--accent-color);
    font-style: italic;
}

.answer-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.answer-btn {
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.answer-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.answer-btn.selected {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
    color: var(--bg-color);
}

.answer-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-bold);
}

.answer-btn.selected .answer-icon {
    background: var(--bg-color);
    color: var(--primary-color);
}

.answer-text {
    font-size: 1.125rem;
    font-weight: var(--font-semibold);
}

.answer-btn.selected .answer-text {
    color: var(--bg-color);
}

.question-navigation {
    margin-top: var(--mb-2);
    display: flex;
    justify-content: center;
}

/* ===== PRE-SCORE SECTION ===== */
.pre-score {
    width: 100%;
    padding: 4rem 0;
}

.pre-score-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease;
}

.pre-score-title {
    font-size: 1.75rem;
    margin-bottom: var(--mb-2);
    line-height: 1.4;
}

.pre-score-text {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--mb-1);
}

/* ===== RESULTS SECTION ===== */
.results-section {
    width: 100%;
    padding: 3rem 0;
}

.result-screen {
    animation: fadeInUp 0.6s ease;
}

.score-reveal,
.result-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.result-label {
    text-align: center;
    color: var(--text-light);
    font-size: var(--small-font-size);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--mb-1);
}

.score-display {
    text-align: center;
    margin: var(--mb-2) 0;
}

.score-number {
    font-size: 5rem;
    font-weight: var(--font-bold);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.score-total {
    font-size: 2rem;
    color: var(--text-light);
}

.score-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--mb-3);
    line-height: 1.6;
}

.result-title {
    font-size: 1.75rem;
    margin-bottom: var(--mb-1-5);
    line-height: 1.3;
}

.result-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--mb-2);
    line-height: 1.6;
}

.result-text {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: var(--mb-2);
    line-height: 1.8;
}

.result-bullets {
    margin: var(--mb-2) 0;
}

.result-bullets ul {
    list-style: none;
    padding: 0;
}

.result-bullets li {
    padding: 1rem 1rem 1rem 3rem;
    margin-bottom: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    position: relative;
}

.result-bullets li::before {
    content: '●';
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.next-step-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    margin: var(--mb-2) 0;
}

.next-step-box h4 {
    margin-bottom: var(--mb-1);
    color: var(--primary-color);
}

.next-step-box ul {
    list-style: none;
    padding: 0;
}

.next-step-box li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-light);
}

.next-step-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: var(--font-bold);
}

.result-emphasis {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: var(--mb-2) 0;
    font-weight: var(--font-medium);
    text-align: center;
}

.final-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: var(--mb-3);
    font-size: var(--small-font-size);
}

/* ===== LEAD CAPTURE & FEEDBACK ===== */
.lead-form,
.feedback-form {
    max-width: 500px;
    margin: var(--mb-2) auto 0;
}

.form-group {
    margin-bottom: var(--mb-1-5);
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: var(--mb-1-5) 0;
    cursor: pointer;
    font-size: var(--small-font-size);
    color: var(--text-light);
}

.consent-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.feedback-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== THANK YOU SCREEN ===== */
.thank-you-content {
    text-align: center;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto var(--mb-2);
    animation: scaleIn 0.5s ease;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: var(--mb-3);
    flex-wrap: wrap;
}

/* ===== ANIMATIONS ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (min-width: 568px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 768px) {
    .landing-title {
        font-size: 4rem;
    }

    .question-text {
        font-size: 1.75rem;
    }

    .score-number {
        font-size: 6rem;
    }
}

@media screen and (min-width: 968px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .audit-main {
        padding-top: calc(var(--header-height) + 2rem);
    }
}