/* =========================================
   1. 英雄区域 (Hero Section)
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}

.title-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    z-index: 5;
}

/* 第一行文字 */
.hero-special-font {
    font-weight: 900 !important;
    font-size: clamp(3rem, 10vw, 7.5rem);
    color: #ffffff;
    line-height: 0.8;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* 第二行文字：Connected */
.hero-special-font-2 {
    font-weight: 900 !important;
    font-size: clamp(2rem, 8vw, 5.5rem);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    /* 电脑端偏移 */
    margin-left: 23rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(27, 99, 211, 0.8));
    transition: all 0.4s ease;
}

/* 副标题基础样式 */
.hero-subtitle-responsive {
    font-weight: 400;
    font-size: 1.2rem; /* 稍微缩小一点，原 2.5rem 太大 */
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding-left: 20px;
    max-width: 35vw; /* 电脑端保持较窄宽度 */
    color: rgba(255, 255, 255, 0.9);
    border-left: 3px solid #1b63d3; /* 增加侧边装饰线提升质感 */
}

/* 背景图遮罩 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* =========================================
   响应式适配 (移动端核心修复)
   ========================================= */
@media (max-width: 768px) {
    /* 1. 标题字号缩小，解决溢出 */
    .hero-special-font {
        font-size: 3.2rem !important;
        letter-spacing: -1px;
    }

    /* 2. 修复 Connected 消失的关键：重置 margin-left */
    .hero-special-font-2 {
        font-size: 2.8rem !important;
        margin-left: 0 !important; /* 强制归零，防止飞出屏幕 */
        margin-top: 10px; /* 手机端不需要重叠太厉害，稍微拉开 */
        letter-spacing: -1px;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8); /* 细化边框 */
        padding-left: 0;
    }

    /* 3. 描述文字：宽度占满 */
    .hero-subtitle-responsive {
        max-width: 100% !important; /* 手机端必须 100% */
        padding-left: 15px;
        font-size: 1rem !important;
        margin-top: 20px;
    }

    /* 4. 调整容器间距 */
    .hero-content .ps-md-5 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 5. 标题发光背景缩小 */
    .title-wrapper::before {
        width: 100%;
        filter: blur(30px);
    }
}

/* 针对极小屏幕的微调 */
@media (max-width: 480px) {
    .hero-special-font { font-size: 2.5rem !important; }
    .hero-special-font-2 { font-size: 2.2rem !important; }
}

/* =========================================
   2. 按钮样式 (Buttons)
   ========================================= */
.btn-hero {
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
}

.btn-primary-custom:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* =========================================
   3. 导航栏 (Navbar)
   ========================================= */
.navbar {
    transition: all 0.4s ease;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 透明状态 */
.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.navbar-transparent .navbar-brand,
.navbar-transparent .nav-link {
    color: #fff !important;
}

.navbar-transparent .nav-link:hover {
    color: #e0e0e0 !important;
}

.navbar-transparent .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 移动端下拉菜单修复 */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #fff;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-transparent .navbar-collapse .nav-link {
        color: #333 !important; /* 手机端展开后强制黑色文字 */
    }
}

/* =========================================
   4. 通用板块 (Features, Stats, About, Contact)
   ========================================= */
/* 特色服务 */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--e-global-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

/* 产品展示 */
.product-section {
    padding: 80px 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 19rem;
    width: 100%;
    object-fit: contain;
    background-color: #f5f5f5; /* 可选：给留白区域加个背景色 */
}


/* 统计数据 */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 80px 0;
    color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 关于我们 */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-text {
    padding: 3rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.milestone {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.milestone:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.milestone-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.certification-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    margin: 0.25rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.certification-badge:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

/* 联系表单 */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.1);
}

/* =========================================
   5. 产品分类板块 (Category Showcase) - 核心逻辑
   ========================================= */
.category-showcase {
    padding: 100px 0;
    background: white;
}

