body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #1a202c;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: #4a5568;
    max-width: 48rem;
    margin: 0 auto 3rem auto;
}

.nav-link {
    transition: all 0.3s ease;
    color: #4a5568;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: #4c1d95;
    border-bottom-color: #4c1d95;
}

.card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #4c1d95;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #372c5a;
}

.btn-light {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #4c1d95; /* violet-900 */
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.btn-light:hover {
    background-color: #f3f4f6; /* gray-100 */
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    height: 400px;
    max-height: 50vh;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #d1d5db; /* gray-300 */
}

.toggle-btn.active {
    background-color: #4c1d95; /* violet-900 */
    color: white;
    border-color: #4c1d95;
}

.toggle-btn:not(.active) {
    background-color: white;
    color: #374151; /* gray-700 */
}

.toggle-btn:first-child {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.toggle-btn:last-child {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* === FOOTNOTE AND CITATION STYLES (ADD THIS) === */

.citation-link {
    display: inline-block;
    margin-left: 2px;
    font-size: 0.75em;
    font-weight: 600;
    color: #4c1d95; /* violet-900 */
    text-decoration: none;
    vertical-align: super;
    line-height: 1;
    padding: 1px 4px;
    border-radius: 4px;
    background-color: rgba(124, 58, 237, 0.1);
    transition: all 0.2s ease;
}

.citation-link:hover {
    background-color: #4c1d95;
    color: white;
}

.footnotes-section {
    padding: 3rem 1rem;
    background-color: #f8f9fa; /* gray-50 */
    border-top: 1px solid #e5e7eb; /* gray-200 */
    margin-top: 2rem;
}

.footnotes-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c; /* gray-900 */
    text-align: center;
    margin-bottom: 2rem;
}

.footnotes-list {
    max-width: 4xl; /* 896px */
    margin: 0 auto;
    list-style-type: decimal;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    color: #4a5568; /* gray-600 */
}

.footnotes-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footnotes-list li:target {
    background-color: rgba(233, 219, 255, 0.7); /* A light violet highlight */
    padding: 0.5rem;
    border-radius: 0.25rem;
}
/* === MEDIA PLAYER STYLES === */
.media-player-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}
/* === MEDIA GRID STYLES === */
.media-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .media-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.media-card {
    background-color: #f9fafb; /* gray-50 */
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
