﻿/* 基础重置：消除边距，确保全屏控制 */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        ::-webkit-scrollbar { display: none; }
        body, html {
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
            font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
            background-color: #000; /* 背景底色 */
        }

        /* 导航栏：大厂常用的半透明磨砂质感 */
        .navbar {
            position: fixed;
            top: 0; width: 100%; height: 70px;
            display: flex; justify-content: space-between; align-items: center;
            padding: 0 10%;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(15px); /* 磨砂玻璃效果 */
            z-index: 1000;
            transition: all 0.5s ease;
        }

        .nav-links { display: flex; list-style: none; }
        .nav-links li a {
            text-decoration: none;
            color: #333;
            margin: 0 15px;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s;
            padding-bottom: 5px;
            white-space: nowrap;
        }
        .nav-links li a:hover, .nav-links li a.active { color: #007AFF; font-weight: bold; border-bottom: 2px solid #007AFF;}

        /* 自定义语言切换下拉选项 */
        .lang-selector {
            position: relative;
            display: inline-block;
        }
        .lang-selector .dropdown-toggle {
            padding: 5px 15px;
            border-radius: 4px;
            border: 1px solid #ddd;
            background: transparent;
            cursor: pointer;
            color: #333;
            font-size: 14px;
            outline: none;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }
        .lang-selector .dropdown-toggle .arrow {
            font-size: 10px;
            transition: transform 0.3s ease;
        }
        .lang-selector:hover .dropdown-toggle .arrow {
            transform: rotate(180deg);
        }
        .lang-selector .dropdown-toggle:hover {
            color: #007AFF;
            border-color: #007AFF;
        }
        .lang-selector .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            min-width: 120px;
            box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
            border-radius: 4px;
            list-style: none;
            padding: 5px 0;
            opacity: 0;
            /* 保证在 hover 前即使隐藏也在正常位置防止由于点击穿透导致错位 */
            transform: translateY(0);
            transition: all 0.3s ease;
            /* 改为直接吸附下方，避免留有物理空隙 */
            margin-top: 5px;
        }

        /* 修复 Hover 断层导致的菜单消失问题，扩大高度并提升z-index保证可以被 hover 到 */
        .lang-selector::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 20px;
            background: transparent;
            z-index: 1;
        }
        
        /* 提升菜单层级避免被遮挡导致无法点击 */
        .lang-selector .dropdown-menu {
            z-index: 2;
        }

        .lang-selector:hover .dropdown-menu {
            /* Handled by JS now to avoid flicker, or can keep it as fallback */
            display: block;
            opacity: 1;
            transform: translateY(0);
        }
        .dropdown-menu li a {
            color: #333;
            padding: 10px 15px;
            text-decoration: none;
            display: block;
            font-size: 14px;
            transition: all 0.2s;
            text-align: center;
        }
        .dropdown-menu li a:hover {
            background-color: #f5f5f5;
            color: #007AFF;
        }

        /* 页面容器：全屏板块 */
        .panel {
            padding: 100px 0; /* 改为内边距，移除固定100vh避免留白 */
            width: 100%;
            display: flex; /* keep content vertically centered but allow it to grow */
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            color: #fff;
            text-align: center;
        }

        /* 给各板块加点背景色或渐变，模拟真实内容 */
        #home {
            min-height: 100vh; /* 首屏保持满屏展示 */
            padding: 0;
            background: #ffffff;
            color: #333;
            /* overflow: hidden; 去掉防止内容被截断 */
        }
           
        #services {
            background: #ffffff;
            color: #333;
        }
        #services .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        #services .section-header h1 {
            font-size: 32px;
            color: #333;
            font-weight: normal;
            margin-bottom: 16px;
        }
        #services .section-header p {
            font-size: 14px;
            color: #777;
            line-height: 1.6;
            max-width: 700px;
            margin: 0 auto;
        }
        /* Services Timeline Stylings */
        #services .timeline-wrapper {
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 40px;
            padding: 0 20px;
        }

        #services .timeline-info-card {
            background-color: #fff;
            border-radius: 16px;
            padding: 0;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            text-align: left;
            min-height: 240px;
            display: flex;
            flex-direction: row;
            overflow: hidden;
            margin-bottom: 40px;
        }

        #services .timeline-card-left {
            flex: 1;
            background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            transition: opacity 0.3s ease;
        }

        #services .timeline-card-left svg {
            width: 100px;
            height: 100px;
            stroke: #007bff;
            fill: none;
            stroke-width: 1;
        }

        #services .timeline-card-right {
            flex: 1.5;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        #services .timeline-info-card h3 {
            font-size: 28px;
            color: #333;
            margin-bottom: 20px;
            font-weight: 600;
            transition: opacity 0.3s ease;
        }

        #services .timeline-info-card p {
            font-size: 15px;
            color: #666;
            line-height: 1.8;
            margin: 0;
            transition: opacity 0.3s ease;
        }

        #services .timeline-nodes-container {
            position: relative;
            padding: 20px 0;
        }

        #services .timeline-line {
            position: absolute;
            top: 45px; /* exactly center of the 50px icon which is at the top of the node */
            left: 0;
            right: 0;
            height: 2px;
            background-color: #e0e0e0;
            transform: translateY(-50%);
            z-index: 1;
        }

        #services .timeline-nodes {
            display: flex;
            justify-content: space-between;
            position: relative;
            z-index: 2;
        }

        #services .timeline-node {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            width: 120px;
        }

        #services .node-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #fff;
            border: 2px solid #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        #services .node-icon svg {
            width: 24px;
            height: 24px;
            stroke: #666;
            stroke-width: 1.5;
            fill: none;
            transition: all 0.3s ease;
        }

        #services .node-label {
            font-size: 14px;
            color: #666;
            text-align: center;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        #services .timeline-node:hover .node-icon {
            border-color: #5d6673;
            transform: scale(1.1);
        }

        #services .timeline-node.active .node-icon {
            border-color: #007bff;
            background-color: #007bff;
        }

        #services .timeline-node.active .node-icon svg {
            stroke: #fff;
        }

        #services .timeline-node.active .node-label {
            color: #007bff;
            font-weight: bold;
        }
        
        @media (max-width: 768px) {
            #services .timeline-nodes {
                flex-direction: column;
                gap: 30px;
            }
            #services .timeline-line {
                top: 0;
                bottom: 0;
                left: 50%;
                width: 2px;
                height: 100%;
                transform: translateX(-50%);
            }
            #services .timeline-node {
                flex-direction: row;
                width: 100%;
                justify-content: center;
                gap: 20px;
            }
            #services .node-label {
                text-align: left;
                width: 100px;
            }
            #services .timeline-info-card {
                flex-direction: column;
            }
            #services .timeline-card-left {
                padding: 30px;
            }
            #services .timeline-card-right {
                padding: 30px;
            }
        }
        @media (max-width: 992px) {
        }
        @media (max-width: 768px) {
        }
        #products {
            background: #f9fafc;
            color: #333;
        }
        #products .content-box {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            width: 100%;
            max-width: 1400px;
            padding: 40px;
            display: flex;
            flex-direction: column;
            margin: 0 auto;
        }
        #products .section-header {
            text-align: center;
            margin-bottom: 30px;
        }
        #products .section-header h1 {
            font-size: 32px;
            font-weight: normal;
            margin-bottom: 12px;
            color: #333;
        }
        #products .section-header p {
            font-size: 14px;
            color: #777;
            line-height: 1.6;
            max-width: 1000px;
            margin: 0 auto;
        }
        #products .product-slider-wrapper {
            position: relative;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 40px; /* space for arrows */
        }

        #products .product-slider-container {
            overflow: hidden;
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            background-color: #fafafa;
            padding: 20px;
        }

        #products .product-slider-track {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
            width: 100%;
        }

        #products .product-slide {
            flex: 0 0 100%;
            width: 100%;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #products .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            color: #333;
            z-index: 10;
            transition: all 0.3s ease;
            user-select: none;
            border: 1px solid #eee;
        }
        
        #products .slider-btn:hover {
            background: #007AFF;
            color: #fff;
            border-color: #007AFF;
        }

        #products .slider-btn.prev { left: 0; }
        #products .slider-btn.next { right: 0; }

        #products .product-slider-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 25px;
        }

        #products .product-slider-dots .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #products .product-slider-dots .dot.active {
            background: #007AFF;
            width: 24px;
            border-radius: 5px;
        }
        #solutions { 
            background: #ffffff; 
            color: #333;
        }
        #solutions .section-header {
            text-align: center;
            margin-bottom: 40px;
        }
        #solutions .section-header h1 {
            font-size: 32px;
            color: #333;
            font-weight: normal;
            margin-bottom: 16px;
        }
        #solutions .section-header p {
            font-size: 14px;
            color: #888;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
        }
        #solutions .solution-tabs {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 50px;
            border-bottom: 1px solid #eee; 
            width: 100%;
        }
        #solutions .tab-item {
            font-size: 16px;
            color: #555;
            padding-bottom: 15px;
            cursor: pointer;
            position: relative;
            transition: color 0.3s;
        }
        #solutions .tab-item:hover { color: #007AFF; }
        #solutions .tab-item.active { color: #007AFF; font-weight: bold; }
        #solutions .tab-item::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #007AFF, #00C6FF);
            transition: width 0.3s ease;
        }
        #solutions .tab-item.active::after {
            width: 100%;
        }
        #solutions .solutions-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            min-height: 400px; 
            max-height: calc(100vh - 350px); /* 根据屏幕高度动态限制最大高度 */
            overflow-y: scroll; /* 强制显示滚动条轨道 */
            padding: 10px; /* 防止滚动时边缘切边或遮挡阴影 */
            width: 100%;
            max-width: 1200px;
        }
        /* 解决方案网格的自定义滚动条 */
        #solutions .solutions-grid::-webkit-scrollbar {
            width: 8px; 
        }
        #solutions .solutions-grid::-webkit-scrollbar-track {
            background: #f1f1f1; 
            border-radius: 4px;
        }
        #solutions .solutions-grid::-webkit-scrollbar-thumb {
            background: #c1c1c1; 
            border-radius: 4px;
        }
        #solutions .solutions-grid::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8; 
        }
        #solutions .solution-card {
            display: flex;
            flex-direction: column;
            animation: fadeIn 0.5s ease-in-out;
            text-align: left;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        #solutions .card-img-wrapper {
            position: relative;
            background-color: #f7f8fa;
            border-radius: 12px;
            padding: 0; /* 移除内边距，让图片完全撑满 */
            height: 240px; 
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            overflow: hidden;
            cursor: pointer;
        }
        #solutions .card-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 改为 cover 可以裁切填满不留白，或者你需要全貌且比例是对的话用 100% 宽高 */
            transition: transform 0.3s ease;
        }
        #solutions .hover-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: rgba(255, 255, 255, 0.85); 
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        #solutions .card-img-wrapper:hover img { transform: scale(1.05); }
        #solutions .card-img-wrapper:hover .hover-overlay { opacity: 1; }
        #solutions .icon-btn {
            width: 44px;
            height: 44px;
            background-color: #6a7381; 
            border-radius: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
        }
        #solutions .icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
        #solutions .solution-card h3 { font-size: 16px; color: #333; margin-bottom: 12px; font-weight: 600; }
        #solutions .solution-card p { font-size: 13px; color: #777; line-height: 1.6; margin: 0; }

        /* 图片放大模态框（灯箱） */
        .image-modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4); /* 黑色半透明遮罩，提高透明度 */
            backdrop-filter: blur(8px); /* 增加毛玻璃效果以突出前景图片 */
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .image-modal.show {
            display: flex;
            opacity: 1;
        }
        .image-modal img {
            max-width: 90%;
            max-height: 90vh;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            transform: scale(0.8);
            transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .image-modal.show img {
            transform: scale(1);
        }
        .image-modal-close {
            position: absolute;
            top: 30px;
            right: 40px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s;
            line-height: 1;
            z-index: 2001;
        }
        .image-modal-close:hover {
            color: #ccc;
        }

        @media (max-width: 992px) {
            #solutions .solutions-grid { grid-template-columns: repeat(2, 1fr); }
            #solutions .solution-tabs { gap: 20px; flex-wrap: wrap; }
        }
        @media (max-width: 768px) {
            #solutions .solutions-grid { grid-template-columns: 1fr; }
        }
        
        #partners {
            background: #f9fafc;
            color: #333;
        }
        #partners .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        #partners .section-header h1 {
            font-size: 32px;
            color: #333;
            font-weight: normal;
            margin-bottom: 16px;
        }
        #partners .section-header p {
            font-size: 14px;
            color: #888;
            line-height: 1.6;
        }
        #partners .partners-grid {
            display: flex;
            overflow: hidden;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 50px;
            position: relative;
        }

        #partners .marquee-track {
            display: flex;
            gap: 20px;
            animation: scroll-left 40s linear infinite;
        }

        #partners .marquee-track:hover {
            animation-play-state: paused;
        }

        #partners .marquee-content {
            display: grid;
            grid-template-rows: repeat(3, 1fr);
            grid-auto-flow: column;
            gap: 20px;
        }

        @keyframes scroll-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-50% - 10px)); }
        }

        #partners .partner-logo {
            width: 353px; /* 3 cols fit in 1100px with 20px gaps */
            display: flex;
            justify-content: center;
            align-items: center;
            height: 120px;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        #partners .partner-logo:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
            border-color: #f0f0f0;
        }
        #partners .partner-logo img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        #partners .placeholder-text {
            font-size: 13px;
            color: #bbb;
            text-align: center;
            word-break: break-all;
        }

        #contact {
            background: #ffffff;
            color: #333;
        }
        #contact .section-header {
            text-align: center;
            margin-bottom: 50px;
            display: none; 
        }
        #contact .section-header h1 { font-size: 32px; color: #333; font-weight: normal; margin-bottom: 16px; }
        #contact .section-header p { font-size: 14px; color: #888; }

        #contact .content-box {
            width: 100%;
            max-width: 1200px;
            padding: 0 10%;
            margin: 0 auto;
        }
        
