/* 明翳消防官网 - 主样式表 */

/* CSS变量定义 */
:root {
    /* 明翳消防品牌主色调 */
    --mingyi-blue-50: #e6f0ff;
    --mingyi-blue-100: #cce0ff;
    --mingyi-blue-200: #99c2ff;
    --mingyi-blue-300: #66a3ff;
    --mingyi-blue-400: #3385ff;
    --mingyi-blue-500: #0066cc; /* 主色调 - 匹配logo蓝色 */
    --mingyi-blue-600: #0052a3;
    --mingyi-blue-700: #003d7a;
    --mingyi-blue-800: #002952;
    --mingyi-blue-900: #001429;
    
    /* 中性色 */
    --neutral-50: #f9fafb;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    
    /* 辅助色 */
    --accent-orange: #ff6b35;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    
    /* 文本颜色 */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    
    /* 背景颜色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.7);
    
    /* 边框颜色 */
    --border-color: rgba(0, 102, 204, 0.2);
    --border-light: rgba(209, 213, 219, 0.5);
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    --gradient-secondary: linear-gradient(135deg, #99c2ff 0%, #66a3ff 100%);
    --gradient-hero: linear-gradient(135deg, rgba(249, 250, 251, 0.95) 0%, rgba(243, 244, 246, 0.9) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 244, 246, 0.8) 100%);
    
    /* 阴影 */
    --shadow-glow: 0 0 30px rgba(0, 102, 204, 0.3);
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-dropdown: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    
    /* 过渡效果 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--neutral-50);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 粒子画布 */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: var(--bg-primary);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--mingyi-blue-500);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 语言切换 */
.language-switch {
    margin-left: 20px;
}

.language-switch .nav-link {
    background: var(--mingyi-blue-500);
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px;
    transition: var(--transition-normal);
    font-weight: 500;
}

.language-switch .nav-link:hover {
    background: var(--mingyi-blue-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.language-switch .nav-link::after {
    display: none;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* 英雄区 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    background: var(--neutral-50);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    padding: 11px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--mingyi-blue-700);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: transparent;
    color: var(--mingyi-blue-700);
    border: 2px solid var(--mingyi-blue-400);
    box-shadow: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    border-color: var(--mingyi-blue-500);
    background: rgba(14, 165, 233, 0.1);
    box-shadow: none;
}

.btn-secondary {
    background: var(--accent-orange);
    color: white;
    border: 2px solid var(--accent-orange);
}

.btn-secondary:hover {
    border-color: var(--accent-orange);
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 153, 0, 0.3);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* 统计数据 */
.hero-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.hero-stats .stat-item {
    flex: 1;
    text-align: center;
    margin: 0 10px;
}

/* 分隔线 */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mingyi-blue-300), transparent);
    opacity: 0.5;
    margin: 0;
    padding: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mingyi-blue-600);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--accent-orange);
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* 滚动指示器 */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-cyan);
    border-bottom: 2px solid var(--accent-cyan);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
}

/* 章节通用样式 */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding: 5px 15px;
    background: var(--accent-orange);
    border-radius: 20px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--mingyi-blue-500);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 核心技术优势 */
.tech-features {
    background: linear-gradient(180deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--mingyi-blue-400);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mingyi-blue-500);
    border-radius: 10px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    stroke: none;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--mingyi-blue-500);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 关于我们 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--bg-secondary);
    font-weight: bold;
}

.about-visual {
    position: relative;
}

.visual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.visual-card img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

.visual-card:hover img {
    transform: scale(1.05);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
}

.overlay-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--mingyi-blue-500);
}

/* 发展历程时间线 */
.timeline-section {
    margin-top: 80px;
}

.timeline-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-orange));
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent-cyan);
    border-radius: 50%;
    border: 4px solid var(--bg-secondary);
    box-shadow: 0 0 0 2px var(--accent-cyan);
}

