 html { scroll-behavior: smooth; }
        body { font-family: 'Inter', system-ui, sans-serif; }

        /* Custom animations */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .animate-fade-in-up { animation: fadeInUp 0.6s ease-out; }
        .hover-lift { transition: transform 0.3s ease; }
        .hover-lift:hover { transform: translateY(-5px); }

        /* Custom scrollbar */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: #1a1a1a; }
        ::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: #2563eb; }

        /* Loading animation for images */
        .img-loading { background: linear-gradient(90deg, #111 25%, #222 50%, #111 75%); background-size: 200% 100%; animation: loading 1.5s infinite; }
        @keyframes loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

        /* Table of Contents styles */
        .toc-link {
            transition: all 0.3s ease;
        }

        .toc-link:hover {
            color: #3b82f6;
            padding-left: 8px;
        }

        /* Article content styles */
        .article-content {
            max-width: 100%;
            overflow-x: hidden;
            word-wrap: break-word;
        }

        .article-content h1 {
            font-size: 2rem;
            font-weight: 700;
            margin: 2rem 0 1.5rem 0;
            color: #ffffff;
            line-height: 1.2;
        }

        .article-content h2 {
            font-size: 1.5rem;
            font-weight: 600;
            margin: 2rem 0 1rem 0;
            color: #ffffff;
            line-height: 1.3;
        }

        .article-content h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin: 1.5rem 0 1rem 0;
            color: #ffffff;
            line-height: 1.4;
        }

        .article-content p {
            line-height: 1.7;
            margin-bottom: 1rem;
            color: #d1d5db;
            word-wrap: break-word;
            hyphens: auto;
        }

        .article-content ul, .article-content ol {
            margin: 1rem 0;
            padding-left: 1.5rem;
        }

        .article-content li {
            margin-bottom: 0.75rem;
            color: #d1d5db;
            line-height: 1.6;
        }

        .article-content strong {
            color: #ffffff;
            font-weight: 600;
        }

        /* Prose styles for better readability */
        .prose {
            max-width: none !important;
            word-break: break-word;
        }

        .prose p {
            margin-bottom: 1rem;
            line-height: 1.75;
            color: #d1d5db;
        }

        .prose h1, .prose h2, .prose h3 {
            color: #ffffff;
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 1rem;
        }

        .prose h1 {
            font-size: 2rem;
            line-height: 1.2;
        }

        .prose h2 {
            font-size: 1.5rem;
            line-height: 1.3;
        }

        .prose h3 {
            font-size: 1.25rem;
            line-height: 1.4;
        }

        .prose ol, .prose ul {
            margin: 1rem 0;
            padding-left: 1.5rem;
        }

        .prose li {
            margin-bottom: 0.5rem;
            color: #d1d5db;
            line-height: 1.6;
        }

        .prose strong {
            color: #ffffff;
            font-weight: 600;
        }

        /* FAQ styles */
        .faq-item {
            margin-bottom: 1rem;
        }

        .faq-question {
            cursor: pointer;
            padding: 1rem;
            background: #1f2937;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            background: #374151;
        }

        .faq-answer {
            padding: 1rem;
            background: #111827;
            border-radius: 0 0 0.5rem 0.5rem;
            margin-top: -0.25rem;
        }

        /* Expandable content section styles */
        .expandable-section {
            background: #1f2937;
            border-radius: 0.5rem;
            margin-bottom: 2rem;
        }

        .expandable-header {
            padding: 1.5rem;
            cursor: pointer;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
        }

        .expandable-header:hover {
            background: #374151;
        }

        .expandable-content {
            padding: 0 1.5rem 1.5rem 1.5rem;
        }

        /* Table of Contents nested structure */
        .toc-section {
            margin-bottom: 1.5rem;
        }

        .toc-main-title {
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
        }

        .toc-subtitles {
            margin-left: 1rem;
        }

        .toc-subtitles li {
            margin-bottom: 0.5rem;
        }

        .toc-subtitles a {
            color: #9ca3af;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .toc-subtitles a:hover {
            color: #60a5fa;
        }

        /* Sources styles */
        .sources-content ol {
            list-style-type: decimal;
            padding-left: 1.5rem;
        }

        .sources-content li {
            margin-bottom: 0.75rem;
            color: #d1d5db;
            line-height: 1.5;
        }

        .sources-content a {
            color: #60a5fa;
            text-decoration: underline;
        }

        .sources-content a:hover {
            color: #93c5fd;
        }

        /* Navigation buttons */
        .nav-button {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 1.5rem;
            background: #1f2937;
            border-radius: 0.75rem;
            transition: all 0.3s ease;
            border: 1px solid #374151;
        }

        .nav-button:hover {
            background: #374151;
            border-color: #4b5563;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .article-content h1 {
                font-size: 1.75rem;
            }

            .article-content h2 {
                font-size: 1.375rem;
            }

            .article-content h3 {
                font-size: 1.125rem;
            }

            .prose h1 {
                font-size: 1.75rem;
            }

            .prose h2 {
                font-size: 1.375rem;
            }

            .prose h3 {
                font-size: 1.125rem;
            }
        }