/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

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

/* 入口页面样式 */
.entry-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 20px;
}

.entry-card {
    background-color: white;
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-container {
    margin-bottom: 40px;
}

.logo-icon {
    font-size: 60px;
    color: #6366f1;
    margin-bottom: 15px;
}

.logo-text {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

.entry-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.entry-description {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature i {
    font-size: 28px;
    color: #6366f1;
    background-color: #eef2ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 5px;
}

.feature span {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.95rem;
}

.enter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    margin-bottom: 30px;
}

.enter-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.footer-note {
    color: #9ca3af;
    font-size: 0.9rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

/* 头部导航 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #6366f1;
}

.nav-links a.active {
    color: #6366f1;
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #6366f1;
    border-radius: 3px 3px 0 0;
}

/* 主要内容区域 */
.main-container, .predict-container {
    padding: 40px 20px;
    min-height: calc(100vh - 140px);
}

.content-card {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 40px;
}

/* 公司简介页面 */
.company-intro {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text h2 {
    font-size: 1.6rem;
    color: #374151;
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-text h2:first-child {
    margin-top: 0;
}

.intro-text h2 i {
    color: #6366f1;
}

.intro-text p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #6366f1;
}

.image-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
}

.image-placeholder p {
    font-weight: 600;
    font-size: 1.2rem;
}

/* 功能按钮 */
.function-buttons {
    margin-bottom: 60px;
}

.function-buttons h2 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.function-buttons > p {
    color: #6b7280;
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.function-button {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background-color: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.function-button:hover {
    border-color: #6366f1;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.button-icon {
    width: 60px;
    height: 60px;
    background-color: #eef2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.button-icon i {
    font-size: 28px;
    color: #6366f1;
}

.button-content {
    flex: 1;
}

.button-content h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 8px;
}

.button-content p {
    color: #6b7280;
    font-size: 1rem;
}

.button-arrow i {
    font-size: 20px;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.function-button:hover .button-arrow i {
    color: #6366f1;
    transform: translateX(5px);
}

/* 团队网格 - 6人优化布局 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 桌面：每行3人 */
    gap: 25px;
    margin-top: 20px;
}

/* 团队成员卡片 */
.team-member {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* 确保所有卡片高度一致 */
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
    background-color: white;
}

/* 成员头像 */
.member-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.team-member:hover .member-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.1);
}

.member-avatar i {
    font-size: 40px;
    color: white;
}

/* 成员信息 */
.team-member h4 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 600;
}

.team-member p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* 团队成员角色标签 */
.team-member .member-role {
    display: inline-block;
    background-color: #eef2ff;
    color: #6366f1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr); /* 平板：每行2人 */
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr; /* 手机：每行1人 */
        gap: 15px;
    }
    
    .team-member {
        padding: 25px 15px;
    }
    
    .member-avatar {
        width: 80px;
        height: 80px;
    }
    
    .member-avatar i {
        font-size: 36px;
    }
}

