/* 全局样式 */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0077b6; /* 海蓝色 (Sea Blue) */
    --secondary-color: #00b4d8; /* 浅海蓝 */
    --accent-color: #ade8f4; /* 极浅蓝 */
    --dark-color: #03045e; /* 深海蓝 */
    --light-color: #f0f9ff; /* 极其浅蓝背景 */
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    z-index: 1001;
    position: absolute;
    left: 20px;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0 auto;
}

/* 确保移动端菜单仍然正常 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        transform: none;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 40px 0;
        margin: 0;
    }

    .nav-menu.active {
        left: 0;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-caret {
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -2px;
}

.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100vw;
    padding: 30px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    z-index: 999;
    text-align: center;
    transform: translateY(-10px);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.25s;
    will-change: transform, opacity;
    pointer-events: none;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-link {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 8px;
}

.dropdown-link:hover, .dropdown-link:focus {
    color: var(--primary-color);
    background: var(--light-color);
    outline: none;
}

/* 针对 IE11 的基础回退 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .dropdown-menu {
        transform: none !important;
        transition: opacity 0.25s ease !important;
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }

    .nav-logo {
        position: static;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
        display: none; /* 移动端仍然使用 display 切换 */
        transition: none;
        text-align: center;
        border-top: none;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-link {
        padding: 15px 0;
        width: 100%;
        font-size: 1rem;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* 语言切换器 */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    padding: 2px 5px;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    color: var(--primary-color);
    font-weight: 700;
}

