/* index.css
   从 Pages/Index.cshtml 中提取的页面专有样式。
   已将 @@keyframes/@@media 修复为合法的 @keyframes/@media。
   注意：与 custom.css 配合使用，避免重复定义全局样式。
*/
/* ===== 全局重置与变量 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --primary-blue-dark: #0055aa;
    --dark-bg: #1d1d1f;
    --dark-text: #f5f5f7;
    --light-bg: #f5f5f7;
    --card-bg: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #3a3a3c;
    --text-light: #a1a1a6;
    --border-light: #eaeaea;
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius-card: 24px;
    --border-radius-button: 40px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== 导航栏样式 ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
    transition: var(--transition);
}

    .navbar.scrolled {
        padding: 12px 0;
        box-shadow: var(--shadow-sm);
    }

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

    .logo span {
        color: var(--text-primary);
        font-weight: 400;
    }

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

    .nav-menu a {
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
        transition: var(--transition);
        position: relative;
    }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-blue);
            transition: var(--transition);
        }

        .nav-menu a:hover {
            color: var(--primary-blue);
        }

            .nav-menu a:hover::after {
                width: 100%;
            }

    .nav-menu .search-icon {
        font-size: 18px;
        cursor: pointer;
        color: var(--text-secondary);
    }

        .nav-menu .search-icon:hover {
            color: var(--primary-blue);
        }

/* ===== 下拉菜单模拟 ===== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 20px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.case-carousel .case-item {
    overflow: hidden;
}

    .case-carousel .case-item .case-image {
        transform: scale(1);
        transform-origin: center center;
        transition: transform 0.35s ease;
    }

    .case-carousel .case-item:hover .case-image {
        transform: scale(1.2);
    }





/* 产品中心轮播区域 */
.case-carousel {
    background-color: #1e293b; /* 产品中心设置背景颜色为淡灰色 #f8f9fa */
    padding: 4rem 0; /* 增加垂直内边距 */
}

.dropdown-menu a {
    display: block;
    padding: 8px 24px;
    color: var(--text-secondary);
}

    .dropdown-menu a:hover {
        background: var(--light-bg);
        color: var(--primary-blue);
    }

    .dropdown-menu a::after {
        display: none;
    }

/* ===== 主视觉区域 (Hero) - 带背景图像 ===== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    isolation: isolate;
    overflow: hidden;
}

/* 背景图像 - 使用多层背景图实现深度效果 */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
}

    .hero-background::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("/assets/background7.png");
        background-size: cover;
        background-position: center;
        filter: brightness(0.7);
    }

/* 针对手机等小屏幕设备使用低分辨率背景图以提升加载速度 */
@media screen and (max-width: 768px) {
    .hero-background {
        background-image: url('/assets/background_mobile.webp') !important;
    }
}

/* 动态粒子效果 (模拟科技感) */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 1px), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 1px, transparent 1px), radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 2px, transparent 2px), radial-gradient(circle at 90% 20%, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 200px 200px, 250px 250px;
    animation: particlesMove 60s linear infinite;
}

@keyframes particlesMove {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 100px 100px, 150px 150px, 200px 200px, 250px 250px;
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    /* 首屏内容淡入动画 */
    animation: hero-fade-in 0.8s ease-out both;
}

.hero h1 {
    margin-top: 80px; /* 增加上外边距 */
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* 首屏主标题样式与交互 */
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* 使用 clamp() 实现响应式字体大小：最小值为 2.2rem，首选值为视口宽度的 5% (5vw)，最大值为 3.5rem。 */
    font-weight: 700;
    letter-spacing: 0.06em;
    display: inline-block;
    position: relative;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, text-shadow 0.25s ease, color 0.25s ease;
}

    .hero-title:hover {
        transform: translateY(-2px);
        text-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
        color: #f5fbff;
    }

/* 首屏副标题样式与交互 */
.hero-description {
    margin-top: 1.2rem;
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245, 245, 245, 0.82);
    transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
}

    .hero-description:hover {
        color: #ffffff;
        transform: translateY(-1px);
        text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    }

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: var(--border-radius-button);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

    .btn-primary:hover {
        background: var(--primary-blue-dark);
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0,102,204,0.3);
    }

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: white;
}

    .btn-outline-light:hover {
        background: white;
        color: var(--text-primary);
        transform: translateY(-2px);
    }

/* ===== 信任徽章/合作伙伴 ===== */
.trust-badges {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
}

.badges-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

    .badge-item i {
        font-size: 32px;
        color: var(--primary-blue);
    }

