/* ─── BLOG STYLES ─── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;background:#f5f7fb;color:#1e293b;line-height:1.7;min-height:100vh}

/* ─── NAV ─── */
.blog-nav{position:fixed;top:0;left:0;right:0;z-index:200;display:flex;align-items:center;justify-content:space-between;padding:.8rem 2rem;background:rgba(15,37,68,.97);backdrop-filter:blur(8px)}
.blog-nav-logo{font-size:1.15rem;font-weight:700;color:#fff;text-decoration:none;letter-spacing:-.02em}
.blog-nav-logo span{color:#60a5fa}
.blog-nav-links{display:flex;gap:1.2rem;align-items:center}
.blog-nav-links a{color:rgba(255,255,255,.7);text-decoration:none;font-size:.9rem;font-weight:500;transition:color .2s}
.blog-nav-links a:hover{color:#fff}
.blog-nav-cta{padding:.4rem 1rem;border-radius:8px;background:#3b82f6 !important;color:#fff !important;font-weight:600 !important;transition:opacity .2s !important}
.blog-nav-cta:hover{opacity:.9}

/* ─── HERO ─── */
.blog-hero{background:linear-gradient(135deg,#0f2544 0%,#1a3560 60%,#2d5f8a 100%);color:#fff;padding:7rem 2rem 3.5rem;text-align:center}
.blog-hero h1{font-size:2.8rem;font-weight:800;margin-bottom:.8rem;letter-spacing:-.03em}
.blog-hero p{font-size:1.1rem;color:rgba(255,255,255,.7);max-width:550px;margin:0 auto}

/* ─── GRID ─── */
.blog-grid{max-width:900px;margin:0 auto;padding:3rem 1.5rem;display:grid;gap:1.5rem}

/* ─── CARD ─── */
.blog-card{background:#fff;border-radius:14px;padding:2rem;box-shadow:0 1px 4px rgba(0,0,0,.06);transition:transform .2s,box-shadow .2s;border:1px solid rgba(0,0,0,.05)}
.blog-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.blog-card-featured{border-left:4px solid #3b82f6;background:linear-gradient(135deg,#f8faff 0%,#fff 100%)}
.blog-tag{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.03em;color:#3b82f6;background:rgba(59,130,246,.08);padding:.25rem .7rem;border-radius:20px;margin-bottom:.8rem}
.blog-card h2{font-size:1.35rem;font-weight:700;line-height:1.3;margin-bottom:.6rem;letter-spacing:-.02em}
.blog-card h2 a{color:#0f2544;text-decoration:none;transition:color .2s}
.blog-card h2 a:hover{color:#3b82f6}
.blog-card p{color:#475569;font-size:.95rem;margin-bottom:1rem}
.blog-meta{display:flex;gap:1rem;font-size:.8rem;color:#94a3b8;font-weight:500}

/* ─── CTA SECTION ─── */
.blog-cta{background:linear-gradient(135deg,#0f2544 0%,#1a3560 100%);color:#fff;text-align:center;padding:4rem 2rem;margin-top:2rem}
.blog-cta h2{font-size:1.8rem;font-weight:800;margin-bottom:1rem;line-height:1.3;letter-spacing:-.02em}
.blog-cta p{color:rgba(255,255,255,.7);font-size:1rem;margin-bottom:1.5rem}
.blog-cta-btn{display:inline-block;padding:.8rem 2rem;background:#3b82f6;color:#fff;border-radius:10px;font-weight:700;font-size:1rem;text-decoration:none;transition:opacity .2s}
.blog-cta-btn:hover{opacity:.9}

/* ─── FOOTER ─── */
.blog-footer{text-align:center;padding:2rem;font-size:.82rem;color:#94a3b8}
.blog-footer a{color:#64748b;text-decoration:none}
.blog-footer a:hover{color:#3b82f6}

/* ─── ARTICLE PAGE ─── */
.blog-article{max-width:720px;margin:0 auto;padding:6rem 1.5rem 3rem}
.blog-article-tag{display:inline-block;font-size:.75rem;font-weight:700;color:#3b82f6;background:rgba(59,130,246,.08);padding:.25rem .7rem;border-radius:20px;margin-bottom:1rem}
.blog-article h1{font-size:2.4rem;font-weight:800;line-height:1.2;letter-spacing:-.03em;margin-bottom:.8rem;color:#0f2544}
.blog-article .blog-article-subtitle{font-size:1.1rem;color:#64748b;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e2e8f0}
.blog-article h2{font-size:1.5rem;font-weight:700;color:#0f2544;margin:2.5rem 0 1rem;letter-spacing:-.02em}
.blog-article h3{font-size:1.15rem;font-weight:700;color:#1e293b;margin:2rem 0 .8rem}
.blog-article p{margin-bottom:1.2rem;color:#334155;font-size:1rem}
.blog-article ul,.blog-article ol{margin:0 0 1.2rem 1.5rem;color:#334155}
.blog-article li{margin-bottom:.5rem}
.blog-article strong{color:#0f2544}
.blog-article blockquote{border-left:4px solid #3b82f6;padding:1rem 1.5rem;background:#f8faff;border-radius:0 8px 8px 0;margin:1.5rem 0;font-style:italic;color:#475569}
.blog-article code{background:#f1f5f9;padding:.15rem .4rem;border-radius:4px;font-size:.9rem;color:#e11d48}
.blog-article .example-box{background:#f8faff;border:1px solid #e2e8f0;border-radius:10px;padding:1.2rem 1.5rem;margin:1.2rem 0}
.blog-article .example-wrong{color:#ef4444;font-weight:600}
.blog-article .example-correct{color:#22c55e;font-weight:600}
.blog-article .article-cta{background:linear-gradient(135deg,#0f2544,#1a3560);color:#fff;border-radius:12px;padding:2rem;text-align:center;margin:2.5rem 0}
.blog-article .article-cta h3{color:#fff;margin:0 0 .5rem}
.blog-article .article-cta p{color:rgba(255,255,255,.7);margin-bottom:1rem}
.blog-article .article-cta a{display:inline-block;padding:.6rem 1.5rem;background:#3b82f6;color:#fff;border-radius:8px;font-weight:700;text-decoration:none}

/* ─── RESPONSIVE ─── */
@media(max-width:640px){
    .blog-hero h1{font-size:2rem}
    .blog-hero{padding:5.5rem 1rem 2.5rem}
    .blog-grid{padding:2rem 1rem}
    .blog-card{padding:1.5rem}
    .blog-card h2{font-size:1.15rem}
    .blog-nav{padding:.8rem 1rem}
    .blog-article h1{font-size:1.8rem}
    .blog-article{padding:5rem 1rem 2rem}
    .blog-cta h2{font-size:1.4rem}
}
