/* 视觉规范定义 */
:root {
    --primary-color: #165DFF; /* 深空蓝 */
    --secondary-color: #86909C; /* 银灰色 */
    --bg-light: #F5F7FA;
    --text-dark: #1D2129;
}

/* --- 案例展示页 (list_case.html) 样式 --- */

/* 分类导航 */
.case-filter-wrapper .nav-pills .nav-link {
    color: var(--text-dark);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    margin-right: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.case-filter-wrapper .nav-pills .nav-link:hover {
    background-color: var(--bg-light);
}
.case-filter-wrapper .nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}
.case-filters-sub .nav-link {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
}

/* 案例卡片动效 */
.case-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}
.case-cover-wrapper {
    height: 220px;
    background-color: var(--bg-light);
}
.case-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-card:hover .case-cover {
    transform: scale(1.05);
}
.partner-logo-badge {
    z-index: 2;
}

/* 客户评价截断 */
.customer-review {
    border-left: 3px solid var(--primary-color);
}
.customer-review-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 骨架屏加载动画 (Bootstrap placeholder-glow 已有，此处增强) */
.skeleton-item .placeholder {
    background-color: #e9ecef;
    border-radius: 4px;
}

/* 合作客户滚动墙 */
.partners-scroll-container {
    width: 100%;
}
.bg-gradient-to-r {
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.bg-gradient-to-l {
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.partners-track {
    width: max-content;
    animation: scrollPartners 30s linear infinite;
}
.partners-track:hover {
    animation-play-state: paused; /* 鼠标悬浮暂停滚动 */
}
@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* 滚动到一半（克隆了一份） */
}
.partner-logo-item {
    width: 160px;
    height: 80px;
    margin: 0 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}
.partner-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.partner-logo-item:hover {
    filter: grayscale(0%) opacity(1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

/* --- 面包屑自定义样式 (无字体图标) --- */
.custom-breadcrumb {
    font-size: 0.95rem;
}
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/"; /* 使用斜杠作为分隔符，不依赖字体图标 */
    color: var(--secondary-color);
    padding: 0 0.5rem;
}
.custom-breadcrumb .breadcrumb-item a {
    transition: color 0.2s ease;
}
.custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color) !important;
}

/* --- 产品详情页 (pro_detail.html) 样式 --- */

