.blog-page {
    background: #0b1020;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
.blog-glow {
    position: fixed;
    inset: -50%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(59,130,246,0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(139,92,246,0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(6,182,212,0.04) 0%, transparent 50%);
    animation: float-glow 30s ease-in-out infinite;
}
@keyframes float-glow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(2%, -2%) scale(1.02); }
    66% { transform: translate(-2%, 2%) scale(0.98); }
}
[data-gsap-reveal] { opacity: 1; }

.blog-hero {
    padding: 180px 0 80px;
    position: relative;
    z-index: 1;
}
.blog-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 18px;
    border-radius: 50px;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 24px;
}
.blog-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1.08;
    max-width: 720px;
}
.blog-hero h1 span.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.blog-hero p {
    color: rgba(255,255,255,0.4);
    font-size: 1.1rem;
    margin-top: 20px;
    max-width: 500px;
    line-height: 1.7;
}
.blog-hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.blog-hero-categories .pill {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.blog-hero-categories .pill:hover {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.3);
    color: #93c5fd;
    transform: translateY(-2px);
}
.blog-hero-categories .pill.active {
    background: rgba(59,130,246,0.2);
    border-color: rgba(59,130,246,0.35);
    color: #93c5fd;
    box-shadow: 0 0 20px rgba(59,130,246,0.15);
}

.featured-section {
    padding: 0 0 60px;
    position: relative;
    z-index: 1;
}
.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(11,19,43,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
}
.featured-card:hover {
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 80px rgba(59,130,246,0.08);
    transform: translateY(-6px);
}
.featured-card-image {
    height: 440px;
    overflow: hidden;
    position: relative;
}
.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-card:hover .featured-card-image img { transform: scale(1.05); }
.featured-visual {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(59,130,246,0.15) 0%, rgba(139,92,246,0.08) 40%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.featured-visual i {
    font-size: 6rem;
    color: rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}
.featured-visual .visual-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 60%);
    animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}
.featured-card-body {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.2);
    color: #93c5fd;
    margin-bottom: 20px;
    width: fit-content;
}
.featured-card-body .meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 12px;
}
.featured-card-body .meta i { margin-right: 4px; }
.featured-card-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
    font-family: 'Montserrat', sans-serif;
}
.featured-card-body .desc {
    color: rgba(255,255,255,0.45);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.featured-card-body .read-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}
.featured-card:hover .read-link { gap: 14px; }
.featured-card-body .read-link i { font-size: 0.75rem; }

.grid-section {
    padding: 0 0 100px;
    position: relative;
    z-index: 1;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}
.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.section-header h2 span { color: rgba(255,255,255,0.3); font-weight: 400; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-bottom: 60px;
}
.bento-card {
    background: rgba(11,19,43,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
}
.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59,130,246,0.5);
    box-shadow: 0 30px 70px rgba(0,0,0,0.4), 0 0 50px rgba(59,130,246,0.1);
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(59,130,246,0.02));
    opacity: 0;
    transition: opacity 0.5s ease;
}
.bento-card:hover::before { opacity: 1; }
.bento-card .bento-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.bento-card .bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.bento-card:hover .bento-img img { transform: scale(1.08); }
.bento-card .bento-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.1);
}
.bento-card .bento-body { padding: 20px 22px 24px; position: relative; z-index: 1; }
.bento-card .bento-body .tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.15);
    color: #93c5fd;
    margin-bottom: 10px;
}
.bento-card .bento-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bento-card .bento-body .bento-meta {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
    font-family: 'Montserrat', sans-serif;
    margin-top: 8px;
}
.bento-card.tall { grid-row: span 2; }
.bento-card.tall .bento-img { height: 100%; min-height: 320px; aspect-ratio: auto; }
.bento-card.tall .bento-body { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(11,16,32,0.95)); padding: 48px 24px 24px; }
.bento-card.tall .bento-body h3 { font-size: 1.2rem; white-space: normal; }
.bento-card.wide { grid-column: span 2; }
.bento-card.wide .bento-img { aspect-ratio: 6/2; }

