/* ── TOKENS ── */
:root {
    --green: #4ADE80;
    --green-dim: rgba(74,222,128,0.12);
    --green-border: rgba(74,222,128,0.30);
    --yellow: #FDB022;
    --yellow-dim: rgba(253,176,34,0.10);
    --yellow-border: rgba(253,176,34,0.25);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-card: 14px;
    --trans: 0.35s ease;
    /* dark defaults */
    --bg: #0a1628;
    --bg2: #0d1d35;
    --bg3: #0f2847;
    --bg4: #152f52;
    --surface: rgba(255,255,255,0.05);
    --surface2: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.10);
    --border2: rgba(255,255,255,0.18);
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.65);
    --text-faint: rgba(255,255,255,0.40);
    --hero-grad: linear-gradient(160deg,#0a1628 0%,#0d1d35 50%,#0f2847 100%);
    --section-bg: linear-gradient(to bottom,#0f2847,#152f52);
    --cta-bg: linear-gradient(to bottom,#0a1628,#0d1d35,#0f2847);
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --cat-pill-bg: rgba(255,255,255,0.06);
    --cat-pill-bdr: rgba(255,255,255,0.12);
}

body.light-mode {
    --bg: #f0f4fa;
    --bg2: #e4ecf7;
    --bg3: #d8e6f5;
    --bg4: #ccdcee;
    --surface: rgba(255,255,255,0.80);
    --surface2: rgba(255,255,255,0.95);
    --border: rgba(0,0,0,0.10);
    --border2: rgba(0,0,0,0.18);
    --text: #0a1628;
    --text-muted: rgba(10,22,40,0.65);
    --text-faint: rgba(10,22,40,0.40);
    --hero-grad: linear-gradient(160deg,#dbeafe 0%,#e0f2fe 50%,#eff6ff 100%);
    --section-bg: linear-gradient(to bottom,#e8f0fd,#dce8fa);
    --cta-bg: linear-gradient(to bottom,#dbeafe,#e0f2fe,#eff6ff);
    --shadow: 0 8px 32px rgba(10,22,40,0.12);
    --green: #16a34a;
    --green-dim: rgba(22,163,74,0.10);
    --green-border: rgba(22,163,74,0.30);
    --yellow: #d97706;
    --yellow-dim: rgba(217,119,6,0.10);
    --yellow-border: rgba(217,119,6,0.25);
    --cat-pill-bg: rgba(10,22,40,0.05);
    --cat-pill-bdr: rgba(10,22,40,0.12);
}

/**, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter',sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background var(--trans),color var(--trans);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

svg {
    display: block;
}
*/
/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease,transform 0.6s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-d1 {
    transition-delay: 0.08s;
}

.reveal-d2 {
    transition-delay: 0.16s;
}

.reveal-d3 {
    transition-delay: 0.24s;
}

.reveal-d4 {
    transition-delay: 0.32s;
}

.reveal-d5 {
    transition-delay: 0.40s;
}

/* ── CONTAINERS ── */
.blogs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.blogs-container-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical */
    align-items: center; /* horizontal */
    text-align: center;
}

.blogs-container-md {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.blog-hero {
    position: relative;
    overflow: hidden;
    background: var(--hero-grad);
    padding: 200px 80px;
    transition: background var(--trans);
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center; /* vertical center */
    text-align: center;
}

.blog-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.blog-hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(74,222,128,0.05);
    top: -80px;
    right: -60px;
}

.blog-hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(253,176,34,0.04);
    bottom: -60px;
    left: -40px;
}

.blog-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.blog-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 18px;
    transition: color var(--trans);
}

.blog-hero h1 {
    font-family: 'Sora',sans-serif;
    font-size: clamp(30px,5vw,52px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 20px;
    transition: color var(--trans);
}

.blog-hero-desc {
    font-size: clamp(14px,1.8vw,17px);
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 680px;
    transition: color var(--trans);
}

/* ══════════════════════════════
   EXPLORE CATEGORIES SECTION
══════════════════════════════ */
.explore-section {
    padding: 80px 24px;
    background: var(--section-bg);
    border-top: 1px solid var(--border);
    transition: background var(--trans),border-color var(--trans);
}

.explore-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 40px;
    align-items: start;
}

/* Left column */
.explore-left {
}

.explore-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.explore-heading-block {
    flex: 1;
}

    .explore-heading-block h2 {
        font-family: 'Sora',sans-serif;
        font-size: clamp(24px,3.5vw,36px);
        font-weight: 700;
        color: var(--text);
        margin-bottom: 12px;
        transition: color var(--trans);
    }

    .explore-heading-block p {
        font-size: 15px;
        line-height: 1.7;
        color: var(--text-muted);
        max-width: 520px;
        transition: color var(--trans);
    }

.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    background: var(--yellow);
    color: #0a1628;
    border: none;
    border-radius: var(--radius);
    font-family: 'Sora',sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s,transform 0.2s;
}

    .btn-view-all:hover {
        background: #e59a15;
        transform: translateY(-1px);
    }

body.light-mode .btn-view-all {
    background: #d97706;
    color: #fff;
}

    body.light-mode .btn-view-all:hover {
        background: #b45309;
    }

/* Blog cards 2-col grid */
.blog-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: transform 0.3s,box-shadow 0.3s,border-color 0.3s,background var(--trans);
}

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
        border-color: var(--green-border);
    }