/* 1. 图集与放大镜 */
.gallery-container {
    user-select: none;
}
.main-image-wrapper {
    cursor: crosshair;
    background-color: var(--bg-light);
    aspect-ratio: 1/1; /* 1920x1920 比例 */
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-image {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.zoom-lens {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.4);
    width: 200px;
    height: 200px;
    display: none;
    pointer-events: none; /* 鼠标事件穿透 */
}
.zoom-result {
    top: 0;
    left: 105%; /* 悬浮在主图右侧 */
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-repeat: no-repeat;
    display: none;
    z-index: 1050;
    pointer-events: none;
    border: 1px solid #dee2e6;
}
@media (max-width: 991.98px) {
    .zoom-result {
        display: none !important; /* 移动端不显示结果区 */
    }
}
.thumbnail-nav {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.thumbnail-nav::-webkit-scrollbar {
    display: none;
}
.thumbnail-item {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.thumbnail-item.active, .thumbnail-item:hover {
    border-color: var(--primary-color);
}

/* 2. 参数表格 */
.param-table {
    margin-bottom: 0;
}
.param-table th {
    width: 30%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
}
.param-table td {
    color: var(--secondary-color);
}
.table-responsive-mobile {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 3. 适用场景横向滚动 */
.scenarios-scroll-container {
    width: 100%;
    overflow-x: auto; /* 允许横向滚动 */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* iOS 流畅滚动 */
    scrollbar-width: none; /* Firefox 隐藏滚动条 */
    /* 移除 cursor: grab 和 touch-action 限制，让原生滚动接管 */
}
.scenarios-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari 隐藏滚动条 */
}
.scenarios-track {
    gap: 16px;
    padding-bottom: 10px; /* 为可能的阴影留出空间 */
    /* 移除与 JS 拖拽相关的 transition */
}
.scenario-card {
    flex: 0 0 280px; /* 固定宽度 */
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    /* 移除 user-select: none，允许文字选中 */
}
.scenario-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    pointer-events: none;
}
.scenario-card-body {
    padding: 12px;
}
.scenario-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.scenario-desc {
    font-size: 0.875rem;
    color: var(--secondary-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    padding-top: 0; /* 移除 padding-top，因为现在使用的是 sticky-top */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* 全局禁止横向滚动 */
    width: 100%;
}

/* 颜色复写 Bootstrap 默认变量 */
.text-primary { color: var(--primary-color) !important; }

/* 导航栏自定义样式 */
.nav-custom .nav-link {
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}
.nav-custom .nav-link:hover,
.nav-custom .nav-link.active {
    color: var(--primary-color);
}
.nav-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-custom .nav-link:hover::after,
.nav-custom .nav-link.active::after {
    width: 100%;
}
.bg-primary { background-color: var(--primary-color) !important; }

/* 自定义浅色徽章样式，修复 bg-opacity-10 无法和 bg-primary !important 共存的问题 */
.badge-light-primary {
    background-color: rgba(22, 93, 255, 0.1) !important;
    color: var(--primary-color) !important;
}

/* 移动端导航菜单展开样式优化 */
@media (max-width: 991.98px) {
    .nav-custom .nav-link {
        text-align: left;
        padding-left: 1rem !important;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-custom .nav-link::after {
        display: none; /* 移动端不显示底部滑线 */
    }
    .nav-custom .nav-link:hover,
    .nav-custom .nav-link.active {
        background-color: var(--bg-light);
        padding-left: 1.5rem !important; /* 悬浮时缩进动效 */
    }
}

/* 1. 首屏全屏 Banner (轮播图样式) */
.hero-banner-carousel {
    height: calc(100vh - 150px); /* 默认高度 */
    min-height: 500px;
    position: relative;
    z-index: 0;
}

/* 仅针对 PC 端 (≥1025px) 将高度和内容压缩为约三分之一 */
@media (min-width: 1025px) {
    .hero-banner-carousel {
        height: 490px; /* 固定高度为 490px */
        min-height: 490px;
    }
    .hero-bg-image {
        background-attachment: scroll; /* PC端取消固定视差，让背景图完全填充当前高度并随之滚动 */
        background-position: center center;
        background-size: cover;
    }
    .hero-title {
        font-size: 2rem !important; /* 缩小主标题字号 */
        margin-bottom: 0.5rem !important; /* 缩小标题下边距 */
    }
    .hero-subtitle {
        font-size: 1rem !important; /* 缩小副标题字号 */
        margin-bottom: 1.5rem !important; /* 缩小副标题下边距 */
    }
    .btn-lg-custom {
        padding: 0.5rem 1.5rem; /* 缩小按钮尺寸 */
        font-size: 1rem;
    }
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 视差效果 */
    /* 默认背景色，防图片加载慢 */
    background-color: #2C313B;
    /* 防止在某些浏览器/动画下 background-size: cover 失效，强制约束 */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

/* 修复 Bootstrap 轮播图在动画期间由于 transform 导致的 background-attachment: fixed 计算错误 (异常放大问题) */
.carousel-item-next.carousel-item-left .hero-bg-image,
.carousel-item-prev.carousel-item-right .hero-bg-image,
.carousel-item.active .hero-bg-image {
    background-attachment: scroll; /* 在动画期间临时取消 fixed 视差，防止坐标系改变导致图片被拉伸得极大 */
}

@media (min-width: 1025px) {
    .carousel-item-next.carousel-item-left .hero-bg-image,
    .carousel-item-prev.carousel-item-right .hero-bg-image,
    .carousel-item.active .hero-bg-image {
         background-attachment: scroll; 
    }
}

/* 轮播内容居中与动效 */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    /* 确保文字在遮罩之上 */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: white;
}

.carousel-item.active .hero-content {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 优化轮播图控制箭头 */
.custom-carousel-control {
    width: 8%; /* 减小点击热区宽度，避免误触 */
    z-index: 20; /* 确保层级高于内容，防止失效 */
}
.custom-carousel-control .carousel-control-prev-icon,
.custom-carousel-control .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.3); /* 增加半透明背景，提升可见度 */
    border-radius: 50%;
    background-size: 50%;
}
.custom-carousel-control:hover .carousel-control-prev-icon,
.custom-carousel-control:hover .carousel-control-next-icon {
    background-color: var(--primary-color);
}

.btn-lg-custom {
    padding: 0.8rem 1.5rem;
    font-size: 1.25rem;
}

@media (max-width: 767.98px) {
    /* 移动端轮播图高度优化 */
    .hero-banner-carousel {
        height: 245px !important;
        min-height: 245px !important;
    }
    .hero-bg-image {
        background-attachment: scroll; /* 移动端取消视差，防止背景拉伸异常 */
    }
    
    .custom-carousel-control .carousel-control-prev-icon,
    .custom-carousel-control .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
    .hero-title {
        font-size: 1.8rem !important; /* 进一步缩小移动端主标题 */
        margin-bottom: 0.5rem !important;
    }
    .hero-subtitle {
        font-size: 1rem !important; /* 进一步缩小移动端副标题 */
        margin-bottom: 1.5rem !important;
    }
    .btn-lg-custom {
        padding: 0.5rem 1rem !important; /* 缩小移动端按钮内边距 */
        font-size: 0.9rem !important; /* 缩小移动端按钮字号 */
    }
}

/* 2. 企业信用卡片 hover 动效 */
.credit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.credit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}

/* 按钮流光扫过特效 */
.btn-hover-shine {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-hover-shine::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}
.btn-hover-shine:hover::before {
    left: 150%;
}
.btn-hover-shine:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* 3. 核心优势区微动效与卡片样式 */
.advantage-section {
    background: linear-gradient(to bottom, transparent 50%, var(--bg-light) 50%);
}

.advantage-item {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    top: 0;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.15) !important;
}

.advantage-item .icon-wrapper {
    transition: all 0.4s ease;
}

.advantage-item:hover .icon-wrapper {
    background-color: var(--primary-color) !important;
}

.advantage-item:hover .icon-wrapper i {
    color: white !important;
}

/* 4. 产品推荐区 (正方形缩略图) */
.product-card {
    transition: transform 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

/* 5. 厂家实力速览背景 */
.strength-section {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, #165DFF 0%, #0E42D2 100%);
}

/* 优势区中心图片动效 */
.pulse-bg {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.1; }
    50% { transform: scale(1.05); opacity: 0.2; }
    100% { transform: scale(0.95); opacity: 0.1; }
}

/* 6. 广告语横幅 (PC 端专属) */
.ad-banner-section {
    height: 300px;
    background-image: url('../images/banner.jpg'); /* 请确保图片路径正确 */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* 视差滚动效果 */
    position: relative;
}

.ad-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 添加半透明黑色遮罩，确保文字清晰 */
    background-color: rgba(0, 0, 0, 0.5);
}