/* --- 5.1 基础样式 (所有语言通用) --- */
.category-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;

    /* 结构布局：强制等高并垂直排列 */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 悬停背景效果 */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card:hover::before {
    opacity: 0.9;
}

.category-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 悬停文字变白 */
.category-card:hover .category-icon,
.category-card:hover .category-title,
.category-card:hover .category-description,
.category-card:hover .category-features,
.category-card:hover .category-features li::before {
    color: white;
    transform: translateY(-5px);
}

/* 内部元素基础样式 */
.category-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.category-description {
    color: #666;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.category-features {
    list-style: none;
    padding: 0;
    margin: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    flex-grow: 1; /* 关键：占据剩余空间，把按钮推到底部 */
}

.category-features li {
    padding: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.category-btn {
    margin-top: auto; /* 关键：按钮沉底 */
    padding: 0.5rem 1.5rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 200px;
    align-self: center;
}

.category-card:hover .category-btn {
    background: white;
    color: var(--primary-color);
}

/* 文字容器 */
.nike-swoosh-container {
    position: relative;
    display: inline-block;
}

/* 勾的定位：右侧、小巧 */
.nike-swoosh-svg {
    position: absolute;
    width: 90px; /* 宽度缩小，显得精致 */
    height: 40px;
    bottom: -15px; /* 紧贴文字下方 */
    right: -30px; /* 重点：向右移出文字边缘 */
    z-index: 2;
    overflow: visible;
    pointer-events: none;
}

/* 勾的曲线样式 */
.nike-swoosh-path {
    fill: none;
    stroke: #ff3b3b; /* 品牌红 */
    stroke-width: 5; /* 粗细适中 */
    stroke-linecap: round; /* 末端圆润一点更像耐克笔触 */
    stroke-linejoin: round;

    /* 初始状态：隐藏 */
    stroke-dasharray: 120;
    stroke-dashoffset: 120;

    /* 动画：利落的曲线划过 */
    /* 使用这个贝塞尔曲线，起笔有一个向下的蓄力，收笔极快 */
    animation: drawNikeSwoosh 0.8s cubic-bezier(0.45, 0, 0.55, 1) forwards;
    animation-delay: 1.2s;
}

/* 整体弹出效果 */
.nike-swoosh-svg {
    opacity: 0;
    transform: translateY(10px) rotate(-5deg);
    animation: nikeSwooshRise 0.5s ease-out forwards;
    animation-delay: 1.2s;
}

/* 关键帧：由左下向右上划线 */
@keyframes drawNikeSwoosh {
    to {
        stroke-dashoffset: 0;
    }
}

/* 关键帧：向上轻微浮现 */
@keyframes nikeSwooshRise {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nike-swoosh-svg {
        width: 60px;
        height: 30px;
        right: -15px;
        bottom: -10px;
    }
}


/* --- 5.2 结构安全 (防止长词撑爆) --- */
.category-title,
.category-description,
.category-features {
    word-break: break-word; /* 允许单词内换行 */
    overflow-wrap: break-word;
    hyphens: auto; /* 允许连字符 */
}

/* --- 5.3 俄语/德语 专属瘦身版 (仅在电脑端生效) --- */
/* 仅当屏幕宽度 > 992px 且 语言为 ru 或 de 时应用 */
@media (min-width: 992px) {
    /* 缩小列间距 */
    :lang(ru) .category-showcase .row,
    :lang(de) .category-showcase .row {
        --bs-gutter-x: 14px;
    }

    /* 缩小卡片内边距 */
    :lang(ru) .category-showcase .category-card,
    :lang(de) .category-showcase .category-card {
        padding: 1.2rem 0.8rem;
    }

    /* 缩小图标 */
    :lang(ru) .category-showcase .category-icon,
    :lang(de) .category-showcase .category-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        width: 50px;
        height: 50px;
        line-height: 50px;
        margin-left: auto;
        margin-right: auto;
    }

    /* 缩小并限制标题 */
    :lang(ru) .category-showcase .category-title,
    :lang(de) .category-showcase .category-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        min-height: 2.5em; /* 预留两行高度 */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 缩小并限制描述 (最多2行) */
    :lang(ru) .category-showcase .category-description,
    :lang(de) .category-showcase .category-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 列表文字缩小 */
    :lang(ru) .category-showcase .category-features,
    :lang(de) .category-showcase .category-features {
        font-size: 0.75rem;
        padding-left: 0.5rem;
        margin-bottom: 1rem;
    }

    :lang(ru) .category-showcase .category-features li,
    :lang(de) .category-showcase .category-features li {
        margin-bottom: 0.2rem;
    }

    /* 按钮调整 */
    :lang(ru) .category-showcase .category-btn,
    :lang(de) .category-showcase .category-btn {
        padding: 0.4rem 0;
        font-size: 0.85rem;
        width: 100%;
        max-width: none; /* 取消最大宽度限制，填满卡片 */
    }
}

