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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

/* Section headers with authentication status */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Center headers for Assessment Access and Tools Matrix Access sections */
#assessment-access .section-header,
#tools-matrix-access .section-header {
    justify-content: center;
    position: relative;
}

#assessment-access .section-header h2,
#tools-matrix-access .section-header h2 {
    margin: 0;
}

#assessment-access .auth-status-indicator,
#tools-matrix-access .auth-status-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Center the AI Tools Matrix header */
#tools-matrix .section-header {
    justify-content: center;
    position: relative;
}

#tools-matrix .section-header h2 {
    margin: 0;
}

#tools-matrix .auth-status-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.auth-status-indicator {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.auth-status-indicator.authenticated {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.auth-status-indicator.not-authenticated {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .auth-status-indicator {
        align-self: flex-end;
    }

    /* Adjust centered headers for mobile */
    #assessment-access .section-header,
    #tools-matrix-access .section-header,
    #tools-matrix .section-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    #assessment-access .auth-status-indicator,
    #tools-matrix-access .auth-status-indicator,
    #tools-matrix .auth-status-indicator {
        position: static;
        transform: none;
        align-self: center;
    }
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #64748b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 200px;
    overflow: hidden;
    z-index: 1001;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: #f8fafc;
    color: #2563eb;
}

/* Main content */
main {
    margin-top: 70px;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 50px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
    font-size: 1.15rem;
    border: 2px solid #1d4ed8;
    box-shadow: 0 4px 16px rgba(37,99,235,0.15), 0 1.5px 4px rgba(0,0,0,0.08);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
    font-weight: 700;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 6px 24px rgba(37,99,235,0.22), 0 2px 8px rgba(0,0,0,0.12);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

/* Assessment section */
.assessment-section {
    padding: 40px 0 20px 0;
    background: white;
    min-height: calc(100vh - 70px);
}

.assessment-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1e293b;
}

/* Tools Matrix section */
.tools-matrix-section {
    padding: 40px 0 20px 0;
    background: white;
    min-height: calc(100vh - 70px);
}

.tools-matrix-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1e293b;
}

.tools-matrix-content {
    max-width: 100%;
    overflow-x: auto;
}

.tools-matrix-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #64748b;
}

.filter-label select {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    color: #374151;
    min-width: 150px;
}

.filter-label select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}



.stats-badge {
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tools-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tools-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.tools-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8fafc;
}

.tools-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
    min-width: 120px;
}

.tools-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 20;
    background: #f8fafc;
    min-width: 200px;
    border-right: 2px solid #e2e8f0;
}

.tools-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.tools-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 20;
    background: white;
    font-weight: 600;
    color: #1e293b;
    border-right: 2px solid #e2e8f0;
}

.tools-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.tools-table tbody tr:nth-child(even) td:first-child {
    background: #f8fafc;
}

.tools-table tbody tr:hover {
    background: #f1f5f9;
}

.tools-table tbody tr:hover td:first-child {
    background: #f1f5f9;
}

.tools-table .tool-check {
    color: #059669;
    font-weight: bold;
    font-size: 1.1rem;
}

.tools-resources {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tools-resources h3 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 1.3rem;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resource-link {
    display: block;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s ease;
}

.resource-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    text-decoration: none;
    color: #1e293b;
}

.resource-link strong {
    color: #3b82f6;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .tools-matrix-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .filter-label select {
        min-width: 200px;
    }
    
    .tools-table th,
    .tools-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    
    .tools-table th:first-child,
    .tools-table td:first-child {
        min-width: 150px;
    }
}

/* About section */
.about-section {
    padding: 80px 0;
    background: #f1f5f9;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.about-card h3 {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Join the Conversation section */
.join-conversation-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-align: center;
}

.join-conversation-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white;
}

.join-content {
    max-width: 800px;
    margin: 0 auto;
}

.join-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.join-action {
    margin: 40px 0;
}

.join-btn {
    font-size: 1.1rem;
    padding: 15px 35px;
    background: white;
    color: #2563eb;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: #f8fafc;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.join-description {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-top: 30px;
}

