/* ========== CSS重置与变量定义 ========== */
:root {
    /* 主色调 - 高对比度配色 */
    --primary-color: #0056b3;      /* 深蓝色 */
    --primary-light: #3385d6;      /* 浅蓝色 */
    --secondary-color: #dc3545;    /* 红色 */
    --accent-color: #28a745;       /* 绿色 */
    
    /* 中性色 - 确保良好对比度 */
    --dark-color: #212529;         /* 深灰色 - 用于正文 */
    --gray-800: #343a40;           /* 深灰色 */
    --gray-700: #495057;           /* 灰色 */
    --gray-600: #6c757d;           /* 中等灰色 */
    --gray-400: #ced4da;           /* 浅灰色 */
    --light-color: #f8f9fa;        /* 浅色背景 */
    --white: #ffffff;              /* 纯白色 */
    
    /* 文本颜色 - 高对比度 */
    --text-primary: #212529;       /* 主文本 - 白色背景上 */
    --text-secondary: #495057;     /* 次要文本 */
    --text-light: #6c757d;         /* 浅色文本 */
    --text-on-dark: #ffffff;       /* 深色背景上的文本 */
    --text-on-primary: #ffffff;    /* 主色背景上的文本 */
    
    /* 功能色 */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* 边框半径 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* 过渡效果 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== 排版样式 ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: var(--spacing-md);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-sm);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ========== 通用样式 ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
    line-height: 1.7;
}

/* ========== 按钮样式 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 0.5rem;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-on-primary);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--text-on-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-on-primary);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: var(--text-on-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== 卡片样式 ========== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid var(--gray-400);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-img-container {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: var(--light-color);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-400);
}

/* ========== 顶部通知栏 ========== */
.top-bar {
    background-color: var(--dark-color);
    color: var(--text-on-dark);
    padding: 0.75rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.top-contact {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    flex-wrap: wrap;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-on-dark);
}

.top-contact-item i {
    color: var(--primary-light);
}

.top-social {
    display: flex;
    gap: var(--spacing-md);
}

.top-social a {
    color: var(--text-on-dark);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.top-social a:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ========== 导航栏 ========== */
.main-header {
    background-color: transparent;
    backdrop-filter: blur(10px);   /* 添加毛玻璃效果，可选 */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;              /* 移除阴影 */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    margin-right: 3rem;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.logo-text {
    color: var(--dark-color);
}

.logo-highlight {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition-fast);
    font-size: 0.85rem; /* 减小字体大小 */
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link i {
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ========== Hero Banner紧凑样式 ========== */
.hero-section {
    position: relative;
    min-height: 600px; 
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-800) 100%);
    overflow: hidden;
    color: var(--text-on-dark);
    margin-bottom: var(--spacing-lg); /* 添加底部间距 */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease; /* 加快过渡效果 */
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.4) 0%,     /* 左边80%黑色 */
        rgba(0, 0, 0, 0.2) 50%,    /* 中间40%黑色 */
        rgba(0, 0, 0, 0) 100%);    /* 右边完全透明 */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px; /* 稍微减小最大宽度 */
    padding: var(--spacing-lg); /* 从xl改为lg */
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* 减小动画幅度 */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2.4rem; /* 从3.2rem减小到2.4rem */
    font-weight: 700; /* 从800减小到700 */
    color: var(--text-on-dark);
    margin-bottom: 1rem; /* 减少底部间距 */
    line-height: 1.3;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.1rem; /* 从1.3rem减小到1.1rem */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.8rem; /* 减少底部间距 */
    line-height: 1.5;
    max-width: 550px; /* 减小最大宽度 */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 0.8rem; /* 减小按钮间距 */
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.2s both; /* 加快动画 */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 轮播指示器 */
.hero-indicators {
    position: absolute;
    bottom: 1.2rem; /* 从2rem减小到1.2rem */
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.5rem; /* 减小间距 */
}