/* 认证容器样式 */
.certification-box {
    margin-top: 3rem; /* 增加与上方文字的间距 */
}

.cert-item {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #a0a0a0; /* 默认灰色，低调专业 */
    flex: 0 0 auto;
}

/* 核心图标尺寸设定 */
.cert-svg {
    width: 80px; /* 电脑端显示尺寸 */
    height: 80px;
    display: block;
}

/* 图标悬停效果：变色、放大、发光感 */
.cert-item:hover {
    transform: scale(1.15) translateY(-10px);
}

/* 认证容器样式 */
.certification-box {
    margin-top: 2rem;
}

.cert-item {
    cursor: help;
    transition: all 0.3s ease;
    color: #888; /* 默认灰色，专业且不抢眼 */
}

/* 图标悬停效果 */
.cert-item:hover {
    transform: translateY(-5px);
}

/* 为不同的认证设置悬停时的品牌色 */
/* ISO 蓝色 */
.cert-item[title*="ISO"]:hover {
    color: #00539b;
}

/* IATF 红色 */
.cert-item[title*="IATF"]:hover {
    color: #e31b23;
}

/* UL 黑色 */
.cert-item[title*="UL"]:hover {
    color: #000;
}

/* IPC 蓝色 */
.cert-item[title*="IPC"]:hover {
    color: #0072bc;
}

/* 适配移动端 */
@media (max-width: 768px) {
    .certification-box {
        justify-content: center;
        gap: 1rem !important;
    }

    .cert-svg {
        width: 40px;
        height: 40px;
    }
}

/* 悬停时的品牌颜色设定 */
.cert-item[title*="ISO 9001"]:hover {
    color: #00539b;
}

/* ISO 蓝 */
.cert-item[title*="IATF"]:hover {
    color: #e31b23;
}

/* 汽车红 */
.cert-item[title*="ISO 13485"]:hover {
    color: #008542;
}

/* 医疗绿 */
.cert-item[title*="UL"]:hover {
    color: #000000;
}

/* UL 黑 */
.cert-item[title*="IPC"]:hover {
    color: #0072bc;
}

/* IPC 蓝 */


/* 证书模块专属高级感 CSS */
/* 证书区域背景 */
.cert-section {
    padding: 60px 0;
}

/* 证书卡片外框 */
.cert-document-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cert-document-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: #007bff;
}

/* 标签样式 */
.cert-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 123, 255, 0.85);
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 3px;
    z-index: 5;
    font-weight: 500;
}

/* 图片容器：确保全图可见 */
.document-wrapper {
    position: relative;
    width: 100%;
    height: 320px; /* 固定高度，确保对齐 */
    background: #fff; /* 纯白背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #f5f5f5; /* 给证书加一个浅浅的描边 */
}

.document-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 关键：不剪裁，显示全图 */
    transition: transform 0.5s ease;
}

/* 悬停时的遮罩 */
.view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03); /* 极淡遮罩，不遮挡原图 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.view-overlay span {
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
}

.cert-document-card:hover .view-overlay {
    opacity: 1;
}

/* 底部标题 */
.cert-footer {
    padding-top: 15px;
    text-align: center;
    margin-top: auto; /* 推到底部 */
}

