:root {
    --bg:#f4f6fb;
    --glass:rgba(255,255,255,.65);
    --border:rgba(255,255,255,.85);
    --text:#0f172a;
    --muted:#64748b;
    --accent:#2563eb;
}

body {
    font-family: Inter, sans-serif;
    background:
            radial-gradient(1200px 600px at 10% -10%, #dbeafe, transparent),
            radial-gradient(800px 500px at 90% 10%, #e0e7ff, transparent),
            var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.text-muted {
    color: var(--muted);
    line-height: 1.65;
}

.navbar {
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(12px);
}

.nav-link {
    color: var(--muted);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text);
}

.btn-primary {
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    border: none;
    font-weight: 600;
}

.hero {
    padding: 120px 0 60px;
}

.hero .container {
    max-width: 760px;
}

.section {
    padding: 56px 0;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all .2s ease;
}

.glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

.blog-card {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card .badge {
    background: rgba(15,23,42,0.05);
    color: var(--muted);
    font-weight: 500;
    font-size: 12px;
    border-radius: 8px;
    padding: 4px 8px;
}

.blog-card h5 {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 14px;
    color: var(--muted);
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card a {
    margin-top: auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}

.blog-card a:hover {
    text-decoration: underline;
}

.pagination .page-link {
    border: none;
    background: transparent;
    color: var(--muted);
}

.pagination .page-item.active .page-link {
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero .container {
        max-width: 100%;
    }
}