.blog-page{min-height:100vh;background:hsl(222 47% 7%);color:hsl(210 40% 96%);font-family:'Inter',system-ui,-apple-system,sans-serif}

.blog-header{border-bottom:1px solid rgba(255,255,255,0.05);background:rgba(15,10,30,0.8);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);position:sticky;top:0;z-index:50}
.blog-header-inner{max-width:1280px;margin:0 auto;padding:0 1rem;height:3.5rem;display:flex;align-items:center;justify-content:space-between}
.blog-logo{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:inherit;font-weight:700;font-size:.875rem}
.blog-logo svg{width:1.25rem;height:1.25rem;color:#a78bfa}
.blog-nav-link{font-size:.8125rem;color:rgba(255,255,255,0.5);text-decoration:none;transition:color .2s}
.blog-nav-link:hover{color:rgba(255,255,255,0.9)}

.blog-hero{padding:4rem 1rem 2rem;text-align:center;position:relative;overflow:hidden}
.blog-hero::before{content:'';position:absolute;top:-200px;left:50%;transform:translateX(-50%);width:600px;height:600px;background:radial-gradient(circle,rgba(139,92,246,0.08) 0%,transparent 70%);pointer-events:none}
.blog-hero h1{font-size:2.5rem;font-weight:800;margin-bottom:.75rem;background:linear-gradient(135deg,#fff 0%,rgba(255,255,255,0.7) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;position:relative}
.blog-hero p{color:rgba(255,255,255,0.5);font-size:1rem;max-width:600px;margin:0 auto;position:relative}

.blog-grid-container{max-width:1280px;margin:0 auto;padding:2rem 1rem 4rem}
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1.5rem}

.blog-card{background:none;border:1px solid rgba(255,255,255,0.06);border-radius:1rem;overflow:hidden;transition:all .3s ease;text-decoration:none;color:inherit;display:flex;flex-direction:column}
.blog-card:hover{border-color:rgba(139,92,246,0.3);transform:translateY(-4px);box-shadow:0 8px 30px rgba(139,92,246,0.1)}
.blog-card-image{width:100%;height:200px;object-fit:cover;background:rgba(255,255,255,0.02)}
.blog-card-image-placeholder{width:100%;height:200px;background:linear-gradient(135deg,rgba(139,92,246,0.1),rgba(168,85,247,0.05));display:flex;align-items:center;justify-content:center}
.blog-card-image-placeholder svg{width:3rem;height:3rem;color:rgba(139,92,246,0.3)}
.blog-card-body{padding:1.25rem;flex:1;display:flex;flex-direction:column}
.blog-card-meta{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;font-size:.75rem;color:rgba(255,255,255,0.35)}
.blog-card-meta svg{width:.875rem;height:.875rem}
.blog-card-title{font-size:1.125rem;font-weight:700;line-height:1.4;margin-bottom:.5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.blog-card-excerpt{font-size:.875rem;color:rgba(255,255,255,0.5);line-height:1.6;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.blog-card-readmore{display:inline-flex;align-items:center;gap:.375rem;margin-top:1rem;font-size:.8125rem;font-weight:600;color:#a78bfa;transition:color .2s}
.blog-card-readmore svg{width:.875rem;height:.875rem;transition:transform .2s}
.blog-card:hover .blog-card-readmore svg{transform:translateX(4px)}

.blog-pagination{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:3rem 1rem}
.blog-pagination a,.blog-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:2.25rem;height:2.25rem;padding:0 .75rem;border-radius:.5rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .2s}
.blog-pagination a{color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.06)}
.blog-pagination a:hover{background:rgba(139,92,246,0.15);border-color:rgba(139,92,246,0.3);color:#fff}
.blog-pagination .active{background:rgba(139,92,246,0.2);border:1px solid rgba(139,92,246,0.4);color:#fff;pointer-events:none}
.blog-pagination .disabled{opacity:.3;pointer-events:none}

.article-page{min-height:100vh;background:hsl(222 47% 7%);color:hsl(210 40% 96%);font-family:'Inter',system-ui,-apple-system,sans-serif}

.article-hero{position:relative;padding:3rem 1rem 2rem;max-width:800px;margin:0 auto}
.article-breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:rgba(255,255,255,0.35);margin-bottom:1.5rem;flex-wrap:wrap}
.article-breadcrumb a{color:rgba(255,255,255,0.5);text-decoration:none;transition:color .2s}
.article-breadcrumb a:hover{color:#a78bfa}
.article-breadcrumb svg{width:.75rem;height:.75rem}
.article-title{font-size:2rem;font-weight:800;line-height:1.3;margin-bottom:1rem;background:linear-gradient(135deg,#fff 0%,rgba(255,255,255,0.8) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.article-meta-bar{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;font-size:.8125rem;color:rgba(255,255,255,0.4);margin-bottom:1.5rem}
.article-meta-bar svg{width:.875rem;height:.875rem}
.article-meta-item{display:flex;align-items:center;gap:.375rem}
.article-featured-img{width:100%;border-radius:.75rem;margin-bottom:2rem;max-height:450px;object-fit:cover}

.article-layout{max-width:1100px;margin:0 auto;padding:0 1rem 4rem;display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:1024px){.article-layout{grid-template-columns:240px 1fr}}

.article-toc{position:sticky;top:5rem;align-self:start;max-height:calc(100vh - 6rem);overflow-y:auto;display:none}
@media(min-width:1024px){.article-toc{display:block}}
.article-toc-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:rgba(255,255,255,0.3);margin-bottom:.75rem}
.article-toc-list{list-style:none;padding:0;margin:0;border-left:2px solid rgba(255,255,255,0.06)}
.article-toc-item{padding:.375rem 0 .375rem .875rem;font-size:.8125rem;line-height:1.4}
.article-toc-item a{color:rgba(255,255,255,0.45);text-decoration:none;transition:color .2s}
.article-toc-item a:hover{color:#a78bfa}
.article-toc-item.level-3{padding-left:1.5rem;font-size:.75rem}
.article-toc-item.level-4{padding-left:2.25rem;font-size:.75rem}

.article-content{max-width:720px;background:transparent;padding:0}
.article-content h2{font-size:1.5rem;font-weight:700;margin:2.5rem 0 1rem;color:#fff;scroll-margin-top:5rem}
.article-content h3{font-size:1.25rem;font-weight:600;margin:2rem 0 .75rem;color:rgba(255,255,255,0.9);scroll-margin-top:5rem}
.article-content h4{font-size:1.1rem;font-weight:600;margin:1.5rem 0 .5rem;color:rgba(255,255,255,0.85);scroll-margin-top:5rem}
.article-content p{margin:0 0 1.25rem;line-height:1.8;color:rgba(255,255,255,0.7);font-size:.9375rem}
.article-content ul,.article-content ol{margin:0 0 1.25rem;padding-left:1.5rem;color:rgba(255,255,255,0.7)}
.article-content li{margin-bottom:.5rem;line-height:1.7;font-size:.9375rem}
.article-content img{border-radius:.75rem;margin:1.5rem 0;max-width:100%;height:auto}
.article-content table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.875rem}
.article-content th,.article-content td{padding:.75rem 1rem;border:1px solid rgba(255,255,255,0.08);text-align:left}
.article-content th{background:none;font-weight:600;color:rgba(255,255,255,0.8)}
.article-content td{color:rgba(255,255,255,0.6)}
.article-content blockquote{border-left:3px solid #a78bfa;padding:.75rem 1.25rem;margin:1.5rem 0;background:none;border-radius:0 .5rem .5rem 0}
.article-content blockquote p{color:rgba(255,255,255,0.6);margin-bottom:0}
.article-content a{color:#a78bfa;text-decoration:underline;text-decoration-color:rgba(167,139,250,0.3);transition:text-decoration-color .2s}
.article-content a:hover{text-decoration-color:#a78bfa}
.article-content strong{color:rgba(255,255,255,0.85);font-weight:600}
.article-content figure{margin:1.5rem 0}
.article-content figcaption{font-size:.8125rem;color:rgba(255,255,255,0.35);text-align:center;margin-top:.5rem}

.blog-cta-block{background:none;border:1px solid rgba(139,92,246,0.2);border-radius:1rem;padding:2rem;margin:2rem 0;text-align:center}
.blog-cta-text{font-size:1.125rem;font-weight:600;color:rgba(255,255,255,0.85);margin-bottom:1rem!important}
.blog-cta-button{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#8b5cf6,#a855f7);color:#fff!important;font-weight:700;font-size:.875rem;padding:.75rem 1.5rem;border-radius:.75rem;text-decoration:none!important;transition:all .3s;box-shadow:0 4px 15px rgba(139,92,246,0.3)}
.blog-cta-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(139,92,246,0.4);color:#fff!important}
.article-content .blog-cta-button{color:#fff!important;text-decoration:none!important}

.article-author-block{display:flex;align-items:center;gap:1rem;background:none;border:1px solid rgba(255,255,255,0.06);border-radius:1rem;padding:1.5rem;margin:2.5rem 0}
.article-author-avatar{width:3rem;height:3rem;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#a855f7);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.article-author-avatar svg{width:1.5rem;height:1.5rem;color:#fff}
.article-author-info{flex:1}
.article-author-name{font-weight:600;font-size:.9375rem;color:rgba(255,255,255,0.85)}
.article-author-desc{font-size:.8125rem;color:rgba(255,255,255,0.4);margin-top:.25rem}

.related-articles{max-width:800px;margin:0 auto;padding:0 1rem 4rem}
.related-articles h2{font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;color:#fff}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}

.blog-footer{border-top:1px solid rgba(255,255,255,0.05);padding:2rem 1rem;text-align:center}
.blog-footer p{font-size:.8125rem;color:rgba(255,255,255,0.25)}

@media(max-width:768px){
  .blog-hero h1{font-size:1.75rem}
  .blog-grid{grid-template-columns:1fr}
  .article-title{font-size:1.5rem}
  .article-content h2{font-size:1.25rem}
  .article-content h3{font-size:1.1rem}
  .related-grid{grid-template-columns:1fr}
}
