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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Header Styles */
.header {
    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 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

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

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Document Links */
.document-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.doc-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.doc-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.doc-icon {
    font-size: 1.2rem;
}

.doc-text {
    font-size: 0.9rem;
}

.pdf-btn:hover {
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.docx-btn:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
    background: #fff;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tab Section */
.tab-section {
    padding: 4rem 0;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

.tab-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

.content-header {
    text-align: center;
    margin-bottom: 3rem;
}

.content-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.content-intro {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.summary-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.summary-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

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

/* Key Insights */
.key-insights {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

.key-insights h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.insights-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.insight-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.insight-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Placeholder Content */
.placeholder-content {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.placeholder-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-list {
    list-style: none;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Recommendations Preview */
.recommendations-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rec-category {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: left;
}

.rec-category h4 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-weight: 600;
}

.rec-category ul {
    list-style: none;
}

.rec-category li {
    padding: 0.25rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1rem;
}

.rec-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
}

/* Framework Stages */
.framework-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stage {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: left;
    border-left: 4px solid #2563eb;
}

.stage h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stage p {
    color: #64748b;
    font-size: 0.875rem;
}

/* Evidence Review Styles */
.evidence-overview {
    margin-bottom: 3rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card .stat-label {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
}

.studies-filter {
    margin-bottom: 2rem;
    text-align: center;
}

.studies-filter h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

.filter-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.study-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.study-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.study-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.study-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.study-type.correlational {
    background: #dbeafe;
    color: #1e40af;
}

.study-type.causal {
    background: #dcfce7;
    color: #166534;
}

.study-type.meta-analysis {
    background: #fef3c7;
    color: #92400e;
}

.study-type.longitudinal {
    background: #f3e8ff;
    color: #7c3aed;
}

.study-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.study-authors {
    color: #64748b;
    font-weight: 500;
    font-style: italic;
}

.study-details {
    padding: 0 1.5rem 1rem;
}

.study-details > div {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.study-details strong {
    color: #374151;
    font-weight: 600;
}

.study-findings {
    padding: 0 1.5rem 1rem;
}

.study-findings h5 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.study-findings p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
}

.study-links {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.source-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.source-link:hover {
    background: #1d4ed8;
}

.evidence-summary {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 0.75rem;
    margin-top: 3rem;
}

.evidence-summary h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.synthesis-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.synthesis-section h4 {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.synthesis-section p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Bibliography Styles */
.bibliography-content {
    max-width: 900px;
    margin: 0 auto;
}

.bibliography-intro {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border-left: 4px solid #2563eb;
}

.bibliography-intro p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.bibliography-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bib-entry {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bib-entry:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.bib-citation {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.bib-citation em {
    font-style: italic;
    color: #1f2937;
}

.bib-link {
    text-align: right;
}

.bib-link a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .bib-link a:hover {
        background: #1d4ed8;
    }

/* Strategic Recommendations Styles */
.recommendations-intro {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border-left: 4px solid #10b981;
}

.recommendations-intro p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.recommendations-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.rec-section {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.rec-section-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 1.5rem;
}

.rec-section-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.rec-items {
    padding: 0;
}

.rec-item {
    display: flex;
    padding: 2rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.3s ease;
}

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

.rec-item:hover {
    background-color: #f8fafc;
}

.rec-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 1.5rem;
    margin-top: 0.25rem;
}

.rec-content {
    flex: 1;
}

.rec-content h4 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.rec-content > p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rec-details {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 0.5rem;
    border-left: 3px solid #10b981;
}

.rec-details p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.rec-details p:last-child {
    margin-bottom: 0;
}

.rec-details strong {
    color: #1e293b;
    font-weight: 600;
}

.rec-details ul {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
}

.rec-details li {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.recommendations-conclusion {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
    text-align: center;
}

.recommendations-conclusion h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.recommendations-conclusion p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.95;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}/* Bibliography Stats - keeping for backward compatibility */
.bibliography-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 0.25rem 0;
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .document-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .doc-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .tab-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .insights-content {
        grid-template-columns: 1fr;
    }
    
    .recommendations-preview {
        grid-template-columns: 1fr;
    }
    
    .framework-stages {
        grid-template-columns: 1fr;
    }
    
    .bibliography-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .studies-grid {
        grid-template-columns: 1fr;
    }
    
    .synthesis-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .content-header h2 {
        font-size: 2rem;
    }
    
    .key-insights {
        padding: 2rem 1.5rem;
    }
    
    .placeholder-content {
        padding: 3rem 1.5rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .bibliography-intro {
        padding: 1.25rem;
    }
    
    .bib-entry {
        padding: 1.25rem;
    }
    
    .bib-link {
        text-align: center;
        margin-top: 1rem;
    }
    
    .bib-link a {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .recommendations-intro {
        padding: 1.25rem;
    }
    
    .rec-section-header {
        padding: 1.25rem;
    }
    
    .rec-item {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .rec-number {
        align-self: flex-start;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .rec-details {
        padding: 1rem;
    }
    
    .recommendations-conclusion {
        padding: 1.5rem;
        text-align: left;
    }
    
    .recommendations-conclusion h3 {
        font-size: 1.5rem;
    }
    
    .recommendations-conclusion p {
        font-size: 1rem;
    }
}