#contact .contact-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}
#contact .contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}
#contact .contact-right {
    flex: 1.5;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
    text-align: center;
}
#contact .info-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#contact .info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

@media (max-width: 992px) {
        }
        @media (max-width: 768px) {
        }
        #products {
            background: #f9fafc;
            color: #333;
        }
        #products .content-box {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            width: 100%;
            max-width: 1400px;
            padding: 40px;
            display: flex;
            flex-direction: column;
            margin: 0 auto;
        }
        #products .section-header {
            text-align: center;
            margin-bottom: 30px;
        }
        #products .section-header h1 {
            font-size: 32px;
            font-weight: normal;
            margin-bottom: 12px;
            color: #333;
        }
        #products .section-header p {
            font-size: 14px;
            color: #777;
            line-height: 1.6;
            max-width: 1000px;
            margin: 0 auto;
        }
        #products .product-slider-wrapper {
            position: relative;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 40px; /* space for arrows */
        }

        #products .product-slider-container {
            overflow: hidden;
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            background-color: #fafafa;
            padding: 20px;
        }

        #products .product-slider-track {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
            width: 100%;
        }

        #products .product-slide {
            flex: 0 0 100%;
            width: 100%;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #products .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            color: #333;
            z-index: 10;
            transition: all 0.3s ease;
            user-select: none;
            border: 1px solid #eee;
        }
        
        #products .slider-btn:hover {
            background: #007AFF;
            color: #fff;
            border-color: #007AFF;
        }

        #products .slider-btn.prev { left: 0; }
        #products .slider-btn.next { right: 0; }

        #products .product-slider-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 25px;
        }

        #products .product-slider-dots .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #products .product-slider-dots .dot.active {
            background: #007AFF;
            width: 24px;
            border-radius: 5px;
        }
        #solutions { 
            background: #ffffff; 
            color: #333;
        }
        #solutions .section-header {
            text-align: center;
            margin-bottom: 40px;
        }
        #solutions .section-header h1 {
            font-size: 32px;
            color: #333;
            font-weight: normal;
            margin-bottom: 16px;
        }
        #solutions .section-header p {
            font-size: 14px;
            color: #888;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
        }
        #solutions .solution-tabs {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 50px;
            border-bottom: 1px solid #eee; 
            width: 100%;
        }
        #solutions .tab-item {
            font-size: 16px;
            color: #555;
            padding-bottom: 15px;
            cursor: pointer;
            position: relative;
            transition: color 0.3s;
        }
        #solutions .tab-item:hover { color: #007AFF; }
        #solutions .tab-item.active { color: #007AFF; font-weight: bold; }
        #solutions .tab-item::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #007AFF, #00C6FF);
            transition: width 0.3s ease;
        }
        #solutions .tab-item.active::after {
            width: 100%;
        }
        #solutions .solutions-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            min-height: 400px; 
            max-height: calc(100vh - 350px); /* 根据屏幕高度动态限制最大高度 */
            overflow-y: scroll; /* 强制显示滚动条轨道 */
            padding: 10px; /* 防止滚动时边缘切边或遮挡阴影 */
            width: 100%;
            max-width: 1200px;
        }
        /* 解决方案网格的自定义滚动条 */
        #solutions .solutions-grid::-webkit-scrollbar {
            width: 8px; 
        }
        #solutions .solutions-grid::-webkit-scrollbar-track {
            background: #f1f1f1; 
            border-radius: 4px;
        }
        #solutions .solutions-grid::-webkit-scrollbar-thumb {
            background: #c1c1c1; 
            border-radius: 4px;
        }
        #solutions .solutions-grid::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8; 
        }
        #solutions .solution-card {
            display: flex;
            flex-direction: column;
            animation: fadeIn 0.5s ease-in-out;
            text-align: left;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        #solutions .card-img-wrapper {
            position: relative;
            background-color: #f7f8fa;
            border-radius: 12px;
            padding: 0; /* 移除内边距，让图片完全撑满 */
            height: 240px; 
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            overflow: hidden;
            cursor: pointer;
        }
        #solutions .card-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 改为 cover 可以裁切填满不留白，或者你需要全貌且比例是对的话用 100% 宽高 */
            transition: transform 0.3s ease;
        }
        #solutions .hover-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: rgba(255, 255, 255, 0.85); 
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        #solutions .card-img-wrapper:hover img { transform: scale(1.05); }
        #solutions .card-img-wrapper:hover .hover-overlay { opacity: 1; }
        #solutions .icon-btn {
            width: 44px;
            height: 44px;
            background-color: #6a7381; 
            border-radius: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
        }
        #solutions .icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
        #solutions .solution-card h3 { font-size: 16px; color: #333; margin-bottom: 12px; font-weight: 600; }
        #solutions .solution-card p { font-size: 13px; color: #777; line-height: 1.6; margin: 0; }

        /* 图片放大模态框（灯箱） */
        .image-modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4); /* 黑色半透明遮罩，提高透明度 */
            backdrop-filter: blur(8px); /* 增加毛玻璃效果以突出前景图片 */
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .image-modal.show {
            display: flex;
            opacity: 1;
        }
        .image-modal img {
            max-width: 90%;
            max-height: 90vh;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            transform: scale(0.8);
            transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .image-modal.show img {
            transform: scale(1);
        }
        .image-modal-close {
            position: absolute;
            top: 30px;
            right: 40px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s;
            line-height: 1;
            z-index: 2001;
        }
        .image-modal-close:hover {
            color: #ccc;
        }

        @media (max-width: 992px) {
            #solutions .solutions-grid { grid-template-columns: repeat(2, 1fr); }
            #solutions .solution-tabs { gap: 20px; flex-wrap: wrap; }
        }
        @media (max-width: 768px) {
            #solutions .solutions-grid { grid-template-columns: 1fr; }
        }
        
        #partners {
            background: #f9fafc;
            color: #333;
        }
        #partners .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        #partners .section-header h1 {
            font-size: 32px;
            color: #333;
            font-weight: normal;
            margin-bottom: 16px;
        }
        #partners .section-header p {
            font-size: 14px;
            color: #888;
            line-height: 1.6;
        }
        #partners .partners-grid {
            display: flex;
            overflow: hidden;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 50px;
            position: relative;
        }

        #partners .marquee-track {
            display: flex;
            gap: 20px;
            animation: scroll-left 40s linear infinite;
        }

        #partners .marquee-track:hover {
            animation-play-state: paused;
        }

        #partners .marquee-content {
            display: grid;
            grid-template-rows: repeat(3, 1fr);
            grid-auto-flow: column;
            gap: 20px;
        }

        @keyframes scroll-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-50% - 10px)); }
        }

        #partners .partner-logo {
            width: 353px; /* 3 cols fit in 1100px with 20px gaps */
            display: flex;
            justify-content: center;
            align-items: center;
            height: 120px;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        #partners .partner-logo:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
            border-color: #f0f0f0;
        }
        #partners .partner-logo img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        #partners .placeholder-text {
            font-size: 13px;
            color: #bbb;
            text-align: center;
            word-break: break-all;
        }

        #contact {
            background: #ffffff;
            color: #333;
        }
        #contact .section-header {
            text-align: center;
            margin-bottom: 50px;
            display: none; 
        }
        #contact .section-header h1 { font-size: 32px; color: #333; font-weight: normal; margin-bottom: 16px; }
        #contact .section-header p { font-size: 14px; color: #888; }

        #contact .content-box {
            width: 100%;
            max-width: 1200px;
            padding: 0 10%;
            margin: 0 auto;
        }
        #contact .contact-container {
            display: flex;
            gap: 20px;
            align-items: stretch;
            width: 100%;
        }
        #contact .contact-left {
            flex: 0 0 38%;
            display: flex;
            flex-direction: column;
            gap: 15px; 
        }
        #contact .info-card {
            background-color: #fff;
            border: 1px solid #ebebeb;
            border-radius: 8px;
            padding: 25px 20px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
            transition: box-shadow 0.3s ease;
        }
        #contact .info-card:hover { 
            box-shadow: 0 4px 15px rgba(0,0,0,0.04); 
        }
        #contact .icon-circle {
            width: 42px;
            height: 42px;
            background-color: #59606b;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
            color: #fff;
        }
        #contact .icon-circle svg { 
            width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; 
        }
        #contact .info-text { flex: 1; text-align: left; }
        #contact .info-text h4 { font-size: 15px; color: #333; font-weight: normal; margin-bottom: 8px; }
        #contact .info-text p { font-size: 13px; color: #888; line-height: 1.8; margin: 0; }
        #contact .contact-right {
            flex: 1;
            background-color: #fff;
            border: 1px solid #ebebeb;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            text-align: center;
        }
        #contact .contact-right h2 { font-size: 26px; color: #333; font-weight: normal; margin-bottom: 12px; }
        #contact .contact-right p { font-size: 13px; color: #888; margin-bottom: 30px; }
        #contact .qr-wrapper {
            width: 220px;
            height: 220px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px dashed #ddd; 
            border-radius: 4px;
        }
        #contact .qr-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }

        @media (max-width: 992px) {
            #contact .contact-container { flex-direction: column; }
            #contact .contact-left { flex: auto; }
            #contact .contact-right { padding: 60px 20px; }
        }

        .site-footer {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: transparent; 
            padding: 20px; 
            text-align: center;
        }
        .site-footer p { font-size: 13px; color: #999; margin: 0; }
        .site-footer a { color: #999; text-decoration: none; transition: color 0.3s ease; }
        .site-footer a:hover { color: #555; }

        /* 内容入场前的初始状态（用于 GSAP 动画触发） */
        .content-box {
            opacity: 0;
            transform: translateY(50px);
        }

        h1 { font-size: 4rem; margin-bottom: 20px; letter-spacing: 2px; }
        p { font-size: 1.2rem; color: rgba(255,255,255,0.7); }

        /* 首页两列布局样式 */
        .hero-layout {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1400px; /* 增加最大宽度以容纳更大图片 */
            width: 100%;
            margin: 0 auto;
            text-align: left;
            padding: 0 10%;
            box-sizing: border-box;
            gap: 60px; /* 增加文字和图片之间的间距 */
        }
        .hero-text {
            flex: 1;
            padding-right: 20px;
            z-index: 1; /* 确保文字在背景之上 */
            min-width: 400px;
        }
        .hero-image {
            flex: 1.2; /* 调整圆形展示的权重，避免过大 */
            display: flex;
            justify-content: flex-end;
            align-items: center;
            z-index: 1;
            width: 100%;
        }
        /* 轮播图样式容器：圆形切割与定位 */
        .carousel-container {
            position: relative;
            width: 100%;
            height: auto;
            aspect-ratio: 1 / 1; /* 强制 1:1 正方形比例，为变成正圆做准备 */
            max-width: 500px; /* 限制圆形的最大直径 */
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%; /* 容器级圆角，可配合 overflow 控制（暂不直接 overflow 避免阴影被切） */
        }
        .hero-image img.carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%; /* 核心：将图片强制切割为正圆 */
            box-shadow: 0 30px 60px rgba(0,0,0,0.15);
            object-fit: cover; /* 核心：让图片不留白，完整铺满整个圆形区域 */
            opacity: 0;
            transform: scale(0.95);
            transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
            pointer-events: none;
        }
        .hero-image img.carousel-slide.active {
            opacity: 1;
            transform: scale(1);
            pointer-events: auto;
        }
        .hero-tag {
            font-size: 14px;
            letter-spacing: 2px;
            color: #007AFF;
            margin-bottom: 15px;
            font-weight: bold;
        }
        .hero-title {
            font-size: 4rem;
            line-height: 1.2;
            margin-bottom: 0.5rem;
            font-weight: bold;
            color: #111;
        }
        .hero-slogan {
            font-size: 1.5rem;
            font-weight: 500;
            color: #007AFF;
            margin-bottom: 1.5rem;
        }
        .hero-title span {
            display: inline-block;
        }
        .hero-subtext {
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 40px;
            max-width: 450px;
        }
        .hero-btns {
            display: flex;
            gap: 20px;
        }
        button { outline: none; cursor: pointer; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; }
        .btn-primary {
            padding: 12px 30px;
            background: linear-gradient(90deg, #007AFF, #00C6FF);
            color: #fff;
            border: none;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
            transition: all 0.3s;
        }
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 25px rgba(0, 122, 255, 0.5);
        }
        .btn-outline {
            padding: 12px 30px;
            background: transparent;
            color: #333;
            border: 1px solid #ddd;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            transition: all 0.3s;
        }
        .btn-outline:hover {
            border-color: #007AFF;
            color: #007AFF;
            background: rgba(0, 122, 255, 0.05);
        }
        /* 装饰元素 */
        .home-bg {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: 
                radial-gradient(circle at 20% 30%, rgba(0, 122, 255, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 60%, rgba(0, 198, 255, 0.1) 0%, transparent 40%);
            z-index: 0;
            pointer-events: none;
        }
        .decor-circle {
            position: absolute;
            width: 400px; height: 400px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(0, 122, 255, 0.3), transparent);
            filter: blur(80px);
            top: 20%; right: 10%;
            z-index: 0;
            pointer-events: none;
        }

        /* ----- About 板块样式 ----- */
        .about-layout {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            text-align: left;
            padding: 0 10%;
            gap: 80px;
        }
        .about-image {
            flex: 1;
            position: relative;
        }
        .about-image img {
            width: 100%;
            max-width: 450px;
            filter: drop-shadow(0 20px 40px rgba(0, 122, 255, 0.2));
            transform: translateY(0);
            transition: transform 0.5s ease;
        }
        .about-image:hover img {
            transform: translateY(-10px);
        }
        .about-image::before {
            content: '';
            position: absolute;
            width: 300px; height: 300px;
            background: linear-gradient(45deg, rgba(0, 122, 255, 0.2), transparent);
            border-radius: 50%;
            filter: blur(60px);
            z-index: -1;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
        }
        .about-text {
            flex: 1.2;
        }
        .about-title {
            font-size: 2.5rem;
            color: #111;
            margin-bottom: 30px;
            font-weight: 600;
        }
        .about-title span {
            font-size: 1rem;
            color: #007AFF;
            letter-spacing: 2px;
            vertical-align: middle;
            margin-left: 15px;
            font-weight: bold;
        }
        .tab-menu {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            padding-bottom: 15px;
        }
        .tab-menu .tab-btn {
            background: transparent;
            border: none;
            color: #666;
            font-size: 1.1rem;
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
            padding: 0 5px;
        }
        .tab-menu .tab-btn.active {
            color: #111;
            font-weight: bold;
            text-shadow: none;
        }
        .tab-menu .tab-btn::after {
            content: '';
            position: absolute;
            bottom: -16px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #007AFF, #00C6FF);
            transition: width 0.3s ease;
        }
        .tab-menu .tab-btn.active::after {
            width: 100%;
        }
        .tab-content { position: relative; min-height: 250px; } .tab-pane { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease; transform: translateY(15px); } .tab-pane.active { position: relative; opacity: 1; visibility: visible; transform: translateY(0); z-index: 10; }
        .tab-pane p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: #444;
            margin-bottom: 15px;
            text-align: justify;
        }
        .tab-pane ul {
            list-style: none;
            padding: 0;
            margin-top: 15px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .tab-pane ul li {
            background: #f8f9fa;
            padding: 16px 20px;
            border-radius: 8px;
            border: 1px solid #eaeaea;
            color: #333;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        .tab-pane ul li:hover {
            border-color: rgba(0, 122, 255, 0.3);
            background: #f0f7ff;
            transform: translateX(8px);
        }
        .tab-pane ul li strong {
            background: rgba(0, 122, 255, 0.1);
            color: #007AFF;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 0.85rem;
            margin-right: 15px;
            border: 1px solid rgba(0, 122, 255, 0.2);
            font-weight: normal;
        }
        
        .stats-grid {
            display: flex;
            gap: 50px;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
        }
        .stat-item {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .stat-num {
            font-size: 2.5rem;
            font-weight: 800;
            color: #007AFF;
            line-height: 1;
        }
        .stat-num span {
            font-size: 1.2rem;
            color: #007AFF;
            margin-left: 4px;
        }
        .stat-desc {
            font-size: 0.95rem;
            color: #666;
        }

@media (max-width: 768px) {
    #partners .partner-logo { width: 250px; }
}
@media (max-width: 480px) {
    #partners .partner-logo { width: 180px; }
}

/* 8h?_?N?T7h_OS */

/* 产品图片包裹容器 */
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.product-img-wrapper:hover {
    transform: translateY(-2px);
}
.product-img-wrapper img {
    display: block;
    width: auto;
    height: auto; 
    max-width: 100%;
    max-height: 60vh; /* 使得图片高度跟随视口大小，避免超出100%页面高度 */
    object-fit: contain;
    transition: transform 0.6s ease;
}
.product-img-wrapper:hover img {
    transform: scale(1.02);
}
.zoom-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    pointer-events: none;
}
.product-img-wrapper:hover .zoom-overlay {
    opacity: 1;
}
.product-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}
.primary-action-btn {
    background: linear-gradient(135deg, #0f4c81 0%, #007acc 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,122,204,0.3);
}
.primary-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,122,204,0.4);
    background: linear-gradient(135deg, #0e4475 0%, #006bb3 100%);
}





/* === 新版首页样式重写 === */

/* 导航栏重写 */
.navbar {
    background: #4a90e2 !important; /* 字节蓝 */
    backdrop-filter: none !important;
}

.navbar .logo {
    color: #fff !important;
}

.nav-links li a {
    color: #fff !important;
    font-size: 15px !important;
    border: none !important;
    padding-bottom: 0 !important;
    white-space: nowrap;
}

.nav-links li a:hover, .nav-links li a.active {
    opacity: 0.8;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
}

.lang-selector .dropdown-toggle {
    color: #fff !important;
    border-color: #fff !important;
}

/* Home Section 重写 */
#home {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-mission-box {
    background: #fff;
    width: 25%;
    min-width: 380px;
    height: auto;
    padding-top: 15vh;
    padding-bottom: 7vh;
    position: absolute;
    top: 0;
    left: 10%;
    border-bottom-right-radius: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding-left: 40px;
    padding-right: 40px;
    z-index: 10;
}