.hero-indicator {
    width: 10px; /* 从12px减小到10px */
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.hero-indicator.active {
    background: var(--text-on-dark);
    transform: scale(1.2); /* 从1.3减小到1.2 */
}

.hero-indicator:hover {
    background: var(--text-on-dark);
    transform: scale(1.1); /* 从1.2减小到1.1 */
}

/* ========== 产品区域 ========== */
.products-section {
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

/* 假设你的产品图片容器结构 */
.product-card img,
.product-image {
    width: 100%;
    height: 200px; /* 固定高度，确保所有图片容器一致 */
    object-fit: contain; /* 完整显示图片，保持宽高比 */
    object-position: center;
    background-color: #f8f9fa; /* 添加背景色填充空白区域 */
    border-radius: 8px;
}

/* 模态框样式 */
.product-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.product-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.product-modal-header {
    padding: 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.product-modal-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-close:hover {
    transform: scale(1.2);
}

.product-modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.product-modal-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.product-modal-description p {
    margin-bottom: 15px;
}

.product-modal-footer {
    padding: 20px;
    text-align: right;
    border-top: 1px solid #eee;
}

.product-modal-btn {
    padding: 10px 25px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.product-modal-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 加载动画 */
.product-loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.product-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== 案例区域 ========== */
.projects-section {
    background-color: var(--light-color);
}

.projects-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

/* ========== 新闻区域 ========== */
.news-section {
    background-color: var(--white);
    padding: 40px 0;
}

.news-section .section-title {
    margin-bottom: 30px;
}

.news-section .section-title h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
    border-bottom: none;
}

/* 新闻头部 */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #007bff;
}

.news-title .external-icon {
    font-size: 12px;
    margin-left: 5px;
    color: #6c757d;
}

/* 日期 */
.news-date {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    margin-left: 15px;
}

.news-date i {
    margin-right: 3px;
}

/* 摘要 */
.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 8px;
}

/* 外部链接标识 */
.news-link {
    margin-top: 5px;
}

.external-badge {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    background-color: #f8f9fa;
    color: #6c757d;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.external-badge i {
    font-size: 10px;
    margin-right: 3px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 0;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #777;
}

.empty-state p {
    font-size: 14px;
    color: #aaa;
}

/* 悬停效果增强 */
.news-item.has-link:hover {
    background-color: #f9f9f9;
    padding: 15px;
    margin: 0 -15px;
    border-radius: 8px;
    border-bottom-color: transparent;
}

/* ========== 关于我们 ========== */
.about-section {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* ========== 联系我们 ========== */
.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

/* 减小联系信息和表单的内边距 */
.contact-info {
    background: var(--light-color);
    padding: var(--spacing-lg); /* 从 var(--spacing-xl) 改为 var(--spacing-lg) */
    border-radius: var(--radius-lg);
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-lg); /* 从 var(--spacing-xl) 改为 var(--spacing-lg) */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
}

.contact-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--white);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ========== 页脚 ========== */
.main-footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a252f 100%);
    color: var(--text-on-dark);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* 让链接板块更宽 */
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    align-items: start;
}

.footer-column h4 {
    color: var(--text-on-dark);
    margin-bottom: var(--spacing-md); /* 减少标题与链接之间的间距 */
    position: relative;
    padding-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-top: var(--spacing-md);
}

/* 快速链接容器 */
.footer-links-container {
    margin-top: 0.5rem; /* 标题与链接的间距 */
}

/* 横向链接样式（在标题下方） */
.footer-links-horizontal {
    list-style: none;
    display: flex;
    flex-wrap: nowrap; /* 一行显示 */
    gap: 1.5rem; /* 链接之间的间距 */
    margin: 0;
    padding: 0;
    justify-content: flex-start;
}

.footer-links-horizontal li {
    flex-shrink: 0;
}

.footer-links-horizontal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0;
    white-space: nowrap;
    font-size: 0.95rem;
}

.footer-links-horizontal a:hover {
    color: var(--text-on-dark);
    transform: translateY(-1px);
    text-decoration: none;
}

.footer-links-horizontal i {
    font-size: 0.8rem;
    color: var(--primary-light);
    transition: transform var(--transition-fast);
}

.footer-links-horizontal a:hover i {
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: var(--spacing-lg);
}

.footer-bottom p {
    color: white !important;
    margin-bottom: 0;
}

/* ========== 返回顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-light);
    background: var(--light-color);
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-400);
}

.empty-state h3 {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

/* ========== 工具类 ========== */
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* ========== 高对比度模式支持 ========== */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #004085;
        --dark-color: #000000;
        --text-primary: #000000;
        --text-on-dark: #ffffff;
    }
    
    .card {
        border: 2px solid var(--dark-color);
    }
    
    .form-control {
        border: 2px solid var(--dark-color);
    }
    
    .btn {
        border-width: 2px;
    }
}