/* ===== 产品/服务卡片区域 ===== */
.section-header {
    text-align: center;
    margin: 80px 0 40px;
}

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: var(--text-primary);
    }

    .section-header p {
        font-size: 1.1rem;
        color: var(--text-secondary);
        max-width: 700px;
        margin: 0 auto;
    }

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md);
    }

/* 卡片图像区域 - 丰富的背景图调用 */
.card-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.card:hover .card-image img {
    transform: scale(1.05);
}

/* ===== 特色横幅区域 - 带背景图像 ===== */
.feature-banner {
    position: relative;
    padding: 120px 0;
    margin: 60px 0;
    color: white;
    isolation: isolate;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("/assets/background6.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 视差效果 */
}

    .banner-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,102,204,0.8) 0%, rgba(0,0,0,0.6) 100%);
    }

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

    .banner-content h2 {
        font-size: 2.3rem;
        margin-bottom: 20px;
    }

    .banner-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        opacity: 0.9;
    }

.banner-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

/* === 提供支持界面 === */

/* 整块横幅在 hover 时略微抬起并亮一些，仅影响 feature-banner 区域 */
.feature-banner:hover .banner-bg::after {
    background: linear-gradient(90deg, rgba(0,136,255,0.9) 0%, rgba(0,0,0,0) 100%);
}

.feature-banner:hover .banner-content {
    transform: translateY(-4px);
}

.feature-banner .banner-content {
    transition: transform 0.25s ease, filter 0.25s ease;
}

    .feature-banner .banner-content h2::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 72px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, #00d1ff, #4b9bff, #9b59ff);
        transition: width 0.25s ease;
    }

.feature-banner:hover .banner-content h2::after {
    width: 110px;
}