.mission-label {
    color: #888;
    font-size: 18px;
    margin-bottom: 20px;
}

.mission-title {
    color: #333;
    font-size: 56px;
    line-height: 1.2;
    font-weight: bold;
    margin: 0;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-carousel-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-carousel-dots .dot.active {
    background: #fff;
}



/* === 首屏轮播背景动画样式 === */
.carousel-bg {
    transition: background-image 1s ease-in-out;
}


/* 修复被白底遮挡的问题 */
#home {
    background: transparent !important;
}
.home-bg {
    z-index: 0 !important;
}


/* === 关于我们 Tab 切换优化 === */
.tab-content {
    /* 移除掉会导致页面高度抖动的定位，改用 Grid 让容器自动撑开为最高子元素的高度 */
    display: grid !important;
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto !important;
}

.tab-pane {
    /* 所有内容都在同一个网格里重叠 */
    grid-area: 1 / 1;
    position: static !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    pointer-events: none;
    z-index: 1;
}

.tab-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
}

#about-display-img {
    transition: opacity 0.3s ease;
}

/* === Footer 重置全局预设覆盖 === */
.site-footer {
    text-align: left !important;
}

.site-footer ul li a:hover {
    text-decoration: underline !important;
}


/* 修复 Footer 和 Contact 卡片重叠的间隔问题 */
#contact {
    padding-bottom: 0 !important; /* 移除 Contact 区域底部留白，让 Footer 顶上来 */
}
.site-footer {
    position: relative !important; /* 解除 absolute 定位，让他在文档流中正常排布 */
    margin-top: 0 !important;
}












