/* ================= 1. 全局变量与基础重置 ================= */
:root {
    --primary-teal: #3ba3a8;
    --primary-teal-hover: #2f8387;
    --product-cyan: #6bb9c3;
    --stats-bg: #40a5b0;
    --highlight-yellow: #f6b53f;
    --text-dark: #222222;
    --text-gray: #777777;
    --bg-light: #f5f7f9;
    --border-color: #eaeaea;
    --blue-grey: #315c72;
    --primary-teal: #3ba3a8;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'Open Sans', Arial, sans-serif; }
body { color: var(--text-dark); line-height: 1.6; background-color: #ffffff; overflow-x: hidden; font-size: 16px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1676px; margin: 0 auto; padding: 0 40px; }

/* 统一按钮样式 */
.btn { display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 4px; font-size: 15px; font-weight: 600; letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s ease; padding: 14px 30px; text-align: center; }
.btn-primary { background-color: var(--primary-teal); color: #ffffff; }
.btn-primary:hover { background-color: var(--primary-teal-hover); }
.btn-outline { background-color: transparent; border: 1px solid rgba(255, 255, 255, 0.7); color: #ffffff; }
.btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); border-color: #ffffff; }

/* 通用区块标题 */
.section-title { margin-bottom: 30px; }
.section-title span { color: var(--primary-teal); font-size: 16px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; }
.section-title h2 { font-size: 38px; color: var(--text-dark); margin-top: 8px; font-weight: 700; line-height: 1.2; }


/* ================= 2. 全局导航栏 (Header) ================= */
.header-wrapper { position: absolute; top: 0; left: 0; width: 100%; padding-top: 15px; z-index: 100; color: #ffffff; }
.top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.logo-area { display: flex; align-items: center; font-size: 28px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; z-index: 201; position: relative;}
.logo-area img{max-width: 260px;}
.logo-icon { width: 32px; height: 32px; margin-right: 12px; }
.contact-info { display: flex; gap: 60px; font-size: 16px; font-weight: 500; opacity: 0.95; }
.contact-item { display: flex; align-items: center; gap: 8px; }
.social-icons { display: flex; gap: 22px; font-size: 18px; }
.social-icons a { color: #ffffff; opacity: 0.9; transition: 0.3s; }
.social-icons a:hover { opacity: 1; }

.divider-container { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.3); margin-bottom: 5px; }
.bottom-row { display: flex; justify-content: space-between; align-items: center; position: relative; }

.nav-menu { display: flex; gap: 45px; align-items: center; }
.nav-menu > li { position: relative; padding: 15px 0; }
.nav-menu > li > a { font-size: 18px; font-weight: 600; position: relative; padding-bottom: 0px; transition: color 0.3s; display: flex; align-items: center; }
.nav-menu > li:hover > a, .nav-menu > li > a.active { color: var(--highlight-yellow); }
.nav-menu > li > a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background-color: var(--highlight-yellow); transition: width 0.3s; }
.nav-menu > li:hover > a::after, .nav-menu > li > a.active::after { width: 100%; }

.nav-menu > li > a > i { margin-left: 8px; font-size: 14px; transition: transform 0.3s ease; }
.nav-menu > li:hover > a > i { transform: rotate(180deg); }

/* 下拉菜单 */
.dropdown {
    position: absolute; top: 100%; left: 0; background-color: #ffffff; min-width: 250px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 6px; padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 200;
}
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { padding: 0; margin: 0; display: block; }
.dropdown li a { display: block; padding: 14px 25px; color: #333333; font-size: 16px; font-weight: 500; transition: all 0.2s; text-transform: none; }
.dropdown li a:hover { background-color: #f2f8f9; color: var(--primary-teal); padding-left: 32px; }

.right-actions { display: flex; align-items: center; gap: 40px; }
.lang-selector { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; cursor: pointer; }

/* ================= 顶部导航栏搜索框 ================= */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input {
    width: 200px; /* 如果觉得太宽或太窄可以调整这里 */
    height: 42px;
    background: rgba(255, 255, 255, 0.1); /* 轻微的半透明背景提升质感 */
    border: 1px solid rgba(255, 255, 255, 0.8); /* 白色边框 */
    border-radius: 30px; /* 胶囊圆角 */
    padding: 0 20px 0 40px; /* 左侧留出 40px 给放大镜图标 */
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

/* 占位符文字颜色 */
.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* 鼠标点击聚焦时的效果 */
.header-search input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    width: 230px; /* 可选：聚焦时稍微变长一点，增加交互感 */
}

/* 放大镜图标定位 */
.header-search i {
    position: absolute;
    left: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    pointer-events: none; /* 让鼠标点击能穿透图标直接点到输入框上 */
}

/* ================= 三级下拉菜单 (PC端) ================= */
.has-sub-dropdown { position: relative; }
.has-sub-dropdown > a { 
    display: flex; 
    justify-content: space-between; /* 让文字和右侧箭头分散对齐 */
    align-items: center; 
}
.has-sub-dropdown > a i { font-size: 12px; transition: transform 0.3s; }

.sub-dropdown {
    position: absolute; 
    top: -10px; /* 与父级对齐，微调边距 */
    left: 100%; /* 出现在父级的右侧 */
    background-color: #ffffff; 
    min-width: 240px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 6px; 
    padding: 10px 0; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateX(15px); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 201;
}

/* 悬浮展开三级菜单 */
.has-sub-dropdown:hover .sub-dropdown { 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(0); 
}

/* 三级菜单项样式 */
.sub-dropdown li { padding: 0; margin: 0; display: block; }
.sub-dropdown li a { 
    display: block; 
    padding: 12px 25px; 
    color: #555555; 
    font-size: 15px; 
    font-weight: 500; 
    transition: all 0.2s; 
}
.sub-dropdown li a:hover { 
    background-color: #f2f8f9; 
    color: var(--primary-teal); 
    padding-left: 32px; 
}


/* ================= 顶部导航下拉悬浮 (Sticky Header) ================= */

/* 给原有的 header-wrapper 增加过渡动画 */
.header-wrapper {
    transition: background-color 0.4s ease, padding 0.4s ease;
}

/* 滚动触发的悬浮状态 */
.header-wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* 因为你的字体是白色的，所以悬浮后需要一个深色实底背景，配合你们页脚的深色主题 */
    background-color: rgba(25, 124, 129, 0.8); 
    padding-top: 10px; /* 减小内边距，让悬浮条更紧凑 */
    padding-bottom: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: headerSlideDown 0.4s ease-out forwards;
}

/* 悬浮时，隐藏顶部的联系方式和社交图标，让导航栏更精简 */
.header-wrapper.is-sticky .top-row {
    display: none; 
}

/* 悬浮时，去掉中间那条细横线 */
.header-wrapper.is-sticky .divider-container {
    display: none;
}

/* 平滑下滑动画 */
@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}


/* ================= Service 超级菜单专属样式 ================= */
.service-mega-menu {
    display: flex;
    padding: 0; /* 清除可能继承的内边距，让左右色块完全贴边 */
    min-height: 280px;
}

/* 左侧浅灰区块 */
.service-mega-left {
    width: 45%;
    background-color: #f6f8f9; /* 浅灰底色 */
    padding: 50px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 0 0 8px;
}

.service-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    width: 100%;
    max-width: 380px; /* 控制文字和箭头的最大距离 */
}

.service-link-item i {
    color: var(--product-cyan);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.service-link-item:hover { color: var(--primary-teal); }
.service-link-item:hover i { 
    color: var(--primary-teal);
    transform: translateX(8px); 
}

/* 左侧的短横线 */
.service-divider {
    width: 200px;
    height: 2px;
    background-color: #d8d8d8;
    margin: 35px 0;
}

/* 右侧白色区块 */
.service-mega-right {
    width: 55%;
    background-color: #ffffff;
    padding: 50px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0 0 8px 0;
}

.service-contact-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-block {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 22px;
    color: var(--product-cyan);
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}
.contact-value:hover { color: var(--primary-teal); }

.contact-time {
    font-size: 13px;
    color: #888;
}

/* 右侧信息的细横线 */
.contact-divider {
    width: 100%;
    max-width: 320px;
    height: 1px;
    background-color: #eaeaea;
    margin: 25px 0;
}

/* 二维码区域 */
.service-qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 40px;
    flex-shrink: 0;
}

.service-qr-code img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    margin-bottom: 15px;
    background-color: #e6e6e6; /* 如果没有图片，默认显示灰色方块 */
}

.service-qr-code span {
    font-size: 13px;
    color: #777;
    font-weight: 500;
}


/* ================= Solutions 专属超级菜单样式 ================= */
.solutions-mega-menu {
    display: flex;
    flex-direction: column;
    padding: 45px 10%; /* 左右留白 10%，让内容在大屏上不要太靠边 */
    min-height: auto; 
    background-color: #ffffff;
}

.solutions-mega-header {
    border-bottom: 1px solid #eaeaea; /* 分割横线 */
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.solutions-mega-header .solutions-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-teal); /* 使用品牌主题色 */
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solutions-mega-header .solutions-title:hover {
    color: var(--primary-teal-hover);
    transform: translateX(5px);
}

/* 两列内容网格布局 */
.solutions-mega-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 等分为两列 */
    column-gap: 80px; /* 两列之间的间距 */
    row-gap: 20px;    /* 上下文字的间距 */
    max-width: 1200px; /* 控制总宽度不要太散 */
}

.solutions-mega-content a {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
}

/* 鼠标滑过时变成品牌色并有微微的右移交互 */
.solutions-mega-content a:hover {
    color: var(--primary-teal);
    padding-left: 6px; 
}


