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

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

:root {
    --primary-color: #3d69e1;
    --secondary-color: #f5f5f5;
    --accent-color: #e82127;
    --dark-color: #0b0b0b;
    --light-color: #ffffff;
    --text-color: #111111;
    --text-light: #6b6b6b;
    --border-color: #e6e6e6;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: "Helvetica Neue", "PingFang SC", "Noto Sans SC", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    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: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    z-index: 1001;
    letter-spacing: 0.04em;
}

.nav-logo i {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 26px;
    position: absolute;
    left: 0;
    right: 0;
    justify-content: center;
}

/* 确保移动端菜单仍然正常 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        right: auto;
        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-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.02em;
    z-index: 2;
}

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

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

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

/* 导航下拉菜单 (特斯拉风格) */
.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-dropdown {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 100px;
    background: #ffffff;
    /* Tesla usually uses solid white or very slight blur, let's stick to solid white for cleaner look */
    padding: 15px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -15px;
    right: -15px;
    bottom: -30px;
    z-index: 1;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 24px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 320px;
    text-align: center;
}

.dropdown-item:hover {
    background: #f4f4f4;
    transform: translateY(-5px);
}

.dropdown-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.dropdown-item-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* 隐藏移动端的下拉菜单，或根据需要调整 */
@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        width: 100%;
        min-height: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0 20px;
        display: none;
        z-index: auto;
    }
    
    .nav-item.active .nav-dropdown {
        display: block;
    }

    .dropdown-item {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
    }
    
    .dropdown-item:hover {
        transform: none;
    }
}

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

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

.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(--text-color);
    font-weight: 700;
}

.lang-separator {
    color: var(--text-light);
    font-size: 0.85rem;
}

.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: stretch;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.45)), url("images/cover.jpg") center/cover no-repeat;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5));
    opacity: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 20px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 80px);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.1rem;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: #ffffff;
    display: block;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.05rem;
    margin: 0 auto 32px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 900px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

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

.hero-stats {
    display: flex;
    gap: 28px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 16px;
    width: 100%;
    max-width: 640px;
}

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

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffffff;
}

.stat-label {
    font-size: 0.72rem;
    opacity: 0.7;
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .hero-container {
        padding: 40px 20px;
        gap: 32px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        min-width: 0;
    }
}

/* 机器人动画 */
.hero-image {
    display: none;
}

.hero-robot-img {
    width: 100%;
    max-width: 720px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

@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 26px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.06em;
    min-height: 44px;
    min-width: 160px;
    justify-content: center;
}

.btn-primary {
    background: #3d69e1;
    color: #ffffff;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.65);
    color: #111111;
    border: none;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.85);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: #111111;
    border: 1px solid #111111;
}

.btn-outline:hover {
    background: #111111;
    color: #ffffff;
}

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

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

.section-title {
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

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

/* 产品中心 */
.products {
    padding: 120px 0;
    background: #ffffff;
}

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

.product-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 0, 0, 0.2);
}

.product-image {
    position: relative;
    height: 240px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-icon {
    font-size: 3.6rem;
    color: #111111;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

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

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

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

.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(--accent-color);
    width: 16px;
}

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

/* 解决方案 */
.solutions {
    padding: 120px 0;
    background: #ffffff;
}

.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: #ffffff;
    padding: 42px 32px;
    border-radius: 8px;
    box-shadow: none;
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: var(--shadow-hover);
}

.solution-icon {
    width: 72px;
    height: 72px;
    background: #111111;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.solution-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

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

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

.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(--accent-color);
    font-size: 0.8rem;
}

/* 具身智能模块 */
.embodied-section {
    padding: 120px 0;
    margin: 60px 0;
    background-color: #0b0b0b;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #ffffff;
    overflow: hidden;
}

.embodied-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.35));
    z-index: 1;
}

.embodied-section--ai {
    background-image: url("images/unnamed01.jpg");
}

.embodied-section--overseas {
    background-image: url("images/unnamed02.jpg");
}

.embodied-section--metaverse {
    background-image: url("images/unnamed03.jpg");
}

.embodied-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.embodied-content-wrapper {
    position: relative;
    min-height: 520px;
}

.training-section {
    background-color: #f7f7f7;
}

.embodied-text-area {
    position: absolute;
    bottom: 20px;
    max-width: 520px;
}

.embodied-text-left .embodied-text-area {
    left: 20px;
    text-align: left;
}