.text-shadow-sm {
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}

.tracking-wide {
    letter-spacing: 2px;
}

.ad-btn {
    background-color: #FF7D00;
    border-color: #FF7D00;
    color: white;
    transition: all 0.3s ease;
}

.ad-btn:hover {
    background-color: #E66A00;
    border-color: #E66A00;
    color: white;
    transform: translateY(-2px);
}

/* 7. 资质、案例与新闻模块样式 */
.cert-card {
    transition: transform 0.3s ease;
}
.cert-card:hover {
    transform: translateY(-5px);
}

/* 隐藏滚动条但保留滚动功能 (针对资质轮播区) */
.custom-scrollbar::-webkit-scrollbar {
    display: none;
}
.custom-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.case-card {
    transition: all 0.3s ease;
    overflow: hidden;
}
.case-card img {
    transition: transform 0.5s ease;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}
.case-card:hover img {
    transform: scale(1.05);
}

.news-card {
    transition: all 0.3s ease;
    overflow: hidden;
}
.news-card:hover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}
.news-list-item {
    cursor: pointer;
    border-left: 3px solid transparent;
}
.news-list-item:hover {
    background-color: #fff !important;
    border-left-color: var(--primary-color);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
}

/* 多行文本截断 */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 8. 关于页面 (about.html) 专属样式 */

