:root {
            --primary-color: #3b82f6;
            --secondary-color: #1e40af;
            --accent-color: #60a5fa;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --light-color: #ffffff;
            --dark-color: #0f172a;
            --text-color: #ffffff;
            --text-light: #94a3b8;
            --border-color: rgba(255, 255, 255, 0.1);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
            
            /* Blog Post Specific Variables */
            --blog-bg: linear-gradient(135deg, #0a0f1c 0%, #1a1f3a 25%, #2a2f5a 50%, #1a1f3a 75%, #0a0f1c 100%);
            --blog-glass: rgba(30, 58, 138, 0.08);
            --blog-glass-hover: rgba(30, 58, 138, 0.12);
            --blog-border: rgba(59, 130, 246, 0.2);
            --blog-border-hover: rgba(59, 130, 246, 0.3);
            --blog-shadow: 0 12px 40px rgba(15, 23, 42, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            --blog-shadow-hover: 0 16px 50px rgba(15, 23, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
            --blog-text: #f8fafc;
            --blog-text-muted: #bfdbfe;
            --blog-heading-gradient: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa, #93c5fd);
            --blog-code-bg: rgba(15, 23, 42, 0.5);
            --blog-quote-border: #3b82f6;
            --blog-quote-bg: rgba(59, 130, 246, 0.1);
            --blog-link-color: #60a5fa;
            --blog-link-hover: #93c5fd;
            --blog-btn-gradient: linear-gradient(135deg, #1e40af, #3b82f6);
            --blog-btn-gradient-hover: linear-gradient(135deg, #2563eb, #1d4ed8);
            --blog-toc-active: #3b82f6;
        }

        body {
            background: var(--blog-bg);
            color: var(--blog-text);
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Blog Post Container */
        .blog-post-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 120px 20px 80px;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            position: relative;
        }

        /* Back to Blog Button */
        .back-to-blog {
            position: fixed;
            top: 80px;
            left: 20px;
            z-index: 100;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 16px;
            background: var(--blog-glass);
            backdrop-filter: blur(20px);
            border: 1px solid var(--blog-border);
            border-radius: 30px;
            color: var(--blog-text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
        }

        .back-to-blog:hover {
            background: var(--blog-glass-hover);
            border-color: var(--blog-border-hover);
            transform: translateY(-2px);
            color: var(--blog-link-hover);
            box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
        }

        /* Main Content Area */
        .blog-content {
            background: var(--blog-glass);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            border: 1px solid var(--blog-border);
            box-shadow: var(--blog-shadow);
            padding: 40px;
            transition: var(--transition);
        }

        .blog-content:hover {
            background: var(--blog-glass-hover);
            border-color: var(--blog-border-hover);
            box-shadow: var(--blog-shadow-hover);
        }

        /* Blog Header */
        .blog-header {
            margin-bottom: 30px;
        }

        .blog-category {
            display: inline-block;
            padding: 6px 12px;
            background: rgba(59, 130, 246, 0.2);
            border: 1px solid rgba(59, 130, 246, 0.3);
            border-radius: 20px;
            color: var(--accent-color);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .blog-title {
            font-family: 'Poppins', sans-serif;
            font-size: clamp(2rem, 4vw, 2.8rem);
            font-weight: 800;
            background: var(--blog-heading-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 16px;
            line-height: 1.2;
        }

        .blog-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 24px;
            font-size: 0.9rem;
            color: var(--blog-text-muted);
        }

        .blog-meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .blog-meta-item svg {
            width: 18px;
            height: 18px;
            opacity: 0.8;
        }

        /* Featured Image */
        .blog-featured-image {
            margin-bottom: 30px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            position: relative;
        }

        .blog-featured-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }

        .blog-featured-image:hover img {
            transform: scale(1.02);
        }

        /* Blog Content Typography */
        .blog-content-body {
            color: var(--blog-text-muted);
            font-size: 1.05rem;
            line-height: 1.8;
        }

        .blog-content-body p {
            margin-bottom: 1.5rem;
        }

        .blog-content-body h2 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--blog-text);
            margin: 2.5rem 0 1rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .blog-content-body h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px;
        }

        .blog-content-body h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--blog-text);
            margin: 2rem 0 1rem;
        }

        .blog-content-body h4 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--blog-text);
            margin: 1.5rem 0 1rem;
        }

        .blog-content-body ul, 
        .blog-content-body ol {
            margin: 0 0 1.5rem 1.5rem;
        }

        .blog-content-body li {
            margin-bottom: 0.5rem;
        }

        .blog-content-body a {
            color: var(--blog-link-color);
            text-decoration: none;
            border-bottom: 1px dotted rgba(96, 165, 250, 0.5);
            transition: var(--transition);
        }

        .blog-content-body a:hover {
            color: var(--blog-link-hover);
            border-bottom-color: var(--blog-link-hover);
        }

        /* Code Block Styling */
        .code-block {
            background: var(--blog-code-bg);
            border-radius: 8px;
            padding: 20px;
            margin: 1.5rem 0;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.9rem;
            line-height: 1.5;
            overflow-x: auto;
            position: relative;
        }

        .code-block code {
            color: #e2e8f0;
        }

        .code-language {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(59, 130, 246, 0.3);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            color: var(--blog-text);
        }

        .copy-button {
            position: absolute;
            top: 10px;
            right: 70px;
            background: rgba(59, 130, 246, 0.2);
            border: none;
            color: var(--blog-text);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .copy-button:hover {
            background: rgba(59, 130, 246, 0.4);
        }

        .copy-button svg {
            width: 14px;
            height: 14px;
        }

        /* Inline Code */
        .blog-content-body code:not(.code-block code) {
            font-family: 'JetBrains Mono', monospace;
            background: rgba(59, 130, 246, 0.1);
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 0.9em;
            color: var(--accent-color);
        }

        /* Blockquote */
        .blog-content-body blockquote {
            border-left: 4px solid var(--blog-quote-border);
            background: var(--blog-quote-bg);
            padding: 20px;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
            font-style: italic;
        }

        .blog-content-body blockquote p {
            margin-bottom: 0;
        }

        /* Table of Contents */
        .table-of-contents {
            position: sticky;
            top: 100px;
            background: var(--blog-glass);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            border: 1px solid var(--blog-border);
            box-shadow: var(--blog-shadow);
            padding: 25px;
            transition: var(--transition);
            max-height: calc(100vh - 150px);
            overflow-y: auto;
        }

        .table-of-contents:hover {
            background: var(--blog-glass-hover);
            border-color: var(--blog-border-hover);
            box-shadow: var(--blog-shadow-hover);
        }

        .toc-title {
            font-family: 'Poppins', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--blog-text);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .toc-item {
            margin-bottom: 12px;
            position: relative;
        }

        .toc-link {
            color: var(--blog-text-muted);
            text-decoration: none;
            font-size: 0.95rem;
            transition: var(--transition);
            display: block;
            padding: 6px 10px;
            border-radius: 6px;
            border-left: 2px solid transparent;
        }

        .toc-link:hover {
            color: var(--blog-link-hover);
            background: rgba(59, 130, 246, 0.1);
            border-left-color: var(--blog-link-hover);
        }

        .toc-link.active {
            color: var(--blog-link-hover);
            background: rgba(59, 130, 246, 0.1);
            border-left-color: var(--blog-toc-active);
            font-weight: 500;
        }

        .toc-sublist {
            list-style: none;
            padding-left: 15px;
            margin: 8px 0 0 0;
        }

        .toc-subitem {
            margin-bottom: 8px;
        }

        /* Custom Scrollbar for TOC */
        .table-of-contents::-webkit-scrollbar {
            width: 6px;
        }

        .table-of-contents::-webkit-scrollbar-track {
            background: rgba(15, 23, 42, 0.3);
            border-radius: 10px;
        }

        .table-of-contents::-webkit-scrollbar-thumb {
            background: rgba(59, 130, 246, 0.5);
            border-radius: 10px;
        }

        .table-of-contents::-webkit-scrollbar-thumb:hover {
            background: rgba(59, 130, 246, 0.7);
        }

        /* Mobile TOC Toggle */
        .toc-toggle {
            display: none;
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: var(--blog-btn-gradient);
            border-radius: 50%;
            color: white;
            border: none;
            cursor: pointer;
            z-index: 100;
            box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
            transition: var(--transition);
        }

        .toc-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4);
        }

        .toc-toggle svg {
            width: 24px;
            height: 24px;
        }

        /* Author Section */
        .author-section {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid var(--blog-border);
            display: flex;
            gap: 20px;
        }

        .author-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-info {
            flex: 1;
        }

        .author-name {
            font-family: 'Poppins', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--blog-text);
            margin-bottom: 8px;
        }

        .author-bio {
            color: var(--blog-text-muted);
            font-size: 0.95rem;
            margin-bottom: 12px;
        }

        .author-social {
            display: flex;
            gap: 12px;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: rgba(59, 130, 246, 0.1);
            border-radius: 50%;
            color: var(--blog-link-color);
            transition: var(--transition);
        }

        .social-link:hover {
            background: rgba(59, 130, 246, 0.2);
            color: var(--blog-link-hover);
            transform: translateY(-2px);
        }

        .social-link svg {
            width: 18px;
            height: 18px;
        }

        /* Related Posts */
        .related-posts {
            margin-top: 50px;
        }

        .related-posts-title {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--blog-text);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .related-posts-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px;
        }

        .related-posts-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .related-post {
            background: rgba(30, 58, 138, 0.05);
            border: 1px solid var(--blog-border);
            border-radius: 12px;
            overflow: hidden;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }

        .related-post:hover {
            background: rgba(30, 58, 138, 0.1);
            border-color: var(--blog-border-hover);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
        }

        .related-post-image {
            height: 140px;
            overflow: hidden;
        }

        .related-post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .related-post:hover .related-post-image img {
            transform: scale(1.05);
        }

        .related-post-content {
            padding: 16px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .related-post-title {
            font-family: 'Poppins', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--blog-text);
            margin-bottom: 8px;
            line-height: 1.4;
            transition: var(--transition);
        }

        .related-post:hover .related-post-title {
            color: var(--blog-link-color);
        }

        .related-post-meta {
            font-size: 0.8rem;
            color: var(--blog-text-muted);
            margin-top: auto;
        }

        /* Comments Section */
        .comments-section {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid var(--blog-border);
        }

        .comments-title {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--blog-text);
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 10px;
        }

        .comments-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px;
        }

        .comment {
            background: rgba(30, 58, 138, 0.05);
            border: 1px solid var(--blog-border);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            transition: var(--transition);
        }

        .comment:hover {
            background: rgba(30, 58, 138, 0.1);
            border-color: var(--blog-border-hover);
            box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2);
        }

        .comment-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }

        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
        }

        .comment-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .comment-author {
            font-weight: 600;
            color: var(--blog-text);
        }

        .comment-date {
            font-size: 0.85rem;
            color: var(--blog-text-muted);
        }

        .comment-body {
            color: var(--blog-text-muted);
            font-size: 0.95rem;
        }

        .comment-reply {
            margin-top: 12px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--blog-link-color);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }

        .comment-reply:hover {
            color: var(--blog-link-hover);
        }

        .comment-reply svg {
            width: 16px;
            height: 16px;
        }

        /* Comment Form */
        .comment-form {
            margin-top: 30px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--blog-text);
        }

        .form-control {
            width: 100%;
            padding: 12px 16px;
            background: rgba(30, 58, 138, 0.1);
            border: 1px solid var(--blog-border);
            border-radius: 8px;
            color: var(--blog-text);
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            background: rgba(30, 58, 138, 0.15);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
        }

        .form-control::placeholder {
            color: rgba(219, 234, 254, 0.5);
        }

        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }

        .submit-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: var(--blog-btn-gradient);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .submit-btn:hover {
            background: var(--blog-btn-gradient-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
        }

        .submit-btn svg {
            width: 18px;
            height: 18px;
        }

        /* Call to Action */
        .cta-section {
            margin-top: 50px;
            background: var(--blog-glass);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            border: 1px solid var(--blog-border);
            box-shadow: var(--blog-shadow);
            padding: 30px;
            text-align: center;
            transition: var(--transition);
        }

        .cta-section:hover {
            background: var(--blog-glass-hover);
            border-color: var(--blog-border-hover);
            box-shadow: var(--blog-shadow-hover);
            transform: translateY(-5px);
        }

        .cta-title {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--blog-text);
            margin-bottom: 16px;
        }

        .cta-description {
            color: var(--blog-text-muted);
            margin-bottom: 24px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            background: var(--blog-btn-gradient);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            transition: var(--transition);
        }

        .cta-btn:hover {
            background: var(--blog-btn-gradient-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
        }

        .cta-btn svg {
            width: 18px;
            height: 18px;
            transition: transform 0.3s ease;
        }

        .cta-btn:hover svg {
            transform: translateX(3px);
        }

        /* Mobile Styles */
        @media (max-width: 991px) {
            .blog-post-container {
                grid-template-columns: 1fr;
                padding: 100px 20px 60px;
            }

            .table-of-contents {
                display: none;
                position: fixed;
                top: auto;
                bottom: 80px;
                right: 20px;
                left: 20px;
                z-index: 100;
                max-height: 60vh;
            }

            .table-of-contents.active {
                display: block;
                animation: fadeIn 0.3s ease forwards;
            }

            @keyframes fadeIn {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .toc-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .blog-content {
                padding: 30px;
            }

            .related-posts-grid {
                grid-template-columns: 1fr;
            }

            .back-to-blog {
                top: 20px;
                left: 20px;
            }
        }

        @media (max-width: 767px) {
            .blog-post-container {
                padding: 80px 15px 50px;
            }

            .blog-content {
                padding: 25px;
            }

            .blog-title {
                font-size: clamp(1.8rem, 3vw, 2.5rem);
            }

            .blog-meta {
                gap: 15px;
                font-size: 0.85rem;
            }

            .blog-content-body {
                font-size: 1rem;
            }

            .blog-content-body h2 {
                font-size: 1.6rem;
            }

            .blog-content-body h3 {
                font-size: 1.3rem;
            }

            .blog-content-body h4 {
                font-size: 1.1rem;
            }

            .author-section {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .author-social {
                justify-content: center;
            }

            .back-to-blog {
                padding: 8px 12px;
                font-size: 0.8rem;
            }

            .back-to-blog svg {
                width: 16px;
                height: 16px;
            }
        }

        @media (max-width: 575px) {
            .blog-post-container {
                padding: 70px 12px 40px;
            }

            .blog-content {
                padding: 20px;
            }

            .blog-title {
                font-size: clamp(1.5rem, 3vw, 2rem);
            }

            .blog-meta {
                flex-direction: column;
                gap: 10px;
            }

            .code-block {
                padding: 15px;
                font-size: 0.8rem;
            }

            .code-language {
                top: 5px;
                right: 5px;
            }

            .copy-button {
                top: 5px;
                right: 60px;
            }

            .comment-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
        }

        /* Large screens */
        @media (min-width: 1400px) {
            .blog-post-container {
                max-width: 1400px;
                grid-template-columns: 1fr 350px;
                gap: 60px;
            }

            .blog-content {
                padding: 50px;
            }

            .table-of-contents {
                padding: 30px;
            }
        }

        /* Print styles */
        @media print {
            .blog-post-container {
                display: block;
                padding: 20px;
            }

            .table-of-contents,
            .back-to-blog,
            .toc-toggle {
                display: none !important;
            }

            .blog-content {
                background: none;
                border: none;
                box-shadow: none;
                padding: 0;
            }

            .blog-title {
                color: black;
                background: none;
                -webkit-text-fill-color: black;
            }

            .blog-content-body {
                color: black;
            }

            .blog-content-body h2,
            .blog-content-body h3,
            .blog-content-body h4 {
                color: black;
            }

            .blog-content-body a {
                color: black;
                text-decoration: underline;
                border-bottom: none;
            }

            .code-block {
                border: 1px solid #ddd;
                background: #f5f5f5;
            }

            .code-block code {
                color: black;
            }

            .copy-button,
            .code-language {
                display: none;
            }

            .author-section,
            .related-posts,
            .comments-section,
            .cta-section {
                display: none;
            }
        }