/* 预测图片页面 */
.upload-area {
    border: 3px dashed #d1d5db;
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.upload-area:hover, .upload-area.dragover {
    border-color: #6366f1;
    background-color: #f0f9ff;
}

.upload-icon {
    font-size: 60px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.upload-area h3 {
    font-size: 1.4rem;
    color: #374151;
    margin-bottom: 10px;
}

.upload-area p {
    color: #6b7280;
    margin-bottom: 25px;
}

.upload-button {
    background-color: #6366f1;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-button:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.2);
}

.selected-image, .result-area {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid #e5e7eb;
}

.selected-image h3, .result-area h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.image-preview-container {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

#imagePreview {
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.image-info {
    flex: 1;
    min-width: 200px;
}

.image-info p {
    margin-bottom: 10px;
    color: #4b5563;
}

.remove-button {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.remove-button:hover {
    background-color: #fee2e2;
}

.prediction-controls {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.predict-button, .clear-button {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
}

.predict-button {
    background-color: #10b981;
    color: white;
}

.predict-button:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.2);
}

.clear-button {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.clear-button:hover {
    background-color: #e5e7eb;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.result-images {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.result-col {
    flex: 1;
    min-width: 300px;
}

.result-col h4 {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 15px;
}

.result-img-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f9fafb;
}

.result-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.result-details {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 25px;
}

.details-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-label {
    font-weight: 500;
    color: #4b5563;
}

.detail-value {
    font-weight: 600;
    color: #1f2937;
}

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

.download-button, .new-predict-button {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
}

.download-button {
    background-color: #3b82f6;
    color: white;
}

.download-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.2);
}

.new-predict-button {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.new-predict-button:hover {
    background-color: #e5e7eb;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    text-align: center;
    background-color: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #e5e7eb;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-content h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.loading-content p {
    color: #6b7280;
    margin-bottom: 30px;
}

.progress-bar {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #6366f1;
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.instructions {
    background-color: #f0f9ff;
    border-radius: 12px;
    padding: 25px 30px;
    border-left: 4px solid #6366f1;
}

.instructions h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions h3 i {
    color: #6366f1;
}

.instructions ol {
    margin-left: 20px;
    margin-bottom: 20px;
    color: #4b5563;
}

.instructions li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.note {
    font-style: italic;
    color: #6b7280;
    font-size: 0.95rem;
    padding: 10px;
    background-color: white;
    border-radius: 6px;
}

/* 页脚 */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .entry-card {
        padding: 40px 25px;
    }
    
    .logo-text {
        font-size: 2.2rem;
    }
    
    .entry-title {
        font-size: 1.8rem;
    }
    
    .features {
        gap: 20px;
    }
    
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .content-card {
        padding: 25px 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .company-intro {
        gap: 30px;
    }
    
    .team-grid {
        flex-direction: column;
    }
    
    .function-button {
        padding: 20px;
    }
    
    .button-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .button-icon i {
        font-size: 24px;
    }
}

/* 添加到现有的 css/style.css 文件末尾 */

/* 通知动画 */
@keyframes slideIn {
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

@keyframes slideOut {
    from { 
        transform: translateX(0); 
        opacity: 1; 
    }
    to { 
        transform: translateX(100%); 
        opacity: 0; 
    }
}

/* 损伤指示器 */
.damage-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.damage-high {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.damage-medium {
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

.damage-low {
    background-color: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

/* 统计表格样式 */
.statistics-table {
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.statistics-table h4 {
    margin-bottom: 15px;
    color: #374151;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.statistics-table table {
    width: 100%;
    border-collapse: collapse;
}

.statistics-table th {
    text-align: left;
    padding: 10px;
    background-color: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    color: #6b7280;
    font-weight: 600;
}

.statistics-table td {
    padding: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.color-badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
}

.damage-badge {
    background-color: #fee2e2;
    color: #dc2626;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.healthy-badge {
    background-color: #d1fae5;
    color: #059669;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 加载动画 */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading-text {
    animation: pulse 1.5s infinite;
}

/* 拖放区域高亮 */
.dragover {
    border-color: #6366f1 !important;
    background-color: rgba(99, 102, 241, 0.1) !important;
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* ==================== 实时3D重建页面样式 ==================== */

/* 3D可视化主容器 */
#visualizationContainer {
    width: 100%;
    height: 65vh; /* 占据视口的65%高度 */
    border: 2px solid #4f46e5;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Three.js画布样式 */
#visualizationContainer canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    outline: none; /* 移除焦点边框 */
}

/* 控制面板 */
.control-panel {
    background: #f8fafb;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.control-panel h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-panel h3 i {
    color: #6366f1;
}

/* 状态徽章 */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 15px;
    margin-bottom: 10px;
    gap: 8px;
}

.status-connecting { 
    background: #fef3c7; 
    color: #92400e; 
    border: 1px solid #fde68a;
}

.status-connected { 
    background: #d1fae5; 
    color: #065f46; 
    border: 1px solid #a7f3d0;
}

.status-stopped { 
    background: #f3f4f6; 
    color: #6b7280; 
    border: 1px solid #d1d5db;
}

.status-error { 
    background: #fee2e2; 
    color: #991b1b; 
    border: 1px solid #fecaca;
}

/* 3D控制按钮 */
.btn-action {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-primary { 
    background: #4f46e5; 
    color: white; 
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover { 
    background: #4338ca; 
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.btn-secondary { 
    background: #6b7280; 
    color: white; 
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
}

.btn-secondary:hover { 
    background: #4b5563; 
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 114, 128, 0.3);
}

.btn-danger { 
    background: #dc2626; 
    color: white; 
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.btn-danger:hover { 
    background: #b91c1c; 
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* 信息网格布局 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #4f46e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.info-card h4 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card p {
    color: #6b7280;
    margin: 5px 0;
    font-size: 0.95rem;
}

/* 服务器设置区域 */
.server-settings {
    margin-top: 20px;
    padding: 20px;
    background: #edf2f7;
    border-radius: 8px;
}

.server-settings summary {
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.server-settings input[type="text"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    margin-bottom: 10px;
}

.server-settings input[type="text"]:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* HUD（平视显示器）样式 */
#hud {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    z-index: 10;
    max-width: 200px;
}

#hud div {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 加载指示器 */
.loading-indicator {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    z-index: 20;
    backdrop-filter: blur(5px);
}

.loading-indicator.active {
    display: block;
}

.loading-indicator i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    animation: spin 2s linear infinite;
}

/* 点云统计 */
.point-stats {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    z-index: 10;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #visualizationContainer {
        height: 50vh; /* 在平板上减小高度 */
    }
    
    .control-panel {
        padding: 20px;
    }
    
    .btn-action {
        width: 100%;
        margin-right: 0;
        justify-content: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .status-badge {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #visualizationContainer {
        height: 40vh; /* 在手机上进一步减小高度 */
    }
    
    .control-panel {
        padding: 15px;
    }
    
    .server-settings {
        padding: 15px;
    }
}

/* ==================== 3D重建页面特殊效果 ==================== */

/* 渐变边框动画 */
@keyframes border-glow {
    0% { border-color: #4f46e5; box-shadow: 0 0 20px rgba(79, 70, 229, 0.5); }
    50% { border-color: #818cf8; box-shadow: 0 0 30px rgba(129, 140, 248, 0.8); }
    100% { border-color: #4f46e5; box-shadow: 0 0 20px rgba(79, 70, 229, 0.5); }
}

/* 当连接成功时添加发光效果 */
#visualizationContainer.connected {
    animation: border-glow 2s infinite;
}

/* 点云加载动画 */
@keyframes point-pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.point-loading {
    animation: point-pulse 1.5s infinite;
}

/* 相机轨迹线样式 */
.trajectory-line {
    stroke: #ef4444;
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.5));
}

/* 网格增强 */
.grid-enhanced {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}