/* 为解决方案网格添加明显的滚动条以提示内容可滚动 */
.solutions-grid::-webkit-scrollbar {
    width: 8px; /* 滚动条的宽度 */
}

.solutions-grid::-webkit-scrollbar-track {
    background: #f1f1f1; /* 滚动条轨道的颜色 */
    border-radius: 10px;
}

.solutions-grid::-webkit-scrollbar-thumb {
    background: #c1c1c1; /* 滚动条的颜色 */
    border-radius: 10px;
}

.solutions-grid::-webkit-scrollbar-thumb:hover {
    background: #4a90e2; /* 鼠标悬停时的蓝颜色 */
}




/* ========================================================
   模块背景氛围设计 (Ambient Glassmorphism Blobs)
   模拟大片柔和色块在底部的呼吸感与空间感
======================================================== */

#about {
    position: relative;
    background: #ffffff;
    /* 左侧大面积浅蓝渐变，类似截图的企业文化背景 / 右上角薄荷绿 */
    background-image: 
        radial-gradient(circle at -10% 50%, rgba(200, 230, 255, 0.45) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 100% -10%, rgba(190, 245, 235, 0.3) 0%, rgba(255, 255, 255, 0) 40%);
    overflow: hidden;
}

#services {
    position: relative;
    background: #ffffff;
    /* 顶部到底部蔓延的超柔和浅蓝/紫氛围 */
    background-image: 
        radial-gradient(ellipse at 50% 10%, rgba(240, 246, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
}

#products {
    position: relative;
    background: #ffffff;
    /* 右侧伸出的科技感浅蓝，左下角的浅紫 */
    background-image: 
        radial-gradient(circle at 110% 60%, rgba(210, 240, 255, 0.5) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at -10% 100%, rgba(245, 240, 255, 0.6) 0%, rgba(255, 255, 255, 0) 40%);
}