/* ========== 打印样式 ========== */
@media print {
    .top-bar,
    .main-header,
    .hero-controls,
    .back-to-top,
    .contact-form,
    .footer-bottom {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
    
    .btn {
        display: none !important;
    }
}

/* 复用首页样式 */
.container { width: 1200px; margin: 0 auto; padding: 0 15px; }
.section { padding: 60px 0; }

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    list-style: none;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    display: block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination a:hover,
.pagination .active a {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.platform-page-header {
    background: 
        url('background/071.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 0; /* 增加内边距 */
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.about-page-header {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), /* 遮罩层 */
        url('background/hero1.png') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 0; /* 增加内边距 */
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.product-page-header {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), /* 遮罩层 */
        url('background/035.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 0; /* 增加内边距 */
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.news-page-header {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), /* 遮罩层 */
        url('background/042.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 0; /* 增加内边距 */
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
}


.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 25px;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    background: rgba(0, 123, 255, 0.85);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.back-to-home:hover {
    background: rgba(0, 123, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* 产品分类导航 */
.category-nav {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.category-title {
    font-weight: 600;
    color: #333;
    margin-right: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.category-title i {
    margin-right: 8px;
    color: #007bff;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    white-space: nowrap;
}

.category-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.category-btn.active:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.category-btn .badge {
    margin-left: 8px;
    background: #6c757d;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: normal;
}

.category-btn.active .badge {
    background: #fff;
    color: #007bff;
}

/* 当前分类标题 */
.category-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
}

.category-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-header p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 0;
}

/* 
 * content-style.css
 * 专门用于正文内容的样式
 * 版本: 1.0
 * 最后更新: 2025年
 */

/* ==================== 正文区域布局 ==================== */
.main-content-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* ==================== 标题区域样式 ==================== */
.content-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.content-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00bfff);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.content-title:hover:after {
    width: 120px;
}

.content-subtitle {
    font-size: 20px;
    color: #7f8c8d;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto 0;
    font-weight: 300;
}

/* ==================== 图片区域样式 ==================== */
.image-section {
    margin-bottom: 60px;
    position: relative;
}

.main-image-container {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-bottom: 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-image-container:hover img {
    transform: scale(1.08);
}

.image-caption {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 16px;
    font-style: italic;
    line-height: 1.5;
    padding: 0 20px;
}

/* ==================== 正文内容样式 ==================== */
.text-content {
    padding: 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

/* 标题样式 */
.text-content h2 {
    color: #2c3e50;
    margin: 40px 0 25px;
    font-size: 32px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.text-content h2:first-child {
    margin-top: 0;
}

.text-content h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(180deg, #007bff, #00bfff);
    border-radius: 3px;
}

/* 段落样式 */
.text-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
    letter-spacing: 0.3px;
}

/* 列表样式 */
.text-content ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 40px;
}

.text-content li {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    position: relative;
    padding-left: 35px;
    transition: transform 0.2s ease;
}

.text-content li:hover {
    transform: translateX(5px);
    color: #2c3e50;
}

.text-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #007bff;
    font-weight: bold;
    font-size: 20px;
    width: 25px;
    height: 25px;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-content li strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 引用样式 */
.text-content blockquote {
    border-left: 4px solid #007bff;
    padding: 20px 30px;
    margin: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    font-style: italic;
    font-size: 20px;
    color: #495057;
    position: relative;
    overflow: hidden;
}

.text-content blockquote:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 100px;
    color: rgba(0,123,255,0.1);
    font-family: Georgia, serif;
}

/* ==================== 图片画廊样式 ==================== */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ==================== 特色区块样式 ==================== */
.feature-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #00bfff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    color: white;
    font-size: 24px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* ==================== 动画效果 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-header,
.main-image-container,
.text-content {
    animation: fadeInUp 0.8s ease forwards;
}

.content-header {
    animation-delay: 0.1s;
}

.main-image-container {
    animation-delay: 0.3s;
}

.text-content {
    animation-delay: 0.5s;
}

/* ==================== 分隔线样式 ==================== */
.content-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
    margin: 60px auto;
    width: 80%;
    max-width: 600px;
}

/* ==================== 目录导航样式 ==================== */
.content-toc {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    border-left: 5px solid #007bff;
}

.toc-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.toc-list {
    list-style: none;
    padding-left: 20px;
}

.toc-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.toc-list li:before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #007bff;
    font-size: 12px;
}

.toc-list a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: #007bff;
}

/* ==================== 代码块样式 ==================== */
.code-block {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 16px;
    line-height: 1.5;
    color: #d4d4d4;
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #569cd6;
}

.code-string {
    color: #ce9178;
}

/* ==================== 高亮文本样式 ==================== */
.highlight-text {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 5px solid #007bff;
}

.highlight-text p {
    margin: 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 500;
}

/* ==================== 标签样式 ==================== */
.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0;
}

.tag {
    background: rgba(0,123,255,0.1);
    color: #007bff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* ========== 导航下拉菜单样式 ========== */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--primary-color);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* 下拉菜单容器 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉菜单项 */
.dropdown-item {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.05), transparent);
    color: var(--primary-color);
    padding-left: 25px;
    border-left-color: var(--primary-color);
}

/* 下拉菜单箭头 */
.dropdown-menu:before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

/* 添加CSS让下拉菜单和导航项保持连接 */
.nav-item.dropdown:hover > .nav-link {
    /* 保持悬停状态 */
    background-color: var(--hover-color, #f8f9fa);
    color: var(--active-color, #0056b3);
}

/* 确保下拉菜单与导航项无缝连接 */
.dropdown-menu {
    margin-top: 0; /* 移除默认的上边距 */
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
    /* 确保下拉菜单紧贴导航按钮 */
    top: 100%;
}

/* 如果使用Bootstrap，可能需要覆盖一些样式 */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* 查看更多按钮样式 */
.btn-view-more {
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.btn-view-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.btn-view-more:active {
    transform: translateY(-1px);
}

/* 空状态下的按钮 */
.empty-state .btn-view-more {
    padding: 8px 25px;
    font-size: 15px;
}

/* 新闻动态布局 */
.news-layout-container {
    display: grid;
    grid-template-columns: 3fr 1fr;  /* 左侧2/3，右侧1/3 */
    gap: 2rem;
    margin-top: 2rem;
}

.company-news-content {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.original-news-sidebar {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 确保新闻动态标题独立于网格布局 */
#news .container {
    display: block; /* 确保container不是flex或grid */
}

#news .container > .section-title {
    display: block;
    width: 100%;
    text-align: center;
}

#news .section-title h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

/* 横向新闻列表样式 */
.horizontal-news-item {
    display: flex;
    align-items: center;
    padding: 1.2rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer; /* 添加手型光标 */
}

.horizontal-news-item:hover {
    background: #f0f7ff;
    border-left-color: var(--primary-color);
    transform: translateX(3px);
}

.news-item-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    margin-right: 1rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-align: center;
}

/* 新闻内容 */
.news-item-content {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

.news-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horizontal-news-item:hover .news-item-title {
    color: var(--primary-color);
}

.news-item-excerpt {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 增加新闻项之间的间距 */
.horizontal-news-item {
    margin-bottom: 0.8rem; /* 新闻项之间的间距 */
}

/* 箭头指示 */
.news-item-arrow {
    margin-left: 1rem;
    color: var(--gray-400);
    transition: all 0.2s ease;
}

.horizontal-news-item:hover .news-item-arrow {
    color: var(--primary-color);
    transform: translateX(3px);
}

.news-item-arrow i {
    font-size: 0.9rem;
}

/* 新闻模态框样式 - 参考产品中心 */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-container {
    position: relative;
    background: white;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    margin: 10vh auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 0 0 0.5rem 0;
    padding-right: 2rem;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.news-content {
    line-height: 1.6;
    color: #333;
}

.news-content p {
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    text-align: right;
}

/* 正文与链接分隔线 */
/* 紧凑版 */
.url-divider {
    border: none;
    border-top: 1px dashed #e5e7eb;
    margin: 1rem 0 0.8rem 0;
}

.page-url-container {
    margin-top: 0.3rem;
    text-align: right; /* 或者 center */
}

.page-url-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.82rem;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.page-url-link:hover {
    color: var(--primary-color);
    background: #f3f4f6;
}

.page-url-link i {
    font-size: 0.75rem;
}

/* 主要客户板块样式 */
.clients-section {
    padding: 10px 0 10px;
    background-color: #f8f9fa;
}

.clients-section .container {
    max-width: 1400px;
    padding: 0 15px;
}

.clients-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.clients-section .section-title h2 {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin: 0;
}

.clients-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    border-radius: 2px;
}

/* 客户网格容器 */
.clients-grid-container {
    margin-bottom: 30px;
}

/* 5×3网格布局 - 更加紧凑 */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px; /* 进一步减小间距 */
    margin: 0 auto;
}

/* 更加紧凑的客户卡片样式 */
.client-card {
    background: white;
    border-radius: 8px; /* 更小的圆角 */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); /* 更轻的阴影 */
    transition: all 0.2s ease; /* 更快的动画 */
    border: 1px solid #e9ecef;
    height: 130px; /* 进一步降低高度 */
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.client-card:hover {
    transform: translateY(-3px); /* 更小的悬停位移 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* 更轻的悬停阴影 */
    border-color: #3498db;
}

/* 卡片链接 - 更加紧凑 */
.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 12px 15px; /* 减少内边距 */
}

/* Logo容器 - 更加紧凑 */
.client-logo-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px; /* 减少下边距 */
    min-height: 60px; /* 降低最小高度 */
    max-height: 65px; /* 限制最大高度 */
    overflow: hidden;
}

.client-logo {
    max-width: 100%;
    max-height: 60px; /* 降低Logo最大高度 */
    object-fit: contain;
    transition: transform 0.2s ease;
    filter: grayscale(10%); /* 轻微灰度效果 */
}

.client-card:hover .client-logo {
    transform: scale(1.03); /* 更小的缩放 */
    filter: grayscale(0%); /* 悬停时恢复颜色 */
}

/* 客户信息 - 更加紧凑 */
.client-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px; /* 减小间距 */
    min-height: 32px; /* 固定信息区域高度 */
}

.client-name {
    font-size: 0.85rem; /* 更小的字体 */
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3; /* 更紧凑的行高 */
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    max-height: 2.6em; /* 固定两行高度 */
}

/* 模态框图标样式 */
.client-link-icon {
    color: #3498db;
    font-size: 0.75rem;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.client-card:hover .client-link-icon {
    opacity: 1;
    color: #2980b9;
    transform: scale(1.1);
}

.client-link-icon i {
    font-size: 0.8rem;
}



/* 空状态 */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 2.5rem;
    color: #dee2e6;
    margin-bottom: 12px;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #495057;
}

.empty-state p {
    font-size: 0.95rem;
    color: #6c757d;
}

/* 卡片动画效果 */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-card {
    animation: cardFadeIn 0.4s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.05s);
    opacity: 0;
}