.lang-divider {
    color: var(--border-color);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: auto;
        margin-right: 20px;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* 主页英雄区域 */
.hero {
    min-height: 100vh;
    padding-top: 80px; /* 确保不被固定导航栏遮挡 */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--accent-color);
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 机器人动画 */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-robot-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.robot-container {
    position: relative;
    width: 300px;
    height: 400px;
}

.robot-body {
    position: relative;
    width: 120px;
    height: 200px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    border-radius: 20px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.robot-head {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    border-radius: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
}

.robot-eye {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: blink 2s infinite;
}

.robot-arm {
    position: absolute;
    width: 15px;
    height: 80px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    border-radius: 8px;
    top: 20px;
}

.robot-arm-left {
    left: -20px;
    transform-origin: top center;
    animation: wave 3s ease-in-out infinite;
}

.robot-arm-right {
    right: -20px;
    transform-origin: top center;
    animation: wave 3s ease-in-out infinite reverse;
}

.robot-base {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 40px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border-radius: 20px;
}

.welding-spark {
    position: absolute;
    top: 50%;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    border-radius: 50%;
    animation: spark 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

@keyframes spark {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

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

/* 通用区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

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

/* 产品中心 */
.products {
    padding: 100px 0;
    background: var(--light-color);
}

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

.product-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-icon {
    font-size: 4rem;
    color: white;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto; /* 将规格和按钮整体推向底部，确保间距一致 */
    margin-bottom: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.spec-item i {
    color: var(--primary-color);
    width: 16px;
}

.product-actions {
    display: flex;
    gap: 15px;
}

/* 解决方案 */
.solutions {
    padding: 100px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dual-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .dual-cards-grid {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card .btn {
    margin-top: auto;
    align-self: center;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.solution-icon i {
    font-size: 2rem;
    color: white;
}

.solution-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.solution-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    text-align: left;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.solution-features i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* 具身智能模块 */
.embodied-section {
    padding: 100px 0;
    background-color: #fff;
}

.embodied-container {
    max-width: 1440px; /* 1920分辨率下的基准宽度 */
    margin: 0 auto;
    padding: 0 40px;
}

.embodied-content-wrapper {
    display: flex;
    align-items: center;
    gap: 80px; /* 左右间距 80px */
}

.embodied-content-wrapper.row-reverse {
    flex-direction: row-reverse;
}

.training-section {
    background-color: var(--light-color); /* 为不同板块增加一点背景色区分 */
}

.embodied-text-area {
    flex: 0 0 60%; /* 左侧占比 60% */
}

.embodied-image-area {
    flex: 0 0 40%; /* 右侧占比 40% */
}

.embodied-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
    position: relative;
}

.embodied-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.embodied-rich-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    /* 截断逻辑：展示约 180-220 汉字，此处用 line-clamp 模拟 */
    display: -webkit-box;
    -webkit-line-clamp: 7; /* 根据字体大小和行高，约 7 行对应 200 字左右 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.read-more-btn::after {
    content: '\f061'; /* FontAwesome 右箭头 */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    background: var(--dark-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 4, 94, 0.4);
}

.read-more-btn:hover::after {
    transform: translateX(5px);
}

.embodied-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: block;
    object-fit: cover;
}

/* 响应式：≤ 768px 自动切换为上下堆叠 */
@media (max-width: 768px) {
    .embodied-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .embodied-text-area,
    .embodied-image-area {
        flex: 0 0 100%;
        width: 100%;
    }

    .embodied-title {
        font-size: 2rem;
    }
    
    .embodied-container {
        padding: 0 20px;
    }
}

/* 博客/行业动态 */
.blog {
    padding: 100px 0;
    background: #fff;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: row;
    height: 110px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.blog-image {
    width: 160px;
    flex-shrink: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.blog-date {
    display: none;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-card-excerpt {
    display: none;
}

.blog-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    margin-top: auto;
}

.blog-more:hover {
    gap: 12px;
    color: var(--dark-color);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .blog-card {
        flex-direction: column;
        height: auto;
    }

    .blog-image {
        width: 100%;
        height: 250px;
    }

    .blog-content {
        padding: 25px;
    }
}

.blog-footer {
    text-align: center;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.about-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 微信客服区域 */
.contact-wechat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
    height: 100%;
    /* background-color: var(--light-color); 如果需要卡片效果可以取消注释，目前保持页面主色调（白色/透明） */
}

.wechat-qr-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
    margin-bottom: 32px; /* 图片下方留白 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow); /* 增加轻微阴影提升质感 */
}

.wechat-qr-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

/* 错误提示样式 */
.wechat-qr-error {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.wechat-qr-error i {
    font-size: 24px;
    color: #ff6b6b; /* 错误提示色 */
    margin-bottom: 10px;
}

.wechat-qr-error span {
    line-height: 1.5;
}

.wechat-hint {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-wechat {
        padding: 40px 0;
    }
    
    .wechat-qr-wrapper {
        width: 200px;
        height: 200px;
    }
}

/* 页脚 */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-single-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-single-line a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-single-line a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-single-line {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .products-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .robot-container {
        width: 250px;
        height: 350px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .contact-content {
        gap: 30px;
    }
}

/* 二级页面通用样式 */
.page-content {
    min-height: 80vh;
    padding-bottom: 80px;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 产品详情页样式 */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-gallery {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.main-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image i {
    font-size: 10rem;
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}

.image-thumbnails {
    display: flex;
    gap: 15px;
}

.thumb {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumb i {
    color: var(--text-light);
}

.thumb.active {
    border-color: var(--primary-color);
}

.product-main-title {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-summary {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-features-list {
    margin-bottom: 40px;
}

.product-features-list h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.product-features-list ul {
    list-style: none;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.product-features-list i {
    color: #28a745;
}

.action-buttons {
    display: flex;
    gap: 20px;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* 产品选项卡 */
.product-tabs {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.tab-header {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.specs-table th, .specs-table td {
    padding: 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.specs-table th {
    background: var(--light-color);
    font-weight: 700;
    width: 30%;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .action-buttons {
        flex-direction: column;
    }
}

/* 博客详情页样式 */
.blog-article {
    max-width: 900px;
    margin: 0 auto 60px;
}

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

.article-category {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.article-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.article-featured-image {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin: 40px 0 20px;
}

.article-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}





@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }


}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动时的导航栏效果 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

/* 按钮点击效果 */
.btn:active {
    transform: translateY(0);
}

/* 表单验证样式 */
.form-input.error,
.form-textarea.error {
    border-color: #dc3545;
}

.form-input.success,
.form-textarea.success {
    border-color: #28a745;
}

/* 加载状态 */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* 智能焊接机器人模块 */
.ei-section {
    padding: 100px 0;
    background-color: var(--light-color);
    overflow: hidden;
}

.ei-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.ei-header {
    margin-bottom: 50px;
    text-align: left;
}

.ei-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.ei-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.ei-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* 左侧内容区域 (60%) */
.ei-content-box {
    flex: 0 0 calc(60% - 40px);
    opacity: 0;
    transform: translateX(-30px);
}

.ei-text-wrapper {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    transition: height 0.3s ease;
}

.ei-text-excerpt {
    display: block;
}

.ei-text-full {
    transition: opacity 0.3s ease;
}

.ei-read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.ei-read-more:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* 右侧图片区域 (40%) */
.ei-image-box {
    flex: 0 0 calc(40% - 40px);
    opacity: 0;
    transform: translateX(30px);
}

.ei-image-container {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: #eee; /* 占位图背景 */
}

.ei-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ei-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.4s ease;
    pointer-events: none;
}

.ei-image-container:hover .ei-image {
    transform: scale(1.05);
}

.ei-image-container:hover .ei-image-overlay {
    background-color: rgba(0, 0, 0, 0.05);
}

/* 入场动画类 */
.ei-animate-in {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1), 
                transform 600ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 响应式调整 */
@media (max-width: 1440px) {
    .ei-container {
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .ei-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .ei-content-box, .ei-image-box {
        flex: 0 0 100%;
        transform: translateY(20px);
    }
    
    .ei-header {
        text-align: center;
    }
    
    .ei-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .ei-animate-in {
        transform: translateY(0) !important;
    }
}

/* IE11 降级处理 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .ei-content-box, .ei-image-box {
        opacity: 1;
        transform: none;
    }
    .ei-image-container:hover .ei-image {
        transform: none;
    }
}

/* Product Section Styles - Added for Responsiveness */
.product-section {
    padding: 80px 0;
    width: 100%;
}

.white-bg {
    background-color: #ffffff;
}

.gray-bg {
    background-color: #f9f9f9;
}

.category-title {
    font-size: 2.5rem;
    border-left: 6px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 50px;
}

.product-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.product-text-area {
    flex: 0 0 60%;
}

.product-text-area h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.product-rich-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.product-image-area {
    flex: 0 0 40%;
}

.product-image-area img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-content-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .product-section {
        padding: 40px 0;
    }

    .category-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .product-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .product-text-area,
    .product-image-area {
        flex: 0 0 100%;
        width: 100%;
    }
}
