/* ═══════════════════════════════════════
   DVELOP AI — BLOG (index + single post)
   Marketing design language: light, Inter,
   #0A84FF blue, #7B5CFF violet accents.
═══════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body.dvelop-blog{font-family:'Inter',system-ui,-apple-system,sans-serif;color:#1a1a2e;line-height:1.6;background:#fff;overflow-x:hidden}
.dvelop-blog a{text-decoration:none;color:inherit}
.dvelop-blog ul{list-style:none}

.dvelop-blog .container{width:100%;max-width:1180px;margin:0 auto;padding:0 24px}
.dvelop-blog .post-container{max-width:780px}

/* Entrance + scroll-reveal animations */
.dvelop-blog .reveal{opacity:0;transform:translateY(28px);transition:opacity .8s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1)}
.dvelop-blog .reveal.visible{opacity:1;transform:translateY(0)}
.dvelop-blog .hero-enter{opacity:0;transform:translateY(20px);animation:blogHeroIn .8s cubic-bezier(.16,1,.3,1) forwards}
.dvelop-blog .hero-enter-1{animation-delay:.1s}
.dvelop-blog .hero-enter-2{animation-delay:.25s}
.dvelop-blog .hero-enter-3{animation-delay:.4s}
@keyframes blogHeroIn{to{opacity:1;transform:translateY(0)}}