/* 文本在 hover 时稍微变亮，保持在此版块内作用 */
.feature-banner .banner-content p {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.feature-banner:hover .banner-content p {
    opacity: 1;
    transform: translateY(-2px);
}

/* 统计数字小卡片交互：仅横幅内的 stat-item 有此效果 */
.feature-banner .stat-item {
    position: relative;
    padding: 12px 4px;
    transition: transform 0.25s ease, color 0.25s ease;
}

    .feature-banner .stat-item::before {
        content: "";
        position: absolute;
        left: -8px;
        right: -8px;
        top: 4px;
        bottom: 4px;
        border-radius: 16px;
        background: radial-gradient(circle at 10% 0, rgba(255,255,255,0.18), transparent 55%);
        opacity: 0;
        transform: scale(0.96);
        transition: opacity 0.25s ease, transform 0.25s ease;
        z-index: -1;
    }

    .feature-banner .stat-item:hover {
        transform: translateY(-4px);
    }

        .feature-banner .stat-item:hover::before {
            opacity: 1;
            transform: scale(1);
        }

/* 横幅内部按钮做轻微放大，仅作用于该区域，不影响其他按钮 */
.feature-banner .btn-primary {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-banner .btn-primary::after {
        content: "";
        position: absolute;
        top: 0;
        left: -40%;
        width: 40%;
        height: 100%;
        background: linear-gradient(120deg, rgba(255,255,255,0.2), transparent 70%);
        transform: skewX(-20deg);
        opacity: 0;
        transition: left 0.35s ease, opacity 0.35s ease;
    }

    .feature-banner .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    }

        .feature-banner .btn-primary:hover::after {
            left: 120%;
            opacity: 1;
        }

/* 卡片图像上的叠加标签 */
.card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,102,204,0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.card-content {
    padding: 30px;
}

    .card-content h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: var(--text-primary);
        line-height: 1.4;
    }

    .card-content p {
        color: var(--text-secondary);
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.card-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

    .card-link i {
        transition: transform 0.2s ease;
    }

    .card-link:hover {
        color: var(--primary-blue-dark);
    }

        .card-link:hover i {
            transform: translateX(5px);
        }

/* ===== 应用案例网格 ===== */

.application-cases-section {
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
}
    /* ===== 确保深色背景下的文字可见 ===== */
.application-cases-section .section-header h2 {
    color: #1d1d1f;
}

.application-cases-section .section-header p {
    color: #1d1d1f;
}


.case-studies {
    background: white;
    padding: 80px 0;
    border-radius: 60px 60px 0 0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.case-item {
    /* 在这里设置卡片的宽度 */
    width: 220px;
    /* 在这里设置卡片的高度 */
    height: 220px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
}

.case-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.product_case-item:hover .product_case-image {
    transform: scale(1.1);
}

/* 为每个案例设置不同的背景图像 */
.case-1 .case-image {
    background-image: url("/assets/camera5.png");
}

.case-2 .case-image {
    background-image: url("/assets/camera2.png");
}

.case-3 .case-image {
    background-image: url("/assets/camera3.png");
}

.case-4 .case-image {
    background-image: url("/assets/camera4.png");
}

.case-5 .case-image {
    background-image: url("/assets/camera1.png");
}

.case-6 .case-image {
    background-image: url("/assets/computer1.png");
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.case-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.case-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== 公司介绍栏目（company-intro） ===== */
.company-intro {
    /* background-image: url("/assets/background2.png"); */
    background-color: #ffffff;
    padding: 48px 0;
    color: var(--text-dark, #222);
}

    .company-intro .container {
        /* background-image: url("/assets/background2.png"); */
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 16px;
    }

    .company-intro .intro-row {
        display: flex;
        align-items: stretch; /* 由 flex-start 改为 stretch 以实现等高 */
        gap: 32px;
    }

    /* 左侧图片 */
    .company-intro .intro-image {
        flex: 0 0 420px;
        max-width: 420px;
        display: flex; /* 让 img 能够填满容器高度 */
        align-items: stretch;
    }

        .company-intro .intro-image img {
            width: 100%;
            height: 100%; /* 填满父容器高度，实现与右侧文本等高 */
            display: block;
            border-radius: 8px;
            box-shadow: 0 6px 18px rgba(0,0,0,0.08);
            object-fit: cover; /* 按容器裁剪，保持纵横比 */
        }

    /* 右侧文本 */
    .company-intro .intro-text {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

        .company-intro .intro-text h2 {
            margin-top: 0;
            font-size: 1.8rem;
            margin-bottom: 16px;
            color: var(--heading-color, #111);
        }

        .company-intro .intro-text p {
            margin-bottom: 16px;
            line-height: 1.75;
            color: var(--text-muted, #444);
        }

/* 响应式：窄屏时堆叠 */
@media (max-width: 768px) {
    .company-intro .intro-row {
        flex-direction: column;
        align-items: stretch;
    }

    .company-intro .intro-image {
        flex: 0 0 auto;
        max-width: 100%;
        height: auto;
        display: block;
    }

        .company-intro .intro-image img {
            width: 100%;
            height: auto; /* 在窄屏时按天然比例显示图片 */
            object-fit: cover;
        }
}

/* ===== 轮播与标签样式（从 Lunbostyle.css 迁移） ===== */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag {
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 13px;
    border: 1px solid #fff;
    transition: all 0.3s ease;
}

    .tag:hover {
        background-image: url("/assets/background2.png");
        /* background: #1a365d; */
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        background-size: cover; /* 或 contain / 具体尺寸 */
        background-position: center;
    }

.tag-h1 {
    font-size: 2.5rem;
    margin-top: 80px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 28px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.tag-description {
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 20px;
}

.tag-body {
    opacity: 0.99;
    background-image: url("/assets/background3_black.png");
    /* background: #1a365d; */
    transform: translateY(-2px);
    background-size: cover; /* 或 contain / 具体尺寸 */
    background-position: center;
    min-height: 50vh;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border-radius: 38px;
    border: 1px solid rgba(255,255,255,0.2);
}
.tag-mainbody {
    background: #ffffff;
}




/* 轮播包装器 */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 -10px;
}

/* 卡片网格 - 横向滚动容器 */
.card-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5px 20px;
    margin: 0;
    width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

    .card-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

/* 卡片 */
.card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 35px -8px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 40px -12px rgba(0,50,80,0.18);
    }

/* 卡片图片 */
.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #e2e8f0;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffffffcc;
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.6);
}

.card-content {
    padding: 24px 22px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .card-content h3 {
        font-size: 1.3rem;
        font-weight: 600;
        line-height: 1.4;
        color: #0f172a;
        margin-bottom: 12px;
    }

    .card-content p {
        font-size: 0.95rem;
        color: #334155;
        line-height: 1.6;
        margin-bottom: 20px;
        flex: 1;
    }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, gap 0.2s;
    align-self: flex-start;
    margin-top: 4px;
}

    .card-link i {
        font-size: 0.8rem;
        transition: transform 0.2s;
    }

    .card-link:hover {
        border-bottom-color: #2563eb;
        gap: 12px;
    }

        .card-link:hover i {
            transform: translateX(4px);
        }

/* 轮播按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e9eef3;
    box-shadow: 0 10px 20px -5px rgba(0,20,40,0.15);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    font-size: 1.2rem;
    opacity: 0.95;
}

    .carousel-btn:hover {
        background: #f8fafc;
        box-shadow: 0 14px 24px -6px rgba(0,40,80,0.25);
        color: #0f172a;
        border-color: #cbd5e1;
        transform: translateY(-50%) scale(1.05);
    }

    .carousel-btn:active {
        transform: translateY(-50%) scale(0.98);
    }

.carousel-btn--left {
    left: -10px;
}

.carousel-btn--right {
    right: -10px;
}

/* 按钮禁用状态 */
.carousel-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
    box-shadow: none;
}

/* 卡片图片渐隐效果 */
.card-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.04) 100%);
    pointer-events: none;
}