.embodied-text-right .embodied-text-area {
    right: 20px;
    text-align: left;
}

.embodied-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0;
    position: relative;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.embodied-rich-text p {
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 520px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.embodied-text-top-right .embodied-text-area {
    top: 5px;
    right: 20px;
    bottom: auto;
    text-align: left;
}

.embodied-text-top-right .embodied-rich-text p {
    margin-left: 0;
}

.embodied-text-top-left .embodied-text-area {
    top: 5px;
    left: 20px;
    bottom: auto;
    text-align: left;
}

.embodied-text-bottom-right .embodied-text-area {
    bottom: 20px;
    right: 20px;
    text-align: left;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.06em;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.read-more-btn::after {
    content: none;
}

.read-more-btn:hover {
    background: rgba(255, 255, 255, 0.32);
    color: #ffffff;
    transform: translateY(-2px);
}

.read-more-btn:hover::after {
    transform: none;
}

.embodied-img {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    box-shadow: none;
    display: block;
    object-fit: cover;
}

.section-alt {
    background-color: #f7f7f7;
}

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

    .embodied-text-area {
        position: static;
        max-width: 100%;
        padding: 24px;
        background: rgba(0, 0, 0, 0.45);
        border-radius: 8px;
        margin-top: auto;
    }

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

    .embodied-text-left .embodied-text-area,
    .embodied-text-right .embodied-text-area {
        left: auto;
        right: auto;
    }

    .embodied-section {
        margin: 40px 0;
    }
}

/* 关于我们 */
.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: #f5f5f5;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.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: #f5f5f5;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #111111;
    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: #f5f5f5;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.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%;
}

/* 国际化表单区域 */
.contact-intl-form {
    display: none; /* 默认隐藏，由语言切换逻辑控制 */
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    height: 100%;
}

.intl-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 480px;
}

.intl-form-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark-color);
    text-align: center;
}

.intl-form .form-group {
    margin-bottom: 20px;
}

.intl-form input,
.intl-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    background: #fcfcfc;
    transition: var(--transition);
}

.intl-form input:focus,
.intl-form textarea:focus {
    outline: none;
    border-color: #3d69e1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(61, 105, 225, 0.1);
}

.intl-form .btn-block {
    width: 100%;
    margin-top: 10px;
}

.form-success-msg {
    text-align: center;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: 500;
}

/* 语言特定的显示逻辑 */
[data-lang="zh"] .contact-wechat { display: flex; }
[data-lang="zh"] .contact-intl-form { display: none; }

[data-lang="en"] .contact-wechat { display: none; }
[data-lang="en"] .contact-intl-form { display: flex; }

.wechat-qr-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
    margin-bottom: 32px; /* 图片下方留白 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f7;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: none;
}

.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: #ffffff;
    color: var(--text-color);
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-links-minimal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links-minimal li,
.footer-links-minimal a {
    color: var(--text-light);
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links-minimal a:hover {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .footer-links-minimal {
        flex-direction: column;
        gap: 15px;
        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;
    }
}

@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;
    }

    .embodied-text-area {
        bottom: 15px;
        max-width: 90%;
    }

    .embodied-text-left .embodied-text-area {
        left: 10px;
    }

    .embodied-text-right .embodied-text-area {
        right: 10px;
    }
}

@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;
    }

    .embodied-text-area {
        bottom: 10px;
    }

    .embodied-text-left .embodied-text-area {
        left: 8px;
    }

    .embodied-text-right .embodied-text-area {
        right: 8px;
    }
}

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

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

.breadcrumb a {
    color: var(--text-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: #f7f7f7;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
    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: #111111;
    transition: opacity 0.3s ease;
}

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

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

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

.thumb.active {
    border-color: #111111;
}

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

.product-price {
    font-size: 1.2rem;
    color: #111111;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.tag {
    background: #f1f1f1;
    color: #111111;
    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: var(--accent-color);
}

.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: #111111;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #111111;
}

.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: #f7f7f7;
    font-weight: 700;
    width: 30%;
}

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

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


/* 平滑滚动 */
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: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 按钮点击效果 */
.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); }
}
/* 具身智能模块 (Embodied Intelligence) */
.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: 4px solid #111111;
    padding-left: 20px;
    margin-bottom: 50px;
    letter-spacing: 0.02em;
}

.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: var(--text-light);
    margin-bottom: 40px;
}

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

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

/* 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%;
    }
}