/* Buttons */
.dvelop-blog .btn{display:inline-flex;align-items:center;justify-content:center;font-family:inherit;font-weight:600;border:none;cursor:pointer;border-radius:10px;transition:all .25s cubic-bezier(.16,1,.3,1);font-size:.95rem;line-height:1;gap:8px}
.dvelop-blog .btn-primary{background:#0A84FF;color:#fff;padding:14px 28px;box-shadow:0 4px 12px rgba(10,132,255,.2)}
.dvelop-blog .btn-primary:hover{background:#0070e0;box-shadow:0 6px 24px rgba(10,132,255,.35);transform:translateY(-2px)}
.dvelop-blog .btn-lg{padding:16px 36px;font-size:1.05rem;border-radius:12px}
.dvelop-blog .btn-white{background:#fff;color:#0A84FF;padding:14px 28px;box-shadow:0 4px 16px rgba(0,0,0,.12)}
.dvelop-blog .btn-white:hover{box-shadow:0 8px 32px rgba(0,0,0,.18);transform:translateY(-2px)}

/* ─── Navigation ─── */
.dvelop-blog .site-nav{position:fixed;top:0;left:0;width:100%;z-index:1000;padding:14px 0;background:rgba(255,255,255,.92);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,0,0,.06)}
.dvelop-blog .site-nav .container{display:flex;align-items:center;justify-content:space-between}
.dvelop-blog .nav-logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.2rem;color:#0f0f23;letter-spacing:-.02em}
.dvelop-blog .nav-logo .brand-mark{width:28px;height:28px;flex-shrink:0;object-fit:contain;display:block}
.dvelop-blog .site-footer .nav-logo .brand-mark{width:24px;height:24px}
.dvelop-blog .nav-links{display:flex;align-items:center;gap:28px}
.dvelop-blog .nav-links a{color:#6b7084;font-size:.9rem;font-weight:500;transition:color .2s}
.dvelop-blog .nav-links a:hover{color:#0f0f23}
.dvelop-blog .nav-links a.nav-current{color:#0f0f23;font-weight:600}
.dvelop-blog .nav-links .btn-primary{padding:10px 22px;font-size:.88rem;border-radius:8px;color:#fff}

/* ─── Blog index hero ─── */
.blog-hero{padding:140px 0 64px;text-align:center;background:linear-gradient(180deg,#f8f9fb 0%,#fff 100%);position:relative;overflow:hidden}
.blog-hero::before{content:'';position:absolute;top:-20%;left:50%;transform:translateX(-50%);width:800px;height:800px;border-radius:50%;background:radial-gradient(circle,rgba(10,132,255,.05) 0%,transparent 60%);pointer-events:none}
.blog-hero .container{position:relative;z-index:1}
.blog-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;background:rgba(10,132,255,.06);border:1px solid rgba(10,132,255,.12);border-radius:50px;font-size:.82rem;font-weight:600;color:#0A84FF;margin-bottom:24px}
.blog-hero h1{font-size:clamp(2.2rem,5vw,3.4rem);font-weight:800;letter-spacing:-.04em;color:#0f0f23;margin-bottom:18px;line-height:1.1}
.blog-hero h1 em{font-style:normal;background:linear-gradient(135deg,#0A84FF,#7B5CFF);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.blog-hero p{font-size:1.1rem;color:#6b7084;max-width:600px;margin:0 auto;line-height:1.7}

/* ─── Section labels (shared) ─── */
.dvelop-blog .section-label{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#0A84FF;margin-bottom:10px}
.dvelop-blog .section-title{font-size:clamp(1.6rem,3.5vw,2.4rem);font-weight:800;letter-spacing:-.03em;color:#0f0f23;margin-bottom:14px;line-height:1.15}

/* ─── Post grid ─── */
.blog-list-section{padding:24px 0 90px;background:#fff}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.blog-grid--compact{margin-top:8px}

.blog-card{display:flex;flex-direction:column;background:#fff;border:1px solid #eceef3;border-radius:18px;overflow:hidden;transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s cubic-bezier(.16,1,.3,1)}
.blog-card:hover{transform:translateY(-5px);box-shadow:0 16px 44px rgba(15,15,35,.09)}
.blog-card--feature{grid-column:1 / -1;flex-direction:row;align-items:stretch}
.blog-card--feature .blog-card-media{flex:0 0 52%;min-height:340px}
.blog-card--feature .blog-card-body{flex:1;display:flex;flex-direction:column;justify-content:center;padding:38px 40px}
.blog-card--feature .blog-card-title{font-size:1.7rem}
.blog-card--feature .blog-card-excerpt{font-size:.98rem}

.blog-card-media{display:block;position:relative;aspect-ratio:16/9;background:linear-gradient(160deg,#0f0f23 0%,#1a1a3e 100%);overflow:hidden}
.blog-card--feature .blog-card-media{aspect-ratio:auto}
.blog-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.16,1,.3,1)}
.blog-card:hover .blog-card-media img{transform:scale(1.04)}
.blog-card-media-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:.85}

.blog-card-body{padding:22px 24px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.blog-card-meta{display:flex;align-items:center;gap:10px;font-size:.78rem;font-weight:600}
.blog-card-date{color:#a0a5b8}
.blog-card-cat{padding:3px 10px;border-radius:50px;background:rgba(10,132,255,.07);border:1px solid rgba(10,132,255,.14);color:#0A84FF;font-size:.72rem;letter-spacing:.02em}
.blog-card-title{font-size:1.15rem;font-weight:700;letter-spacing:-.02em;line-height:1.3;color:#0f0f23}
.blog-card-title a{transition:color .2s}
.blog-card-title a:hover{color:#0A84FF}
.blog-card-excerpt{font-size:.88rem;color:#6b7084;line-height:1.65;flex:1}
.blog-card-readmore{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:600;color:#0A84FF;margin-top:2px;transition:gap .25s}
.blog-card-readmore:hover{gap:10px}

/* ─── Pagination ─── */
.blog-pagination{margin-top:52px;display:flex;justify-content:center}
.blog-pagination ul{display:flex;gap:8px;flex-wrap:wrap}
.blog-pagination li a,.blog-pagination li span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 14px;border-radius:10px;border:1px solid #eceef3;font-size:.88rem;font-weight:600;color:#6b7084;transition:all .2s}
.blog-pagination li a:hover{border-color:#0A84FF;color:#0A84FF}
.blog-pagination li span.current{background:#0A84FF;border-color:#0A84FF;color:#fff}

/* ─── Empty state ─── */
.blog-empty{text-align:center;padding:70px 24px;border:1px dashed #d0d5e0;border-radius:20px;background:#fafbfc}
.blog-empty-icon{width:64px;height:64px;border-radius:18px;background:rgba(10,132,255,.07);color:#0A84FF;display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.blog-empty h2{font-size:1.3rem;font-weight:700;color:#0f0f23;margin-bottom:8px;letter-spacing:-.02em}
.blog-empty p{font-size:.92rem;color:#6b7084;max-width:420px;margin:0 auto}

/* ─── Single post ─── */
.post-hero{padding:130px 0 28px;background:linear-gradient(180deg,#f8f9fb 0%,#fff 100%)}
.post-back{display:inline-flex;align-items:center;gap:7px;font-size:.85rem;font-weight:600;color:#6b7084;margin-bottom:26px;transition:color .2s}
.post-back:hover{color:#0A84FF}
.post-meta{display:flex;align-items:center;gap:10px;font-size:.85rem;font-weight:600;color:#a0a5b8;margin-bottom:14px;flex-wrap:wrap}
.post-meta-sep{color:#d0d5e0}
.post-meta-cat{padding:3px 12px;border-radius:50px;background:rgba(10,132,255,.07);border:1px solid rgba(10,132,255,.14);color:#0A84FF;font-size:.74rem;letter-spacing:.02em}
.post-title{font-size:clamp(1.9rem,4.5vw,3rem);font-weight:800;letter-spacing:-.035em;line-height:1.12;color:#0f0f23;margin-bottom:16px}
.post-standfirst{font-size:1.12rem;color:#6b7084;line-height:1.7}

.post-featured{margin:26px 0 8px;border-radius:20px;overflow:hidden;border:1px solid #eceef3;box-shadow:0 18px 48px rgba(15,15,35,.1)}
.post-featured img{width:100%;height:auto;display:block}

.post-body{padding:34px 0 8px;font-size:1.02rem;color:#3a3f52;line-height:1.85}
.post-body h2{font-size:1.55rem;font-weight:800;letter-spacing:-.025em;color:#0f0f23;margin:42px 0 14px;line-height:1.25}
.post-body h3{font-size:1.22rem;font-weight:700;letter-spacing:-.02em;color:#0f0f23;margin:34px 0 12px}
.post-body h4{font-size:1.05rem;font-weight:700;color:#0f0f23;margin:28px 0 10px}
.post-body p{margin-bottom:18px}
.post-body a{color:#0A84FF;font-weight:600;border-bottom:1px solid rgba(10,132,255,.25);transition:border-color .2s}
.post-body a:hover{border-bottom-color:#0A84FF}
.post-body strong{color:#0f0f23}
.post-body ul,.post-body ol{margin:0 0 18px;padding-left:26px}
.post-body ul{list-style:disc}
.post-body ol{list-style:decimal}
.post-body li{margin-bottom:8px}
.post-body blockquote{margin:26px 0;padding:18px 24px;border-left:4px solid #0A84FF;background:rgba(10,132,255,.04);border-radius:0 14px 14px 0;color:#3a3f52;font-style:italic}
.post-body blockquote p:last-child{margin-bottom:0}
.post-body img{max-width:100%;height:auto;border-radius:14px;margin:10px 0}
.post-body pre{background:#0f0f23;color:#e8eaf2;border-radius:14px;padding:20px;overflow-x:auto;font-size:.85rem;margin:0 0 18px}
.post-body code{font-family:'SF Mono',ui-monospace,Consolas,monospace;font-size:.9em;background:rgba(10,132,255,.07);color:#0A66D6;padding:2px 6px;border-radius:6px}
.post-body pre code{background:transparent;color:inherit;padding:0}
.post-body hr{border:none;border-top:1px solid #eceef3;margin:34px 0}
.post-body table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:.92rem}
.post-body th,.post-body td{border:1px solid #eceef3;padding:10px 14px;text-align:left}
.post-body th{background:#f8f9fb;font-weight:700;color:#0f0f23}

/* Tags */
.post-tags{display:flex;flex-wrap:wrap;gap:8px;padding:22px 0 0}
.post-tag{padding:5px 14px;border-radius:50px;background:#f4f5f9;border:1px solid #eceef3;font-size:.78rem;font-weight:600;color:#6b7084}

/* Share */
.post-share{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:34px 0 0;padding:20px 24px;border:1px solid #eceef3;border-radius:16px;background:#fafbfc;flex-wrap:wrap}
.post-share-label{font-size:.9rem;font-weight:700;color:#0f0f23}
.post-share-buttons{display:flex;gap:10px}
.post-share-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;border:1px solid #eceef3;background:#fff;color:#6b7084;cursor:pointer;transition:all .25s cubic-bezier(.16,1,.3,1)}
.post-share-btn:hover{border-color:#0A84FF;color:#0A84FF;transform:translateY(-2px);box-shadow:0 6px 18px rgba(10,132,255,.16)}
.post-share-btn.copied{border-color:#30D158;color:#30D158}

/* More posts */
.post-more{padding:80px 0 30px;background:#f8f9fb;margin-top:70px}
.post-more-head{margin-bottom:30px}

/* ─── CTA ─── */
.blog-cta{padding:90px 0;background:linear-gradient(160deg,#0f0f23 0%,#1a1a3e 40%,#0A2540 100%);color:#fff;text-align:center;position:relative;overflow:hidden;margin-top:0}
.dvelop-blog-single .blog-cta{margin-top:0}
.blog-cta::before{content:'';position:absolute;top:-40%;left:-10%;width:60%;height:120%;border-radius:50%;background:radial-gradient(circle,rgba(10,132,255,.1) 0%,transparent 70%);pointer-events:none}
.blog-cta::after{content:'';position:absolute;bottom:-30%;right:-10%;width:50%;height:100%;border-radius:50%;background:radial-gradient(circle,rgba(123,92,255,.07) 0%,transparent 70%);pointer-events:none}
.blog-cta .container{position:relative;z-index:1}
.blog-cta h2{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800;letter-spacing:-.03em;margin-bottom:14px}
.blog-cta p{font-size:1.05rem;color:rgba(255,255,255,.55);max-width:540px;margin:0 auto 36px;line-height:1.7}
.blog-cta .cta-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* ─── Footer ─── */
.dvelop-blog .site-footer{padding:40px 0;border-top:1px solid #eceef3;background:#fff}
.dvelop-blog .footer-inner{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:16px}
.dvelop-blog .footer-right{display:flex;gap:24px;flex-wrap:wrap}
.dvelop-blog .footer-right a{color:#6b7084;font-size:.85rem;font-weight:500;transition:color .2s}
.dvelop-blog .footer-right a:hover{color:#0f0f23}
.dvelop-blog .footer-copy{font-size:.78rem;color:#a0a5b8;text-align:center}

/* ─── Responsive ─── */
@media(max-width:960px){
    .blog-grid{grid-template-columns:repeat(2,1fr)}
    .blog-card--feature{flex-direction:column}
    .blog-card--feature .blog-card-media{flex:none;min-height:0;aspect-ratio:16/9}
    .blog-card--feature .blog-card-body{padding:24px 26px}
    .blog-card--feature .blog-card-title{font-size:1.35rem}
}
@media(max-width:640px){
    .blog-grid{grid-template-columns:1fr}
    .dvelop-blog .nav-links{gap:14px}
    .dvelop-blog .nav-links a:not(.btn){display:none}
    .dvelop-blog .nav-links a.nav-current{display:inline}
    .blog-hero{padding:120px 0 48px}
    .post-hero{padding:115px 0 22px}
    .post-share{flex-direction:column;align-items:flex-start}
}