.blog-card-thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* unique per-card backgrounds */
.bc-bg-1 {
    background: linear-gradient(135deg,#0a1f3d 0%,#0d2a4a 100%);
}

.bc-bg-2 {
    background: linear-gradient(135deg,#1a2a0a 0%,#243a10 100%);
}

.bc-bg-3 {
    background: linear-gradient(135deg,#1a0a2e 0%,#2a1040 100%);
}

.bc-bg-4 {
    background: linear-gradient(135deg,#2a1a0a 0%,#3a2510 100%);
}

body.light-mode .bc-bg-1 {
    background: linear-gradient(135deg,#dbeafe,#bfdbfe);
}

body.light-mode .bc-bg-2 {
    background: linear-gradient(135deg,#dcfce7,#bbf7d0);
}

body.light-mode .bc-bg-3 {
    background: linear-gradient(135deg,#ede9fe,#ddd6fe);
}

body.light-mode .bc-bg-4 {
    background: linear-gradient(135deg,#fef3c7,#fde68a);
}

.blog-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    background: var(--yellow-dim);
    border: 1px solid var(--yellow-border);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-family: 'Sora',sans-serif;
    transition: all var(--trans);
}

.blog-card-body {
    padding: 18px;
}

    .blog-card-body h3 {
        font-family: 'Sora',sans-serif;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        color: var(--text);
        margin-bottom: 8px;
        transition: color var(--trans);
    }

    .blog-card-body p {
        font-size: 12px;
        line-height: 1.6;
        color: var(--text-muted);
        margin-bottom: 14px;
        transition: color var(--trans);
    }

.blog-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    transition: border-color var(--trans);
}

.bc-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-dim);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: var(--green);
    font-family: 'Sora',sans-serif;
    flex-shrink: 0;
}

.bc-meta {
    font-size: 10px;
    color: var(--text-faint);
    transition: color var(--trans);
}

    .bc-meta strong {
        color: var(--text-muted);
        font-weight: 600;
    }

/* Right column — Categories sidebar */
.categories-sidebar {
}

.cat-sidebar-title {
    font-family: 'Sora',sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    transition: color var(--trans);
}

.cat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--cat-pill-bg);
    border: 1px solid var(--cat-pill-bdr);
    border-radius: var(--radius);
    font-family: 'Sora',sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background var(--trans),border-color 0.25s,transform 0.2s,color var(--trans);
}

    .cat-pill:hover {
        background: var(--surface2);
        border-color: var(--green-border);
        transform: translateX(4px);
    }

.cat-pill-arrow {
    font-size: 12px;
    color: var(--text-faint);
    transition: color 0.2s,transform 0.2s;
}

.cat-pill:hover .cat-pill-arrow {
    color: var(--green);
    transform: translateX(3px);
}

/* ══════════════════════════════
   LATEST ARTICLES
══════════════════════════════ */
.articles-section {
    padding: 80px 24px;
    transition: background var(--trans);
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

    .section-header h2 {
        font-family: 'Sora',sans-serif;
        font-size: clamp(26px,4vw,40px);
        font-weight: 700;
        color: var(--text);
        margin-bottom: 12px;
        transition: color var(--trans);
    }

    .section-header p {
        font-size: 15px;
        color: var(--text-muted);
        max-width: 520px;
        margin: 0 auto;
        line-height: 1.6;
        transition: color var(--trans);
    }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: transform 0.3s,box-shadow 0.3s,border-color 0.3s,background var(--trans);
}

    .article-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
        border-color: var(--green-border);
    }

.art-thumb {
    position: relative;
    height: 155px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.at-bg-1 {
    background: linear-gradient(135deg,#0a1f3d,#0d2a4a);
}

.at-bg-2 {
    background: linear-gradient(135deg,#1a2a0a,#243a10);
}

.at-bg-3 {
    background: linear-gradient(135deg,#2a1a0a,#3a2510);
}

.at-bg-4 {
    background: linear-gradient(135deg,#1a0a2e,#250f42);
}

.at-bg-5 {
    background: linear-gradient(135deg,#0a2a1f,#0d3528);
}

.at-bg-6 {
    background: linear-gradient(135deg,#2a0a0a,#3a1010);
}

body.light-mode .at-bg-1 {
    background: linear-gradient(135deg,#dbeafe,#bfdbfe);
}

body.light-mode .at-bg-2 {
    background: linear-gradient(135deg,#dcfce7,#bbf7d0);
}

body.light-mode .at-bg-3 {
    background: linear-gradient(135deg,#fef3c7,#fde68a);
}

body.light-mode .at-bg-4 {
    background: linear-gradient(135deg,#ede9fe,#ddd6fe);
}

body.light-mode .at-bg-5 {
    background: linear-gradient(135deg,#dcfce7,#a7f3d0);
}

body.light-mode .at-bg-6 {
    background: linear-gradient(135deg,#fee2e2,#fecaca);
}

.art-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    background: var(--yellow-dim);
    border: 1px solid var(--yellow-border);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-family: 'Sora',sans-serif;
    transition: all var(--trans);
}

.article-body {
    padding: 18px;
}

    .article-body h3 {
        font-family: 'Sora',sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.45;
        color: var(--text);
        margin-bottom: 8px;
        transition: color var(--trans);
    }

    .article-body p {
        font-size: 12px;
        line-height: 1.6;
        color: var(--text-muted);
        margin-bottom: 14px;
        transition: color var(--trans);
    }

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 11px;
    border-top: 1px solid var(--border);
    transition: border-color var(--trans);
}

.art-author-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.art-av {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-dim);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    font-weight: 700;
    color: var(--green);
    font-family: 'Sora',sans-serif;
    flex-shrink: 0;
}

.art-name {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    transition: color var(--trans);
}

.art-date {
    font-size: 10px;
    color: var(--text-faint);
    transition: color var(--trans);
}

.art-read {
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 3px;
    transition: color var(--trans),gap 0.2s;
}

    .art-read:hover {
        gap: 6px;
    }

/* ══════════════════════════════
   CTA
══════════════════════════════ */
.blog-cta {
    padding: 100px 24px;
    background: var(--cta-bg);
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background var(--trans),border-color var(--trans);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 600px;
    height: 600px;
    background: rgba(253,176,34,0.08);
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 auto;
}

.cta-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 14px;
    transition: color var(--trans);
}

.cta-inner h2 {
    font-family: 'Sora',sans-serif;
    font-size: clamp(28px,5vw,46px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.15;
    transition: color var(--trans);
}

.cta-inner p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    transition: color var(--trans);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 38px;
    background: var(--yellow);
    color: #0a1628;
    border: none;
    border-radius: var(--radius);
    font-family: 'Sora',sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 28px rgba(253,176,34,0.35);
    transition: background 0.25s,transform 0.2s,box-shadow 0.2s;
}

    .cta-btn:hover {
        background: #e59a15;
        transform: translateY(-2px);
        box-shadow: 0 10px 36px rgba(253,176,34,0.45);
    }

body.light-mode .cta-btn {
    background: #d97706;
    color: #fff;
}

    body.light-mode .cta-btn:hover {
        background: #b45309;
    }

.cta-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
}

    .cta-trust span {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: var(--text-faint);
        transition: color var(--trans);
    }

        .cta-trust span::before {
            content: '';
            width: 5px;
            height: 5px;
            background: var(--green);
            border-radius: 50%;
            flex-shrink: 0;
        }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width:1024px) {
    .explore-layout {
        grid-template-columns: 1fr;
    }

    .categories-sidebar {
        display: none;
    }

    .articles-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:640px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .explore-top-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-hero {
        padding: 70px 16px 60px;
    }

    .explore-section, .articles-section, .blog-cta {
        padding: 60px 16px;
    }
}