/* 触摸反馈效果 */
@media (hover: none) and (pointer: coarse) {
    .client-card:active {
        transform: scale(0.97) !important;
        background-color: #f8f9fa;
    }
}

/* 客户详情模态框样式 */
.client-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
}

.client-modal.active {
    display: block;
}

.client-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.client-modal-container {
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.client-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 模态框关闭按钮 */
.client-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    border: none;
    color: #495057;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-modal-close:hover {
    background: #e9ecef;
    color: #dc3545;
    transform: rotate(90deg);
}

/* 模态框头部 */
.client-modal-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 40px 40px 20px;
    background: white;
    color: white;
    position: relative;
}

.client-modal-logo-container {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.client-modal-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-modal-title-wrapper {
    flex: 1;
    min-width: 0;
}

.client-modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: black;
}

/* 模态框主体 */
.client-modal-body {
    display: flex;
    gap: 30px;
    padding: 30px 40px;
    flex: 1;
    overflow: auto;
}

.client-modal-image-container {
    flex: 0 0 300px;
}

.platform-modal-image-container {
        flex: 1 1 auto; /* 移除flex增长/收缩 */
    width: 100%;
    aspect-ratio: 16/9; /* 关键：固定16:9宽高比 */
    max-height: 70vh; /* 限制最大高度 */
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.platform-modal-image {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
}

.client-modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.client-modal-image:hover {
    transform: scale(1.02);
}

.client-modal-description {
    flex: 1;
    min-height: 250px;
}

.client-modal-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: black;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.client-modal-text::-webkit-scrollbar {
    width: 6px;
}

.client-modal-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.client-modal-text::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.client-modal-text::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 模态框底部 */
.client-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.client-modal-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.client-modal-action-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.client-modal-action-btn i {
    font-size: 0.9rem;
}

/* ========== 证书板块样式 ========== */
.cert-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, 
        rgba(0, 86, 179, 0.02) 0%, 
        rgba(40, 167, 69, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

/* ========== 网格布局 ========== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-400);
}

/* ========== 动画 ========== */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========== 卡片样式（优化版） ========== */
.cert-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid var(--gray-400);
    display: flex;
    flex-direction: column;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* ========== 优化图片容器 ========== */
.cert-img-container {
    position: relative;
    overflow: hidden;
    height: 320px; /* 增加高度确保完整展示 */
    min-height: 320px;
    background: linear-gradient(135deg, var(--light-color) 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.cert-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* 确保完整显示图片 */
    transition: transform var(--transition-slow);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.cert-card:hover .cert-img {
    transform: scale(1.03);
}

/* 图片加载状态 */
.cert-img-loading {
    width: 80px;
    height: 80px;
    border: 4px solid var(--gray-400);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========== 证书信息区域 ========== */
.cert-body {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
    line-height: 1.4;
}

.cert-meta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: auto;
}

.cert-id {
    font-size: 0.875rem;
    color: var(--text-light);
    font-family: 'Consolas', 'Monaco', monospace;
    background: var(--light-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    display: inline-block;
    width: fit-content;
}

/* ========== 公司介绍板块样式 ========== */

/* 公司基本信息 */
.company-basic-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.company-logo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-400);
    margin-bottom: var(--spacing-lg);
}

.logo-container h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 2px;
}

.logo-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin: var(--spacing-xs) 0 0;
}

.company-since span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-on-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
}

