/* ============================================================
   Blog Section - 渐变背景（#f5f5f5 → #9EA4BC）
   ============================================================ */
   .blog-section {
    position: relative;
    width: 100%;
    padding: 80px 0 100px 0;
    overflow: hidden;
    /* 从 #f5f5f5 渐变到 #9EA4BC */
    background: linear-gradient(180deg, #ffffff 0%, #e8eaf0 30%, #d5d8e0 60%, #b8bcc8 80%, #b6b4cf 100%);
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ----- Blog 光效（与渐变融合） ----- */
.blog-section .blog-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: blogGlowPulse 7s ease-in-out infinite alternate;
}

.blog-section .blog-glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(155, 209, 255, 0.10) 40%, transparent 70%);
    filter: blur(90px);
    animation-delay: 0s;
}

.blog-section .blog-glow-2 {
    width: 450px;
    height: 450px;
    bottom: -150px;
    left: -120px;
    background: radial-gradient(circle, rgba(43, 127, 193, 0.08) 0%, rgba(155, 209, 255, 0.04) 50%, transparent 70%);
    filter: blur(80px);
    animation-delay: 1.5s;
    animation-name: blogGlowPulse2;
}

.blog-section .blog-glow-3 {
    width: 350px;
    height: 350px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    animation-delay: 0.8s;
}

/* 底部过渡光效（与 CTA 顶部衔接） */
.blog-section .blog-glow-4 {
    position: absolute;
    width: 600px;
    height: 200px;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at 50% 100%, 
        rgba(43, 127, 193, 0.12) 0%,
        rgba(155, 209, 255, 0.06) 30%,
        rgba(200, 208, 220, 0.03) 60%,
        transparent 100%
    );
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
    animation: blogGlowPulse3 6s ease-in-out infinite alternate;
}

/* Blog 底部渐变（与 CTA 顶部渐变呼应） */
.blog-section .blog-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(158, 164, 188, 0.20) 40%,
        rgba(158, 164, 188, 0.50) 70%,
        rgba(158, 164, 188, 0.80) 100%
    );
    z-index: 0;
    pointer-events: none;
}

@keyframes blogGlowPulse {
    0% { transform: scale(0.9) translate(0, 0); opacity: 0.5; }
    100% { transform: scale(1.3) translate(20px, -20px); opacity: 1; }
}

@keyframes blogGlowPulse2 {
    0% { transform: scale(0.8) translate(0, 0); opacity: 0.4; }
    100% { transform: scale(1.4) translate(-30px, 20px); opacity: 1; }
}

@keyframes blogGlowPulse3 {
    0% { transform: translateX(-50%) scale(0.9); opacity: 0.4; }
    100% { transform: translateX(-50%) scale(1.1); opacity: 0.9; }
}

/* ============================================================
   容器
   ============================================================ */
.blog-section .blog-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

/* ============================================================
   标题（深色背景适配）
   ============================================================ */
.blog-section .blog-header {
    text-align: center;
    margin-bottom: 48px;
}

.blog-section .blog-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #2b4a6a;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 22px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.blog-section .blog-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0b2a4a;
    line-height: 1.2;
    margin-bottom: 8px;
}

.blog-section .blog-title span {
    background: linear-gradient(135deg, #0b2a4a, #2b7fc1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-section .blog-subtitle {
    font-size: 1.05rem;
    color: rgba(11, 42, 74, 0.6);
    margin-top: 4px;
}

/* ============================================================
   博客卡片（白色背景，在渐变上突出）
   ============================================================ */
.blog-section .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-section .blog-card {
    background: #f5fbff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.blog-section .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(43, 127, 193, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 博客图片 */
.blog-section .blog-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8eef5, #c8d4e0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-section .blog-card-img i {
    font-size: 3.6rem;
    color: #7a8aa0;
    opacity: 0.4;
}

.blog-section .blog-card-img .blog-date-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 42, 74, 0.7);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 16px;
    letter-spacing: 0.5px;
}

/* 博客正文 */
.blog-section .blog-card-body {
    padding: 22px 26px 26px 26px;
}

.blog-section .blog-card-body .blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: #6a8aaa;
}

.blog-section .blog-card-body .blog-meta i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.blog-section .blog-card-body .blog-meta .blog-category {
    background: rgba(43, 127, 193, 0.08);
    color: #2b7fc1;
    padding: 2px 14px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.7rem;
}

.blog-section .blog-card-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0b2a4a;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.blog-section .blog-card:hover .blog-card-body h3 {
    color: #2b7fc1;
}

.blog-section .blog-card-body p {
    font-size: 0.92rem;
    color: #4a6a8a;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* 阅读链接 */
.blog-section .blog-card-body .blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2b7fc1;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-section .blog-card-body .blog-readmore i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.blog-section .blog-card-body .blog-readmore:hover {
    color: #1a5a8a;
}

.blog-section .blog-card-body .blog-readmore:hover i {
    transform: translateX(4px);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .blog-section .blog-container {
        padding: 0 40px;
    }
    .blog-section .blog-title {
        font-size: 2.2rem;
    }
    .blog-section .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .blog-section .blog-card-img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 50px 0 60px 0;
        background: linear-gradient(180deg, #f5f5f5 0%, #e8eaf0 30%, #d5d8e0 60%, #b8bcc8 80%, #9EA4BC 100%);
    }
    .blog-section .blog-container {
        padding: 0 20px;
    }
    .blog-section .blog-title {
        font-size: 1.8rem;
    }
    .blog-section .blog-subtitle {
        font-size: 0.9rem;
    }
    .blog-section .blog-header {
        margin-bottom: 32px;
    }
    .blog-section .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-section .blog-card-img {
        height: 160px;
    }
    .blog-section .blog-card-body {
        padding: 18px 20px 22px 20px;
    }
    .blog-section .blog-card-body h3 {
        font-size: 1rem;
    }
    .blog-section .blog-card-body p {
        font-size: 0.85rem;
    }
    .blog-section .blog-glow-1 {
        width: 300px;
        height: 300px;
        top: -120px;
        right: -80px;
        filter: blur(60px);
    }
    .blog-section .blog-glow-2 {
        width: 250px;
        height: 250px;
        bottom: -80px;
        left: -60px;
        filter: blur(50px);
    }
    .blog-section .blog-glow-3 {
        width: 200px;
        height: 200px;
        filter: blur(50px);
    }
    .blog-section .blog-glow-4 {
        width: 300px;
        height: 150px;
        bottom: -20px;
        filter: blur(40px);
    }
}