/* 时间轴 (Timeline) */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.timeline-wrapper {
    position: relative;
}
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    opacity: 0.2;
    z-index: 0;
}
.timeline-item {
    position: relative;
    z-index: 1;
}
.timeline-dot {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}
.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(22, 93, 255, 0.5) !important;
}
.timeline-content-left {
    padding-right: 3rem;
}
.timeline-content-right {
    padding-left: 3rem;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(22, 93, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(22, 93, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 93, 255, 0); }
}
.animate-pulse {
    animation: pulse-ring 2s infinite;
}

@media (max-width: 991.98px) {
    .timeline-scroll-area {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }
    .timeline-item {
        scroll-snap-align: center;
        background: white;
        padding: 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
        margin-right: 1rem;
    }
    .timeline-item .row {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .timeline-content-left,
    .timeline-content-right {
        padding: 0;
        text-align: left !important;
    }
}

/* 核心优势卡片与进度环 */
.advantage-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}
.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.1) !important;
}
.progress-ring__circle {
    transition: stroke-dashoffset 1.2s ease-in-out;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-linecap: round;
}

/* 厂家信息悬浮卡片 */
.factory-info-card {
    transition: all 0.3s ease;
}
.factory-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.2) !important;
}

/* 10. 产品列表页 (products.html) 专属样式 */
.products-page .product-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.products-page .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.15) !important;
}

/* 主图锁定 4:3 比例 */
.product-main-img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

/* 缩略图交互 */
.thumbnail-img {
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.2s ease;
}
.thumbnail-img:hover {
    opacity: 1;
    transform: scale(1.1);
    border-color: var(--primary-color) !important;
}

/* 筛选侧边栏样式 */
.filter-radio:checked + label,
.filter-checkbox:checked + label {
    color: var(--primary-color);
    font-weight: bold;
}
.filter-radio:focus,
.filter-checkbox:focus {
    box-shadow: 0 0 0 0.25rem rgba(22, 93, 255, 0.25);
}
.footer-section {
    background-color: #121A2F; /* 更柔和的高级深蓝灰 */
    border-top: 4px solid var(--primary-color);
}

/* 9. 右侧悬浮工具栏 */
.floating-toolbar {
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 1050;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* 悬浮提示框默认隐藏，鼠标滑过时显示 */
.floating-tip {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) translateY(-50%);
    transition: all 0.3s ease;
    pointer-events: none; /* 防止遮挡点击 */
}

/* 添加一个小三角形指向右侧按钮 */
.floating-tip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.floating-item:hover .floating-tip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(-50%);
}

/* 移动端手势滑动优化 (产品区) */
@media (max-width: 767.98px) {
    #products .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }
    #products .col-12 {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

/* --- 厂房实景页 (plant.html) 样式 --- */

/* 图集筛选按钮样式 */
.plant-gallery-filters .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}
.plant-gallery-filters .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(22, 93, 255, 0.05);
}
.plant-gallery-filters .nav-link.active {
    color: #fff;
    background-color: var(--primary-color);
}

/* 图集悬浮效果 */
.gallery-item figure {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
.gallery-item figure:hover .gallery-overlay {
    opacity: 1 !important;
}
.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%);
    pointer-events: none; /* 防止遮罩阻挡点击事件 */
}

/* 视频封面播放按钮悬浮 */
.video-placeholder .btn {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.video-placeholder:hover .btn {
    transform: scale(1.15);
    opacity: 1 !important;
}

/* 工艺流程时间轴 */
.process-timeline li::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: -10px; /* 连接到下一个 */
    left: 11px; /* 居中于 24px 的圆圈 */
    width: 2px;
    background-color: #e9ecef;
}
.process-timeline li:last-child::before {
    display: none; /* 最后一个不显示连线 */
}