/* 响应式调整 */
@media (min-width: 1300px) {
    .carousel-btn--left {
        left: -20px;
    }

    .carousel-btn--right {
        right: -20px;
    }
}

@media (max-width: 700px) {
    .card {
        flex: 0 0 85vw;
        max-width: 320px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn--left {
        left: -2px;
    }

    .carousel-btn--right {
        right: -2px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* ===== 产品中心 ===== */
.case-carousel {
    background: #ffffff;
    padding: 10px 20px 30px 20px; /* 上40px，右20px，下30px，左20px */
}

    .case-carousel .section-header {
        margin-bottom: 24px;
    }

.case-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-carousel-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 320px;
    column-gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 8px 4px;
    width: 100%;
}

    /*
 * display: grid; - 使用 CSS Grid 布局。
 * grid-auto-flow: column; - 项目沿横向（列）排列。
 * grid-auto-columns: 320px; - 定义每列的宽度为 320px。
 * column-gap: 24px; - 设置列与列之间的间距。
 * overflow-x: auto; - 当内容超出容器宽度时，显示水平滚动条。
 * scroll-behavior: smooth; - 以编程方式触发滚动时（例如，通过 JavaScript），启用平滑滚动动画。
 * scroll-snap-type: x mandatory; - 在横轴上强制启用滚动捕捉，确保滚动停止时能对齐到项目的起始位置。
 * padding: 8px 4px; - 设置容器的内边距。
 * width: 100%; - 容器宽度占满其父元素的100%。
*/

    .case-carousel-grid::-webkit-scrollbar {
        display: none; /* 隐藏滚动条，保持整洁 */
    }

    .case-carousel-grid .case-item {
        width: 100%;
        scroll-snap-align: start;
    }

.case-carousel-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

    .case-carousel-btn.disabled {
        opacity: 0.35;
        cursor: default;
    }

@media (max-width: 768px) {
    .case-carousel {
        padding: 48px 0;
    }

    .case-carousel-grid {
        grid-auto-columns: minmax(100%, 1fr);
    }
}

/* ===== 技术规格表格区域 ===== */
.tech-specs {
    padding: 80px 0;
    background: var(--light-bg);
}

.specs-wrapper {
    background: white;
    border-radius: 40px;
    padding: 60px;
    box-shadow: var(--shadow-sm);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.spec-item {
    text-align: center;
}

.spec-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary-blue);
}

.spec-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.spec-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== 新闻和博客区域 ===== */
.news-section {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-1 .news-image {
    background-image: url('https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

.news-2 .news-image {
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

.news-3 .news-image {
    background-image: url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== 页脚区域 ===== */
.footer {
    background: var(--dark-bg);
    color: var(--dark-text);
    padding: 80px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about p {
    color: var(--text-light);
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        color: var(--text-light);
        font-size: 20px;
        transition: var(--transition);
    }

        .social-links a:hover {
            color: var(--primary-blue);
            transform: translateY(-3px);
        }

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

    .footer-links a:hover {
        color: white;
        padding-left: 5px;
    }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #3a3a3c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

    .footer-bottom-links a {
        color: var(--text-light);
        text-decoration: none;
    }

/* ===== 响应式设计 ===== */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .banner-stats {
        flex-direction: column;
        gap: 20px;
    }

    /* 窄屏时页脚底部内容上下排列，避免内容被压缩在一行 */
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        row-gap: 8px;
        justify-content: flex-start;
    }
}

/* 针对小屏幕的额外优化 */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 按钮图标统一右侧间距 */
.btn-icon-right {
    margin-left: 8px;
}

/* 页脚 Logo 图片尺寸控制 */
.footer .logo img {
    max-height: 40px;
    width: auto;
}