.timeline-content {
    max-width: 300px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.timeline-year {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--mingyi-blue-500);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 产品中心 */
.products {
    background: var(--neutral-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--mingyi-blue-500);
    transition: var(--transition-normal);
    box-shadow: none;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.product-image:hover {
    box-shadow: 0 12px 48px rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 12px;
    background: white;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-note {
    padding: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid var(--border-color);
}

/* 图片模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    position: relative;
    margin: 10% auto;
    max-width: 80%;
    max-height: 80%;
    animation: zoomIn 0.3s ease-in-out;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #00d4ff;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 鼠标悬停效果 */
.product-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: scale(1.02);
}

/* 证书展示样式 */
.certificates {
    background: var(--neutral-100);
    padding: 80px 0;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.certificate-card {
    background: var(--bg-primary);
    border: 2px solid var(--mingyi-blue-500);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.certificate-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.certificate-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.05);
}

.certificate-info {
    padding: 20px;
    text-align: center;
}

.certificate-info h3 {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.certificate-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.certificate-img:hover {
    transform: scale(1.02);
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 64px rgba(0, 212, 255, 0.15);
}

.product-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.product-tag {
    background: var(--accent-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--mingyi-blue-500);
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.product-specs {
    margin-bottom: 15px;
}

.product-specs li {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 3px 0;
    padding-left: 15px;
    position: relative;
}

.product-specs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.product-link {
    color: var(--mingyi-blue-500);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.product-link:hover {
    color: var(--accent-orange);
}

/* 解决方案 */
.solutions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.solution-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--mingyi-blue-500);
    transition: var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.solution-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 45px rgba(0, 212, 255, 0.2);
}

.solution-image {
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.solution-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition-slow);
}

.solution-image:hover img {
    transform: scale(1.05);
}

.solution-content {
    padding: 20px 20px 15px 20px;
    flex: 1;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

.solution-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-cyan);
    margin: 0 0 3px 0;
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 3;
}

.solution-content h3 {
    font-size: 1.4rem;
    margin: 0 0 12px 0;
    color: var(--mingyi-blue-500);
}

.solution-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

.solution-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.solution-features li {
    background: rgba(0, 212, 255, 0.1);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

/* 新闻动态 */
.news {
    background: var(--neutral-50);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--mingyi-blue-400);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.1);
}

.news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-image {
    overflow: hidden;
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-category {
    display: inline-block;
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-orange);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--mingyi-blue-500);
}

.news-card.featured .news-content h3 {
    font-size: 1.5rem;
    color: var(--mingyi-blue-500);
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 联系我们 */
.contact {
    background: linear-gradient(180deg, var(--neutral-100) 0%, var(--neutral-50) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-desc {
    color: var(--text-secondary);
    margin: 20px 0 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--mingyi-blue-600);
}

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

.contact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 联系表单 */
.contact-form-wrapper {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* 页脚 */
.footer {
    background: var(--neutral-100);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.social-link:hover {
    background: var(--mingyi-blue-500);
    border-color: var(--mingyi-blue-500);
}

.social-link:hover svg {
    color: var(--bg-secondary);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--mingyi-blue-500);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--mingyi-blue-600);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright,
.icp {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-list {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .solution-item.reverse {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 40px;
        gap: 30px;
        transition: var(--transition-normal);
        border-left: 1px solid var(--border-color);
    }
    
    .language-switch {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .language-switch .nav-link {
        display: block;
        text-align: center;
        padding: 12px 20px !important;
        margin-bottom: 10px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .hero-stats .stat-item {
        flex: 1 1 45%;
        margin: 10px 0;
    }
    
    /* 通用响应式图片处理 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-list {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .solution-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    /* 移动设备上的hero-stats */
    .hero-stats .stat-item {
        flex: 1 1 100%;
        margin: 5px 0;
    }
    
    /* 移动设备上的容器内边距 */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* 移动设备上的字体大小 */
    body {
        font-size: 14px;
    }
    
    /* 移动设备上的标题大小 */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* 移动设备上的hero-product-image */
    .hero-product-image {
        flex-direction: row !important;
        gap: 10px !important;
        width: calc(100% - 20px) !important;
        margin: 30px auto !important;
        align-items: center !important;
    }
    
    .hero-product-image img {
        flex: 1 !important;
        max-width: calc(50% - 5px) !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }
    
    .hero-product-image div[style*="width: 1px"] {
        height: 80% !important;
        display: block;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .hero-scroll,
    .footer {
        display: none;
    }
    
    section {
        padding: 40px 0;
    }
}