/* --- 新闻资讯页 (list_news.html) 样式 --- */

/* 顶部大 Tab 样式重写 */
.custom-tabs {
    border-bottom: 2px solid #e9ecef;
}
.custom-tabs .nav-link {
    color: var(--secondary-color);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}
.custom-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: transparent;
}
.custom-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border-bottom-color: var(--primary-color);
}

/* 新闻列表卡片 */
.news-item-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
}
.news-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
    border-color: rgba(22, 93, 255, 0.3);
}

.news-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-item-card:hover .news-thumbnail {
    transform: scale(1.05);
}
.img-wrapper {
    overflow: hidden;
}

@media (min-width: 768px) {
    .news-thumbnail {
        width: 240px;
        height: 160px;
    }
}

/* 文本截断 */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-primary {
    transition: color 0.3s ease;
}
.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* 侧边栏热门资讯悬浮 */
.custom-list-group .article-link {
    transition: color 0.2s ease;
}
.custom-list-group .article-link:hover {
    color: var(--primary-color) !important;
}

/* 骨架屏动画 */
.placeholder-glow .placeholder {
    animation: placeholder-glow 2s ease-in-out infinite;
}

/* 分页样式重写 */
.custom-pagination .page-link {
    color: var(--secondary-color);
    border: none;
    margin: 0 4px;
    border-radius: 8px !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.2s ease;
}
.custom-pagination .page-link:hover {
    background-color: rgba(22, 93, 255, 0.1);
    color: var(--primary-color);
}
.custom-pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 8px rgba(22, 93, 255, 0.3);
}

/* --- 新闻详情页 (news_view.html) 样式 --- */

/* 富文本内容排版优化 */
.article-body p {
    margin-bottom: 1.5rem;
    color: #495057;
}
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}
.article-summary {
    position: relative;
}
.article-summary::before {
    content: '\201C'; /* 左双引号 */
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
}

/* 标签悬浮 */
.article-tags .badge {
    transition: all 0.2s ease;
}
.article-tags .badge:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* 分享按钮悬浮动画 */
.share-widget .btn {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s;
}
.share-widget .btn:hover {
    transform: translateY(-3px) scale(1.1);
}
.share-widget .btn-outline-success:hover {
    background-color: #198754;
    color: white;
}
.share-widget .btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}
.share-widget .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
}

/* 放大镜指针 */
.cursor-zoom-in {
    cursor: zoom-in;
}

/* --- 技术支持页 (tech-support.html) 样式 --- */

/* 左侧导航样式 */
.tech-nav-list .list-group-item {
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px !important;
    margin-bottom: 4px;
}
.tech-nav-list .list-group-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}
.tech-nav-list .list-group-item.active {
    background-color: rgba(22, 93, 255, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}
.w-20px {
    width: 20px;
}

/* 锚点偏移 (避免被固定导航栏遮挡) */
.scroll-margin-top {
    scroll-margin-top: 100px;
}

/* FAQ 手风琴样式重写 */
.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
}
.faq-accordion .accordion-item:last-child {
    border-bottom: none;
}
.faq-accordion .accordion-button {
    background: transparent;
    padding: 1.25rem 1rem;
    color: var(--text-dark);
    box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(22, 93, 255, 0.02);
}
.faq-accordion .accordion-button::after {
    transition: transform 0.3s ease;
}
.faq-accordion .accordion-body {
    padding: 0 1rem 1.5rem 1rem;
    background-color: rgba(22, 93, 255, 0.02);
}

/* FAQ 高亮匹配 */
.highlight-text {
    background-color: rgba(255, 193, 7, 0.4);
    padding: 0 2px;
    border-radius: 2px;
}

/* 鼠标手型 */
.cursor-pointer {
    cursor: pointer;
}

.hover-bg-secondary {
    transition: background-color 0.3s, color 0.3s;
}
.hover-bg-secondary:hover {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* --- 资质荣誉页 (qualifications.html) 样式 --- */


#translate{display:none}