#solutions {
    position: relative;
    background: #ffffff;
    /* 左上角与右下角的反差色叠加，增加解决方案的厚重感 */
    background-image: 
        radial-gradient(circle at 5% 5%, rgba(220, 235, 255, 0.4) 0%, rgba(255, 255, 255, 0) 45%),
        radial-gradient(circle at 90% 90%, rgba(215, 248, 238, 0.35) 0%, rgba(255, 255, 255, 0) 40%);
}

#partners {
    position: relative;
    /* 基础的向下渐隐白灰，让收尾更为干净 */
    background: linear-gradient(180deg, #ffffff 0%, rgba(244, 248, 252, 0.8) 100%);
}

/* 确保所有的 content-box 能在背景上方稳固显示 */
.panel .content-box {
    position: relative;
    z-index: 2;
}

#contact {
    position: relative;
    background: #ffffff;
    /* Contact section gets a subtle unified tone connecting to the footer */
    background-image: 
        radial-gradient(ellipse at 50% 100%, rgba(230, 240, 255, 0.5) 0%, rgba(255, 255, 255, 0) 80%);
}




/* =========================================================
   TECH-THEMED BACKGROUNDS FOR LIGHT MODE
   ========================================================= */

/* Animated Gradient Orbs & Grids */
@keyframes techPan {
    0% { background-position: 0% 0%, 0 0, 0 0; }
    100% { background-position: 100% 100%, 40px 40px, 40px 40px; }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

#about {
    background-color: #fbfcff;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(45, 120, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
        linear-gradient(rgba(0, 100, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 100, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    position: relative;
    overflow: hidden;
}

#services {
    background-color: #ffffff;
    background-image: 
        radial-gradient(ellipse at 50% -20%, rgba(108, 99, 255, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(45, 120, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(0,0,0,0.01) 0px, rgba(0,0,0,0.01) 2px, transparent 2px, transparent 8px);
    position: relative;
}

#products {
    background-color: #f7f9fc;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 153, 255, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 0% 100%, rgba(0, 255, 170, 0.08) 0%, transparent 50%);
    position: relative;
}
#products::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    /* Dot Matrix */
    background-image: radial-gradient(rgba(0, 100, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    z-index: 0;
}

#solutions {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}
#solutions::after {
    content: '';
    position: absolute;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    background-image: 
        linear-gradient(rgba(0, 80, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    pointer-events: none;
    z-index: 0;
}

#partners {
    background-color: #ffffff;
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(200, 230, 255, 0.4) 0%, transparent 70%);
}

#contact {
    background-color: #fbfcff;
    background-image: 
        radial-gradient(circle at 50% 100%, rgba(74, 144, 226, 0.15) 0%, transparent 80%),
        repeating-radial-gradient(circle at 50% 100%, transparent 0, transparent 20px, rgba(74, 144, 226, 0.02) 20px, rgba(74, 144, 226, 0.02) 40px);
}

/* Base text color overides (ensure everything is highly readable) */
#about .content-box,
#services .content-box,
#products .content-box,
#solutions .content-box,
#partners .content-box,
#contact .content-box {
    position: relative;
    z-index: 2; /* keep content above decorative backgrounds */
}