/* 公司概况 */
.company-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.overview-card {
    background: var(--light-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.overview-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.overview-card h3 i {
    font-size: 1.2rem;
}

.overview-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

/* 核心价值观 */
.core-values {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.core-values h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.value-item {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05) 0%, rgba(40, 167, 69, 0.05) 100%);
    transition: all var(--transition-normal);
}

.value-item:hover {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--white);
    font-size: 1.5rem;
}

.value-item h4 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.value-item > p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.value-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 发展历程 */
.timeline-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.timeline-section h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: var(--spacing-lg);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-on-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.timeline-content {
    background: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 合作品牌 */
.brands-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.brands-section h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.brands-intro {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.brands-category {
    margin-bottom: var(--spacing-lg);
}

.brands-category:last-child {
    margin-bottom: 0;
}

.brands-category h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.brand-item {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05) 0%, rgba(40, 167, 69, 0.05) 100%);
    padding: var(--spacing-md);
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: all var(--transition-fast);
}

.brand-item:hover {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* 未来展望 */
.future-vision {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    color: var(--text-on-primary);
    text-align: center;
}

.vision-content h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.vision-content > p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.vision-content h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.vision-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

/* 方案一的CSS样式 */
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.text-content-wrapper {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.company-intro {
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-300);
    margin-bottom: var(--spacing-lg);
}

.company-name {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 3px solid var(--primary-color);
}

.intro-paragraph {
    margin-bottom: var(--spacing-md);
    text-align: justify;
    line-height: 1.7;
}

.company-motto {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.05), rgba(40, 167, 69, 0.05));
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
}

