﻿/* B2B外贸网站样式 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-secondary);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 顶部栏样式 */
.header-top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-address {
    color: #666;
}

.top-separator {
    color: #ccc;
    margin: 0 5px;
}

.top-phone-label {
    color: #666;
}

.top-phone {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.top-phone:hover {
    color: #333;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.top-link:hover {
    color: #000;
}

.top-language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

.top-language-switcher:hover {
    background: #f5f7fa;
}

.top-language-switcher:hover .lang-dropdown {
    display: block;
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-text {
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.lang-arrow {
    width: 12px;
    height: 12px;
    color: #666;
    transition: transform 0.3s;
}

.top-language-switcher:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-top: 8px;
    min-width: 140px;
    /* box-shadow */: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f5f5f5;
    color: #000;
}

.lang-option-flag {
    font-size: 18px;
    line-height: 1;
}

.lang-option-text {
    font-size: 14px;
    font-weight: 500;
}

/* 主头部样式 - 已移至文件后部统一定义 */

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    max-height: 60px;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.header-info {
    flex: 1;
    text-align: center;
}

.company-slogan {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.header-hotline {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hotline-icon {
    width: 40px;
    height: 40px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.hotline-icon svg {
    width: 20px;
    height: 20px;
}

.hotline-content {
    display: flex;
    flex-direction: column;
}

.hotline-label {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
}

.hotline-number {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.3s;
}

.hotline-number:hover {
    color: #333;
}

/* 导航栏样式 */
.main-nav-bar {
    background: #1a1a1a;
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 15px 25px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.nav-menu a.active {
    background: #000;
    color: #ffffff;
}

.nav-menu li:last-child a {
    border-right: none;
}

/* 按钮样式 - 黑白灰风格 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-primary {
    background: #000;
    color: #fff;
    border-radius: 4px;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-link {
    background: none;
    color: #000;
    padding: 8px 16px;
    transition: all 0.3s;
}

.btn-link:hover {
    color: #333;
    background: #f5f5f5;
}

.btn-large {
    padding: 12px 30px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* 首页样式 */
.hero-section {
    background: #000;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-slogan {
    font-size: 24px;
    opacity: 0.9;
}

/* 全屏轮播图 */
.banner-section {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

.banner-slider {
    position: relative;
    width: 100%;
}

.banner-slide {
    width: 100%;
}

/* 首页全屏Banner */
.banner-section.is-homepage .banner-slide-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 40%;
    overflow: hidden;
}

/* 其他页面固定高度Banner */
.banner-section:not(.is-homepage) .banner-slide-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

/* Banner蒙版 */
.banner-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 5;
    pointer-events: none;
}

/* 首页banner不显示蒙版 */
.banner-section.is-homepage .banner-mask {
    display: none;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: transparent;
    padding: 0;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

/* 确保中心位置正确居中 - 修复选择器：两个类在同一个元素上 */
.banner-overlay.banner-position-center {
    align-items: center !important;
    justify-content: center !important;
}

.banner-overlay .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.banner-content {
    width: 100%;
    padding: 40px 0;
    animation: fadeInUp 0.6s ease-out;
}

/* 首页banner内容区域：添加左右间距和上下外边距 */
.banner-section.is-homepage .banner-content {
    padding: 40px 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 9个位置的布局样式 */

/* 左上角 */
.banner-overlay.banner-position-left-top {
    align-items: flex-start;
    justify-content: flex-start;
}

.banner-position-left-top .banner-content {
    text-align: left;
    padding: 40px 0 0 0;
    width: 100%;
}

.banner-position-left-top .banner-content .banner-subtitle {
    max-width: 600px;
    text-align: left;
}

/* 首页banner内容区域间距调整 */
.banner-section.is-homepage .banner-position-left-top .banner-content {
    padding: 40px 30px 0 30px;
    margin-top: 60px;
    margin-bottom: 0;
}

/* 中上 */
.banner-overlay.banner-position-center-top {
    align-items: flex-start;
    justify-content: center;
}

.banner-position-center-top .banner-content {
    text-align: center !important;
    padding: 40px 0 0 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center !important;
}

.banner-position-center-top .banner-content .banner-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 800px !important;
}

.banner-position-center-top .banner-content .banner-button {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
}

.banner-section.is-homepage .banner-position-center-top .banner-content {
    padding: 40px 30px 0 30px;
    margin-top: 60px;
    margin-bottom: 0;
}

/* 右上角 */
.banner-overlay.banner-position-right-top {
    align-items: flex-start;
    justify-content: flex-end;
}

.banner-position-right-top .banner-content {
    text-align: right;
    padding: 40px 0 0 0;
    width: 100%;
}

.banner-position-right-top .banner-content .banner-subtitle {
    max-width: 600px;
    text-align: right;
    margin-left: auto;
}

.banner-section.is-homepage .banner-position-right-top .banner-content {
    padding: 40px 30px 0 30px;
    margin-top: 60px;
    margin-bottom: 0;
}

/* 左中 */
.banner-overlay.banner-position-left-center {
    align-items: center;
    justify-content: flex-start;
}

.banner-position-left-center .banner-content {
    text-align: left;
    padding: 0;
    width: 100%;
}

.banner-position-left-center .banner-content .banner-subtitle {
    max-width: 600px;
    text-align: left;
}

.banner-section.is-homepage .banner-position-left-center .banner-content {
    padding: 0 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* 中心 */
.banner-overlay.banner-position-center {
    align-items: center !important;
    justify-content: center !important;
}

.banner-position-center .banner-content {
    text-align: center !important;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
}

.banner-position-center .banner-content .banner-title,
.banner-position-center .banner-content .banner-subtitle,
.banner-position-center .banner-content .banner-desc {
    text-align: center !important;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.banner-position-center .banner-content .banner-button {
    text-align: center !important;
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
}

.banner-position-center .banner-content .banner-subtitle {
    text-align: center !important;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 800px !important;
}

.banner-section.is-homepage .banner-position-center .banner-content {
    padding: 0 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* 右中 */
.banner-overlay.banner-position-right-center {
    align-items: center;
    justify-content: flex-end;
}

.banner-position-right-center .banner-content {
    text-align: right;
    padding: 0;
    width: 100%;
}

.banner-position-right-center .banner-content .banner-subtitle {
    max-width: 600px;
    text-align: right;
    margin-left: auto;
}

.banner-section.is-homepage .banner-position-right-center .banner-content {
    padding: 0 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* 左下角 */
.banner-overlay.banner-position-left-bottom {
    align-items: flex-end;
    justify-content: flex-start;
}

.banner-position-left-bottom .banner-content {
    text-align: left;
    padding: 0 0 40px 0;
    width: 100%;
}

.banner-position-left-bottom .banner-content .banner-subtitle {
    max-width: 600px;
    text-align: left;
}

.banner-section.is-homepage .banner-position-left-bottom .banner-content {
    padding: 0 30px 40px 30px;
    margin-top: 0;
    margin-bottom: 0;
}

/* 中下 */
.banner-overlay.banner-position-center-bottom {
    align-items: flex-end;
    justify-content: center;
}

.banner-position-center-bottom .banner-content {
    text-align: center !important;
    padding: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center !important;
}

.banner-position-center-bottom .banner-content .banner-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 800px !important;
}

.banner-position-center-bottom .banner-content .banner-button {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
}

.banner-section.is-homepage .banner-position-center-bottom .banner-content {
    padding: 0 30px 40px 30px;
    margin-top: 0;
    margin-bottom: 0;
}

/* 右下角 */
.banner-overlay.banner-position-right-bottom {
    align-items: flex-end;
    justify-content: flex-end;
}

.banner-position-right-bottom .banner-content {
    text-align: right;
    padding: 0 0 40px 0;
    width: 100%;
}

.banner-position-right-bottom .banner-content .banner-subtitle {
    max-width: 600px;
    text-align: right;
    margin-left: auto;
}

.banner-section.is-homepage .banner-position-right-bottom .banner-content {
    padding: 0 30px 40px 30px;
    margin-top: 0;
    margin-bottom: 0;
}

.banner-title {
    margin: 0 0 25px 0;
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.banner-subtitle {
    margin: 0 0 35px 0;
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.7;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    max-width: 800px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.banner-button {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    /* box-shadow */: 0 4px 15px rgba(0,0,0,0.3);
    margin: 0;
    width: auto;
    max-width: fit-content;
    white-space: nowrap;
}

.banner-button:hover {
    transform: translateY(-3px);
    /* box-shadow */: 0 6px 20px rgba(0,0,0,0.4);
}

.banner-desc {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.5;
    color: white;
}

/* Slick轮播箭头样式 */
.banner-slider .slick-prev,
.banner-slider .slick-next {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    font-size: 0;
    line-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(0);
}

/* Banner悬停时显示按钮 */
.banner-section:hover .banner-slider .slick-prev,
.banner-section:hover .banner-slider .slick-next {
    opacity: 1;
    visibility: visible;
}

/* 去除Slick默认的:before图标（避免与自定义SVG重复） */
.banner-slider .slick-prev::before,
.banner-slider .slick-next::before {
    display: none !important;
    content: none !important;
}

.banner-slider .slick-prev {
    left: 30px;
    transform: translateY(-50%) translateX(-20px);
}

.banner-slider .slick-next {
    right: 30px;
    transform: translateY(-50%) translateX(20px);
}

/* Banner悬停时按钮从左右滑入 */
.banner-section:hover .banner-slider .slick-prev {
    transform: translateY(-50%) translateX(0);
}

.banner-section:hover .banner-slider .slick-next {
    transform: translateY(-50%) translateX(0);
}

.banner-slider .slick-prev:hover,
.banner-slider .slick-next:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1) translateX(0) !important;
    color: white;
}

.banner-slider .slick-prev svg,
.banner-slider .slick-next svg {
    width: 24px;
    height: 24px;
    color: inherit;
    stroke: currentColor;
}

.banner-slider .slick-prev:hover svg,
.banner-slider .slick-next:hover svg {
    color: white;
    stroke: currentColor;
    opacity: 1;
}

.banner-slider .slick-dots {
    bottom: 30px;
    z-index: 20;
}

.banner-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid transparent;
}

.banner-slider .slick-dots li.slick-active button {
    background: #000;
    border-color: white;
}

/* 去除Slick轮播的默认底部边距 */
.slick-dotted.slick-slider {
    margin-bottom: 0!important;
}

/* Banner下方栏 */
.banner-bottom-bar {
    background: rgba(0,0,0,0.6);
    padding: 15px 0;
    position: relative;
    z-index: 15;
}

.banner-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.breadcrumb-section {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
}

.breadcrumb-icon {
    width: 18px;
    height: 18px;
    color: #ffffff;
    flex-shrink: 0;
}

.breadcrumb-text {
    color: #ffffff;
}

.breadcrumb-text a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-text a:hover {
    color: #000;
}

.banner-search-section {
    flex-shrink: 0;
}

.banner-search-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.banner-search-input {
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    width: 300px;
    outline: none;
}

.banner-search-btn {
    padding: 10px 20px;
    background: #000;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.banner-search-btn:hover {
    background: #333;
}

.banner-search-btn svg {
    width: 20px;
    height: 20px;
}

/* 关于我们区块响应式 */
@media (max-width: 968px) {
    .about-section-homepage > .container > div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .about-image-wrapper {
        order: 1;
    }
    
    .about-content-wrapper {
        order: 2;
    }
    
    .about-content-wrapper h2 {
        font-size: 28px !important;
    }
}

@media (max-width: 768px) {
    .header-top-bar {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .top-bar-left {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .header-main {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-info {
        order: 3;
        width: 100%;
    }
    
    .header-hotline {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .hotline-number {
        font-size: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-menu a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .banner-section.is-homepage .banner-slide-wrapper {
        padding-bottom: 50%;
    }
    
    .banner-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .banner-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
        max-width: 100% !important;
    }
    
    /* 移动端所有位置的副标题都使用较小宽度 */
    .banner-position-left-top .banner-content .banner-subtitle,
    .banner-position-right-top .banner-content .banner-subtitle,
    .banner-position-left-center .banner-content .banner-subtitle,
    .banner-position-right-center .banner-content .banner-subtitle,
    .banner-position-left-bottom .banner-content .banner-subtitle,
    .banner-position-right-bottom .banner-content .banner-subtitle {
        max-width: 100% !important;
    }
    
    .banner-position-center-top .banner-content .banner-subtitle,
    .banner-position-center .banner-content .banner-subtitle,
    .banner-position-center-bottom .banner-content .banner-subtitle {
        max-width: 90% !important;
    }
    
    .banner-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .banner-content {
        padding: 30px 0;
    }
    
    .about-section-homepage {
        margin: 40px 0 !important;
        padding: 40px 0 !important;
    }
    
    .about-content-wrapper h2 {
        font-size: 24px !important;
    }
    
    .banner-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .banner-search-input {
        width: 100%;
    }
    
    .banner-slider .slick-prev,
    .banner-slider .slick-next {
        width: 40px;
        height: 40px;
    }
    
    .banner-slider .slick-prev {
        left: 15px;
    }
    
    .banner-slider .slick-next {
        right: 15px;
    }
    
    .banner-slider .slick-dots {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .header-top-bar {
        font-size: 11px;
    }
    
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .top-bar-right {
        width: 100%;
        justify-content: flex-start;
    }
    
    .logo-img {
        max-height: 45px;
    }
    
    .hotline-number {
        font-size: 18px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu a {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .banner-section.is-homepage .banner-slide-wrapper {
        padding-bottom: 60%;
    }
    
    .banner-section:not(.is-homepage) .banner-slide-wrapper {
        height: 200px;
    }
    
    .banner-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .banner-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .banner-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* 移动端统一居中显示 */
    .banner-overlay.banner-position-left-top,
    .banner-overlay.banner-position-center-top,
    .banner-overlay.banner-position-right-top,
    .banner-overlay.banner-position-left-center,
    .banner-overlay.banner-position-right-center,
    .banner-overlay.banner-position-left-bottom,
    .banner-overlay.banner-position-center-bottom,
    .banner-overlay.banner-position-right-bottom {
        align-items: center;
        justify-content: center;
    }
    
    .banner-position-left-top .banner-content,
    .banner-position-center-top .banner-content,
    .banner-position-right-top .banner-content,
    .banner-position-left-center .banner-content,
    .banner-position-right-center .banner-content,
    .banner-position-left-bottom .banner-content,
    .banner-position-center-bottom .banner-content,
    .banner-position-right-bottom .banner-content {
        text-align: center;
        padding: 20px 0;
    }
    
    .banner-bottom-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-search-input {
        width: 100%;
    }
    
    .banner-slider .slick-prev,
    .banner-slider .slick-next {
        display: none !important;
    }
}

.banner-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.banner-overlay p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.5;
}

/* 确保banner内容区域的标题、副标题、按钮有正确的间距 */
.banner-content .banner-title {
    margin: 0 0 25px 0 !important;
}

.banner-content .banner-subtitle {
    margin: 0 0 35px 0;
}

.banner-content .banner-button {
    margin: 0 !important;
}

@media (max-width: 768px) {
    .banner-section.is-homepage .banner-slide-wrapper {
        padding-bottom: 50%;
    }
    
    .banner-section:not(.is-homepage) .banner-slide-wrapper {
        height: 250px;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
        max-width: 100% !important;
    }
    
    /* 移动端所有位置的副标题都使用较小宽度 */
    .banner-position-left-top .banner-content .banner-subtitle,
    .banner-position-right-top .banner-content .banner-subtitle,
    .banner-position-left-center .banner-content .banner-subtitle,
    .banner-position-right-center .banner-content .banner-subtitle,
    .banner-position-left-bottom .banner-content .banner-subtitle,
    .banner-position-right-bottom .banner-content .banner-subtitle {
        max-width: 100% !important;
    }
    
    .banner-position-center-top .banner-content .banner-subtitle,
    .banner-position-center .banner-content .banner-subtitle,
    .banner-position-center-bottom .banner-content .banner-subtitle {
        max-width: 90% !important;
    }
    
    .banner-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* 移动端统一居中显示 */
    .banner-overlay.banner-position-left-top,
    .banner-overlay.banner-position-center-top,
    .banner-overlay.banner-position-right-top,
    .banner-overlay.banner-position-left-center,
    .banner-overlay.banner-position-right-center,
    .banner-overlay.banner-position-left-bottom,
    .banner-overlay.banner-position-center-bottom,
    .banner-overlay.banner-position-right-bottom {
        align-items: center;
        justify-content: center;
    }
    
    .banner-position-left-top .banner-content,
    .banner-position-center-top .banner-content,
    .banner-position-right-top .banner-content,
    .banner-position-left-center .banner-content,
    .banner-position-right-center .banner-content,
    .banner-position-left-bottom .banner-content,
    .banner-position-center-bottom .banner-content,
    .banner-position-right-bottom .banner-content {
        text-align: center;
        padding: 30px 0;
    }
    
    .banner-slider .slick-prev,
    .banner-slider .slick-next {
        width: 40px;
        height: 40px;
    }
    
    .banner-slider .slick-prev {
        left: 15px;
    }
    
    .banner-slider .slick-next {
        right: 15px;
    }
    
    .banner-slider .slick-dots {
        bottom: 20px;
    }
}

/* 产品网格 */
.products-section {
    margin: 60px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #e8ecf5;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #000;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: #fff;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover .product-name a {
    color: #000;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-name a {
    color: #333;
    text-decoration: none;
}

.product-name a:hover {
    color: #000;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.product-price {
    color: #000;
    font-weight: bold;
}

.btn-inquiry {
    width: 100%;
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-inquiry:hover {
    transform: translateY(-2px);
    background: #333;
}

/* 认证展示 */
.certifications-section {
    margin: 60px 0;
    background: #fff;
    padding: 40px 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.certification-item {
    text-align: center;
}

.cert-link {
    display: block;
    text-decoration: none;
    color: #333;
}

.cert-icon {
    max-width: 100px;
    max-height: 100px;
}

.cert-name {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* 客户案例 */
.cases-section {
    margin: 60px 0;
    padding: 40px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.case-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    /* box-shadow */: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.case-card:hover {
    transform: translateY(-12px);
    /* box-shadow */: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.case-card:hover::before {
    transform: scaleX(1);
}

.case-logo {
    padding: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.case-logo::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.case-card:hover .case-logo::after {
    opacity: 1;
}

.case-logo img {
    max-width: 70%;
    max-height: 120px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.case-card:hover .case-logo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.case-content {
    padding: 28px;
    position: relative;
}

.case-name {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.case-card:hover .case-name {
    color: #000;
}

.case-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.case-industry {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.case-card:hover .case-industry {
    transform: translateY(-2px);
    background: #333;
}

.case-country {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.case-country::before {
    content: '📍';
    font-size: 11px;
}

.case-card:hover .case-country {
    background: #eee;
    border-color: #ccc;
}

.case-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 客户案例详情页 */
.case-detail {
    margin: 30px 0;
}

.case-header {
    background: #fff;
    padding: 40px;
    border-radius: 0;
    margin-bottom: 30px;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.case-logo-large {
    flex-shrink: 0;
}

.case-logo-large img {
    width: 200px;
    height: 120px;
    object-fit: contain;
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
}

.case-header-info {
    flex: 1;
    min-width: 300px;
}

.case-header-info h1 {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.case-description-section,
.related-products-section,
.similar-cases-section {
    background: #fff;
    padding: 40px;
    border-radius: 0;
    margin-bottom: 30px;
}

.case-description-section h2,
.related-products-section h2,
.similar-cases-section h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
}

.case-description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.related-products-grid,
.similar-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .case-header {
        flex-direction: column;
        text-align: center;
    }
    
    .case-header-info h1 {
        font-size: 24px;
    }
    
    .related-products-grid,
    .similar-cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .related-products-grid,
    .similar-cases-grid {
        grid-template-columns: 1fr;
    }
}

.case-actions {
    text-align: center;
    padding: 30px 0;
}

/* 产品列表页 */
.product-list-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin: 30px 0;
}

.filter-sidebar {
    background: #ffffff;
    padding: 20px;
    border-radius: 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    transition: all 0.3s;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ecf5;
}

.filter-options label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.filter-options label:hover {
    background-color: #f9fafb;
}

.filter-options input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    accent-color: #000;
}

.product-list-main {
    background: #ffffff;
    padding: 20px;
    border-radius: 0;
    transition: all 0.3s;
}

.sort-bar {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sort-bar select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 产品详情页 */
.product-detail {
    background: #ffffff;
    padding: 30px;
    border-radius: 0;
    margin: 30px 0;
    position: relative;
}

.product-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #000;
}

.product-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-images {
    position: sticky;
    top: 100px;
}

.product-main-image {
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 方形比例 1:1 */
    height: 0;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 8px;
}

.product-main-image > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
    overflow: hidden;
    position: relative;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    outline: 2px solid #000;
    outline-offset: 2px;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.product-main-image {
    position: relative;
}

.image-controls {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.product-main-image:hover .image-controls,
#image-viewer:hover .image-controls {
    opacity: 1;
}

#image-viewer {
    position: relative;
}

#image-viewer:hover .image-controls {
    opacity: 1;
}

.image-nav-btn:hover,
.image-zoom-btn:hover {
    transform: scale(1.15) !important;
    background: rgba(255,255,255,1) !important;
}

.product-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-specs {
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    margin-bottom: 10px;
}

.spec-label {
    font-weight: bold;
    width: 150px;
}

.product-price-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.price-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.price-label {
    font-size: 16px;
}

.price-value {
    font-size: 32px;
    color: #000;
    font-weight: bold;
}

.bulk-discounts ul {
    list-style: none;
    margin-top: 10px;
}

.bulk-discounts li {
    padding: 5px 0;
}

.product-certifications {
    margin-bottom: 30px;
}

.cert-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 5px 15px;
    background: #e9ecef;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.product-actions {
    margin-top: 30px;
}

.product-description-section,
.product-packaging-section,
.similar-products-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

/* 图片模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
    border-radius: 12px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(52, 112, 255, 0.8);
    transform: rotate(90deg);
}

/* 视频模态框 */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1320px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    animation: zoomIn 0.3s;
    padding: 20px;
    box-sizing: border-box;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    line-height: 1;
}

.video-modal-close:hover {
    color: #fff;
    background: rgba(52, 112, 255, 0.8);
    transform: rotate(90deg);
}

#video-player-container {
    width: 100%;
}

/* 视频预览卡片 */
.video-preview-card {
    transition: transform 0.3s, /* box-shadow */ 0.3s;
}

.video-preview-card:hover {
    transform: translateY(-5px);
    /* box-shadow */: 0 10px 30px rgba(52, 112, 255, 0.3);
}

.video-preview-card:hover > div > div:first-child {
    background: rgba(0, 0, 0, 0.2) !important;
}

.video-preview-card:hover > div > div:first-child > div {
    transform: scale(1.1);
    background: rgba(52, 112, 255, 1) !important;
}

/* 询盘表单 */
.inquiry-form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 0;
    margin: 30px 0;
    max-width: 800px;
    position: relative;
}

.inquiry-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #000;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    padding: 12px 14px;
    line-height: 1.6;
}

/* 确保所有 textarea 都有足够的内边距 */
textarea {
    padding: 12px 14px !important;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.required {
    color: #333;
    font-weight: 600;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.radio-group input[type="radio"] {
    width: auto;
    margin-right: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.related-product-info {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* 登录/注册 */
.login-container,
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin: 30px 0;
}

.login-box,
.register-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 0;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.login-box::before,
.register-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #000;
}

.login-box h1,
.register-box h1 {
    margin-bottom: 30px;
    text-align: center;
}

.login-links,
.register-links {
    text-align: center;
    margin-top: 20px;
}

.login-links a,
.register-links a {
    color: #000;
    text-decoration: none;
    margin: 0 10px;
}

.login-links a:hover,
.register-links a:hover {
    color: #2d5fe6;
}

/* 会员中心样式已移除 - 会员功能已取消 */
/* 以下样式已删除：
   - .member-center
   - .member-sidebar
   - .member-menu
   - .member-content
   - .member-section
   - .profile-info
   - .info-item
   - .member-level
*/

.inquiries-table {
    width: 100%;
    border-collapse: collapse;
}

.inquiries-table th,
.inquiries-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.inquiries-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-badge.status-pending {
    background: #ffc107;
    color: #000;
}

.status-badge.status-in_progress {
    background: #17a2b8;
    color: #fff;
}

.status-badge.status-completed {
    background: #333;
    color: #fff;
}

.status-badge.status-cancelled {
    background: #dc3545;
    color: #fff;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.page-link {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.page-link:hover {
    background: #f8f9fa;
}

.page-link.active {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    border-color: #000;
}

/* 提示框 */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #e6faf7;
    color: #006b5c;
    border: 1px solid #333;
}

/* 页脚 */
.main-footer {
    background: #1f2937;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 80px;
    border-top: 3px solid #000;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: #000;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #333;
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    padding: 10px 18px;
    background: #555;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

.social-link:hover {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    transform: translateY(-3px) scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
    color: rgba(255,255,255,0.7);
}

.footer-bottom p {
    margin: 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-bottom a:hover {
    color: #333;
}

/* 文章列表页样式 */
.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin: 30px 0;
}

.sidebar {
    background: #ffffff;
    padding: 20px;
    border-radius: 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    transition: all 0.3s;
}

.sidebar-box h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ecf5;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.category-list a:hover,
.category-list a.active {
    background: #f9fafb;
    color: #000;
    font-weight: 500;
}

.search-box {
    margin-bottom: 30px;
}

.search-box form {
    display: flex;
    gap: 10px;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-item {
    background: #ffffff;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 20px;
    padding: 20px;
    position: relative;
}

.article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-item:hover {
    transform: translateY(-5px) scale(1.01);
    background: #f8f9ff;
}

.article-item:hover::before {
    transform: scaleY(1);
}

.article-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-item:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
}

.article-category {
    padding: 4px 10px;
    background: #e8ecf5;
    color: #000;
    border-radius: 12px;
    font-weight: 500;
}

.article-badge {
    padding: 4px 10px;
    background: #333;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.article-date {
    color: #9ca3af;
}

/* 文章详情页样式 */
.article-detail {
    background: #ffffff;
    padding: 40px;
    border-radius: 0;
    margin: 30px 0;
    position: relative;
}

.article-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #000;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.article-title {
    font-size: 32px;
    margin: 20px 0;
    color: #111827;
    line-height: 1.3;
}

.article-featured-image {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: #111827;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body p {
    margin-bottom: 15px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    background: #e8ecf5;
    color: #000;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}

/* 页面头部 */
.page-header {
    margin: 30px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8ecf5;
}

.page-header h1 {
    font-size: 32px;
    color: #111827;
    margin: 0;
    font-weight: 600;
}

/* 内容页面样式 */
.content-page {
    background: #ffffff;
    padding: 40px;
    border-radius: 0;
    margin: 30px 0;
    position: relative;
}

.content-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #000;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #555;
}

.last-updated {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 14px;
}

/* 联系页面样式 */
.contact-page {
    background: #ffffff;
    padding: 40px;
    border-radius: 0;
    margin: 30px 0;
    position: relative;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #000;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.contact-section {
    margin-bottom: 40px;
}

.contact-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #000;
}

.contact-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo {
        order: 1;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
    
    .header-actions {
        order: 2;
        margin-left: auto;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 15px;
        font-size: 14px;
    }
    
    .main-nav a {
        padding: 6px 10px;
    }
    
    .language-switcher {
        gap: 2px;
        padding: 3px;
    }
    
    .language-switcher .lang-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 35px;
    }
    
    .product-list-layout,
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar,
    .sidebar {
        position: static;
    }
    
    .product-detail-main {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .content-page,
    .contact-page,
    .article-detail {
        padding: 20px;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
}

/* 右侧漂浮联系组件样式 */
.floating-contact-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    font-family: inherit;
}

.floating-contact-trigger {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.floating-contact-trigger::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-contact-trigger:hover {
    transform: scale(1.15) rotate(5deg);
    border-color: #333;
}

.floating-contact-trigger:hover::before {
    width: 200%;
    height: 200%;
}

.floating-contact-content {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: 280px;
    background: #ffffff;
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.floating-contact-widget:hover .floating-contact-content,
.floating-contact-widget.active .floating-contact-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
}

.floating-contact-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.floating-contact-social {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.floating-social-link:hover {
    background: #f0f4ff;
    transform: translateX(4px);
}

.floating-social-link svg {
    flex-shrink: 0;
}

.floating-social-link.linkedin svg {
    color: #0077b5;
}

.floating-social-link.youtube svg {
    color: #ff0000;
}

.floating-social-link.facebook svg {
    color: #1877f2;
}

.floating-social-link.twitter svg {
    color: #1da1f2;
}

.floating-social-link.instagram svg {
    color: #e4405f;
}

.floating-contact-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.floating-contact-item:hover {
    background: #f0f4ff;
    transform: translateX(4px);
}

.floating-contact-item svg {
    flex-shrink: 0;
    color: #000;
}

.floating-contact-item span {
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.floating-contact-custom {
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.floating-contact-custom a {
    color: #000;
    text-decoration: none;
}

.floating-contact-custom a:hover {
    text-decoration: underline;
}

/* 优化浮动联系组件 */
.floating-contact-widget {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 998;
}

.floating-contact-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    /* box-shadow */: 0 4px 15px rgba(52, 112, 255, 0.4);
    color: white;
}

.floating-contact-trigger:hover {
    transform: scale(1.1);
    /* box-shadow */: 0 6px 20px rgba(52, 112, 255, 0.6);
}

.floating-contact-trigger svg {
    width: 28px;
    height: 28px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .floating-contact-widget {
        right: 20px;
        bottom: 20px;
    }
    
    .floating-contact-trigger {
        width: 55px;
        height: 55px;
    }
    
    .floating-contact-trigger svg {
        width: 24px;
        height: 24px;
    }
    
    .floating-contact-content {
        width: 260px;
        bottom: 70px;
    }
    
    .back-to-top {
        bottom: 90px !important;
    }
}

@media (max-width: 480px) {
    .floating-contact-content {
        width: calc(100vw - 30px);
        right: 15px;
        left: 15px;
    }
}

/* 产品分类导航样式 */
.category-nav-card {
    position: relative;
}

.category-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 112, 255, 0.05);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 12px;
}

.category-nav-card:hover::before {
    opacity: 1;
}

.category-nav-card:hover {
    transform: translateY(-5px);
    /* box-shadow */: 0 10px 25px rgba(52, 112, 255, 0.15);
}

.category-nav-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-nav-card:hover h3 {
    color: #000;
}

/* 公司优势卡片样式 */
.advantage-card:hover {
    transform: translateY(-8px);
    /* box-shadow */: 0 15px 35px rgba(52, 112, 255, 0.2);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.15) rotate(5deg);
}

.advantage-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #000;
    opacity: 0;
    transition: opacity 0.3s;
}

.advantage-card:hover::after {
    opacity: 1;
}

/* 数据统计样式 */
.stat-item {
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.stat-number {
    transition: transform 0.3s;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s;
    /* box-shadow */: 0 4px 15px rgba(52, 112, 255, 0.4);
}

.back-to-top:hover {
    transform: translateY(-5px);
    /* box-shadow */: 0 6px 20px rgba(52, 112, 255, 0.6);
}

.back-to-top.show {
    display: flex;
}

.back-to-top svg {
    width: 28px;
    height: 28px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .categories-nav-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    .stat-number {
        font-size: 36px !important;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* 服务流程样式 */
.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e8ecf5;
    z-index: 1;
}

.process-step {
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-step:hover .step-icon {
    border-color: #333;
    background: #f0f4ff;
}

.process-step:hover .step-number {
    background: #333;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 40px !important;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        min-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .categories-nav-grid {
        grid-template-columns: 1fr !important;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr !important;
    }
    
    .stat-number {
        font-size: 32px !important;
    }
}

/* 认证证书模态框 */
#cert-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

#cert-modal .cert-modal-content {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    margin-top: 5%;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

#cert-modal h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

#cert-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    transition: all 0.3s;
    line-height: 1;
}

#cert-modal .modal-close:hover {
    background: rgba(52, 112, 255, 0.8);
    transform: rotate(90deg);
    color: #000 !important;
}

/* =========================================
   High-End Corporate Theme - Visual Upgrade
   ========================================= */

/* 1. 引入高级字体 */




/* 2. 全局排版优化 */
body {
    font-family: var(--font-family-base);
    color: var(--color-text-primary);
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .section-title, .banner-title {
    font-family: var(--font-family-heading);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 42px;
    margin-bottom: 70px;
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 25px;
    text-align: center;
    color: #1a1a1a;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

/* 3. 板块间距加大 */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.dark-theme {
    background-color: var(--color-primary);
    color: #fff;
}

/* 4. 头部优化 */
/* .main-header 样式已移至文件后部统一定义 */

.main-nav-bar {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    /* box-shadow */: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-menu a {
    color: var(--color-primary);
    font-weight: 500;
    border-right: none;
    position: relative;
    padding: 22px 30px;
    font-size: 15px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:hover, .nav-menu a.active {
    background: transparent;
    color: var(--color-primary);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 40px;
}

/* 5. Banner 区域增强 */
.banner-title {
    font-size: 64px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    font-weight: 700;
    margin-bottom: 30px;
}

.banner-subtitle {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-button {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid #fff;
    padding: 16px 42px;
    font-weight: 600;
    border-radius: 4px;
    /* box-shadow */: 0 10px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.banner-button:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

/* Breadcrumb Optimization */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0;
    margin-bottom: 0;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
}

.breadcrumb-item a svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.breadcrumb-item.active {
    color: var(--color-primary);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    font-size: 16px;
    color: #cbd5e1;
    padding: 0 10px;
    line-height: 1;
}

/* 6. 卡片样式重构 */
.product-card, .case-card, .article-card, .advantage-card, .category-nav-card {
    border: none;
    border-radius: 0;
    /* box-shadow */: var(--shadow-sm);
    background: #fff;
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.product-card:hover, .case-card:hover, .article-card:hover, .advantage-card:hover, .category-nav-card:hover {
    transform: translateY(-10px);
    /* box-shadow */: var(--shadow-lg);
}

.product-image, .case-logo, .article-image {
    overflow: hidden;
}

.product-image img, .case-logo img, .article-image img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: auto;
    display: block;
}

.product-card:hover .product-image img,
.case-card:hover .case-logo img,
.article-card:hover .article-image img {
    transform: scale(1.1);
}

/* 7. 关于我们 - 高端错位布局 */
.about-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
    z-index: 2;
    /* box-shadow */: -30px 30px 0 var(--color-primary);
}

.about-main-img {
    border-radius: 4px;
    width: 100%;
    height: auto;
    display: block;
}

.about-placeholder {
    width: 100%;
    padding-bottom: 75%;
    background: #f3f4f6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.section-title-left {
    font-family: var(--font-family-heading);
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--color-primary);
    text-align: left;
}

.about-text {
    color: var(--color-text-secondary);
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* 8. 统计数据 - 视差滚动 */
.statistics-section {
    background: linear-gradient(rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.92)), url('/assets/images/admin_login_menu.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.stat-number {
    font-family: var(--font-family-heading);
    font-size: 72px;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    line-height: 1;
}

.stat-label {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

/* 9. 优势/图标通用 */
.advantage-icon, .category-icon, .step-icon {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid rgba(0,0,0,0.05);
    /* box-shadow */: var(--shadow-md);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.advantage-icon svg, .category-icon svg, .step-icon svg {
    width: 36px;
    height: 36px;
}

.advantage-card {
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.advantage-card:hover .advantage-icon {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1) rotate(0deg);
    /* box-shadow */: 0 10px 20px rgba(52, 112, 255, 0.3);
}

/* 10. 服务流程 */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
    flex-wrap: wrap;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    border-top: 1px dashed #cbd5e1;
    z-index: 0;
}

.process-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    background: #fff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    width: 40px;
    height: 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    /* box-shadow */: 0 0 0 5px #f8f9ff;
    transition: var(--transition);
}

.step-icon {
    border-radius: 12px; /* 流程图标为方圆角 */
    border: 2px solid var(--color-primary);
}

.process-step:hover .step-number {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.2);
}

/* 11. 按钮通用 */
.btn-primary {
    background: var(--color-primary);
    border-radius: 4px;
    padding: 12px 30px;
    letter-spacing: 0.5px;
    /* box-shadow */: 0 4px 15px rgba(52, 112, 255, 0.2);
    color: white;
    text-decoration: none;
    display: inline-block;
    border: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-dark);
    /* box-shadow */: 0 8px 25px rgba(52, 112, 255, 0.3);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: white;
}

/* 12. Footer 升级 */
.main-footer {
    background: #0f172a;
    padding-top: 100px;
    color: #94a3b8;
}

.main-footer h3, .main-footer h4 {
    color: #fff;
    margin-bottom: 25px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

/* 13. Grid Layouts */
.categories-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    max-width: 1320px;
    margin: 0 auto;
}

.categories-nav-card {
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--color-text-primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1320px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 首页文章卡片图片样式 */
.articles-grid .article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.articles-grid .article-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: 8px 8px 0 0;
}

.articles-grid .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.articles-grid .article-card:hover .article-image img {
    transform: scale(1.08);
}

.articles-grid .article-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #9ca3af;
}

/* 首页客户案例卡片图片样式 */
.cases-grid .case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cases-grid .case-logo {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px 8px 0 0;
}

.cases-grid .case-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cases-grid .case-card:hover .case-logo img {
    transform: scale(1.08);
}

.cases-grid .case-logo .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #9ca3af;
}

/* 14. Badges & New Elements */
.product-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    /* box-shadow */: 0 2px 5px rgba(0,0,0,0.1);
}

.badge-hot { background: #ef4444; }
.badge-new { background: #10b981; }
.badge-recommend { background: var(--color-primary); }

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.btn-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.btn-link-arrow:hover {
    transform: translateX(5px);
}

.section-footer-center {
    text-align: center;
    margin-top: 50px;
}

.article-info {
    padding: 25px;
}

.article-meta-top {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-category {
    background: #f1f5f9;
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: var(--color-primary);
}

.article-summary {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: #94a3b8;
}

.btn-read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

/* 15. Product List Layout */
.product-list-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin: 60px 0;
}

.filter-sidebar {
    background: #fff;
    padding: 25px;
    border-radius: 0;
    border: 1px solid #e2e8f0;
    /* box-shadow */: var(--shadow-sm);
    height: fit-content;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: var(--font-family-base);
    font-weight: 600;
    color: var(--color-primary);
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-primary);
}

.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 15px;
}

.sort-select {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s;
}
.sort-select:hover {
    border-color: var(--color-primary);
}

.page-header {
    margin: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    color: var(--color-primary);
}

/* 16. 响应式适配 */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .banner-title { font-size: 42px; }
    .section-title { font-size: 32px; }
    .section-title-left { text-align: center; font-size: 36px; }
    .about-grid-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrapper { /* box-shadow */: none; margin-bottom: 20px; }
    .about-content-wrapper { padding-left: 0; text-align: center; }
    
    .process-steps::before { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .statistics-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: 1fr; }
    .section-header-flex { flex-direction: column; gap: 20px; text-align: center; }
    
    .section-padding { padding: 60px 0; }
    .product-list-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}
/* =========================================
   Header & Navigation Refactoring (Two-Row Layout)
   ========================================= */

/* 1. Top Bar (First Row) - 已移除，隐藏样式 */
.header-top-bar {
    display: none !important;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1;
}

.top-contact-item svg {
    display: block;
}

.top-contact-item:hover {
    color: #fff;
}

.top-contact-item i {
    color: var(--color-primary);
}

/* 2. Main Header (Second Row) - Logo + Menu + Action */
/* 导航栏全宽背景，内容居中 */
.main-header {
    background: #fff;
    /* box-shadow */: 0 4px 20px rgba(0,0,0,0.03);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    width: 100vw !important; /* 视口全宽 */
    max-width: 100% !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    left: 0;
    right: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: none; /* 移除宽度限制，让导航栏内容全宽 */
    margin: 0;
    padding: 0 60px; /* 左右间距，保持美观 */
    box-sizing: border-box;
}

.header-logo {
    flex-shrink: 0;
    margin-right: 40px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px; /* Adjusted logo height */
    width: auto;
    display: block;
}

/* 3. Navigation Menu (Centered) */
.main-nav {
    flex: 1;
    height: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 菜单紧跟logo后面 */
    gap: 5px;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-link {
    padding: 0 25px !important; /* 增加水平内边距，让菜单更舒展 */
    color: #1a1a1a !important;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    height: 100% !important;
    display: flex !important;
    flex-direction: row !important; /* 强制水平排列 */
    align-items: center !important; /* 强制垂直居中 */
    justify-content: center !important;
    position: relative;
    line-height: 1 !important; /* 设置行高为1，确保文字紧凑 */
    white-space: nowrap; /* 强制不换行 */
    gap: 5px; /* 使用 gap 控制文字和图标间距 */
    margin: 0 !important;
    vertical-align: middle !important;
}

.nav-link svg {
    display: inline-block; /* 恢复 inline-block */
    margin: 0 !important; /* 移除内联样式�?margin，由 gap 接管 */
    flex-shrink: 0; /* 防止图标被压�?*/
    vertical-align: middle; /* 垂直居中对齐 */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    transition: width 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #000 !important;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mega Menu & Dropdown Base Styles */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    /* box-shadow */: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
    z-index: 100;
    padding: 6px 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

/* 4. Header Actions (Right Side) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-left: 20px;
}

.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* 语言切换按钮 */
.lang-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 8px;
}

.lang-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* 语言切换弹窗 */
.lang-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lang-modal.active {
    display: flex;
}

.lang-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.lang-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: langModalSlideIn 0.3s ease-out;
}

@keyframes langModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.lang-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.lang-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-modal-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.lang-modal-body {
    padding: 8px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.lang-option:hover {
    background: #f3f4f6;
}

.lang-option.active {
    background: #eff6ff;
    color: var(--color-primary);
}

.lang-flag {
    font-size: 24px;
    margin-right: 12px;
}

.lang-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.lang-check {
    color: var(--color-primary);
    flex-shrink: 0;
}

.action-btn {
    padding: 10px 24px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.action-btn:hover {
    background: #333;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
}

/* Language Switcher */
.top-language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.top-language-switcher:hover {
    background: rgba(255,255,255,0.1);
}

.top-language-switcher.active .lang-dropdown {
    display: block !important;
}

/* 主导航栏语言切换 - Select下拉框样式 */
.header-lang-dropdown {
    position: relative;
}

.header-lang-select {
    padding: 6px 28px 6px 10px;
    font-size: 13px;
    color: #333;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E") no-repeat right 8px center;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.header-lang-select:hover {
    border-color: #bbb;
}

.header-lang-select:focus {
    outline: none;
    border-color: #000;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0;
    background: #fff;
    min-width: 160px;
    border-radius: 8px;
    /* box-shadow */: 0 4px 20px rgba(0,0,0,0.15);
    padding: 6px 0;
    z-index: 9999;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* 在按钮和下拉菜单之间添加不可见的桥接区域 */
.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.lang-option:hover {
    background: #f1f5f9;
    color: var(--color-primary);
}

.lang-flag {
    font-size: 16px;
}

.lang-arrow {
    transition: transform 0.3s;
}

.top-language-switcher.active .lang-arrow {
    transform: rotate(180deg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-link { padding: 0 12px; font-size: 14px; }
}

@media (max-width: 991px) {
    .mobile-menu-toggle { display: block; }
    .main-nav {
        display: none; /* Hidden on mobile by default */
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        /* box-shadow */: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px;
    }
    
    .main-nav.active { display: block; }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }
    
    .nav-item {
        width: 100%;
        height: auto;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 0;
    }
    
    .nav-link::after { display: none; }
    
    .header-actions { display: none; /* Simplify header on mobile */ }
}
/**
 * 图片懒加载样�?
 * @version 1.0.0
 */

/* 加载中状�?*/
.lazy-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 已加载状�?*/
.lazy-loaded {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 加载失败状�?*/
.lazy-error {
    background: #f8d7da;
    border: 1px dashed #f5c6cb;
}

/* 图片容器优化 */
img[data-src],
img[data-srcset] {
    display: block;
    width: 100%;
    height: auto;
}

/* 背景图片懒加�?*/
[data-background-image] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 占位符样�?*/
.lazy-placeholder {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.lazy-placeholder::before {
    content: '';
    display: block;
    padding-top: 75%; /* 4:3 比例 */
}

.lazy-placeholder.ratio-16-9::before {
    padding-top: 56.25%; /* 16:9 比例 */
}

.lazy-placeholder.ratio-1-1::before {
    padding-top: 100%; /* 1:1 比例 */
}

/* 加载图标 */
.lazy-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 深色模式适配 */
.dark .lazy-loading {
    background: linear-gradient(90deg, #2d3748 25%, #1a202c 50%, #2d3748 75%);
    background-size: 200% 100%;
}

.dark .lazy-placeholder {
    background: #2d3748;
}

.dark .lazy-error {
    background: #7f1d1d;
    border-color: #991b1b;
}

/* 响应式优�?*/
@media (max-width: 768px) {
    .lazy-loading::after {
        width: 30px;
        height: 30px;
        margin: -15px 0 0 -15px;
        border-width: 2px;
    }
}

/* 打印时显示所有图�?*/
@media print {
    .lazy-loading,
    .lazy-loaded,
    .lazy-error {
        background: none !important;
        animation: none !important;
    }
    
    .lazy-loading::after {
        display: none !important;
    }
}

/* 无障碍优�?*/
@media (prefers-reduced-motion: reduce) {
    .lazy-loading,
    .lazy-loaded {
        animation: none !important;
        transition: none !important;
    }
}

/* 产品卡片懒加载优�?*/
.product-card img[data-src] {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* 产品详情图片懒加�?*/
.product-images img[data-src] {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* 缩略图懒加载 */
.thumbnail img[data-src] {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Banner图片懒加�?*/
.banner img[data-src] {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 768px) {
    .banner img[data-src] {
        aspect-ratio: 4 / 3;
    }
}

/**
 * Modal Styles for Quick Inquiry and Other Popups
 * @version 1.0.0
 */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

/* Modal Container */
.modal-container {
    background: #fff;
    border-radius: 0;
    /* box-shadow */: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
    animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

/* 询盘弹窗关闭按钮 */
#quick-inquiry-modal .modal-close,
.modal-header .modal-close {
    position: static;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    color: #64748b;
    padding: 0;
    font-size: 14px;
}

#quick-inquiry-modal .modal-close:hover,
.modal-header .modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: none;
}

#quick-inquiry-modal .modal-close svg,
.modal-header .modal-close svg {
    width: 20px;
    height: 20px;
}

/* Modal Body */
.modal-body {
    padding: 30px;
}

/* Form Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    font-size: 15px;
    transition: all 0.2s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #000;
}

.form-control:disabled {
    background: #f1f5f9;
    cursor: not-allowed;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn {
    padding: 16px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: #333;
}

.btn-block {
    width: 100%;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Quick Product Preview */
.quick-product-preview {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color, #f59e0b);
}

.quick-product-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

/* Alert Messages */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-container {
        max-width: 100%;
        border-radius: 0;
        align-self: flex-end;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/**
 * 导航栏搜索按钮样�?
 */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.search-trigger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.search-trigger-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.search-trigger-btn:active {
    transform: translateY(0);
}

/* 深色模式 */
.dark .search-trigger-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark .search-trigger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 响应�?*/
@media (max-width: 768px) {
    .search-trigger-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* 导航栏容器调�?*/
.main-nav-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

/**
 * 富文本编辑器内容显示样式
 * 用于前台展示后台编辑的内�?
 */

/* 基础容器样式 */
.editor-content {
    font-size: 14px;
    line-height: 1.8;
    color: #374151;
    word-wrap: break-word;
    word-break: break-word;
}

/* 标题样式 */
.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
    font-weight: 600;
    line-height: 1.4;
    margin-top: 24px;
    margin-bottom: 16px;
    color: #111827;
}

.editor-content h1 {
    font-size: 32px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 12px;
}

.editor-content h2 {
    font-size: 28px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.editor-content h3 {
    font-size: 24px;
}

.editor-content h4 {
    font-size: 20px;
}

.editor-content h5 {
    font-size: 18px;
}

.editor-content h6 {
    font-size: 16px;
}

/* 段落样式 */
.editor-content p {
    margin: 16px 0;
    line-height: 1.8;
}

.editor-content p:first-child {
    margin-top: 0;
}

.editor-content p:last-child {
    margin-bottom: 0;
}

/* 文字格式 */
.editor-content strong,
.editor-content b {
    font-weight: 600;
    color: #111827;
}

.editor-content em,
.editor-content i {
    font-style: italic;
}

.editor-content u {
    text-decoration: underline;
}

.editor-content s,
.editor-content del {
    text-decoration: line-through;
    opacity: 0.7;
}

.editor-content code {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #e11d48;
}

/* 链接样式 */
.editor-content a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.editor-content a:hover {
    border-bottom-color: #000;
}

/* 列表样式 */
.editor-content ul,
.editor-content ol {
    margin: 16px 0;
    padding-left: 28px;
}

.editor-content ul {
    list-style-type: disc;
}

.editor-content ol {
    list-style-type: decimal;
}

.editor-content li {
    margin: 8px 0;
    line-height: 1.8;
}

.editor-content ul ul,
.editor-content ol ul {
    list-style-type: circle;
    margin-top: 8px;
    margin-bottom: 8px;
}

.editor-content ul ul ul,
.editor-content ol ul ul {
    list-style-type: square;
}

.editor-content ol ol {
    list-style-type: lower-alpha;
    margin-top: 8px;
    margin-bottom: 8px;
}

/* 引用块样�?*/
.editor-content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 4px solid #000;
    background: #f9fafb;
    color: #6b7280;
    font-style: italic;
}

.editor-content blockquote p {
    margin: 0;
}

/* 代码块样�?*/
.editor-content pre {
    margin: 24px 0;
    padding: 16px;
    background: #1f2937;
    border-radius: 8px;
    overflow-x: auto;
    line-height: 1.6;
}

.editor-content pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: #f9fafb;
    font-size: 14px;
}

/* 分割线样�?*/
.editor-content hr {
    margin: 32px 0;
    border: none;
    border-top: 2px solid #e5e7eb;
}

/* 图片样式 */
.editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
    display: block;
}

.editor-content img[style*="float:left"],
.editor-content img[align="left"] {
    float: left;
    margin: 8px 16px 8px 0;
}

.editor-content img[style*="float:right"],
.editor-content img[align="right"] {
    float: right;
    margin: 8px 0 8px 16px;
}

/* 表格样式 */
.editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow */: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.editor-content table thead {
    background: #f9fafb;
}

.editor-content table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
}

.editor-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.editor-content table tr:last-child td {
    border-bottom: none;
}

.editor-content table tr:hover {
    background: #f9fafb;
}

/* 视频样式 */
.editor-content video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
    display: block;
    background: #000;
    /* box-shadow */: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.editor-content video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

/* 视频容器 */
.editor-content .video-container {
    position: relative;
    width: 100%;
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow */: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.editor-content .video-container video {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* 对齐方式 */
.editor-content [style*="text-align: left"],
.editor-content .align-left {
    text-align: left;
}

.editor-content [style*="text-align: center"],
.editor-content .align-center {
    text-align: center;
}

.editor-content [style*="text-align: right"],
.editor-content .align-right {
    text-align: right;
}

.editor-content [style*="text-align: justify"],
.editor-content .align-justify {
    text-align: justify;
}

/* 缩进样式 */
.editor-content [data-indent="1"] {
    padding-left: 2em;
}

.editor-content [data-indent="2"] {
    padding-left: 4em;
}

.editor-content [data-indent="3"] {
    padding-left: 6em;
}

/* 待办列表样式 */
.editor-content input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

/* 清除浮动 */
.editor-content::after {
    content: "";
    display: table;
    clear: both;
}

/* 响应式调�?*/
@media (max-width: 768px) {
    .editor-content {
        font-size: 14px;
    }
    
    .editor-content h1 {
        font-size: 24px;
    }
    
    .editor-content h2 {
        font-size: 22px;
    }
    
    .editor-content h3 {
        font-size: 20px;
    }
    
    .editor-content h4 {
        font-size: 18px;
    }
    
    .editor-content table {
        font-size: 13px;
    }
    
    .editor-content table th,
    .editor-content table td {
        padding: 8px 12px;
    }
    
    .editor-content img[style*="float:left"],
    .editor-content img[style*="float:right"],
    .editor-content img[align="left"],
    .editor-content img[align="right"] {
        float: none;
        margin: 16px 0;
    }
}

/* 深色模式 */
.dark .editor-content {
    color: #d1d5db;
}

.dark .editor-content h1,
.dark .editor-content h2,
.dark .editor-content h3,
.dark .editor-content h4,
.dark .editor-content h5,
.dark .editor-content h6 {
    color: #f9fafb;
}

.dark .editor-content h1,
.dark .editor-content h2 {
    border-bottom-color: #374151;
}

.dark .editor-content strong,
.dark .editor-content b {
    color: #f9fafb;
}

.dark .editor-content code {
    background: #374151;
    border-color: #4b5563;
    color: #fca5a5;
}

.dark .editor-content blockquote {
    background: #1f2937;
    border-left-color: #000;
    color: #9ca3af;
}

.dark .editor-content pre {
    background: #111827;
}

.dark .editor-content pre code {
    color: #f9fafb;
}

.dark .editor-content hr {
    border-top-color: #374151;
}

.dark .editor-content table {
    background: #1f2937;
    /* box-shadow */: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dark .editor-content table thead {
    background: #111827;
}

.dark .editor-content table th {
    color: #f9fafb;
    border-bottom-color: #374151;
}

.dark .editor-content table td {
    color: #d1d5db;
    border-bottom-color: #374151;
}

.dark .editor-content table tr:hover {
    background: #111827;
}

/**
 * 全局搜索样式
 * @version 1.0.0
 */

/* 搜索遮罩�?*/
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    opacity: 1;
}

/* 搜索容器 */
.search-container {
    width: 90%;
    max-width: 700px;
    background: white;
    border-radius: 16px;
    /* box-shadow */: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 搜索头部 */
.search-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #6b7280;
    font-size: 1.25rem;
}

.search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #000;
    /* box-shadow */: 0 0 0 3px rgba(52, 112, 255, 0.1);
}

.search-clear {
    position: absolute;
    right: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    border: none;
    border-radius: 50%;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s;
}

.search-clear:hover {
    background: #d1d5db;
    transform: scale(1.1);
}

.search-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.search-close:hover {
    background: #e5e7eb;
    color: #111827;
}

/* 搜索主体 */
.search-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.search-body::-webkit-scrollbar {
    width: 8px;
}

.search-body::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.search-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.search-body::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* 搜索结果 */
.search-section {
    margin-bottom: 1.5rem;
}

.search-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

.search-section-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-item:hover {
    background: #f9fafb;
    transform: translateX(4px);
}

.search-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.search-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-item-content {
    flex: 1;
    min-width: 0;
}

.search-item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-item-desc {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-item-price {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
}

.search-item-action {
    flex-shrink: 0;
    color: #9ca3af;
    transition: all 0.2s;
}

.search-result-item:hover .search-item-action {
    color: #000;
    transform: translateX(4px);
}

/* 高亮搜索�?*/
mark {
    background: #fef3c7;
    color: #92400e;
    padding: 0 0.125rem;
    border-radius: 2px;
}

/* 加载状�?*/
.search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #6b7280;
}

.search-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 空结�?*/
.search-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: #6b7280;
}

.search-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.search-empty p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
}

.search-empty small {
    font-size: 0.875rem;
}

/* 错误状�?*/
.search-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: #ef4444;
}

.search-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 搜索历史 */
.search-history {
    padding: 0.5rem;
}

.search-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.search-history-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    margin: 0;
}

.search-history-header button {
    background: none;
    border: none;
    color: #000;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.search-history-header button:hover {
    background: #eff6ff;
}

.search-history-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.search-history-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-history-item:hover {
    background: #f9fafb;
}

.search-history-item i {
    color: #9ca3af;
    font-size: 0.875rem;
}

.search-history-item span {
    color: #374151;
    font-size: 0.9375rem;
}

/* 搜索底部 */
.search-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 16px 16px;
}

.search-tips {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.search-tips kbd {
    padding: 0.125rem 0.375rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.75rem;
    /* box-shadow */: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 深色模式 */
.dark .search-container {
    background: #1f2937;
}

.dark .search-header {
    border-bottom-color: #374151;
}

.dark .search-input {
    background: #111827;
    border-color: #374151;
    color: #f9fafb;
}

.dark .search-input:focus {
    border-color: #000;
}

.dark .search-close {
    background: #374151;
    color: #9ca3af;
}

.dark .search-close:hover {
    background: #4b5563;
    color: #f9fafb;
}

.dark .search-result-item:hover {
    background: #111827;
}

.dark .search-item-title {
    color: #f9fafb;
}

.dark .search-item-desc {
    color: #9ca3af;
}

.dark .search-footer {
    background: #111827;
    border-top-color: #374151;
}

.dark .search-tips kbd {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

/* 响应�?*/
@media (max-width: 768px) {
    .search-overlay.active {
        padding-top: 5vh;
    }
    
    .search-container {
        width: 95%;
        max-height: 85vh;
    }
    
    .search-header {
        padding: 1rem;
    }
    
    .search-input {
        font-size: 0.9375rem;
    }
    
    .search-result-item {
        padding: 0.75rem;
    }
    
    .search-item-image {
        width: 50px;
        height: 50px;
    }
    
    .search-tips {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* ========================================
   底部模块 (hf- 前缀命名空间)
   全局样式，所有页面都需要
   ======================================== */
.hf-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 0 0;
    border-top: 1px solid #1e293b;
}

.hf-footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    padding-bottom: 48px;
}

/* 深色模式下的样式调整 */
.dark .hf-footer {
    background: #0f172a;
}

.hf-brand-section {
    /* 品牌区域不再占多列 */
}

.hf-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}

.hf-brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #000, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    /* box-shadow */: 0 4px 12px rgba(52, 112, 255, 0.3);
}

.hf-brand-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.hf-brand-slogan {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

.hf-menu-section,
.hf-contact-section {
    min-width: 0;
}

.hf-menu-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.hf-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hf-menu-list li {
    margin-bottom: 12px;
}

.hf-menu-list a {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hf-menu-list a:hover {
    color: #ffffff;
}

.hf-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hf-contact-list li {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 12px;
    line-height: 1.5;
}

.hf-footer-bottom {
    padding: 24px 0;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hf-copyright {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.hf-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hf-bottom-links a {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hf-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .hf-footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    .hf-brand-section {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hf-footer {
        padding: 40px 0 0;
    }
    
    .hf-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .hf-brand-section {
        grid-column: span 2;
    }
    
    .hf-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hf-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hf-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hf-brand-section {
        grid-column: span 1;
    }
}