/* 移动端专属辅助类 (默认隐藏) */
.menu-toggle { display: none; font-size: 26px; cursor: pointer; z-index: 201; position: relative; color: #fff; }
.menu-overlay { display: none; }
.mobile-close-btn { display: none; }
.mobile-lang-item { display: none !important; }


/* ================= 全新 Mega Menu (超级菜单) 样式 ================= */
.has-mega-menu { 
    position: static !important; /* 确保菜单基于父容器 .bottom-row 展开，而不是限制在单个 li 下 */
}

.mega-menu {
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background-color: #ffffff; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 8px 8px; 
    display: flex; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(15px); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 200;
    overflow: visible; /* 允许内部二级菜单飞出 */
}

/* 悬浮展开 */
.nav-menu > li.has-mega-menu:hover .mega-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

/* --- 左侧：导航栏区 --- */
.mega-left {
    width: 380px;
    background-color: #f5f7f9;
    padding: 35px 40px;
    flex-shrink: 0;
    border-radius: 0 0 0 8px;
    position: relative;
}

.mega-search {
    position: relative;
    margin-bottom: 25px;
}
.mega-search input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}
.mega-search input:focus { border-color: var(--primary-teal); }
.mega-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.mega-cat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-teal);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e6ec;
}

.mega-categories { display: flex; flex-direction: column; gap: 5px; }
.mega-categories > li { position: relative; }
.mega-categories > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.mega-categories > li > a i { opacity: 0; transform: translateX(-10px); transition: 0.3s; }
.mega-categories > li:hover > a { color: var(--primary-teal); }
.mega-categories > li:hover > a i { opacity: 1; transform: translateX(0); }

/* 左侧：子菜单飞出面板 (Flyout) */
.mega-flyout {
    position: absolute;
    top: -10px;
    left: 100%;
    margin-left: 20px;
    background-color: #ffffff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 201;
}
.has-flyout:hover .mega-flyout { opacity: 1; visibility: visible; transform: translateX(0); }

.mega-flyout li a {
    display: block;
    padding: 10px 25px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}