.motto-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: var(--spacing-sm);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-item {
    background: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--gray-300);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-title {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.feature-title i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

.feature-desc-en {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    text-align: left;
    font-size: 0.95rem;
    word-spacing: 0.05em;
    hyphens: auto; /* 英文断字 */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}
/* 主要客户下拉菜单样式 */

/* 下拉菜单容器 */
#clientsDropdownMenu {
    min-width: 300px;
    max-width: 400px;
    padding: 0;
}

/* 下拉菜单头部 */
.clients-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px 8px 0 0;
}

.clients-dropdown-header h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 4px 0;
}

.clients-dropdown-header p {
    font-size: 0.8rem;
    color: #718096;
    margin: 0;
}

/* 客户Logo网格 */
.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 16px;
}

/* 客户Logo项 */
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.client-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: #4299e1;
}

/* Logo图片 */
.client-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo-item:hover .client-logo-img {
    transform: scale(1.1);
}

/* Logo占位符 */
.client-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf2f7;
    border-radius: 6px;
    color: #a0aec0;
}

.client-logo-placeholder i {
    font-size: 1.2rem;
}

/* 查看更多链接 */
.clients-dropdown-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    background: #f7fafc;
    border-radius: 0 0 8px 8px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4299e1;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    background: rgba(66, 153, 225, 0.1);
    transform: translateY(-1px);
}

.view-all-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

/* 空状态 */
.clients-empty {
    text-align: center;
    padding: 30px 20px;
    color: #a0aec0;
}

.clients-empty i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #cbd5e0;
}

.clients-empty p {
    font-size: 0.9rem;
    margin: 0;
}

/* Logo图片加载失败时的备用样式 */
.client-logo-img:before {
    content: attr(alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.6rem;
    color: #718096;
    text-align: center;
    width: 80%;
}

/* 悬停提示效果 */
.client-logo-item::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
    pointer-events: none;
}