/* Team section */
.team-section {
    padding: 80px 0;
    background: white;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.team-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.member-photo {
    margin-bottom: 20px;
}

.member-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.team-member:hover .member-photo img {
    border-color: #2563eb;
}

.member-info h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.member-name-link {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.member-name-link:hover {
    color: #2563eb;
    text-decoration: none;
}

/* Clickable photo wrapper */
.team-member > a {
    display: block;
    text-decoration: none;
}

.team-member > a:hover {
    text-decoration: none;
}

/* Clickable role and company text */
.member-role-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.member-role-link:hover {
    color: #2563eb;
    text-decoration: none;
}

.member-role-link p {
    transition: color 0.2s ease;
}

.company-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.company-link:hover {
    color: #2563eb;
    text-decoration: none;
}

.thanks-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.thanks-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

.thanks-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.contributors-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.contributors-list li {
    margin: 12px 0;
    padding-left: 20px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contributors-list li:before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.member-title {
    color: #2563eb;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.member-company {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Advisors section */
.advisors-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.advisors-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1e293b;
    font-weight: 600;
}

/* Home Thanks Section */
.home-thanks-section {
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 50%, #fef3f2 100%);
    border-radius: 16px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(37, 99, 235, 0.05);
    position: relative;
    overflow: hidden;
}

.home-thanks-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.home-thanks-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.home-thanks-section h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.home-thanks-section h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    margin: 15px auto 0;
    border-radius: 2px;
}

.home-thanks-section .thanks-content {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
    position: relative;
    z-index: 1;
}

.home-thanks-section .thanks-content > p:first-child {
    margin-bottom: 35px;
    color: #475569;
    font-size: 1.1rem;
}

.home-thanks-section .thanks-contributors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 35px 0;
    position: relative;
    z-index: 1;
}

.home-thanks-section .thanks-company-group {
    background: white;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

.home-thanks-section .thanks-company-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-thanks-section .thanks-company-group:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
}

.home-thanks-section .thanks-company-group:hover::before {
    opacity: 1;
}

.home-thanks-section .thanks-company-group h5 {
    color: #2563eb;
    font-size: 1.25rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e7ff;
    text-align: center;
    font-weight: 600;
}

.home-thanks-section .contributors-list {
    margin: 15px 0 0 0;
    text-align: left;
}

.home-thanks-section .contributors-list li {
    font-size: 0.95rem;
    margin: 10px 0;
    transition: color 0.2s ease;
}

.home-thanks-section .contributors-list li:hover {
    color: #2563eb;
}

.home-thanks-section .thanks-closing {
    text-align: center;
    color: #64748b;
    font-style: italic;
    margin-top: 35px;
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Form styles */
.form-group {
    margin-bottom: 18px;
    position: relative;
    display: block;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    display: block;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

/* Company autocomplete dropdown styling */
.company-autocomplete {
    position: relative;
}

.company-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #2563eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: -2px;
}

.company-option {
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    font-size: 1rem;
    color: #374151;
}

.company-option:hover {
    background-color: #eff6ff;
}

.company-option.selected {
    background-color: #2563eb;
    color: white;
}

.company-option:last-child {
    border-radius: 0 0 6px 6px;
}

/* Show border radius on input when dropdown is open */
.company-autocomplete input:focus {
    border-radius: 8px 8px 0 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 250px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .team-member {
        padding: 25px;
    }
    
    /* Mobile fixes for question analysis cards */
    .question-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .question-breakdown-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
    }
    
    .breakdown-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .breakdown-score {
        width: 100%;
        justify-content: space-between;
    }
    
    .performance-indicator {
        font-size: 0.75rem;
        padding: 2px 4px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
    
    .breakdown-bars {
        display: block !important;
    }
    
    .breakdown-bar {
        display: block !important;
        margin-bottom: 16px;
        width: 100%;
        overflow: hidden;
    }
    
    .breakdown-bar-top {
        display: block !important;
        margin-bottom: 6px;
    }
    
    .breakdown-label {
        display: block;
        font-size: 0.75rem;
        color: #64748b;
        margin-bottom: 4px;
    }
    
    .breakdown-bar-container {
        width: 100%;
        margin-bottom: 4px;
    }
    
    .breakdown-value {
        font-size: 0.7rem;
        white-space: normal;
        line-height: 1.1;
        color: #64748b;
        text-align: left;
        display: block !important;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        word-wrap: break-word;
    }
    
    /* Mobile playbook options */
    .playbook-options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-left: -22px !important;
    }
    
    .playbook-option {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
    }
    
    .option-header {
        text-align: center;
    }
    
    .option-score {
        justify-content: center;
    }
    
    .btn-guidance {
        width: 50%;
        align-self: center;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Home thanks section mobile */
    .home-thanks-section {
        padding: 35px 20px;
        margin-top: 40px;
    }

    .home-thanks-section h3 {
        font-size: 1.6rem;
    }

    .home-thanks-section h3::after {
        width: 60px;
        height: 3px;
    }

    .home-thanks-section .thanks-content > p:first-child {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .home-thanks-section .thanks-contributors {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }

    .home-thanks-section .thanks-company-group {
        padding: 22px;
    }

    .home-thanks-section .thanks-company-group h5 {
        font-size: 1.1rem;
    }

    .home-thanks-section .contributors-list li {
        font-size: 0.9rem;
    }

    .home-thanks-section .thanks-closing {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
}

/* Small screens - fully responsive cards */
@media (max-width: 400px) {
    .container {
        padding: 0;
    }
    
    .detailed-breakdown {
        padding: 0;
        margin: 16px 0;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .detailed-breakdown h4 {
        font-size: clamp(14px, 3.6vw, 18px);
        margin: 0 0 16px 0;
        text-align: center;
    }
    
    .question-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-left: -22px !important;
    }
    
    .question-breakdown-item {
        padding: 12px 12px 12px 1px !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Title row - allow wrapping */
    .breakdown-header {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .breakdown-header h5 {
        font-size: clamp(14px, 3.6vw, 18px);
        margin: 0;
        text-align: left;
        word-break: break-word;
        hyphens: auto;
        white-space: normal;
        line-height: 1.2;
        word-spacing: 999px;
    }
    
    /* Chips row - flexible wrapping */
    .breakdown-score {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        margin: 8px 0;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .user-score-badge,
    .maturity-level-badge {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .performance-indicator {
        flex: 0 0 auto;
        white-space: normal;
        text-align: center;
        line-height: 1.1;
    }
    
    /* Score blocks - complete vertical stack */
    .breakdown-bars {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .breakdown-bar {
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .breakdown-label {
        font-size: clamp(11px, 2.8vw, 14px) !important;
        color: #64748b !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
        font-weight: 500 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .breakdown-bar-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 8px !important;
        background: #e5e7eb !important;
        border-radius: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    .breakdown-bar-fill {
        height: 8px !important;
        border-radius: 4px !important;
        max-width: 100% !important;
    }
    
    .breakdown-value {
        font-size: clamp(11px, 2.8vw, 14px) !important;
        color: #64748b !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        white-space: normal !important;
    }
    
    /* Playbook options extra small */
    .playbook-option {
        padding: 12px 12px 12px 1px !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .option-header h5 {
        font-size: clamp(11px, 2.8vw, 14px);
        word-break: break-word;
        hyphens: auto;
        white-space: normal;
    }
    
    .btn-guidance {
        width: 60%;
        max-width: 60%;
        padding: 8px 12px;
        font-size: clamp(10px, 2.5vw, 12px);
        box-sizing: border-box;
    }
}

/* Survey specific styles */
.survey-form {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 30px 60px 40px 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-height: none;
    overflow: visible;
}

.survey-progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.survey-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Question styles */
.question-header {
    margin-bottom: 25px;
    text-align: center;
}

.question-number {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.question-content {
    margin-bottom: 20px;
}

.question-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.3;
}

.radio-group {
    margin-bottom: 30px;
    display: grid;
    gap: 12px;
}

.radio-option {
    display: block;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.radio-option:hover {
    border-color: #2563eb;
    background-color: #f8fafc;
}

.radio-option input[type="radio"] {
    margin-right: 12px;
    width: auto;
}

.radio-option input[type="radio"]:checked + .radio-text {
    color: #2563eb;
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.radio-text {
    font-size: 1rem;
    line-height: 1.4;
    color: #374151;
}

.form-actions {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.assessment-option {
    text-align: center;
    max-width: 280px;
}

.option-description {
    margin: 12px 0 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
}

.form-actions .btn {
    min-width: 180px;
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Results styles */
.results-content {
    text-align: center;
}

.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.score-details {
    text-align: left;
}

.score-details h4 {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 10px;
}

.benchmark-info {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: left;
}

.benchmark-info h4 {
    color: #1e293b;
    margin-bottom: 15px;
}

.benchmark-info ul {
    margin-left: 20px;
    color: #64748b;
}

.benchmark-info li {
    margin-bottom: 5px;
}

/* Loading and error states */
.loading-content, .error-content {
    text-align: center;
    padding: 40px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-details-section {
    margin: 20px 0;
    text-align: left;
}

.error-details-section details {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px;
    background: #f9fafb;
}

.error-details-section summary {
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    padding: 5px;
}

.error-details {
    margin-top: 10px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #ef4444;
    background: #fef2f2;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #ef4444;
}

.error-details p {
    margin: 5px 0;
    word-break: break-word;
}

.benchmark-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.benchmark-section h5 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.score-raw {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Validation error styles */
.validation-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    display: none;
}

.validation-error-list h4 {
    color: #dc2626;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.validation-error-list ul {
    color: #991b1b;
    margin-left: 20px;
}

.validation-error-list li {
    margin-bottom: 5px;
}

/* Form field error states */
.form-group input.error,
.form-group select.error {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.form-group input.error:focus,
.form-group select.error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Access code validation styles */
.access-code-status {
    margin-top: 8px;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.access-code-status.loading {
    color: #2563eb;
}

.access-code-status.success {
    color: #059669;
}

.access-code-status.error {
    color: #dc2626;
}

.access-code-loading,
.access-code-success,
.access-code-error {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.access-code-loading {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    gap: 8px;
}

.access-code-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.access-code-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.access-code-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.access-code-hint {
    margin-top: 4px;
    color: #6b7280;
    font-size: 0.75rem;
}

.access-code-hint small {
    display: block;
    line-height: 1.3;
}

.request-access-link {
    margin-top: 12px;
    text-align: center;
}

.request-access-link a {
    color: #7c3aed;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.request-access-link a:hover {
    color: #6d28d9;
    text-decoration: underline;
}

/* Access code status enhancements for authenticated sessions */
.access-code-status.access-code-valid {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    color: #059669;
    font-weight: 500;
    margin-top: 8px;
}

.access-code-status .status-icon {
    font-size: 14px;
}

/* Survey form button overrides */
.survey-form .btn-secondary {
    background: transparent;
    color: #64748b;
    border: 2px solid #64748b;
}

.survey-form .btn-secondary:hover {
    background: #64748b;
    color: white;
    border-color: #64748b;
}

/* GDPR Notice */
.gdpr-notice {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.gdpr-notice h4 {
    color: #1e293b;
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 600;
}

.gdpr-notice p {
    margin: 8px 0;
    color: #475569;
}

.privacy-link {
    color: #2563eb;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #1d4ed8;
}

.consent-checkbox {
    margin-top: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    width: auto;
    flex-shrink: 0;
}

.checkmark {
    margin-left: 0;
}

/* Privacy page styles */
.privacy-section {
    padding: 40px 0 80px 0;
    background: white;
}

.privacy-section h1 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.privacy-content h2 {
    color: #2563eb;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 5px;
}

.privacy-content p {
    margin-bottom: 15px;
    color: #374151;
}

.privacy-content ul {
    margin: 15px 0 15px 20px;
    color: #374151;
}

.privacy-content li {
    margin-bottom: 8px;
}

.contact-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-info p {
    margin: 8px 0;
}

/* Test mode indicator */
.test-mode-indicator {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Detailed breakdown section */
.detailed-breakdown {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.detailed-breakdown h4 {
    color: #1e293b;
    margin-bottom: 25px;
    font-size: 1.3rem;
    text-align: center;
}

.question-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.question-breakdown-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.breakdown-header h5 {
    color: #1e293b;
    font-size: 1rem;
    margin: 0;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.breakdown-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.user-score-badge {
    background: #2563eb;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.performance-indicator {
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

.performance-indicator.above-average {
    background: #dcfce7;
    color: #166534;
}

.performance-indicator.below-average {
    background: #fef2f2;
    color: #dc2626;
}

.performance-indicator.at-average {
    background: #f1f5f9;
    color: #475569;
}

.breakdown-bars {
    display: grid;
    gap: 8px;
    padding-left: 15px;
}

.breakdown-bar {
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    align-items: center;
    gap: 10px;
}

.breakdown-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.breakdown-bar-container {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.breakdown-bar-fill.your-score {
    background: #2563eb;
}

.breakdown-bar-fill.company-score {
    background: #059669;
}

.breakdown-bar-fill.industry-score {
    background: #7c3aed;
}

.breakdown-value {
    font-size: 0.75rem;
    color: #374151;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.maturity-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    display: inline-block;
}

.maturity-level-badge {
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Results tabs */
.results-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    margin: 30px 0 20px 0;
    gap: 4px;
}

.tab-button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-button.active {
    background: #2563eb;
    color: white;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.tab-button:hover:not(.active) {
    background: #e2e8f0;
    color: #374151;
}

.tab-content {
    margin-top: 20px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Company comparison styles */
.company-stats {
    background: #f0fdf4;
    border-radius: 8px;
    padding: 20px;
}

.company-question-comparison {
    margin-top: 25px;
}

.company-questions-grid {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.company-question-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
}

.company-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.company-question-header h6 {
    color: #1e293b;
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
    min-width: 200px;
}

.comparison-indicator {
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.comparison-indicator.above-company {
    background: #dcfce7;
    color: #166534;
}

.comparison-indicator.below-company {
    background: #fef2f2;
    color: #dc2626;
}

.comparison-indicator.at-company {
    background: #f1f5f9;
    color: #475569;
}

.company-comparison-bars {
    display: grid;
    gap: 6px;
}

.comparison-bar {
    display: grid;
    grid-template-columns: 60px 1fr 100px;
    align-items: center;
    gap: 10px;
}

.comparison-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.comparison-bar-container {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.comparison-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.comparison-value {
    font-size: 0.8rem;
    color: #374151;
    font-weight: 600;
    text-align: right;
}

.btn-playbook {
    background: #7c3aed;
    color: white;
    border: 2px solid #7c3aed;
}

.btn-playbook:hover {
    background: #6d28d9;
    border-color: #6d28d9;
    transform: translateY(-2px);
}

/* Playbook loading overlay */
#playbook-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.playbook-loading-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
}

.playbook-loading-content h3 {
    color: #1e293b;
    margin: 20px 0 10px 0;
}

.playbook-loading-content p {
    color: #64748b;
    margin-bottom: 15px;
}

.progress-text {
    color: #7c3aed;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hackathon Playbook Styles */
.hackathon-playbook-section {
    padding: 40px 0;
    background: #f8fafc;
    min-height: 100vh;
}

.hackathon-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hackathon-header h2 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.hackathon-subtitle {
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hackathon-toc {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hackathon-toc h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin: 0;
}

.toc-list a {
    display: block;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: 8px;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 4px solid #2563eb;
}

.toc-list a:hover {
    background: #e2e8f0;
    transform: translateX(4px);
}

.hackathon-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hackathon-section {
    padding: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.hackathon-section:last-child {
    border-bottom: none;
}

.hackathon-section h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2563eb;
}

.hackathon-section h3 {
    color: #374151;
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
}

.hackathon-section h4 {
    color: #4b5563;
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
}

.highlight-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.highlight-box h4 {
    color: #1e40af;
    margin-top: 0;
}

.warning-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.warning-box h4 {
    color: #92400e;
    margin-top: 0;
}

.checklist {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.checklist h4 {
    color: #0369a1;
    margin-top: 0;
}

.focus-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.focus-area {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.focus-area h4 {
    color: #1e293b;
    margin-top: 0;
}

.timeline {
    margin: 30px 0;
}

.timeline-item {
    background: #f8fafc;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    position: relative;
}

.timeline-item h3 {
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 15px;
}

.success-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.factor {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #bfdbfe;
}

.factor h4 {
    margin-top: 0;
    color: #1e40af;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.criterion {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.criterion h4 {
    color: #1e293b;
    margin-top: 0;
}

.action-list {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.metric {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.metric h4 {
    color: #1e293b;
    margin-top: 0;
}

.impact-metrics {
    background: #eff6ff;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.impact-metrics h4 {
    color: #1e40af;
    margin-top: 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.tool-category {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.tool-category h4 {
    color: #1e293b;
    margin-top: 0;
}

.pitfalls-list {
    margin: 25px 0;
}

.pitfall {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.pitfall h3 {
    color: #dc2626;
    margin-top: 0;
    margin-bottom: 15px;
}

.pitfall p {
    margin-bottom: 10px;
}

/* Mobile Responsiveness for Hackathon Playbook */
@media (max-width: 768px) {
    .hackathon-header h2 {
        font-size: 2rem;
    }
    
    .hackathon-subtitle {
        font-size: 1rem;
    }
    
    .hackathon-section {
        padding: 25px 20px;
    }
    
    .hackathon-section h2 {
        font-size: 1.6rem;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
    
    .focus-areas,
    .success-factors,
    .criteria-grid,
    .metrics-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles for Hackathon Playbook */
@media print {
    .hackathon-playbook-section {
        background: white;
    }
    
    .hackathon-header,
    .hackathon-toc,
    .hackathon-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .hackathon-section {
        page-break-inside: avoid;
    }
    
    .hackathon-section h2 {
        page-break-after: avoid;
    }
    
    .timeline-item,
    .highlight-box,
    .warning-box,
    .pitfall {
        page-break-inside: avoid;
    }
}

/* Playbook guidance styles */
.playbook-guidance {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.playbook-guidance h4 {
    color: #1e40af;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-align: center;
}

.playbook-guidance p {
    text-align: left;
    color: #1e40af;
    margin-bottom: 25px;
}

.playbook-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.playbook-option {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.option-header {
    flex: 1;
}

.option-header h5 {
    color: #1e293b;
    margin: 0 0 5px 0;
    font-size: 0.95rem;
}

.option-score {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.score-badge {
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

.maturity-tag {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
}

.btn-guidance {
    background: #1e40af;
    color: white;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.btn-guidance:hover {
    background: #1e3a8a;
}

.btn-guidance:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.max-score-message {
    color: #059669;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* Guidance display */
.guidance-display {
    margin: 30px 0;
}

.guidance-content {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.guidance-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.guidance-header h4 {
    color: #1e293b;
    margin: 0;
    font-size: 1.2rem;
    flex: 1;
}

.score-progression {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.current-level, .target-level {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.arrow {
    font-size: 1.2rem;
    color: #64748b;
}

.btn-close {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background: #dc2626;
}

.guidance-sections {
    padding: 20px;
}

.guidance-section {
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.guidance-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.guidance-section h5 {
    color: #2563eb;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.guidance-markdown {
    color: #374151;
    line-height: 1.6;
}

.guidance-markdown h3 {
    color: #1e293b;
    font-size: 1.1rem;
    margin: 15px 0 10px 0;
}

.guidance-markdown h4 {
    color: #374151;
    font-size: 1rem;
    margin: 12px 0 8px 0;
}

.guidance-markdown h5 {
    color: #64748b;
    font-size: 0.9rem;
    margin: 10px 0 5px 0;
}

.guidance-markdown ul {
    margin: 10px 0 10px 20px;
}

.guidance-markdown li {
    margin-bottom: 5px;
}

.guidance-actions {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.guidance-loading, .guidance-error {
    text-align: center;
    padding: 40px;
}

.guidance-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin: 20px 0;
}

/* Question benchmarks display */
.question-benchmarks {
    margin-top: 30px;
}

.question-benchmarks h5 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.questions-grid {
    display: grid;
    gap: 20px;
}

.question-benchmark {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    background: #ffffff;
}

.question-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1rem;
}

.score-bars {
    display: grid;
    gap: 8px;
}

.score-bar {
    display: grid;
    grid-template-columns: 100px 1fr 60px;
    align-items: center;
    gap: 12px;
}

.score-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.bar-container {
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.bar-fill.your-score {
    background: #2563eb;
}

.bar-fill.company-score {
    background: #059669;
}

.bar-fill.industry-score {
    background: #7c3aed;
}

.score-value {
    font-size: 0.85rem;
    color: #374151;
    font-weight: 600;
    text-align: right;
}

/* XL screen optimizations for above-the-fold fit */
@media (min-width: 1440px) {
    .survey-form {
        padding: 25px 60px 35px 60px;
    }
    
    .question-header {
        margin-bottom: 20px;
    }
    
    .question-text {
        font-size: 1.1rem;
        margin-bottom: 20px;
        line-height: 1.25;
    }
    
    .radio-group {
        margin-bottom: 25px;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
    }
    
    .radio-option {
        padding: 12px 16px;
    }
    
    .radio-text {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .form-actions {
        margin-top: 25px;
        gap: 12px;
    }
    
    .form-actions .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    /* Mobile navigation */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        position: relative;
    }
    
    .survey-form {
        max-width: 100%;
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .gdpr-notice {
        padding: 15px;
        margin: 20px 0;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .radio-option {
        padding: 15px 20px;
    }
    
    .radio-text {
        font-size: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 25px;
    }

    .assessment-option {
        max-width: 100%;
    }
    
    .form-actions .btn {
        min-width: auto;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .score-display {
        flex-direction: column;
        text-align: center;
    }
    
    .score-details {
        text-align: center;
    }
}

/* Skunkworks Playbook Styles */
.skunkworks-playbook-section {
    padding: 40px 0;
    background: #f8fafc;
    min-height: 100vh;
}

.playbook-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.playbook-header h2 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.playbook-subtitle {
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.playbook-toc {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.playbook-toc h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.skunkworks-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.skunkworks-section {
    padding: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.skunkworks-section:last-child {
    border-bottom: none;
}

.skunkworks-section h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #059669;
}

.skunkworks-section h3 {
    color: #374151;
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
}

.skunkworks-section h4 {
    color: #4b5563;
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
}

/* Case studies for skunkworks */
.case-study {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #059669;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.case-study h3 {
    color: #065f46;
    margin-top: 0;
}

/* Team roles grid */
.team-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.role {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #059669;
}

.role h4 {
    color: #1e293b;
    margin-top: 0;
}

/* Maturity levels */
.maturity-level {
    background: #fafafa;
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    border-left: 4px solid #059669;
}

.maturity-level h3 {
    color: #065f46;
    margin-top: 0;
}

/* Sprint structure */
.sprint-timeline {
    margin: 30px 0;
}

.sprint-week {
    background: #f8fafc;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #059669;
    position: relative;
}

.sprint-week h3 {
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Metrics grid for skunkworks */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.metric-category {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.metric-category h4 {
    color: #1e293b;
    margin-top: 0;
}

/* MLOps stack */
.mlops-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.mlops-category {
    background: #f0fdf4;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

.mlops-category h4 {
    color: #065f46;
    margin-top: 0;
}

/* Risk mitigation */
.risk-mitigation {
    margin: 25px 0;
}

.challenge {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.challenge h4 {
    color: #92400e;
    margin-top: 0;
}

/* Resistance patterns */
.resistance-patterns {
    margin: 25px 0;
}

.pattern {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.pattern h4 {
    color: #1e40af;
    margin-top: 0;
}

/* Phase timeline */
.phase-timeline {
    margin: 30px 0;
}

.phase-step {
    background: #f0fdf4;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #059669;
    position: relative;
}

.phase-step h4 {
    color: #065f46;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Quick wins and strategic wins */
.quick-wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.quick-win {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.quick-win h4 {
    color: #1e293b;
    margin-top: 0;
}

.strategic-wins {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.strategic-win {
    background: #f0fdf4;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #059669;
}

.strategic-win h4 {
    color: #065f46;
    margin-top: 0;
}

/* Hackathon structure */
.hackathon-structure {
    margin: 25px 0;
}

.structure-phase {
    background: #f8fafc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #059669;
}

.structure-phase h4 {
    color: #1e293b;
    margin-top: 0;
}

/* Next steps grid */
.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.role-steps {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.role-steps h4 {
    color: #1e293b;
    margin-top: 0;
}

/* Conclusion box */
.conclusion-box {
    background: #059669;
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.conclusion-box p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive design for skunkworks */
@media (max-width: 768px) {
    .playbook-header h2 {
        font-size: 2rem;
    }

    .playbook-subtitle {
        font-size: 1rem;
    }

    .skunkworks-section {
        padding: 20px;
    }

    .skunkworks-section h2 {
        font-size: 1.5rem;
    }

    .team-roles,
    .metrics-grid,
    .mlops-stack,
    .quick-wins-grid,
    .strategic-wins,
    .next-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles for Skunkworks Playbook */
@media print {
    .skunkworks-playbook-section {
        background: white;
    }

    .playbook-header,
    .playbook-toc,
    .skunkworks-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .skunkworks-section {
        page-break-inside: avoid;
    }

    .skunkworks-section h2 {
        page-break-after: avoid;
    }

    .case-study,
    .maturity-level,
    .sprint-week,
    .challenge,
    .pattern,
    .phase-step {
        page-break-inside: avoid;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 24px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
}

.disclaimer {
    background: #f8fafc;
    border-left: 4px solid #64748b;
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 0 8px 8px 0;
}

.disclaimer p {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.level-definition {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.level-definition:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.level-title {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-title.emerging {
    color: #dc2626;
}

.level-title.defined {
    color: #ea580c;
}

.level-title.managed {
    color: #059669;
}

.level-title.strategic {
    color: #7c3aed;
}

.level-subtitle {
    margin: 0 0 16px 0;
    font-size: 1rem;
    color: #64748b;
}

.level-definition p {
    margin: 0 0 12px 0;
    line-height: 1.6;
    color: #374151;
}

.level-definition p:last-child {
    margin-bottom: 0;
}

.levels-explained-btn {
    margin-top: 12px;
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: auto;
}

/* Responsive modal styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 16px 20px;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 20px;
        max-height: calc(90vh - 68px);
    }

    .level-title {
        font-size: 1.1rem;
    }
}

/* Tools Matrix Access Section - uses existing assessment styles */

/* Playbook Modal Styles */
.playbook-modal .modal-content {
    max-width: 900px;
    max-height: 90vh;
}

.playbook-modal .modal-body {
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

/* Playbook content styling within modal */
.guidance-content {
    background: white;
    border-radius: 8px;
}

.guidance-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.guidance-header h4 {
    margin: 0;
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: 600;
    flex: 1;
}

.score-progression {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.current-level,
.target-level {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.arrow {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: bold;
}

.guidance-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.guidance-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.guidance-section h5 {
    margin: 0 0 16px 0;
    color: #1e40af;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 8px;
}

.guidance-markdown {
    color: #374151;
    line-height: 1.6;
}

.guidance-markdown h1,
.guidance-markdown h2,
.guidance-markdown h3,
.guidance-markdown h4,
.guidance-markdown h5,
.guidance-markdown h6 {
    color: #1e40af;
    margin: 16px 0 8px 0;
}

.guidance-markdown p {
    margin: 0 0 12px 0;
}

.guidance-markdown ul,
.guidance-markdown ol {
    margin: 0 0 12px 0;
    padding-left: 24px;
}

.guidance-markdown li {
    margin-bottom: 4px;
}

.guidance-markdown strong {
    color: #1e40af;
    font-weight: 600;
}

.guidance-markdown code {
    background: #e2e8f0;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.guidance-loading {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.loading-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive playbook modal styles */
@media (max-width: 768px) {
    .playbook-modal .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .playbook-modal .modal-body {
        max-height: calc(95vh - 68px);
        padding: 16px;
    }

    .guidance-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .score-progression {
        margin-top: 0;
        flex-wrap: wrap;
    }

    .current-level,
    .target-level {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .guidance-section {
        padding: 16px;
    }
}

/* Overall Playbook Section Styles */
.overall-playbook-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    color: white;
}

.overall-score-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.overall-score-info h4 {
    margin: 0 0 16px 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
}

.overall-score-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.overall-score-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.overall-maturity-level {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overall-score-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

.overall-playbook-section .btn-playbook {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.overall-playbook-section .btn-playbook:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Executive Summary Content Styles */
.executive-summary-content {
    color: #374151;
    line-height: 1.6;
}

.executive-summary-content p {
    margin: 0 0 16px 0;
}

.summary-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary-section h3 {
    margin: 0 0 16px 0;
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid #bfdbfe;
    padding-bottom: 8px;
}

.summary-section ul {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.summary-section li {
    margin-bottom: 8px;
}

.summary-section ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

.summary-conclusion {
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.summary-conclusion h3 {
    margin: 0 0 16px 0;
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 600;
}

.summary-conclusion ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.summary-conclusion li {
    margin-bottom: 6px;
    font-weight: 500;
}

.executive-summary-content strong {
    color: #1e40af;
    font-weight: 600;
}

/* Responsive styles for overall playbook section */
@media (max-width: 768px) {
    .overall-score-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .overall-score-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .overall-score-value {
        font-size: 1.75rem;
    }

    .overall-playbook-section .btn-playbook {
        width: 100%;
        justify-self: stretch;
    }

    .summary-section,
    .summary-conclusion {
        padding: 16px;
    }
}
