/* ===================================================================
   homepage_enhance.css — 首页全局美化覆盖层
   v1.0  2026-04-10
   =================================================================== */

/* ---------- 0. Logo 上移修正 ---------- */
/* 缩小 Logo 让整张图完整显示并垂直居中 */
/* 因图片底部水滴导致视觉重心偏上，用负 margin 微调 */
.pg_3_31119 a img {
    max-height: 44px !important;
    margin-top: -40px !important;
}

@media (min-width: 992px) {
    .pg_3_31119 a img {
        max-height: 48px !important;
        margin-top: -40px !important;
    }
}

/* ---------- 1. 全局：统一 Section 标题样式 ---------- */
/* 英文水印标题：从"幽灵文字"变成有质感的浅色辅助 */
.pg_3_31171,
.pg_3_31191,
.pg_3_31258 {
    opacity: 0.12;
}

.pg_3_31171 img,
.pg_3_31191 img,
.pg_3_31258 img {
    filter: brightness(0) invert(0.35) !important;
}

/* 中文标题：加品牌蓝橙渐变下划线 */
.pg_3_31172,
.pg_3_31192,
.pg_3_31259 {
    position: relative !important;
    padding-bottom: 16px !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
    float: none !important;
    clear: none !important;
}

.pg_3_31172::after,
.pg_3_31192::after,
.pg_3_31259::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #1a5297;
    border-radius: 2px;
}

/* ---------- 2. 技术展示区域 ---------- */
.pg_3_31140 {
    background: linear-gradient(160deg, #e8eef5 0%, #f0f3f8 50%, #e5edf5 100%) !important;
    background-image: none !important;
    position: relative;
}

/* 视频容器圆角 + 阴影 */
.pg_3_31452 {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(15, 76, 129, 0.12) !important;
}

.pg_3_31452 video {
    border-radius: 16px !important;
}

.pg_3_31452 .poster {
    border-radius: 16px !important;
}

/* ---------- 3. 产品展示区域 ---------- */
.pg_3_31187 {
    background: #ffffff !important;
}

/* "查看全部"按钮升级 */
.pg_3_31195 a,
.pg_3_31260 a {
    border: 2px solid #1a5297 !important;
    color: #1a5297 !important;
    font-weight: 600 !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    letter-spacing: 1px;
}

.pg_3_31195 a:hover,
.pg_3_31260 a:hover {
    background: linear-gradient(135deg, #1a5297, #2770b8) !important;
    border-color: #1a5297 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(26, 82, 151, 0.25) !important;
    transform: translateY(-2px);
}

/* 产品卡片圆角 + 阴影 + hover上浮 */
.pg_3_31199 ul li {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    background: #fff !important;
}

.pg_3_31199 ul li:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 48px rgba(15, 76, 129, 0.14) !important;
}

/* 产品图圆角 */
.pg_3_31199 ul li a img {
    border-radius: 16px 16px 0 0 !important;
}

/* 产品 label 区域 */
.pg_3_31199 ul li a label {
    background: #ffffff !important;
    border-radius: 0 0 16px 16px !important;
    padding: 20px 24px !important;
    border-top: 1px solid #f0f0f0;
}

.pg_3_31199 ul li a label span {
    color: #1a2a3f !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
}

.pg_3_31199 ul li a label b {
    color: #1a5297 !important;
    font-weight: 500 !important;
    transition: color 0.3s;
}

.pg_3_31199 ul li:hover a label b {
    color: #f7a83d !important;
}

/* 编号效果优化 */
.pg_3_31199 ul li a label i {
    color: #1a5297;
    opacity: 0.06 !important;
    font-size: 64px !important;
    transition: all 0.4s;
}

.pg_3_31199 ul li:hover a label i {
    opacity: 0.12 !important;
    color: #f7a83d;
}

/* ---------- 4. 新闻中心区域 ---------- */
.pg_3_31254 {
    background: #f5f7fb !important;
}

/* 新闻卡片美化 */
.pg_3_31261 ul li {
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

@media (min-width: 768px) {
    .pg_3_31261 ul li {
        background: #ffffff !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
        border: 1px solid #eef2f9;
    }

    .pg_3_31261 ul li:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 14px 36px rgba(15, 76, 129, 0.1) !important;
    }

    /* 底部渐变线 */
    .pg_3_31261 ul li::after {
        border-radius: 0 0 14px 14px !important;
    }

    .pg_3_31261 ul li:hover::after {
        background: #1a5297 !important;
    }
}

/* 新闻图区域圆角 */
.pg_3_31261 ul li a i {
    border-radius: 14px 14px 0 0 !important;
    transition: transform 0.4s ease;
}

.pg_3_31261 ul li:hover a i {
    transform: scale(1.03);
}

/* 新闻标题 */
.pg_3_31261 ul li a label span {
    transition: color 0.3s !important;
}

.pg_3_31261 ul li:hover a label span {
    color: #1a5297 !important;
}

/* 新闻描述文字 */
.pg_3_31261 ul li a label p {
    line-height: 1.7 !important;
    color: #8899aa !important;
}

/* "更多" 链接 */
.pg_3_31261 ul li a label b {
    color: #1a5297 !important;
    font-weight: 500 !important;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.35s ease;
}

.pg_3_31261 ul li:hover a label b {
    opacity: 1;
    transform: translateX(0);
    color: #f7a83d !important;
}

/* ---------- 5. 关于我们区域 ---------- */
.pg_3_31274 {
    background: #ffffff !important;
}

/* Logo + ABOUT US 标题区域 */
.pg_3_31326 {
    margin-top: 12px !important;
}

/* 公司介绍文字优化 */
.pg_3_31330 {
    font-size: 15px !important;
    line-height: 1.9 !important;
    color: #4a5568 !important;
    letter-spacing: 0.3px;
}

@media (min-width: 992px) {
    .pg_3_31330 {
        font-size: 16px !important;
        line-height: 2 !important;
    }
}

/* "查看全部"按钮统一 */
.pg_3_31332 a {
    border: 2px solid #1a5297 !important;
    color: #1a5297 !important;
    font-weight: 600 !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    letter-spacing: 1px;
}

.pg_3_31332 a:hover {
    background: linear-gradient(135deg, #1a5297, #2770b8) !important;
    border-color: #1a5297 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(26, 82, 151, 0.25) !important;
    transform: translateY(-2px);
}

/* 右侧图片圆角 + 阴影 */
.pg_3_31311 img,
.pg_3_31312 {
    border-radius: 20px !important;
    box-shadow: 0 12px 40px rgba(15, 76, 129, 0.1) !important;
    transition: transform 0.4s ease;
}

.pg_3_31311:hover img {
    transform: scale(1.02);
}

/* ---------- 6. Section 间距微调（呼吸感） ---------- */
@media (min-width: 1200px) {

    .pg_3_31140,
    .pg_3_31187,
    .pg_3_31254,
    .pg_3_31274 {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
}

/* ---------- 7. 滚动入场动画加强 ---------- */
.wow {
    animation-fill-mode: both;
}

/* ---------- 8. Hero banner 底部柔和过渡 ---------- */
.site-home-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #e8eef5);
    pointer-events: none;
    z-index: 3;
}

.site-home-hero {
    position: relative;
}

/* ---------- 9. 全局字体优化 ---------- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}