.client-logo-item:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* ========== 证书板块样式 ========== */
.cert-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, 
        rgba(0, 86, 179, 0.02) 0%, 
        rgba(40, 167, 69, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

/* ========== 网格布局 ========== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

/* 新增样式 */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.activity-card {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.activity-header {
    margin-bottom: 12px;
}

.activity-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-date {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.activity-date i {
    color: #007bff;
}

.activity-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.external-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e3f2fd;
    color: #1565c0;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.view-detail-btn {
    padding: 6px 12px;
    font-size: 13px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-detail-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* 模态框样式 */
.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.info-modal-content {
    background: white;
    border-radius: 10px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.info-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding-right: 30px;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-content-text {
    line-height: 1.8;
    color: #555;
    font-size: 15px;
    white-space: pre-wrap;
}

.modal-footer {
    padding: 20px 20px 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
    text-align: right;
}

.external-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.external-link-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* 平台项目网格样式 - 与产品中心统一 */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.platform-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    height: 200px; /* 从130px增加到200px */
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

/* 卡片链接 */
.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 15px;
}

/* Logo容器 */
.platform-logo-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    min-height: 120px; /* 从60px增加到100px */
    max-height: 130px; /* 从65px增加到110px */
    overflow: hidden;
}

.platform-thumbnail {
    max-width: 100%;
    max-height: 250px; /* 从60px增加到100px */
    object-fit: contain;
    transition: transform 0.2s ease;
    filter: grayscale(10%);
}

.platform-card:hover .platform-thumbnail {
    transform: scale(1.03);
    filter: grayscale(0%);
}

/* 项目信息 */
.platform-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 40px; /* 从32px增加到40px */
}

.platform-title {
    font-size: 0.95rem; /* 从0.85rem增加到0.95rem */
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    max-height: 2.6em;
}


/* ========== 手机响应式设计 (430px) ========== */
/* 注意：这个媒体查询会在宽度小于等于430px时生效 */
@media screen and (max-width: 1200px) {
    /* 基础修复 - 确保容器正确 */
    html, body {
        width: 100vw !important;
        overflow-x: hidden !important;
        position: relative;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 0 auto;
    }
    
    /* ===== 导航栏修复 ===== */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }
    
    .logo img {
        height: 40px !important;
        width: auto;
    }
    
    /* 显示汉堡菜单 */
    .menu-toggle {
        display: flex !important;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }
    
    /* 手机版导航菜单 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-link {
        display: flex;
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
    }
    
    
    /* ===== 网格布局改为单列 ===== */
    .products-grid,
    .projects-grid {
        display: block !important;
        width: 100%;
    }
    
    .products-grid .card,
    .projects-grid .card {
        width: 100% !important;
        margin-bottom: 20px;
        display: block;
    }
    
    /* ===== 主要客户 ===== */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .client-card {
        height: 140px;
        padding: 10px;
    }
    
    .client-logo-container {
        height: 60px;
    }
    
    .client-name {
        font-size: 14px;
        line-height: 1.3;
    }
    
    /* ===== 新闻动态 ===== */
    .news-layout-container {
        display: block;
    }
    
    .company-news-content,
    .original-news-sidebar {
        width: 100%;
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .horizontal-news-item {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    /* ===== 关于我们 ===== */
    .about-content {
        display: block;
    }
    
    .features-grid {
        display: block;
    }
    
    .feature-item {
        width: 100%;
        margin-bottom: 15px;
        padding: 15px;
    }
    
    /* ===== 联系我们 ===== */
    .contact-grid {
        display: block;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
        margin-bottom: 20px;
        padding: 20px;
    }
    
    /* ===== 页脚 ===== */
    .footer-grid {
        display: block;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 25px;
    }
    
    .footer-links-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* ===== 按钮 ===== */
    .btn {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    /* ===== 标题 ===== */
    h2 {
        font-size: 1.8rem !important;
        text-align: center;
    }
    
    .section-title {
        text-align: center;
    }
        .main-footer {
        padding: 48px 0 32px;
    }
    
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        width: 100%;
    }
    
    /* 快速链接板块 */
    .footer-column {
        width: 100%;
    }
    
    .footer-column h4 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
        position: relative;
        color: var(--text-on-dark);
    }
    
    .footer-column h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background-color: var(--primary-color);
    }
    
    .footer-links-container {
        width: 100%;
    }
    
    /* 快速链接网格布局 */
    .footer-links-horizontal {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .footer-links-horizontal li {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .footer-links-horizontal a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-links-horizontal a:hover {
        background: rgba(255, 255, 255, 0.15);
        color: var(--text-on-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        border-color: var(--primary-light);
    }
    
    .footer-links-horizontal a i {
        font-size: 12px;
        color: var(--primary-light);
        transition: transform 0.3s ease;
    }
    
    .footer-links-horizontal a:hover i {
        transform: translateX(3px);
        color: var(--primary-color);
    }
    
    /* 公司Logo和简介区域 */
    .footer-column:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-column:first-child .logo {
        margin-bottom: 20px;
    }
    
    .footer-column:first-child .logo img {
        height: 50px;
        width: auto;
    }
    
    .footer-about {
        font-size: 1rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.8);
        max-width: 100%;
        text-align: center;
    }
    
    /* 版权信息 */
    .footer-bottom {
        margin-top: 40px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .footer-bottom p {
        margin: 0;
        line-height: 1.5;
    }

    /* ===== 导航栏客户下拉网格紧凑居中优化 ===== */
    .clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 30px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
    align-content: center;
    margin: 0 auto; /* 添加这行 - 水平居中 */
    }

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

    .client-logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0;
    }

    .client-logo-img.client-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    }

    .client-logo-item:hover .client-logo-img.client-logo {
    transform: scale(1.05);
    }

    .client-logo-placeholder.client-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 4px;
    color: #6c757d;
    font-size: 20px;
    }

    .clients-dropdown-header {
    padding: 15px 20px 10px;
    text-align: center;
    }

    .clients-dropdown-header h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
    }

    .clients-dropdown-header p {
    font-size: 13px;
    color: #666;
    margin: 0;
    }

    .clients-dropdown-footer {
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    }

    /* 平板设备响应式 */
    @media (max-width: 992px) {
    .clients-logo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding: 30px;
        max-width: 600px;
        margin: 0 auto; /* 添加这行 - 水平居中 */
    }
    
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}
    }

    /* 手机设备响应式 */
    @media (max-width: 768px) {
    .clients-logo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 30px;
        max-width: 400px;
        margin: 0 auto; /* 添加这行 - 水平居中 */
    }
    
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}
    
    .client-logo-placeholder.client-logo {
        font-size: 16px;
    }
    }

    @media (max-width: 480px) {
    .clients-logo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 30px;
        max-width: 300px;
        margin: 0 auto; /* 添加这行 - 水平居中 */
    }

    .client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}
    }

    /* ===== 客户模态框改为上下布局 ===== */
    .client-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    }

    .client-modal-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    .client-modal-header {
    padding: 24px 30px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 16px;
    }

    .client-modal-logo-container {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #e9ecef;
    }

    .client-modal-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    }

    .client-modal-title-wrapper {
    flex: 1;
    min-width: 0;
    }

    .client-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
    }

    .client-modal-body {
    display: flex;
    flex-direction: column;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
    }

    .client-modal-image-container {
    width: 100%;
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    flex-shrink: 0;
    }

    .client-modal-image {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 6px;
    }

    .client-modal-description {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
    }

    .client-modal-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    }

    .client-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .client-modal-close:hover {
    background: #f8f9fa;
    color: #333;
    transform: rotate(90deg);
    }

    /* 模态框响应式调整 */
    @media (max-width: 768px) {
    .client-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .client-modal-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .client-modal-logo-container {
        width: 50px;
        height: 50px;
    }
    
    .client-modal-title {
        font-size: 18px;
    }
    
    .client-modal-image-container {
        padding: 20px;
        min-height: 150px;
    }
    
    .client-modal-description {
        padding: 20px;
    }
    
    .client-modal-text {
        font-size: 14px;
    }
    
    .client-modal-close {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
    }
    }

    @media (max-width: 480px) {
    .client-modal-header {
        padding: 16px;
    }
    
    .client-modal-image-container {
        padding: 16px;
        min-height: 120px;
    }
    
    .client-modal-description {
        padding: 16px;
    }
    
    .client-modal-text {
        font-size: 13px;
        line-height: 1.5;
    }
    }

}