.mega-flyout li a:hover { background-color: #f2f8f9; color: var(--primary-teal); }

/* --- 右侧：产品展示区 --- */
.mega-right {
    flex: 1;
    display: flex;
    gap: 60px;
    padding: 35px 50px;
}

.mega-col { flex: 1; display: flex; flex-direction: column; }
.mega-col-title { 
    font-size: 16px; 
    font-weight: 700; 
    color: #222; 
    margin-bottom: 25px; 
    padding-bottom: 15px; /* 控制文字与下方线条的距离 */
    border-bottom: 1px solid #eaeaea; /* 添加浅灰色下划线 */
}

/* 1. 放大单行产品的上下间距和图文间距 */
.mega-product-card {
    display: flex;
    gap: 25px; /* 从 20px 增大，拉开图片和文字的距离 */
    margin-bottom: 35px; /* 从 25px 增大，让一列 3 个产品能更好地撑开垂直空间 */
    text-decoration: none;
    transition: transform 0.3s;
}
.mega-product-card:hover { 
    transform: translateX(5px); 
}

/* 2. 明显放大产品图片尺寸 */
.mega-product-card img {
    width: 90px; /* 从 65px 增大到 90px */
    height: 90px; /* 从 65px 增大到 90px */
    object-fit: contain;
    background: #fdfdfd;
    border-radius: 6px; /* 稍微增加一点圆角 */
    flex-shrink: 0;
    border: 1px solid #f0f0f0; /* 可选：加个极淡的边框让白色图片更立体 */
}

/* 3. 信息区排版优化 */
.mega-product-info { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}
.mega-product-info .brand-tag { 
    font-size: 12px; /* 从 11px 放大 */
    font-weight: 700; 
    margin-bottom: 6px; 
}

/* 4. 放大产品标题字号 */
.mega-product-info h5 { 
    font-size: 16px; /* 从 14px 放大，更醒目 */
    font-weight: 700; 
    color: #222; 
    margin-bottom: 8px; /* 增加与描述的间距 */
    transition: color 0.3s; 
}
.mega-product-card:hover h5 { 
    color: var(--primary-teal); 
}

/* 5. 放大描述文字并增加行高，提升阅读性 */
.mega-product-info p {
    font-size: 13px; /* 从 12px 放大 */
    color: #777;
    line-height: 1.6; /* 增加行高 */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 依然限制最多显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底部 View More 链接 */
.mega-more-wrap { margin-top: auto; padding-top: 10px; text-align: right;}
.mega-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}
.mega-view-more:hover { color: var(--primary-teal); }





/* ================= 3. 首页 (index.html) 专属样式 ================= */

/* 首页 Banner 轮播 */
/* 首页 Banner 轮播 (增加 .mySwiper 限定作用域，防止污染其他轮播图) */
.mySwiper.swiper { width: 100%; height: 100vh; min-height: 850px; }
.mySwiper .swiper-slide { display: flex; flex-direction: column; justify-content: center; position: relative; color: #ffffff; padding-top: 100px; }
.hero-content .subtitle { font-size: 18px; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase; opacity: 0.9; }
.hero-content .main-title { font-size: 72px; font-weight: 700; line-height: 1.15; margin-bottom: 30px; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero-content .description { font-size: 20px; line-height: 1.6; max-width: 850px; margin-bottom: 45px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 20px; }

.swiper-pagination-bullets.swiper-pagination-horizontal { bottom: 120px; display: flex; justify-content: center; gap: 6px; z-index: 10; }
.swiper-pagination-bullet { width: 35px; height: 3px; background-color: #ffffff; opacity: 0.5; border-radius: 0; margin: 0 !important; transition: 0.3s; }
.swiper-pagination-bullet-active { background-color: var(--primary-teal); opacity: 1; }

/* ================= 首页 Banner 视频背景扩展 ================= */

/* 1. 视频底层填充 */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 核心属性：确保视频等比缩放并填满容器，不留黑边 */
    z-index: 0; 
}

/* 2. 视频上方的渐变遮罩层 (与图片内联样式的渐变保持一致) */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(40, 50, 60, 0.5), rgba(40, 50, 60, 0));
    z-index: 1; 
}

/* 3. 确保文字内容在最顶层，不会被视频或遮罩盖住 */
.swiper-slide .hero-content {
    position: relative;
    z-index: 2; 
}

/* 首页 数据悬浮区 */
.stats-wrapper { max-width: 1676px; margin: -80px auto 80px; display: flex; position: relative; z-index: 10; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.stats-left { flex: 1; background-color: var(--stats-bg); color: #ffffff; padding: 75px 60px; display: flex; flex-direction: column; justify-content: center; }
.stats-left h4 { font-size: 16px; font-weight: 600; letter-spacing: 1.5px; margin-bottom: 20px; text-transform: uppercase;}
.stats-left h2 { font-size: 42px; font-weight: 700; line-height: 1.3; margin-bottom: 25px; }
.stats-left p { font-size: 17px; line-height: 1.8; opacity: 0.95; margin-bottom: 40px; max-width: 95%; }

.stats-right { flex: 1; background-color: #ffffff; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; border: 1px solid #e8e8e8; }
.stat-box { padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.stat-box:nth-child(2), .stat-box:nth-child(4) { border-right: none; }
.stat-box:nth-child(3), .stat-box:nth-child(4) { border-bottom: none; }
.stat-box h3 { font-size: 48px; font-weight: 700; color: #333333; margin-bottom: 8px; }
.stat-box p { font-size: 16px; color: #888888; font-weight: 500; }

/* 首页 产品中心 (全宽无间距版) */
.products { padding: 80px 0; background: #ffffff; }
.product-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; gap: 0; }
.product-card { display: block; background: #ffffff; text-decoration: none; color: inherit; transition: all 0.3s ease; border-radius: 0; border: 1px solid #f0f0f0; margin: -1px 0 0 -1px; position: relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); z-index: 10; }
.product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background-color: #f4f4f4; display: block; }
.product-info { padding: 35px 25px 25px 25px; }
.product-info h4 { font-size: 22px; margin-bottom: 12px; color: #222222; font-weight: 600; line-height: 1.3; transition: color 0.3s; }
.product-info p { font-size: 16px; color: var(--text-gray); font-weight: 500; }
.product-card:hover .product-info h4 { color: var(--primary-teal); }

/* 首页 Why Choose Us */
.why-us { display: flex; margin-bottom: 80px; }
.why-left { flex: 1; background: linear-gradient(rgba(40,45,50,0.8), rgba(40,45,50,0.8)), url('https://via.placeholder.com/900x600/333/fff?text=Circuit+Board') center/cover; color: white; padding: 120px 8%; }
.why-right { flex: 1; background: linear-gradient(rgba(64, 165, 176, 0.88), rgba(64, 165, 176, 0.88)), url('https://via.placeholder.com/900x600/333/fff?text=Equipment+Room') center/cover; color: white; padding: 120px 8%; display: flex; flex-direction: column; justify-content: center; }
.why-left span { font-size: 20px; color: var(--product-cyan); font-weight: bold; letter-spacing: 0.5px; }
.why-left h2 { font-size: 56px; margin-top: 15px; margin-bottom: 25px; line-height: 1.2; font-weight: 700; }
.why-left p { margin-bottom: 45px; font-size: 20px; line-height: 1.7; opacity: 0.95; max-width: 95%; }
.why-right h3 { font-size: 36px; margin-bottom: 25px; font-weight: 600; }
.why-right p { margin-bottom: 50px; font-size: 20px; opacity: 0.95; line-height: 1.6; max-width: 95%; }
.why-list li { margin-bottom: 25px; display: flex; align-items: center; font-size: 22px; font-weight: 500; }
.why-list li i { margin-right: 20px; font-size: 24px; width: 30px; text-align: center; opacity: 0.9; }

/* 首页 行业解决方案 */
.solutions { padding-bottom: 80px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.solution-card { display: block; text-decoration: none; color: inherit; transition: transform 0.3s ease; border-radius: 4px; }
.solution-card:hover { transform: translateY(-8px); }
.solution-card img { width: 100%; height: 350px; object-fit: cover; border-radius: 4px; transition: box-shadow 0.3s ease; }
.solution-card:hover img { box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.solution-info { padding: 30px 0; }
.solution-info h4 { font-size: 24px; margin-bottom: 12px; font-weight: 600; transition: color 0.3s ease; }
.solution-card:hover .solution-info h4 { color: var(--primary-teal); }
.solution-info p { font-size: 16px; color: var(--text-gray); line-height: 1.6; }

/* 首页 新闻中心 */
.news-center { padding-bottom: 80px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { display: block; text-decoration: none; color: inherit; transition: transform 0.3s ease; border-radius: 4px; }
.news-card:hover { transform: translateY(-8px); }
.news-img-wrapper { overflow: hidden; border-radius: 4px; }
.news-card img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.4s ease; display: block; }
.news-card:hover img { transform: scale(1.04); }
.news-info { padding: 25px 0; }
.news-info h4 { font-size: 22px; margin-bottom: 12px; font-weight: 700; color: #333; transition: color 0.3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-card:hover .news-info h4 { color: var(--primary-teal); }
.news-info p { font-size: 15px; color: var(--text-gray); line-height: 1.6; }

/* 首页 合作伙伴 (无限滚动跑马灯) */
.partners { padding: 40px 0 100px; text-align: center; overflow: hidden; }
.partners .section-title { margin-bottom: 50px; }
.partners .section-title span { color: var(--blue-grey); text-transform: none; font-size: 18px; font-weight: 600; }
.partners .section-title h2 { font-size: 42px; color: #333333; }
.marquee-container { width: 100%; overflow: hidden; position: relative; display: flex; flex-direction: column; border: 1px solid #f0f0f0; border-bottom: none; border-right: none; }
.marquee-row { display: flex; width: 100%; overflow: hidden; border-bottom: 1px solid #f0f0f0; }
.marquee-track { display: flex; width: max-content; }
.marquee-track.left { animation: scrollLeft 35s linear infinite; }
.marquee-track.right { animation: scrollRight 35s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.partner-box { width: 250px; height: 130px; display: flex; justify-content: center; align-items: center; border-right: 1px solid #f0f0f0; flex-shrink: 0; background: #ffffff; transition: background-color 0.3s; }
.partner-box img { max-width: 140px; max-height: 55px; 
/*filter: grayscale(100%);*/
opacity: 0.6; transition: all 0.3s ease; }
.partner-box:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.08); }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }


/* ================= 4. 产品列表页 (products.html) 专属样式 ================= */

/* 产品页短 Banner */
.page-hero { 
    height: 600px; 
    background: linear-gradient(rgba(40, 50, 60, 0.6), rgba(40, 50, 60, 0.6)), url('https://via.placeholder.com/1920x600/555/fff?text=Company+Building') no-repeat center center/cover; 
    display: flex; align-items: center; justify-content: center; 
    color: #ffffff; text-align: center;
}
.page-hero h1 { font-size: 56px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; margin-top: 60px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

/* 子导航 / 搜索栏 */
.sub-nav-bar { background-color: var(--primary-teal); color: white; border-bottom: 1px solid rgba(0,0,0,0.05); }
.sub-nav-inner { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.sub-nav-links { display: flex; height: 100%; }
.sub-nav-links a { display: flex; align-items: center; padding: 0 35px; font-size: 15px; font-weight: 600; transition: 0.3s; }
.sub-nav-links a.active { background-color: #278d96; }
.sub-nav-links a:hover:not(.active) { background-color: rgba(0,0,0,0.05); }
.sub-nav-search { position: relative; width: 300px; }
.sub-nav-search input { width: 100%; padding: 10px 40px 10px 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.4); background: transparent; color: white; font-size: 14px; outline: none; transition: 0.3s; }
.sub-nav-search input::placeholder { color: rgba(255,255,255,0.7); }
.sub-nav-search input:focus { background: rgba(255,255,255,0.1); border-color: white; }
.sub-nav-search i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: white; cursor: pointer; }

/* 左右分栏布局 */
.product-page-layout { display: flex; gap: 30px; padding: 50px 0 80px 0; align-items: flex-start; }

/* 左侧边栏 */
.sidebar { width: 280px; flex-shrink: 0; }
.sidebar-block { background: #ffffff; padding: 25px 0; margin-bottom: 20px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.sidebar-title { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 15px; padding: 0 25px; }

.category-list li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 25px; color: #555; font-size: 14.5px; font-weight: 500; transition: 0.3s; border-left: 3px solid transparent; }
.category-list li a:hover, .category-list li a.active { color: var(--primary-teal); background-color: #f4f9f9; border-left-color: var(--primary-teal); }
.category-list li a i { font-size: 12px; opacity: 0.5; transition: 0.3s; }
.category-list li a:hover i { transform: translateX(3px); opacity: 1; }

.top-pick-item { display: flex; gap: 15px; padding: 15px 25px; border-bottom: 1px solid var(--border-color); align-items: center; transition: 0.3s; cursor: pointer; }
.top-pick-item:hover { background-color: #f9f9f9; }
.top-pick-item:last-child { border-bottom: none; }
.top-pick-item img { width: 60px; height: 60px; object-fit: contain; background: #fff; border: 1px solid var(--border-color); border-radius: 4px; }
.top-pick-info h5 { font-size: 13px; color: #333; line-height: 1.4; font-weight: 600; margin-bottom: 4px; }
.top-pick-info p { font-size: 12px; color: var(--text-gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.top-picks-controls i { transition: color 0.3s ease; }
.top-picks-controls i:hover { color: var(--primary-teal); }
.top-picks-controls i.disabled { opacity: 0.2; cursor: not-allowed !important; pointer-events: none; }

/* ================= 侧边栏三级菜单 (手风琴) ================= */
.has-sidebar-sub {
    position: relative;
    display: block;
}

.sidebar-sub-menu {
    display: none; /* 默认隐藏 */
    background-color: #fdfdfd;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-sub-menu li a {
    padding: 10px 25px 10px 45px !important; /* 增加左侧缩进，区分层级 */
    font-size: 13.5px !important;
    color: #666 !important;
    border-left: 3px solid transparent !important; /* 覆盖父级的选中边框 */
}

.sidebar-sub-menu li a:hover,
.sidebar-sub-menu li a.active {
    color: var(--primary-teal) !important;
    background-color: #f4f9f9 !important;
}

/* 展开状态 */
.has-sidebar-sub.open > .sidebar-sub-menu {
    display: block;
    animation: fadeInTab 0.3s ease;
}

/* 控制箭头向下旋转 */
.has-sidebar-sub.open > a > i {
    transform: rotate(90deg);
}

/* 修复旋转后的 hover 位移动画冲突 */
.has-sidebar-sub.open > a:hover > i {
    transform: rotate(90deg) translateY(-3px);
}

/* 右侧产品卡片网格 (带边框的带阴影卡片) */
.main-content { flex: 1; min-width: 0; }
.content-header { display: flex; justify-content: space-between; align-items: center; background: #ffffff; padding: 15px 25px; margin-bottom: 25px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.content-header h2 { font-size: 20px; font-weight: 700; color: #111; }
.view-options { display: flex; gap: 15px; color: #999; font-size: 18px; }
.view-options i { cursor: pointer; transition: 0.3s; }
.view-options i.active, .view-options i:hover { color: var(--primary-teal); }

.product-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card-v2 { background: #ffffff; border-radius: 4px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.product-card-v2:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: rgba(59, 163, 168, 0.3); }

.product-card-v2 .img-wrap { padding: 25px; background-color: #fff; position: relative; border-bottom: 1px solid var(--border-color); display: flex; justify-content: center; align-items: center; aspect-ratio: 1/1;}
.product-card-v2 img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product-card-v2:hover img { transform: scale(1.05); }
.brand-badge { position: absolute; top: 15px; left: 15px; font-size: 10px; font-weight: bold; color: #666; background: #f0f0f0; padding: 2px 6px; border-radius: 2px; }

.product-card-v2 .info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-v2 h4 { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 8px; line-height: 1.3; transition: color 0.3s; }
.product-card-v2:hover h4 { color: var(--primary-teal); }
.product-card-v2 p { font-size: 13px; color: #777; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 切换为列表视图 (List View) 样式 */
.product-grid-4.list-view { grid-template-columns: 1fr; }
.product-grid-4.list-view .product-card-v2 { flex-direction: row; align-items: stretch; }
.product-grid-4.list-view .product-card-v2 .img-wrap { width: 260px; border-bottom: none; border-right: 1px solid var(--border-color); flex-shrink: 0; }
.product-grid-4.list-view .product-card-v2 .info { justify-content: center; padding: 30px 40px; }
.product-grid-4.list-view .product-card-v2 h4 { font-size: 20px; margin-bottom: 12px; }
.product-grid-4.list-view .product-card-v2 p { -webkit-line-clamp: 4; font-size: 14px; }

/* 分页器 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { display: inline-flex; justify-content: center; align-items: center; width: 36px; height: 36px; background: #fff; color: #555; font-size: 14px; font-weight: 600; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: 0.3s; cursor: pointer; border: 1px solid var(--border-color); }
.pagination a:hover { background: #f0f0f0; }
.pagination a.active { background: #608696; color: white; border-color: #608696; }
.pagination a.next-btn { width: auto; padding: 0 15px; background: #608696; color: white; border-color: #608696; }
.pagination a.next-btn:hover { background: #4f707d; border-color: #4f707d; }


/* ================= 5. 全局页脚 (Footer) ================= */
footer { background: #16181b; color: #a0aab2; padding: 80px 0 20px; font-size: 15px; border-top: 4px solid var(--primary-teal); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; margin-bottom: 60px; }
.footer-brand { margin-bottom: 25px; display: flex; align-items: center; font-size: 26px; font-weight: 800; color: #ffffff; letter-spacing: 1px; text-transform: uppercase;}
.footer-brand img { max-width: 200px;  }
.footer-desc { margin-bottom: 25px; line-height: 1.8; font-size: 15px; }
.footer-contact-item { display: flex; align-items: flex-start; margin-bottom: 15px; line-height: 1.6; }
.footer-contact-item i { margin-top: 4px; margin-right: 12px; color: var(--primary-teal); font-size: 16px; width: 16px; text-align: center; }

.footer-col h4 { color: #ffffff; margin-bottom: 25px; font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; margin-bottom: 15px; color: #a0aab2; transition: all 0.3s ease; position: relative; }
.footer-col a:hover { color: var(--highlight-yellow); padding-left: 8px; }

.newsletter-form { display: flex; margin-top: 20px; }
.newsletter-form input { flex: 1; padding: 12px 15px; border: none; outline: none; background: #2a2d34; color: #fff; border-radius: 4px 0 0 4px; font-size: 14px; width: 100%;}
.newsletter-form button { background: var(--primary-teal); color: #fff; border: none; padding: 0 20px; cursor: pointer; border-radius: 0 4px 4px 0; transition: 0.3s; }
.newsletter-form button:hover { background: var(--primary-teal-hover); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 25px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { display: flex; justify-content: center; align-items: center; width: 38px; height: 38px; background: rgba(255,255,255,0.05); color: #ffffff; border-radius: 50%; transition: all 0.3s ease; }
.footer-social a:hover { background: var(--primary-teal); transform: translateY(-4px); }


/* ================= 战略合作伙伴 (静态网格版 - 专属修正) ================= */
.partner-grid-static { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    /* 修正外边框，确保与内部网格线完美闭合 */
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    max-width: 1400px; 
    margin: 0 auto;
    width: 100%;
}

/* 用专属选择器覆盖掉跑马灯的固定宽度 */
.partner-grid-static .partner-box { 
    width: 100% !important; /* 强制自适应，覆盖 250px */
    height: 130px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-right: 1px solid #f0f0f0; 
    border-bottom: 1px solid #f0f0f0; 
    background: #ffffff; 
    transition: 0.3s; 
    flex-shrink: 1 !important; /* 允许挤压缩放 */
    box-sizing: border-box;
}

.partner-grid-static .partner-box img { 
    max-width: 140px; 
    max-height: 55px; 
    filter: grayscale(100%); 
    opacity: 0.6; 
    transition: all 0.3s ease; 
    display: block;
}

.partner-grid-static .partner-box:hover img { 
    filter: grayscale(0); 
    opacity: 1; 
    transform: scale(1.08); 
}

/* ================= 5. 产品详情页 (product-details.html) 专属样式 ================= */

/* 面包屑导航 */
.breadcrumb { padding: 25px 0 10px; color: #888; font-size: 14px; }
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary-teal); }
.breadcrumb span { margin: 0 10px; color: #ccc; }

/* 页面大标签 (Overview / Data) */
.page-section-tabs { display: flex; gap: 50px; margin-bottom: 40px; border-bottom: 1px solid var(--border-color); }
.page-section-tabs a { font-size: 22px; font-weight: 600; color: #777; padding-bottom: 15px; position: relative; transition: color 0.3s; }
.page-section-tabs a.active, .page-section-tabs a:hover { color: #111; }
.page-section-tabs a.active::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background-color: var(--primary-teal); }

/* 产品预览区 (左相册，右信息) */
.product-overview { display: flex; gap: 60px; margin-bottom: 80px; align-items: flex-start; }

/* 左侧相册区 */
.gallery-wrap { display: flex; gap: 20px; width: 500px; flex-shrink: 0; }
/* 修改：为缩略图容器增加固定高度和滚动条 */
.thumbnails { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    width: 85px; 
    max-height: 500px; /* 限制高度，超出则滚动 */
    overflow-y: auto; 
    padding-right: 5px; /* 给滚动条留出呼吸空间 */
}

/* 美化缩略图的滚动条 */
.thumbnails::-webkit-scrollbar { width: 4px; }
.thumbnails::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 4px; }
.thumbnails::-webkit-scrollbar-track { background: transparent; }

/* 保持原有缩略图样式 */
.thumbnails img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--border-color); cursor: pointer; transition: 0.3s; padding: 5px; border-radius: 4px; }
.thumbnails img.active, .thumbnails img:hover { border-color: var(--primary-teal); box-shadow: 0 2px 8px rgba(59, 163, 168, 0.2); }

/* ================= 产品数据 Tabs 内容区样式 ================= */
.tab-content {
    display: none; /* 默认隐藏所有内容 */
    animation: fadeInTab 0.4s ease forwards;
}
.tab-content.active {
    display: block; /* 只显示带有 active 类的内容 */
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.main-image { flex: 1; background: #fff; border: 1px solid var(--border-color); border-radius: 4px; display: flex; align-items: center; justify-content: center; position: relative; padding: 20px; aspect-ratio: 1; }
.main-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-watermark { position: absolute; top: 20px; left: 20px; font-weight: bold; font-size: 15px; color: #222; }

/* 右侧文本信息区 */
.product-details-info { flex: 1; padding-top: 10px; }
.product-details-info h1 { font-size: 34px; color: #111; margin-bottom: 15px; font-weight: 700; line-height: 1.3; }
.product-details-info .sub-title { font-size: 17px; color: #555; margin-bottom: 30px; line-height: 1.6; font-weight: 500; }
.product-details-info .desc { font-size: 15px; color: #666; line-height: 1.8; margin-bottom: 40px; }
.btn-purchase { background-color: var(--product-cyan); color: white; border-radius: 4px; padding: 14px 35px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; border: none; cursor: pointer; }
.btn-purchase:hover { background-color: var(--primary-teal); box-shadow: 0 5px 15px rgba(59, 163, 168, 0.3); }

/* 产品数据与表格区 (灰色背景块) */
.product-data-bg { background-color: #f9fbfb; padding: 60px 0; border-top: 1px solid var(--border-color); }
.data-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.data-tabs { display: flex; gap: 12px; }
.data-tab-btn { padding: 10px 22px; font-size: 14px; font-weight: 600; border: 1px solid var(--border-color); background: #fff; color: #555; border-radius: 30px; cursor: pointer; transition: 0.3s; }
.data-tab-btn:hover { background: #f0f0f0; }
.data-tab-btn.active { background: var(--product-cyan); color: #fff; border-color: var(--product-cyan); }
.btn-more { background: var(--product-cyan); color: #fff; padding: 10px 28px; border-radius: 30px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: 0.3s; }
.btn-more:hover { background: var(--primary-teal); }

/* 下载文件行 */
.download-row { display: flex; align-items: center; background: #fff; padding: 20px 30px; border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 30px; }
.download-row .file-info { display: flex; align-items: center; gap: 15px; flex: 1; }
.download-row .file-info i { font-size: 26px; color: var(--product-cyan); }
.download-row .file-info span.name { font-weight: 600; color: #333; font-size: 15px; }
.download-row .file-info span.size { color: #999; font-size: 14px; margin-left: 10px; }
.download-actions { display: flex; gap: 25px; }
.download-actions a { font-size: 14px; font-weight: 500; color: #666; display: flex; align-items: center; gap: 6px; transition: color 0.3s; }
.download-actions a:hover { color: var(--primary-teal); }

/* 响应式数据表格 */
.table-responsive { width: 100%; overflow-x: auto; background: #fff; border: 1px solid var(--border-color); border-radius: 4px; padding: 1px; }
/* 定制漂亮的横向滚动条 */
.table-responsive::-webkit-scrollbar { height: 8px; }
.table-responsive::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.table-responsive::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }

.data-table { width: 100%; border-collapse: collapse; min-width: 900px; font-size: 14px; text-align: left; }
.data-table th, .data-table td { border: 1px solid var(--border-color); padding: 14px 18px; color: #555; }
.data-table th { background-color: #f4f8f9; font-weight: 600; color: #222; }
.data-table tbody tr:hover { background-color: #fdfdfd; }


/* ================= Self-Developed 页面专属样式 ================= */
        

        /* 子导航栏 */
        .sub-nav-bar { background-color: var(--primary-teal); color: white; border-bottom: 1px solid rgba(0,0,0,0.05); }
        .sub-nav-inner { display: flex; justify-content: space-between; align-items: center; height: 60px; }
        .sub-nav-links { display: flex; height: 100%; }
        .sub-nav-links a { display: flex; align-items: center; padding: 0 35px; font-size: 15px; font-weight: 600; transition: 0.3s; }
        .sub-nav-links a.active { background-color: #278d96; }
        .sub-nav-links a:hover:not(.active) { background-color: rgba(0,0,0,0.05); }
        .sub-nav-search { position: relative; width: 300px; }
        .sub-nav-search input { width: 100%; padding: 10px 40px 10px 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.4); background: transparent; color: white; font-size: 14px; outline: none; transition: 0.3s; }
        .sub-nav-search input::placeholder { color: rgba(255,255,255,0.7); }
        .sub-nav-search input:focus { background: rgba(255,255,255,0.1); border-color: white; }
        .sub-nav-search i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: white; cursor: pointer; }

        /* ================= 品牌介绍区 (Brand Introduction) ================= */
        .brand-intro-wrap { 
            background: #fff; 
            border: 1px solid var(--border-color); 
            border-radius: 8px; 
            margin: 60px auto; 
            padding: 50px; 
            display: flex; 
            gap: 50px; 
            box-shadow: 0 5px 20px rgba(0,0,0,0.02);
        }
        
        .brand-info-side { flex: 1; display: flex; flex-direction: column; }
        
        /* 标题行 */
        .brand-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
        .brand-title-row h2 { color: var(--product-cyan); font-size: 24px; font-weight: 600; }
        .brand-logo-text { font-size: 32px; font-weight: 900; color: #222; letter-spacing: 1px; }

        .brand-info-side p { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 30px; text-align: justify; }
        
        .brand-divider { border: none; border-top: 1px solid var(--border-color); margin-bottom: 30px; }

        /* 核心优势 */
        .core-strengths h3 { color: var(--product-cyan); font-size: 20px; font-weight: 600; margin-bottom: 20px; }
        .strengths-list { margin-bottom: 35px; }
        .strengths-list li { display: flex; align-items: center; gap: 15px; font-size: 15px; color: #444; margin-bottom: 16px; font-weight: 500; }
        .strengths-list li i { font-size: 18px; color: #888; width: 20px; text-align: center; }

        /* ================= 混合媒体画廊区 (视频+图片) ================= */
        .brand-media-side { width: 55%; flex-shrink: 0; display: flex; flex-direction: column; gap: 15px; }
        
        .main-display-area { width: 100%; aspect-ratio: 16/9; background: #f0f0f0; border-radius: 6px; position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; border: 1px solid var(--border-color); }
        .main-display-area img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
        
        /* 大播放按钮 */
        .play-button { position: absolute; width: 60px; height: 60px; background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; cursor: pointer; transition: 0.3s; padding-left: 4px; z-index: 10; }
        .play-button:hover { background: var(--primary-teal); transform: scale(1.1); }

      /* 缩略图行与外层控制按钮包裹器 */
        .media-thumbs-wrapper { display: flex; gap: 10px; align-items: center; width: 100%; }
        .media-thumbs-row { display: flex; gap: 12px; align-items: center; flex: 1; overflow-x: auto; scroll-behavior: smooth; padding: 2px 0; }
        
        /* 隐藏原生横向滚动条让界面更干净 */
        .media-thumbs-row::-webkit-scrollbar { display: none; } 
        
        /* 缩略图容器 (固定宽度避免被挤压) */
        .thumb-item { position: relative; width: calc(33.333% - 8px); flex-shrink: 0; aspect-ratio: 16/9; cursor: pointer; border-radius: 4px; overflow: hidden; opacity: 0.6; transition: 0.3s; border: 2px solid transparent; }
        .thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
        
        /* 选中状态 */
        .thumb-item:hover, .thumb-item.active { opacity: 1; border-color: var(--primary-teal); }
        
        /* 视频缩略图专属的小播放角标 */
        .small-play-icon { position: absolute; right: 5px; bottom: 5px; width: 20px; height: 20px; background: rgba(0,0,0,0.7); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 8px; padding-left: 1px; }

        /* 左右导航按钮 */
        .thumb-nav-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ccc; display: flex; justify-content: center; align-items: center; color: #777; cursor: pointer; transition: 0.3s; flex-shrink: 0; background: #fff; }
        .thumb-nav-btn:hover { border-color: var(--primary-teal); color: var(--primary-teal); }

        /* ================= 主打产品轮播区 (Products Carousel) ================= */
        .self-products-section { background-color: var(--bg-light); padding: 40px 0 100px; border-top: 1px solid var(--border-color); }
        
        .section-tabs-large { display: flex; gap: 40px; margin-bottom: 40px; border-bottom: 1px solid transparent; }
        .section-tabs-large a { font-size: 22px; font-weight: 600; color: #999; transition: 0.3s; padding-bottom: 10px; position: relative;}
        .section-tabs-large a.active { color: #222; }
        .section-tabs-large a.active::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background-color: var(--highlight-yellow);
            transition: width 0.3s;
        }
        .section-tabs-large a:hover { color: #555; }

        /* 产品轮播容器 */
        .product-carousel { position: relative; padding-right: 60px; /* 给右侧导航按钮留空间 */ }
        
        /* 轮播卡片样式 */
        .product-slide-card { display: flex; flex-direction: column; cursor: pointer; }
        .product-slide-card img{max-width: 100%;}
        .product-slide-card .img-placeholder { width: 100%; aspect-ratio: 4/4;  border-radius: 4px; margin-bottom: 20px; transition: 0.3s; }
        .product-slide-card:hover .img-placeholder { transform: translateY(-5px); }
        
        .product-slide-card h4 { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 8px; line-height: 1.3; transition: 0.3s;}
        .product-slide-card:hover h4 { color: var(--primary-teal); }
        .product-slide-card p { font-size: 13px; color: #777; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        /* 其他通用 Swiper 重置，确保产品轮播图高度自适应 */
        .self-product-swiper-main.swiper, 
        .self-product-swiper-other.swiper { height: auto; min-height: 0; }
        .self-product-swiper-main .swiper-slide, 
        .self-product-swiper-other .swiper-slide { padding-top: 0; display: block; }

        /* 定制 Swiper 左右导航按钮 */
        .custom-swiper-prev, .custom-swiper-next { 
            position: absolute; 
            top: 40%; /* 调整为40%，使其完美对齐到上方图片的垂直中心点 */
            transform: translateY(-50%); 
            width: 45px; height: 45px; border-radius: 50%; background: #fff; 
            border: 2px solid #ccc; display: flex; justify-content: center; align-items: center; 
            color: #777; font-size: 18px; cursor: pointer; transition: 0.3s; z-index: 10;
        }
        .custom-swiper-prev { left: 0; }
        .custom-swiper-next { right: 0; }
        
        .custom-swiper-prev:hover, .custom-swiper-next:hover { border-color: var(--primary-teal); color: var(--primary-teal); }
        .custom-swiper-prev.swiper-button-disabled, .custom-swiper-next.swiper-button-disabled { opacity: 0.3; cursor: not-allowed; }
        
        .product-carousel { padding-right: 0; }
        /* PC端为左右箭头留出 60px 空间 */
        .product-carousel-wrapper { padding: 0 60px; }


 /* ================= Solutions 页面专属样式 ================= */

 
        /* 子导航栏 (分类过滤) */
        .sub-nav-bar { background-color: var(--primary-teal); color: white; border-bottom: 1px solid rgba(0,0,0,0.05); }
        .sub-nav-inner { display: flex; justify-content: space-between; align-items: center; height: 60px; }
        .sub-nav-links { display: flex; height: 100%; }
        .sub-nav-links a { display: flex; align-items: center; padding: 0 35px; font-size: 15px; font-weight: 600; transition: 0.3s; cursor: pointer;}
        .sub-nav-links a.active { background-color: #278d96; }
        .sub-nav-links a:hover:not(.active) { background-color: rgba(0,0,0,0.05); }
        .sub-nav-search { position: relative; width: 300px; }
        .sub-nav-search input { width: 100%; padding: 10px 40px 10px 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.4); background: transparent; color: white; font-size: 14px; outline: none; transition: 0.3s; }
        .sub-nav-search input::placeholder { color: rgba(255,255,255,0.7); }
        .sub-nav-search input:focus { background: rgba(255,255,255,0.1); border-color: white; }
        .sub-nav-search i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: white; cursor: pointer; }

        /* ================= 解决方案卡片网格 ================= */
        .solutions-section { padding: 80px 0; background-color: #ffffff; text-align: center; }
        
        .section-header { margin-bottom: 50px; }
        .section-header span { color: var(--blue-grey); font-size: 18px; font-weight: 600; display: block; margin-bottom: 5px; }
        .section-header h2 { font-size: 38px; color: #222; font-weight: 700; }

        .solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: left; }
        
        .solution-card-v2 { display: block; background: #fff; border-radius: 4px; overflow: hidden; transition: all 0.3s ease; border: 1px solid transparent; }
        .solution-card-v2:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-color: #f0f0f0;}
        
        .solution-card-v2 .img-wrap { width: 100%; aspect-ratio: 16/10; overflow: hidden; position: relative;}
        .solution-card-v2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .solution-card-v2:hover img { transform: scale(1.05); }

        .solution-card-v2 .info { padding: 25px 20px 30px; }
        .solution-card-v2 h3 { font-size: 20px; font-weight: 700; color: #333; margin-bottom: 12px; transition: color 0.3s; }
        .solution-card-v2:hover h3 { color: var(--primary-teal); }
        .solution-card-v2 p { font-size: 14px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* ================= 6. 解决方案详情页 (solution-details.html) 专属样式 ================= */

/* 章节通用结构 */
.sol-section { margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border-color); }
.sol-section-title { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 30px; padding-left: 15px; border-left: 5px solid var(--primary-teal); line-height: 1.2; }

/* 1. Overview */
.sol-overview-content { display: flex; gap: 40px; align-items: stretch; }
.sol-overview-img { flex: 1; border-radius: 8px; overflow: hidden; }
.sol-overview-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sol-overview-text { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.sol-overview-text h4 { font-size: 22px; color: #222; font-weight: 700; margin-bottom: 15px; }
.sol-overview-text p { font-size: 15px; color: #666; line-height: 1.8; text-align: justify; }

/* 2. Application Value */
.sol-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-value-card { background-color: #d8d8d8; padding: 40px 20px; display: flex; justify-content: center; align-items: center; border-radius: 6px; text-align: center; min-height: 140px; transition: 0.3s; }
.sol-value-card:hover { background-color: #cecece; transform: translateY(-5px); }
.sol-value-card p { font-size: 16px; font-weight: 600; color: #222; }

/* 3. Scenarioized solutions */
.scenario-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--border-color); margin-bottom: 30px; }
.scenario-tab { font-size: 16px; font-weight: 600; color: #777; padding-bottom: 12px; cursor: pointer; position: relative; transition: 0.3s; }
.scenario-tab:hover { color: #333; }
.scenario-tab.active { color: #111; }
.scenario-tab.active::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background-color: var(--primary-teal); }

/* 4. Customer Story Carousel */
.story-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.story-nav-buttons { display: flex; gap: 10px; }
.story-prev, .story-next { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ccc; display: flex; justify-content: center; align-items: center; color: var(--primary-teal); cursor: pointer; transition: 0.3s; background: #fff; }
.story-prev:hover, .story-next:hover { background: var(--primary-teal); color: #fff; border-color: var(--primary-teal); }
.story-prev.swiper-button-disabled, .story-next.swiper-button-disabled { opacity: 0.4; cursor: not-allowed; }

.story-card { border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; background: #fff; transition: 0.3s; }
.story-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.06); transform: translateY(-5px); }
.story-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.story-info { padding: 20px; }
.story-info h4 { font-size: 15px; color: #222; font-weight: 700; line-height: 1.4; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-info .location { font-size: 13px; color: #888; display: flex; align-items: center; gap: 5px; }

/* 5. CTA Section */
.sol-cta-section { background: linear-gradient(rgba(10, 20, 30, 0.7), rgba(10, 20, 30, 0.7)), url('https://via.placeholder.com/1920x400/333/fff?text=Network+Data+Overlay') no-repeat center center/cover; padding: 100px 0; margin-top: 40px; }
.sol-cta-section .container { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.sol-cta-section h2 { color: #fff; font-size: 36px; font-weight: 700; margin-bottom: 30px; letter-spacing: 0.5px; }
.sol-cta-btn { background-color: transparent; color: #fff; border: 1px solid #fff; padding: 12px 30px; border-radius: 4px; font-size: 15px; font-weight: 600; text-transform: uppercase; transition: 0.3s; }
.sol-cta-btn:hover { background-color: #fff; color: #111; }

/* ================= 7. 新闻列表页 (news.html) 专属样式 ================= */

.news-list-section { padding: 80px 0; background-color: #ffffff; }

/* 列表容器 */
.news-list-wrapper { display: flex; flex-direction: column; gap: 40px; margin-bottom: 60px; }

/* 单个新闻条目 */
.news-list-item { 
    display: flex; gap: 35px; align-items: stretch; 
    padding-bottom: 40px; border-bottom: 1px solid #eaeaea; 
    transition: all 0.3s ease;
}
.news-list-item:last-child { border-bottom: none; padding-bottom: 0; }

/* 新闻图片 */
.news-item-img { 
    width: 420px; flex-shrink: 0; 
    border-radius: 4px; overflow: hidden; display: block; position: relative; 
}
.news-item-img img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.5s ease; display: block; 
}
.news-list-item:hover .news-item-img img { transform: scale(1.05); }

/* 新闻内容区 */
.news-item-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* 标题与按钮行 */
.news-header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 20px;}
.news-header-row h3 { font-size: 24px; font-weight: 700; color: #222; line-height: 1.3; margin: 0; }
.news-header-row h3 a { transition: color 0.3s ease; }
.news-list-item:hover .news-header-row h3 a { color: var(--primary-teal); }

.btn-view-all { 
    background-color: var(--product-cyan); color: #fff; 
    padding: 8px 20px; font-size: 13px; font-weight: 600; border-radius: 3px; 
    display: inline-flex; align-items: center; white-space: nowrap; transition: 0.3s;
}
.btn-view-all:hover { background-color: var(--primary-teal); }

/* 元数据行 (关键词与日期) */
.news-meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.news-meta-row .keywords { font-size: 14px; color: #666; font-weight: 500; }
.news-meta-row .date { font-size: 13px; color: #999; letter-spacing: 0.5px; }

/* 摘要内容 */
.news-excerpt { 
    font-size: 15px; color: #777; line-height: 1.8; 
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; 
    text-align: justify;
}

/* 分页器 */
.news-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; }
.news-pagination a { 
    display: inline-flex; justify-content: center; align-items: center; 
    min-width: 36px; height: 36px; padding: 0 10px;
    background: #e8e8e8; color: #555; font-size: 14px; font-weight: 600; 
    border-radius: 2px; transition: 0.3s; text-decoration: none;
}
.news-pagination a:hover { background: #d0d0d0; }
.news-pagination a.active { background: #5c7b89; color: white; } /* 匹配设计稿中的深灰蓝色 */
.news-pagination a.next-page-btn { background: #5c7b89; color: white; }
.news-pagination a.next-page-btn:hover { background: #4a636e; }

/* ================= 8. 新闻详情页 (news-details.html) 专属样式 ================= */

.news-detail-section { padding: 80px 0 100px; background-color: #ffffff; }

/* 文章头部 (标题与 Meta 描述) */
.article-header { 
    text-align: center; 
    margin-bottom: 50px; 
    padding-bottom: 40px; 
}
.article-header h1 { 
    font-size: 32px; 
    color: #222; 
    font-weight: 700; 
    line-height: 1.4; 
    margin-bottom: 20px; 
    max-width: 900px; 
    margin-left: auto; 
    margin-right: auto;
}
.article-meta { 
    color: #666; 
    font-size: 15px; 
    font-weight: 500; 
}

/* 文章正文区域 */
.article-content { 
    font-size: 16px; 
    color: #444; 
    line-height: 1.8; 
    text-align: justify; 
}
.article-content img { 
    width: 100%; 
    max-width: 800px; /* 限制图片最大宽度不至于过分拉伸 */
    display: block; 
    margin: 0 auto 40px; 
    border-radius: 4px; 
}
.article-content p { 
    margin-bottom: 25px; 
}
/* ================= 【新增】文章上下篇英文导航按钮 ================= */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
    gap: 30px;
}
.article-navigation .nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 48%;
    text-decoration: none;
    transition: all 0.3s ease;
}
/* 左对齐 */
.article-navigation .nav-link.prev {
    text-align: left;
    align-items: flex-start;
}
/* 右对齐 */
.article-navigation .nav-link.next {
    text-align: right;
    align-items: flex-end;
}
/* PREVIOUS / NEXT 小标签 */
.article-navigation .nav-label {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}
/* 文章标题限制为单行溢出省略号 */
.article-navigation .nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}
/* 鼠标滑过时，标签与标题同步变主题色 */
.article-navigation .nav-link:hover .nav-label,
.article-navigation .nav-link:hover .nav-title {
    color: var(--primary-teal);
}

/* ================= 9. 关于我们页 (about.html) 专属样式 ================= */

.about-us-section { padding: 100px 0 60px; background-color: #ffffff; }

.about-us-layout { 
    display: flex; 
    gap: 80px; 
    align-items: center; 
}

/* 左侧文本区 */
.about-page-left { flex: 1.1; }
.about-subtitle { 
    color: var(--primary-teal); 
    font-size: 18px; 
    font-weight: 700; 
    margin-bottom: 15px; 
    display: block; 
}
.about-title { 
    font-size: 40px; 
    color: #222; 
    font-weight: 700; 
    line-height: 1.3; 
    margin-bottom: 30px; 
}
.about-desc p { 
    font-size: 15px; 
    color: #555; 
    line-height: 1.8; 
    margin-bottom: 20px; 
    text-align: justify; 
}
.about-page-left .btn { 
    margin-top: 15px; 
    padding: 14px 35px;
    background-color: var(--product-cyan);
}
.about-page-left .btn:hover {
    background-color: var(--primary-teal);
}

/* 右侧优势列表区 */
.about-page-right { 
    flex: 0.9; 
    display: flex; 
    flex-direction: column; 
    gap: 45px; 
    padding-left: 20px;
}
.feature-item { 
    display: flex; 
    gap: 25px; 
    align-items: flex-start; 
}
.feature-icon { 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    background-color: var(--product-cyan); 
    color: white; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 22px; 
    flex-shrink: 0; 
    margin-top: 5px; 
    transition: transform 0.3s ease;
}
.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background-color: var(--primary-teal);
}
.feature-text h4 { 
    font-size: 20px; 
    color: #222; 
    font-weight: 700; 
    margin-bottom: 10px; 
}
.feature-text p { 
    font-size: 14.5px; 
    color: #666; 
    line-height: 1.6; 
}

/* ================= 10. 联系我们页 (contact.html) 专属样式 ================= */

.contact-page-section { padding: 80px 0 100px; background-color: #ffffff; }

/* 页面中间标题 */
.contact-header-text { text-align: center; margin-bottom: 60px; }
.contact-header-text .sub-title { font-size: 18px; color: var(--blue-grey); font-weight: 600; display: block; margin-bottom: 5px; }
.contact-header-text .main-title { font-size: 38px; color: #222; font-weight: 700; }

/* 分支机构行 */
.branch-item { display: flex; gap: 60px; align-items: flex-start; margin-bottom: 80px; }
.branch-item:last-child { margin-bottom: 0; }

/* 左侧信息区 */
.branch-info { flex: 1; padding-top: 10px; }
.branch-info h3 { font-size: 24px; color: #333; font-weight: 700; margin-bottom: 25px; letter-spacing: 0.5px; }

.info-block { margin-bottom: 25px; }
.info-block h4 { font-size: 16px; color: #444; font-weight: 700; margin-bottom: 8px; }
.info-block p { font-size: 14px; color: #666; line-height: 1.6; }

.btn-appointment { margin-top: 10px; background-color: var(--product-cyan); padding: 12px 28px; font-size: 13px; font-weight: 700; border-radius: 2px; }
.btn-appointment:hover { background-color: var(--primary-teal); }

/* 右侧地图区 */
.branch-map { flex: 1.5; }
.branch-map img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; display: block; border: 1px solid var(--border-color); }


/* ================= 11. 询价弹出表单 (Get Quote Modal) ================= */
.quote-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.6); z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.quote-modal-overlay.active { opacity: 1; visibility: visible; }

.quote-modal-container {
    background: #ffffff; width: 90%; max-width: 750px;
    border-radius: 12px; padding: 50px; position: relative;
    transform: translateY(-20px); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.quote-modal-overlay.active .quote-modal-container { transform: translateY(0); }

/* 关闭按钮 */
.quote-modal-close {
    position: absolute; top: 20px; right: 20px;
    width: 30px; height: 30px; border-radius: 50%;
    border: 1.5px solid #333; background: #fff; color: #333;
    font-size: 15px; cursor: pointer; display: flex;
    justify-content: center; align-items: center;
    transition: 0.3s; z-index: 10;
}
.quote-modal-close:hover { background: #333; color: #fff; border-color: #333; }

/* 表单网格 */
.quote-form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.quote-form-group { flex: 1; position: relative; }

/* 基础输入框样式 */
.quote-form-control {
    width: 100%; padding: 14px 15px; border: 1px solid #eaeaea;
    border-radius: 6px; font-size: 14px; color: #333;
    outline: none; transition: border-color 0.3s;
    background: #fff; font-family: inherit;
}
.quote-form-control:focus { border-color: var(--primary-teal); }

/* 模拟带红色星号的占位符 */
.quote-form-label {
    position: absolute; left: 15px; top: 14px;
    color: #999; font-size: 14px; pointer-events: none;
    transition: 0.2s;
}
/* 当输入框聚焦或有内容(通过 required 验证)时隐藏文字 */
/* 修改后：增加对 .has-value 类的支持 */
.quote-form-control:focus ~ .quote-form-label,
.quote-form-control:valid ~ .quote-form-label,
.quote-form-control.has-value ~ .quote-form-label {
    opacity: 0; visibility: hidden;
}

/* 下拉菜单专属 */
select.quote-form-control { appearance: none; cursor: pointer; }
.select-arrow { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #999; pointer-events: none; font-size: 12px; }

/* 底部行 (多行文本与复选框) */
.quote-bottom-row { align-items: center; margin-bottom: 30px; }
.quote-textarea-group { flex: 1; width: 100%;}
textarea.quote-form-control { resize: none; height: 100%; min-height: 80px; padding-top: 14px; }
.quote-checkbox-group { flex: 1; display: flex; align-items: center; padding-left: 10px; }
.quote-checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #666; cursor: pointer; }
.quote-checkbox-label input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary-teal); }
.quote-checkbox-label a { color: var(--primary-teal); text-decoration: none; }
.quote-checkbox-label a:hover { text-decoration: underline; }

/* 提交按钮 */
.quote-submit-row { text-align: center; }
.quote-submit-btn { width: 220px; padding: 12px 0; font-size: 16px; border-radius: 6px; }

/* ================= 自定义表单下拉面板 (替换原生 Select) ================= */
.custom-dropdown-group { position: relative; }
.custom-dropdown-input { cursor: pointer; background-color: #fff !important; }

/* 自定义下拉菜单的外框 */
.custom-options-panel {
    position: absolute; top: calc(100% + 5px); left: 0; width: 100%;
    background: #fff; border: 1px solid #eaeaea; border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); z-index: 99999;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.3s ease; max-height: 200px; overflow-y: auto;
}

/* 激活(打开)时的状态 */
.custom-dropdown-group.active .custom-options-panel {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.custom-dropdown-group.active .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* 单个选项样式 */
.custom-option {
    padding: 12px 15px; font-size: 14px; color: #444; 
    cursor: pointer; transition: background-color 0.2s, color 0.2s; 
}

/* ★★★ 核心修复：把默认的蓝色改成你们品牌的青色 ★★★ */
.custom-option:hover, .custom-option.selected {
    background-color: var(--primary-teal); 
    color: #fff;
}

/* ================= 12. 隐私政策页 (privacy-policy.html) 专属样式 ================= */

.privacy-policy-section { padding: 80px 0 100px; background-color: #ffffff; }

/* 页面头部 */
.policy-header { 
    text-align: center; 
    margin-bottom: 50px; 
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}
.policy-header h1 { 
    font-size: 32px; 
    color: #222; 
    font-weight: 700; 
    line-height: 1.4; 
    margin-bottom: 12px; 
}
.policy-header .last-updated { 
    font-size: 14px; 
    color: #999; 
}

/* 政策正文排版 */
.policy-content { 
    font-size: 15px; 
    color: #444; 
    line-height: 1.8; 
    text-align: justify; 
}
.policy-content p { 
    margin-bottom: 20px; 
}

/* 小标题带左侧品牌色竖线 */
.policy-sub-title { 
    font-size: 20px; 
    color: #111; 
    font-weight: 700; 
    margin: 40px 0 15px; 
    padding-left: 12px; 
    border-left: 4px solid var(--primary-teal); 
    line-height: 1.2; 
}

/* 列表排版 */
.policy-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
    list-style-type: disc;
}
.policy-content ul li {
    margin-bottom: 10px;
}

/* ================= 13. 页面滚动加载动画 (Scroll Reveal Animations) ================= */
@keyframes initFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 首屏 Banner 文字入场动画 */
.hero-content .subtitle { animation: initFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.2s; opacity: 0; }
.hero-content .main-title { animation: initFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.4s; opacity: 0; }
.hero-content .description { animation: initFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.6s; opacity: 0; }
.hero-content .hero-buttons { animation: initFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.8s; opacity: 0; }

/* 通用滚动动画初始状态 */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.fade-up { transform: translateY(40px); }
.reveal.fade-down { transform: translateY(-40px); }
.reveal.fade-left { transform: translateX(40px); }  
.reveal.fade-right { transform: translateX(-40px); } 
.reveal.zoom-in { transform: scale(0.9); }

/* 动画触发后的激活状态 */
.reveal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0) scale(1);
}

/* 瀑布流阶梯延迟辅助类 */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }


/* ================= 14. 右侧悬浮工具栏 (Floating Tools) ================= */
.floating-tools {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 9998;
}

.tool-btn {
    width: 45px;
    height: 45px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-tool-btn {
    background-color: var(--primary-teal);
}
.contact-tool-btn:hover {
    background-color: var(--primary-teal-hover);
}

.back-to-top-btn {
    background-color: #a0a0a0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
}
.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.back-to-top-btn:hover {
    background-color: #777;
}

/* ================= 15. 联系我们弹窗 (Contact Modal) ================= */
.contact-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(255, 255, 255, 0.95); /* 还原设计图的白底半透明遮罩 */
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.contact-modal-overlay.active { opacity: 1; visibility: visible; }

.contact-modal-container {
    background: #ffffff; width: 95%; max-width: 1000px;
    border-radius: 8px; padding: 40px 20px; position: relative;
    transform: translateY(-20px); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
}
.contact-modal-overlay.active .contact-modal-container { transform: translateY(0); }

.contact-modal-close {
    position: absolute; top: -40px; right: 0;
    background: none; border: none; font-size: 28px; color: #555; 
    cursor: pointer; transition: 0.3s;
}
.contact-modal-close:hover { color: var(--primary-teal); }

.contact-modal-header { text-align: center; margin-bottom: 40px; }
.contact-modal-header h2 { 
    font-size: 32px; font-weight: 700; color: #111; 
    display: inline-block; position: relative; padding-bottom: 12px; 
}
.contact-modal-header h2::after { 
    content: ''; position: absolute; left: 50%; bottom: 0; 
    transform: translateX(-50%); width: 45px; height: 2px; 
    background: var(--primary-teal); 
}

.contact-modal-body { display: flex; align-items: stretch; justify-content: space-between; }

.contact-col { flex: 1; text-align: center; padding: 0 15px; position: relative; }
/* 分割线 */
.contact-col:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 10%; height: 80%;
    width: 1px; background-color: #eaeaea;
}
.contact-col:last-child { text-align: left; padding-left: 30px; display: flex; flex-direction: column; justify-content: center; }

.contact-icon-wrapper {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 15px; font-size: 32px; color: white;
}

.contact-col h4 { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 6px; }
.contact-col p { font-size: 13px; color: #777; margin-bottom: 20px; }

.btn-outline-dark {
    background: transparent; border: 1px solid #444; color: #333;
    padding: 8px 30px; font-size: 13px; font-weight: 500; border-radius: 2px; 
    transition: 0.3s; cursor: pointer; display: inline-block;
    text-decoration: none;
}
.btn-outline-dark:hover { background: #333; color: #fff; }

.social-list-col { gap: 12px; }
.social-list-col a { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #555; transition: 0.3s; font-weight: 500;}
.social-list-col a i { font-size: 18px; width: 20px; text-align: center; }
.social-list-col a:hover { color: var(--primary-teal); }

.contact-modal-footer { text-align: center; margin-top: 40px; padding-top: 25px; }
.contact-modal-footer a { font-size: 13px; font-weight: 500; color: #444; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 5px; }
.contact-modal-footer a:hover { color: var(--primary-teal); }


/* ================= 服务中心页面专属样式 (Service Page) ================= */

/* 通用标题 */
.svc-section-title { font-size: 28px; font-weight: 700; color: #222; margin-bottom: 40px; }
.svc-section-title.text-center { text-align: center; }
.svc-section-title.text-left { text-align: left; }

/* 1. 简介与数据区 */
.svc-intro-section { padding: 80px 20px; }
.svc-intro-header h2 { font-size: 32px; font-weight: 700; color: #111; line-height: 1.4; margin-bottom: 50px; }
.svc-intro-content { display: flex; gap: 60px; align-items: center; }
.svc-intro-text { flex: 1; }
.svc-intro-text h4 { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 20px; }
.svc-intro-text p { font-size: 15px; color: #666; line-height: 1.8; margin-bottom: 40px; }
.svc-stats { display: flex; gap: 60px; }
.stat-item h3 { font-size: 36px; font-weight: 700; color: #111; margin-bottom: 5px; }
.stat-item span { font-size: 14px; color: #888; font-weight: 500; }
.svc-intro-image { flex: 1.2; border-radius: 8px; overflow: hidden; }
.svc-intro-image img { width: 100%; height: 300px; display: block; object-fit: cover;}

/* 2. 数字化创新 (双列网格) */
.svc-innovation-section { background-color: #ffffff; padding: 60px 0; }
.svc-innovation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.innov-card { background-color: #f6f8f9; padding: 40px; border-radius: 8px; transition: 0.3s ease; }
.innov-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.innov-card h4 { font-size: 20px; font-weight: 700; color: #222; margin-bottom: 15px; }
.innov-card p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 30px; }
.innov-card img { max-height: 40px; object-fit: contain; }

/* ================= 3. 合作伙伴/品牌列表 (双行无限滚动) ================= */
.svc-brands-section { 
    padding: 40px 0 80px; 
    width: 100%; 
    overflow: hidden; /* 隐藏超出屏幕的部分 */
}

.svc-marquee-container { 
    display: flex; 
    flex-direction: column; 
    gap: 40px; /* 上下两行的间距 */
    width: 100%; 
}

.svc-marquee-row { 
    display: flex; 
    width: 100%; 
    overflow: hidden; 
}

.svc-marquee-track { 
    display: flex; 
    gap: 30px; /* 每个卡片之间的间距 */
    width: max-content; 
    padding: 0 15px; /* 补偿 gap 带来的边缘缝隙 */
}

/* 核心动画控制 */
.svc-marquee-track.left { animation: scrollLeftSvc 35s linear infinite; }
.svc-marquee-track.right { animation: scrollRightSvc 35s linear infinite; }

/* 鼠标悬停时暂停滚动 (提升用户体验) */
.svc-marquee-track:hover { animation-play-state: paused; }

.brand-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 15px; 
    width: 180px; /* 必须给一个固定宽度，不能用 flex:1，否则无法完美滚动 */
    flex-shrink: 0; 
}

.brand-box { 
    width: 100%; 
    aspect-ratio: 2/1; 
    background-color: #d8d8d832; 
    border-radius: 4px; 
    transition: 0.3s; 
    cursor: pointer;
    display: flex;
    align-items: center;
}
.brand-box img{
    max-width: 100%;
}

.brand-item:hover .brand-box { 
    background-color: var(--primary-teal); 
    opacity: 0.8; 
}

.brand-item span { 
    font-size: 14px; 
    font-weight: 600; 
    color: #444; 
}

/* 无缝滚动关键帧 (向左移和向右移) */
@keyframes scrollLeftSvc { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}
@keyframes scrollRightSvc { 
    0% { transform: translateX(-50%); } 
    100% { transform: translateX(0); } 
}

/* 4. 持续创新产品层叠区 */
.svc-products-section { padding: 60px 20px; }
.svc-products-stack { display: flex; flex-direction: column; gap: 25px; }
.svc-prod-card { background-color: #e9ecef; padding: 50px 60px; border-radius: 8px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; transition: 0.3s;background-repeat: no-repeat;background-size: cover;min-height: 400px; }
.svc-prod-card:hover { background-color: #e2e6ea; }
.svc-prod-card h4 { font-size: 24px; font-weight: 700; color: #222; line-height: 1.3; margin-bottom: 30px; }
.svc-prod-card .btn { padding: 10px 25px; font-size: 14px; border-radius: 30px; display: flex; gap: 8px;}

/* 5. 最新动态区 */
.svc-news-section { padding: 80px 20px; }
/* 此处直接复用了全局的 .news-grid 样式，无需额外写 CSS */

/* 6. 快速搜索区 */
.svc-search-section { 
    padding: 140px 0; 
    text-align: center;
    background: url('../picture/aimg9.svg') bottom center no-repeat;
    background-size: contain;
    border-top: 1px solid #dcdcdc;
}
.svc-search-section h3 { font-size: 26px; font-weight: 700; color: #222; margin-bottom: 30px; }
.svc-search-box { 
    position: relative; 
    max-width: 600px; 
    margin: 0 auto; 
    background: #fff; 
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.svc-search-box input {
    width: 100%; height: 50px; padding: 0 20px 0 50px;
    border: 1px solid #eaeaea; border-radius: 30px;
    font-size: 15px; outline: none; transition: 0.3s;
}
.svc-search-box input:focus { border-color: var(--primary-teal); }
.svc-search-box i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #999; font-size: 16px; }



/* ================= 下载中心专属样式 ================= */

.download-section { padding: 50px 0 100px; background-color: #ffffff; }

/* 顶部标签页 */
.dl-tabs-wrapper { border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
.dl-tabs { display: flex; gap: 40px; list-style: none; }
.dl-tabs li { margin-bottom: -1px; }
.dl-tabs a { 
    display: block; padding: 15px 5px; font-size: 16px; font-weight: 600; 
    color: #555; transition: 0.3s; position: relative; 
}
.dl-tabs li.active a, .dl-tabs a:hover { color: var(--primary-teal); }
.dl-tabs li.active a::after {
    content: ''; position: absolute; bottom: 0; left: 0; 
    width: 100%; height: 3px; background-color: var(--primary-teal);
}

/* 布局控制 */
.dl-layout { display: flex; gap: 40px; align-items: flex-start; }

/* 左侧边栏 */
.dl-sidebar { width: 280px; flex-shrink: 0; }
.dl-filter-title { font-size: 18px; font-weight: 700; color: #222; padding-bottom: 15px; border-bottom: 2px solid var(--primary-teal); margin-bottom: 10px; }

.dl-filter-group { border-bottom: 1px solid var(--border-color); }
.dl-filter-header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 18px 0; cursor: pointer; transition: 0.3s;
}
.dl-filter-header h4 { font-size: 15px; font-weight: 600; color: #333; transition: color 0.3s; }
.dl-filter-header:hover h4 { color: var(--primary-teal); }
.dl-filter-header i { font-size: 14px; color: #888; }

.dl-filter-body { padding-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.custom-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: #555; }
.custom-check input[type="checkbox"] { 
    width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary-teal);
}

/* 右侧主体区 */
.dl-main { flex: 1; min-width: 0; }

.dl-search-box { position: relative; margin-bottom: 25px; }
.dl-search-box input { 
    width: 100%; height: 50px; padding: 0 50px 0 20px; 
    border: 1px solid var(--border-color); border-radius: 6px; 
    font-size: 15px; outline: none; transition: 0.3s; 
}
.dl-search-box input:focus { border-color: var(--primary-teal); box-shadow: 0 0 0 3px rgba(59,163,168,0.1); }
.dl-search-box i { 
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%); 
    color: var(--primary-teal); font-size: 18px; cursor: pointer;
}

.dl-meta-row { display: flex; justify-content: space-between; align-items: center; }
.applied-text { font-size: 14px; color: #555; margin-right: 15px; }
.clear-all { font-size: 14px; color: var(--primary-teal); text-decoration: underline; }
.showing-text { font-size: 14px; color: #555; }

.dl-sort-select { 
    padding: 8px 30px 8px 15px; border: 1px solid var(--border-color); 
    border-radius: 4px; font-size: 14px; color: #333; outline: none; 
    background-color: #fff; cursor: pointer;
}

/* 文件卡片列表 */
.dl-card-list { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.dl-card { 
    display: flex; gap: 25px; align-items: center; background: #fff; 
    padding: 25px; border: 1px solid var(--border-color); border-radius: 8px; 
    transition: all 0.3s ease; 
}
.dl-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.06); border-color: rgba(59,163,168,0.3); transform: translateY(-3px); }

.dl-card-img { width: 120px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.dl-card-img img { max-width: 100%; max-height: 80px; object-fit: contain; }

.dl-card-info { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.dl-card-info h4 { font-size: 18px; font-weight: 700; color: #222; line-height: 1.4; }
.dl-card-meta { display: flex; gap: 25px; flex-wrap: wrap; }
.dl-card-meta span { font-size: 13px; color: #777; display: flex; align-items: center; gap: 6px; }
.dl-card-meta i { color: #aaa; }

.tag-outline { 
    display: inline-block; padding: 4px 12px; font-size: 12px; 
    color: var(--primary-teal); border: 1px solid var(--primary-teal); 
    border-radius: 4px; 
}

/* 下载按钮 */
.btn-dl-outline { 
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; 
    border: 1px solid var(--primary-teal); color: var(--primary-teal); 
    border-radius: 6px; font-size: 14px; font-weight: 600; transition: 0.3s; 
    background: transparent;
}
.btn-dl-outline:hover { background: var(--primary-teal); color: #fff; }


/* ================= 相关产品轮播板块专属样式 ================= */
.related-products-section {
    padding-top: 80px; /* 增加上下留白，与前后模块隔开 */
    padding-bottom: 100px; /* 增加上下留白，与前后模块隔开 */
}

/* 头部与导航按钮同行显示 */
.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* 带有左侧竖线的标题 */
.section-title-left {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    padding-left: 12px;
    border-left: 5px solid var(--primary-teal); /* 匹配品牌青色 */
    line-height: 1.1;
    letter-spacing: 0.5px;
}

/* 轮播导航按钮组 */
.related-nav {
    display: flex;
    gap: 15px;
}
.related-prev, .related-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: transparent;
    color: #888;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.related-prev:hover, .related-next:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}
/* 轮播到边缘时的禁用状态 */
.related-prev.swiper-button-disabled, 
.related-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

/* 产品卡片样式 */
.related-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.related-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: rgba(59, 163, 168, 0.3);
}

/* 卡片图片区域 */
.related-card .img-wrap {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1; /* 保持图片区域为正方形 */
}
.related-card .img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 底部操作区 (带上边框) */
.related-card .card-action {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* View Details 按钮样式复刻 */
.btn-view-details {
    display: inline-block;
    width: 85%;
    padding: 10px 0;
    background-color: #40a5b0; /* 匹配截图中的柔和青色 */
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}
.btn-view-details:hover {
    background-color: var(--primary-teal-hover);
    color: #fff;
}






/* 强制 GTranslate 弹窗固定宽度，避免横向无限撑开 */
#gt-custom-popup {
    width: 220px !important; 
    padding: 10px !important;
    white-space: normal !important;
}

/* 强制语言选项垂直排列成列表 */
#gt-custom-popup a.glink {
    display: flex !important;
    align-items: center !important;
    padding: 8px 5px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 鼠标悬停时的背景变色效果 */
#gt-custom-popup a.glink:hover {
    background-color: #f9f9f9 !important;
}

/* 移除最后一个选项的底部横线 */
#gt-custom-popup a.glink:last-child {
    border-bottom: none !important;
}

/* 规范国旗图标的大小和间距 */
#gt-custom-popup a.glink img {
    width: 18px !important;
    height: auto !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
    display: block !important;
}



/* ======= 移动端深色菜单融合优化 ======= */

/* 1. 强制覆盖 HTML 中内联的白色背景，让其变透明融入侧边栏 */
#gt-mobile-popup {
    background: transparent !important; 
    padding: 0 !important; 
    margin-top: 5px !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
}

/* 2. 优化每个语言选项的排版，配合深色主题 */
#gt-mobile-popup a.glink {
    display: flex !important;
    align-items: center !important;
    padding: 12px 15px !important; /* 增加上下间距，更适合手指点击 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; /* 极简的半透明分割线 */
    color: #d1d1d1 !important; /* 柔和的浅灰色文字，比纯白更高级 */
    text-decoration: none !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* 3. 最后一个选项去掉底边框 */
#gt-mobile-popup a.glink:last-child {
    border-bottom: none !important;
}

/* 4. 手机端按下或悬停时的微弱背景高亮反馈 */
#gt-mobile-popup a.glink:hover, 
#gt-mobile-popup a.glink:active {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

/* 5. 国旗图标的间距微调，使其更精致 */
#gt-mobile-popup a.glink img {
    width: 20px !important;
    height: auto !important;
    margin-right: 12px !important;
    display: block !important;
    border-radius: 2px !important; /* 给国旗加个极小的圆角 */
}