.cert-footer h6 {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 1rem;
}

/* --- Case Study 像素级还原核心 CSS --- */

/* 1. 蓝色容器底座 */
.case-pixel-container {
    background-color: #0066ff; /* 标准品牌蓝 */
    border-radius: 20px;
    padding: 50px 45px;
    position: relative;
    overflow: hidden;
}

/* 顶部标题还原 */
.case-pixel-title {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
}

/* 2. 左侧：白色背景卡片 */
.case-white-img-card {
    /*padding: 5px; !* 模拟边框宽度 *!*/
    background-color: #000; /* 边框颜色 */

    /* 父级也需要同样的裁剪，否则白色背景会露出来 */
    --cut-size: 3rem;
    clip-path: polygon(
            0 0,
            calc(100% - var(--cut-size)) 0,
            100% var(--cut-size),
            100% 100%,
            var(--cut-size) 100%,
            0 calc(100% - var(--cut-size))
    );
}

/* 强制 4:3 图片容器 */
.img-4-3-wrapper {
    position: relative;
    width: 100%;

    /* 1. 强制 4:3 比例 (现代浏览器支持) */
    aspect-ratio: 4 / 3;

    /* 兼容旧浏览器的 4:3 写法 (如果不需要兼容 IE 可以去掉下面这行) */
    /* padding-bottom: 75%; height: 0; */

    overflow: hidden;

    /* 2. 关键：使用 clip-path 裁剪出左下、右上切角 */
    /* 50px 是切角的大小，你可以根据设计图调整这个数值 */
    --cut-size: 3rem;

    clip-path: polygon(
            0 0,                                     /* 左上角 */
            calc(100% - var(--cut-size)) 0,          /* 右上角 -以此点开始切 */
            100% var(--cut-size),                    /* 右上角 -切到此点结束 */
            100% 100%,                               /* 右下角 */
            var(--cut-size) 100%,                    /* 左下角 -以此点开始切 */
            0 calc(100% - var(--cut-size))           /* 左下角 -切到此点结束 */
    );
}

/* 3. 图片完美填充容器 */
.img-4-3-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证图片铺满且不变形 */
    display: block;

    /* 如果使用了旧版 padding-bottom 写法，需要加上绝对定位 */
    /* position: absolute; top: 0; left: 0; */
}
.case-brand-tag {
    position: absolute;
    top: 25px;
    left: 25px;
    color: #0066ff;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 3;
}

/* 3. 右侧：直接在蓝色背景上的白色文字 */
.case-pixel-text-content {
    padding-left: 50px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.case-pixel-sub-title {
    margin-top: 0 !important;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.case-pixel-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* 详情列表图标 (保持全白) */
.case-pixel-info .info-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.case-pixel-info i {
    margin-right: 12px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 4. 按钮还原：右下角，白底橘红字 */
.case-pixel-btn-footer {
    text-align: right;
    margin-top: 25px;
}

.btn-pixel-quote {
    background-color: #ffffff;
    color: #ff5722 !important; /* 精准橘红字 */
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-pixel-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    background-color: #f8f8f8;
}

/* 响应式适配 */
@media (max-width: 991px) {
    .case-pixel-text-content { padding-left: 0; margin-top: 30px; }
    .case-pixel-container { padding: 40px 20px; }
}

/* 移动端适配：适当缩小，防止排不下 */
@media (max-width: 992px) {
    .cert-svg {
        width: 70px;
        height: 70px;
    }

    .certification-box {
        gap: 2rem !important;
    }
}

@media (max-width: 576px) {
    .certification-box {
        justify-content: center; /* 手机端居中 */
        gap: 1.5rem !important;
    }

    .cert-svg {
        width: 60px;
        height: 60px;
    }
}

/* =========================================
   6. 移动端适配 (Mobile Responsive)
   ========================================= */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-text {
        padding: 2rem;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

    .category-icon {
        font-size: 2.5rem;
    }
}