/* 合作交流弹窗 */
.contact-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.contact-modal-box {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    position: relative;
}

.contact-modal-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.contact-modal-close:hover { color: #333; }

.contact-modal-left {
    width: 35%;
    background: #f0f4f8;
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 32px;
}

.contact-modal-left h2 {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    line-height: 1.5;
}

.contact-modal-right {
    flex: 1;
    padding: 48px 40px 40px 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.contact-form-row {
    display: flex;
    gap: 24px;
}

.contact-form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-full { flex: none; }

.contact-form-field label {
    font-size: 14px;
    color: #333;
}

.required { color: #e53935; }

.contact-form-field input,
.contact-form-field textarea {
    border: none;
    border-bottom: 1px solid #bbb;
    outline: none;
    font-size: 14px;
    padding: 6px 0;
    background: transparent;
    transition: border-color 0.2s;
    font-family: inherit;
    resize: none;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-bottom-color: #f47920;
}

.contact-captcha-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-captcha-input {
    width: 160px;
}

.contact-captcha-img {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 6px;
    color: #333;
    background: #f0f0f0;
    padding: 4px 14px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    font-style: italic;
}

.contact-form-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.contact-form-checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.contact-submit {
    width: 180px;
    padding: 12px 0;
    background: #f47920;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.contact-submit:hover { opacity: 0.88; }

@media (max-width: 700px) {
    .contact-modal-left { display: none; }
    .contact-modal-box { flex-direction: column; }
    .contact-form-row { flex-direction: column; gap: 16px; }
    .contact-modal-right { padding: 40px 20px 30px; }
}


.chat-box {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 320px;
    height: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 9998;
    overflow: hidden;
}

.chat-header {
    background: #f47920;
    color: #fff;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    opacity: 0.85;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f9f9f9;
}

.chat-msg {
    display: flex;
    max-width: 80%;
}

.chat-msg span {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.chat-msg-service {
    align-self: flex-start;
}

.chat-msg-service span {
    background: #fff;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.chat-msg-user {
    align-self: flex-end;
}

.chat-msg-user span {
    background: #f47920;
    color: #fff;
}

.chat-input-row {
    display: flex;
    border-top: 1px solid #eee;
    padding: 10px;
    gap: 8px;
    background: #fff;
}

.chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
}

.chat-input:focus {
    border-color: #f47920;
}

.chat-send {
    background: #f47920;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
}

.chat-send:hover {
    opacity: 0.88;
}


.float-item-wrap {
    position: relative;
}

.float-popup {
    display: none;
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #222;
    font-size: 13px;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.float-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: #fff;
}

.float-qrcode {
    padding: 8px;
}

.float-qrcode img {
    display: block;
    border-radius: 4px;
}

.float-item-wrap:hover .float-popup {
    display: block;
}


.float-sidebar {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.float-sidebar-inner {
    background: #f47920;
    border-radius: 40px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 16px rgba(77,166,245,0.3);
}

.float-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.3;
    transition: opacity 0.2s;
}

.float-item:hover {
    opacity: 0.8;
}

.float-top {
    background: #6b4fcf;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(107,79,207,0.35);
    gap: 1px;
    transition: opacity 0.2s;
}

.float-top:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .float-sidebar {
        right: 8px;
    }
    .float-sidebar-inner {
        padding: 12px 8px;
        gap: 14px;
    }
    .float-item {
        font-size: 10px;
    }
    .float-item svg {
        width: 20px;
        height: 20px;
    }
}


* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Microsoft YaHei', Arial, sans-serif; background: #fff; color: #222; }


/* Banner */
.banner {
  position: relative;
  width: 100vw;
  background: #222;
  overflow: hidden;
  padding: 0;
  height: 660px;
  min-height: unset;
  display: block;
}
.banner-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  background: #222;
  margin: 0;
  z-index: 1;
  transition: width 0.3s, height 0.3s;
}
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.banner-content {
  position: absolute;
  top: clamp(24px, 5vw, 100px);   /* 最大100px，最小24px */
  left: clamp(24px, 8vw, 180px);  /* 最大180px，最小24px */
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  width: auto;
  max-width: 60vw;
}
.banner-title-en {
    font-size: clamp(28px, 3vw, 64px); /* 最大64px，最小28px */
    font-weight: 700;
    margin-bottom: 2vw;
    font-style: italic;
}
.banner-title-cn {
    font-size: clamp(18px, 2.2vw, 36px); /* 最大36px，最小18px */
    font-weight: 700;
    margin-bottom: 0.5vw;
}
.banner-title-desc {
    font-size: clamp(10px, 1vw, 20px); /* 最大20px，最小10px */
    font-weight: 400;
    margin-bottom: 1vw;
    line-height: 2.5;
}
@media (max-width: 900px) {
  .banner-title-desc {
    font-size: clamp(9px, 1.5vw, 16px);
  }
}
@media (max-width: 600px) {
  .banner-title-desc {
    font-size: clamp(8px, 2vw, 12px);
  }
}

/* 视频区块 */
.video-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    padding: 48px 0;
}
.video-bg {
    width: 600px;
    height: 340px;
    background: #ccc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.video-play {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.video-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 32px solid #bbb;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    position: absolute;
    left: 24px;
    top: 20px;
}


/* 视频区块样式开始 */
.video-section {
  position: relative;
  width: 100vw;
  min-height: 600px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
  padding-bottom: 200px;
  margin-top: 60px;
}
.gear {
  position: absolute;
  z-index: 1;
}
.gear-left {
  left: -110px;
  top: 60px;
  width: 300px;
  height: auto;
}
.gear-right {
  right: -160px;
  bottom: 60px;
  width: 300px;
  height: auto;
}
.video-placeholder {
  width: 80vw;
  max-width: 1200px;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: url('./modular-robot_images/section1.1/机器人界面截图.png') center center / cover no-repeat;
}
.video-placeholder video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    background: #000;
}
.play-btn {
  width: 100px;
  height: 100px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 3;
}
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.18);
}
.play-triangle {
  transition: fill 0.2s;
}
.play-btn:hover .play-triangle {
  fill: #fff;
}
.video-desc {
  width: 60vw;
  max-width: 800px;
  margin: 80px auto 0 auto;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
}
.video-title {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  margin-top: 40px;
  margin-bottom: 4px;
}
.video-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
  margin-left: 2px;
}
.video-features {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.feature-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-text {
  flex: 1;
}
.feature-title {
  font-size: 17px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}
.feature-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

.video-divider {
    width: 40px;
    height: 10px;
    background: #f47920;
    border-radius: 0px;
    margin: 0 0 80px 0;
  }

/* 产品参数表格样式 */
.product-specs {
    margin-top: 150px;
    width: 100%;
}
.specs-title {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 24px;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.specs-table th,
.specs-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e0e0e0;
    white-space: nowrap;
}
.specs-table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #222;
}
.specs-table .specs-category {
    background: #f47920;
    color: #fff;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}
.specs-version-pro,
.specs-version-max {
    font-weight: bold;
    color: #000000;
}
.specs-table tr:nth-child(even) {
    background: #f9f9f9;
}
@media (max-width: 900px) {
    .product-specs {
        overflow-x: auto;
    }
    .specs-table {
        min-width: 800px;
    }
    .specs-title {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
  .video-placeholder, .video-desc {
    width: 90vw;
    max-width: 98vw;
  }
  .gear-left, .gear-right {
    width: 100px;
  }
  .video-title {
    font-size: 18px;
  }aa
  .feature-title {
    font-size: 15px;
  }
  .feature-desc {
    font-size: 13px;
  }
}
/* 产品展示样式 */
.product-display {
    width: 100%;
    min-height: 800px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    margin: 0;
}

.display-title {
    font-size: 48px;
    font-weight: bold;
    color: #222;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    width: 100%;
}

.title-divider {
    width: 80px;
    height: 4px;
    background-color: #f47920;
    margin-bottom: 40px;
}

.main-image-container {
    width: 70%;
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16/9;
    position: relative;
}

.zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.zoom-btn svg {
    color: #fff;
}

.zoom-btn:hover {
    background: rgba(244, 121, 32, 0.9);
    transform: scale(1.1);
}

/* 放大模态框样式 */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.zoom-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.zoom-close:hover {
    color: #f47920;
}

.product-description {
    width: 70%;
    max-width: 900px;
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.product-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: center;
}

#main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.thumbnails-container {
    width: 70%;
    max-width: 900px;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.thumbnail-item {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 120px;
    aspect-ratio: 16/9;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.thumbnail-item.active {
    border: 2px solid #f47920;
    box-shadow: 0 0 0 2px rgba(244, 121, 32, 0.2);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-display {
        padding: 60px 10px;
    }
    
    .display-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .main-image-container {
        width: 90%;
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .thumbnails-container {
        width: 90%;
        gap: 20px;
    }
    
    .thumbnail-item {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .display-title {
        font-size: 28px;
    }
    
    .thumbnails-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .thumbnail-item {
        width: 80%;
        max-width: none;
    }
}

/* 视频区块样式结束 */

#main-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: none;
}

/* 产品参数对比表格样式 */
.product-table-section {
    width: 100%;
    padding: 80px 20px;
    background: #f9f9f9;
}

.table-title {
    font-size: 36px;
    font-weight: bold;
    color: #222;
    text-align: center;
    margin-bottom: 40px;
}

.table-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-table th,
.product-table td {
    padding: 14px 10px;
    text-align: center;
    border: 1px solid #000;
    font-size: 14px;
    line-height: 1.6;
}

.product-table thead th {
    background-color: #f47920;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
}

.product-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.product-table tbody tr:nth-child(odd) {
    background-color: #fff;
}

/* 类别单元格（标配/选配） */
.category-cell {
    font-weight: bold;
    vertical-align: middle;
    font-size: 15px;
}

/* 功能名称列 */
.feature-name {
    font-weight: normal;
    text-align: left;
    padding-left: 16px;
}

/* 空单元格 */
.empty-cell {
    background-color: inherit;
}

/* 价格单元格 */
.price-cell {
    font-weight: normal;
}

/* 版本标题 */
.version-header {
    font-weight: bold;
}

/* 响应式表格 */
@media (max-width: 768px) {
    .product-table-section {
        padding: 60px 10px;
    }

    .table-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .product-table th,
    .product-table td {
        padding: 8px 6px;
        font-size: 12px;
    }

    .table-container {
        overflow-x: scroll;
    }

    .product-table {
        min-width: 900px;
    }
}