/* ========== 小屏优化 (360px以下) ========== */
@media screen and (max-width: 360px) {
    .footer-links-horizontal {
        grid-template-columns: 1fr !important; /* 改为单列 */
        gap: 12px;
    }
    
    .footer-links-horizontal a {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .footer-column h4 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
    
    .footer-about {
        font-size: 0.95rem;
    }
}

/* ========== 超大手机屏优化 (481px-600px) ========== */
@media screen and (min-width: 481px) and (max-width: 600px) {
    .footer-links-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .footer-links-horizontal a {
        padding: 15px 18px;
        font-size: 16px;
    }
    
    .footer-column h4 {
        font-size: 1.4rem;
        margin-bottom: 22px;
    }
}

/* ========== 平板优化 (601px-768px) ========== */
@media screen and (min-width: 601px) and (max-width: 768px) {
    .footer-links-horizontal {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .footer-links-horizontal a {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 2fr;
        gap: 40px;
    }
}

/* ========== 动画效果增强 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

/* ========== 触摸优化 ========== */
@media (hover: none) and (pointer: coarse) {
    .footer-links-horizontal a {
        min-height: 56px; /* 增大触摸区域 */
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
    }
    
    .footer-links-horizontal a:active {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* 只在响应式时隐藏按钮和调整字体 */
@media screen and (max-width: 480px) {
    .hero-section {
        min-height: 500px !important;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    
    .hero-buttons {
        display: none !important;
    }
}