/* Research Page Specific Styles */
.research-container {
    padding: 3rem 0 6rem;
}

.research-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
    width: 100%;
}

/* Report Content Styles */
.report-content {
    padding: 4rem 4.5rem;
    box-shadow: var(--glass-shadow);
}

.report-header {
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2.5rem;
}

.report-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.report-title {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    letter-spacing: -1.2px;
}

.report-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.report-company-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.company-logo {
    font-size: 2.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.company-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
}

.price-info {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
}

.current-price {
    font-weight: 700;
    color: var(--text-primary);
}

.price-change.positive {
    color: #34d399; /* Emerald 400 */
    font-size: 1rem;
    margin-left: 0.5rem;
}

.price-change.negative {
    color: #f87171; /* Red 400 */
    font-size: 1rem;
    margin-left: 0.5rem;
}

/* Report Body Typography */
.report-body {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.9);
}

.report-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 120px; /* For smooth scrolling offset */
}

.report-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-left: 5px solid var(--accent-color);
    padding-left: 1.2rem;
    letter-spacing: -0.5px;
}

.report-section p {
    margin-bottom: 1.8rem;
}

.report-section ul {
    margin-bottom: 1.8rem;
    padding-left: 1.5rem;
    list-style-type: none;
}

.report-section ul li {
    position: relative;
    margin-bottom: 0.8rem;
}

.report-section ul li::before {
    content: "•";
    color: var(--accent-color-light);
    position: absolute;
    left: -1.4rem;
    font-size: 1.3rem;
    line-height: 1.85;
}

.report-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

blockquote {
    border-left: 4px solid var(--accent-color-light);
    padding: 1.8rem 2.5rem;
    margin: 2.5rem 0;
    background: rgba(125, 42, 232, 0.05);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.7;
}

.chart-placeholder {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    border-radius: 16px;
}

.investment-summary {
    padding: 2.5rem;
    text-align: center;
    background: rgba(125, 42, 232, 0.1);
    border: 1px solid rgba(125, 42, 232, 0.3);
    margin-top: 3rem;
}

.investment-summary h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

/* TOC Sidebar Styles */
.report-toc-sidebar {
    position: sticky;
    top: 120px;
    height: auto;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

/* Hide scrollbar for clean look but allow scrolling if needed */
.report-toc-sidebar::-webkit-scrollbar {
    width: 4px;
}
.report-toc-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.toc {
    padding: 2.5rem 2rem;
}

.toc h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    letter-spacing: -0.5px;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.toc-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.5;
    padding-left: 0.8rem;
    border-left: 2px solid transparent;
}

.toc-link:hover {
    color: var(--text-primary);
    transform: translateX(4px);
    border-left: 2px solid rgba(125, 42, 232, 0.5);
}

.toc-link.active {
    color: #ffffff;
    border-left: 2px solid var(--accent-color-light);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(179, 122, 240, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .report-content {
        padding: 3rem;
    }
}

@media (max-width: 1024px) {
    .research-grid {
        grid-template-columns: 1fr 280px;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .report-toc-sidebar {
        display: none; /* Hide TOC on mobile for now */
    }
    
    .report-content {
        padding: 2rem 1.5rem;
    }
    
    .report-title {
        font-size: 2.2rem;
    }
    
    .report-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