.blog-card {
    background: rgba(11,19,43,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
}
.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(59,130,246,0.02));
    opacity: 0;
    transition: opacity 0.5s ease;
}
.blog-card:hover::before { opacity: 1; }
.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59,130,246,0.5);
    box-shadow: 0 30px 70px rgba(0,0,0,0.4), 0 0 50px rgba(59,130,246,0.1);
}
.blog-card .card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}
.blog-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover .card-img img { transform: scale(1.08); }
.blog-card .card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
}
.blog-card .card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    background: rgba(11,16,32,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(59,130,246,0.2);
    color: #93c5fd;
    z-index: 2;
}
.blog-card .card-body { padding: 20px 22px 24px; position: relative; z-index: 1; }
.blog-card .card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}
.blog-card .card-meta i { margin-right: 4px; font-size: 0.65rem; }
.blog-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blog-card .card-desc {
    color: rgba(255,255,255,0.35);
    font-size: 0.82rem;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 16px;
}
.blog-card .card-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}
.blog-card:hover .card-link { gap: 12px; }
.blog-card .card-link i { font-size: 0.7rem; transition: transform 0.3s ease; }

.newsletter-section {
    padding: 0 0 60px;
    position: relative;
    z-index: 1;
}
.newsletter-card {
    background: rgba(11,19,43,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 40px 48px;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.newsletter-card:hover {
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(59,130,246,0.06);
}
.newsletter-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.newsletter-card p {
    color: rgba(255,255,255,0.35);
    font-size: 0.9rem;
    max-width: 400px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    transition: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}
.newsletter-form input:focus {
    border-color: rgba(59,130,246,0.3);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 30px rgba(59,130,246,0.08);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.2); }
.newsletter-form button {
    padding: 12px 28px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform 0.3s ease;
    white-space: nowrap;
}
.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59,130,246,0.3);
}

@media (max-width: 991px) {
    .blog-hero { padding: 140px 0 60px; }
    .blog-hero h1 { font-size: 2.6rem; }
    .featured-card { grid-template-columns: 1fr; }
    .featured-card-image { height: 280px; }
    .featured-card-body { padding: 40px; }
    .featured-card-body h2 { font-size: 1.4rem; }
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-card.tall { grid-row: auto; }
    .bento-card.wide { grid-column: span 2; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-card { padding: 40px 24px; }
    .newsletter-card h3 { font-size: 1.3rem; }
}
@media (max-width: 576px) {
    .blog-hero { padding: 120px 0 40px; }
    .blog-hero h1 { font-size: 1.8rem; letter-spacing: -0.5px; }
    .blog-hero p { font-size: 0.92rem; }
    .blog-hero-categories { gap: 8px; }
    .blog-hero-categories .pill { font-size: 0.72rem; padding: 6px 14px; }
    .featured-card-image { height: 200px; }
    .featured-card-body { padding: 24px; }
    .featured-card-body h2 { font-size: 1.1rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.wide { grid-column: auto; }
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-card .card-img { height: 180px; }
    .grid-section { padding: 0 0 60px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .newsletter-card { padding: 32px 20px; }
    .newsletter-card h3 { font-size: 1.1rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button { width: 100%; }
}

.blog-pagination {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.blog-pagination .pagination {
    margin: 0;
    gap: 6px;
}
.blog-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.45);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.blog-pagination .page-item .page-link:hover {
    background: rgba(59,130,246,0.15);
    border-color: rgba(59,130,246,0.3);
    color: #93c5fd;
    transform: translateY(-2px);
}
.blog-pagination .page-item.active .page-link {
    background: rgba(59,130,246,0.2);
    border-color: rgba(59,130,246,0.35);
    color: #93c5fd;
    box-shadow: 0 0 20px rgba(59,130,246,0.15);
}
.blog-pagination .page-item.disabled .page-link {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
@media (max-width: 576px) {
    .blog-pagination .pagination { gap: 4px; }
    .blog-pagination .page-item .page-link { min-width: 36px; height: 36px; font-size: 0.78rem; }
}