#contact {
    background-color: #f8fbff;
    background-image: 
        radial-gradient(circle at 50% 100%, rgba(74, 144, 226, 0.15) 0%, transparent 80%),
        repeating-radial-gradient(circle at 50% 100%, transparent 0, transparent 20px, rgba(74, 144, 226, 0.02) 20px, rgba(74, 144, 226, 0.02) 40px);
    color: #333;
}

#contact h1, #contact p {
    color: #333 !important;
}

#contact .info-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

#contact .info-card h4 {
    color: #222 !important;
}

#contact .info-card p {
    color: #666 !important;
}

#contact .contact-right {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-radius: 12px;
}

#contact .contact-right h2 {
    color: #222 !important;
}

#contact .contact-right p {
    color: #666 !important;
}

#contact .qr-wrapper {
    background: #ffffff !important;
    border: 1px dashed rgba(0, 0, 0, 0.2) !important;
}

/* 取消动画加载延迟，全局直接可见 */
.content-box {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 确保特定元素在移动设备上不会超出屏幕宽度 */
html, body {
    overflow-x: hidden !important; 
    width: 100% !important;
    position: relative;
}
img, svg, video, canvas, iframe {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}
/* 防止滚动条导致的全局问题 */
#partners .partner-logo img {
    height: 100% !important; /* 被上方的 height:auto 覆盖导致白屏，在此处通过!important抢救 */
}
@media (max-width: 992px) {
    .navbar {
        height: 60px !important;
        padding: 0 5% !important;
    }
    .navbar nav {
        display: none; /* 隐藏中间的文字导航 */
    }
    .navbar .lang-selector {
        display: block; /* 保留语言切换按钮 */
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px !important;
    }
    .hero-slogan {
        font-size: 24px !important;
    }
    .panel {
        padding: 40px 10px !important;
    }
    .content-box {
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box;
    }
    .hero-mission-box {
        width: 90% !important;
        min-width: unset !important;
        left: 5% !important;
        padding: 20px !important;
        margin-top: 100px;
        border-radius: 10px !important;
        box-sizing: border-box;
    }
    #partners .partners-grid {
        padding: 10px 5px !important;
        overflow: visible !important;
    }
    #partners .partner-logo {
        width: 140px !important;
        height: 60px !important;
        padding: 5px !important;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #partners .partner-logo img {
        height: 100% !important;
        width: auto !important;
        display: block !important;
    }
    #partners .marquee-track {
        gap: 10px !important;
    }
    #partners .marquee-content {
        gap: 10px !important;
    }
    /* 解决一些绝对定位元素的横向溢出 */
    #services .timeline-wrapper {
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    .footer-copyright {
        text-align: left !important;
        width: 100%;
        margin-top: 20px;
    }
    .footer-copyright p {
        justify-content: flex-start !important;
    }
    #services .timeline-info-card {
        flex-direction: column !important;
        margin: 0 10px;
    }
    #services .timeline-card-left {
        padding: 20px !important;
    }
    #services .timeline-card-left svg {
        width: 80px !important;
        height: 80px !important;
    }
    #services .timeline-card-right {
        padding: 20px !important;
    }
    #services .timeline-nodes {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding-left: 30px;
    }
    #services .timeline-node {
        flex-direction: row !important;
        width: auto !important;
        gap: 15px !important;
    }
    #services .timeline-line {
        top: 0 !important;
        bottom: 0 !important;
        left: 54px !important; /* 调整线条对齐到小圆圈中心 */
        width: 2px !important;
        height: 100% !important;
        transform: translateY(0) !important;
    }

    .about-layout {
        flex-direction: column;
        gap: 40px;
    }
    .about-layout .about-text {
        width: 100%;
        margin-left: 0;
    }
    .stats-grid {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
    }
    .stat-item {
        min-width: 100px;
        flex: 1;
    }
    .stat-num {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .hero-mission-box {
        width: 96% !important;
        left: 2% !important;
        padding: 15px !important;
    }
    .mission-title {
        font-size: 28px !important;
    }
}
