/* Traleos 自定义样式 */

/* 导航栏 Logo 样式优化 */
.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 45px; /* 设置固定高度 */
    width: auto; /* 保持宽高比 */
    max-width: 200px; /* 最大宽度限制 */
    object-fit: contain; /* 保持比例缩放 */
    transition: all 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-logo img {
        height: 40px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .header-logo img {
        height: 35px;
        max-width: 160px;
    }
}

@media (max-width: 576px) {
    .header-logo img {
        height: 32px;
        max-width: 140px;
    }
}

/* 粘性导航栏中的 Logo */
.stricked-menu .header-logo img {
    height: 40px; /* 粘性导航稍小一些 */
}

/* Logo 悬停效果 */
.header-logo:hover img {
    transform: scale(1.05);
}

/* 移动端菜单中的 Logo */
.xb-logo-mobile img {
    height: 32px !important;
    width: auto;
    max-width: 140px;
}

/* 确保 Logo 在不同背景下都清晰可见 */
.header-logo img {
    filter: brightness(1.1);
}

/* 深色主题下的 Logo 优化 */
.header-area .header-logo img {
    filter: brightness(1.2) contrast(1.1);
}

/* 3D团队成员头像优化 */
.xb-team .xb-item--img {
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    position: relative;
}

.xb-team .xb-item--img::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #4CAF50, #E91E63, #FF5722);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.xb-team .xb-item--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.xb-team:hover .xb-item--img {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.3);
}

.xb-team:hover .xb-item--img img {
    transform: scale(1.05);
}

/* 团队成员信息样式优化 */
.xb-team .xb-item--title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 5px;
    text-transform: none;
}

.xb-team .xb-item--sub-title {
    color: #b0b0b0;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 团队成员简介样式 */
.xb-team .xb-item--description {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
    padding: 0 10px;
    font-weight: 400;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .xb-team .xb-item--title {
        font-size: 18px;
    }
    
    .xb-team .xb-item--sub-title {
        font-size: 13px;
    }
    
    .xb-team .xb-item--description {
        font-size: 13px;
        padding: 0 5px;
    }
    
    .xb-team .xb-item--img {
        width: 150px;
        height: 150px;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .xb-team .xb-item--img {
        width: 120px;
        height: 120px;
    }
}

/* 团队区域整体优化 */
.team {
    background: linear-gradient(135deg, rgba(8, 11, 24, 0.9), rgba(26, 35, 58, 0.9));
}

.team .row {
    gap: 20px 0;
}

/* 核心功能卡片样式 */
.xb-feature-card {
    background: linear-gradient(145deg, #1a1d29, #252837);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #2a2d3a;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.xb-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.xb-feature-card .xb-item--icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.xb-feature-card:hover .xb-item--icon {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

.xb-feature-card .xb-item--title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.xb-feature-card .xb-item--content {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.xb-feature-card .xb-item--features {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(145deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 响应式优化 */
@media (max-width: 992px) {
    .xb-feature-card {
        padding: 25px 15px;
    }
    
    .xb-feature-card .xb-item--title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .xb-feature-card {
        padding: 20px 15px;
    }
    
    .xb-feature-card .xb-item--title {
        font-size: 18px;
    }
    
    .xb-feature-card .xb-item--content {
        font-size: 13px;
    }
}

/* 英雄部分优化样式 */
.hero-subtitle p {
    font-size: 18px;
    color: #b0b0b0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero-product {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

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

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.stat-item h4 {
    font-size: 36px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-item span {
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* 响应式优化 */
@media (max-width: 992px) {
    .hero-subtitle p {
        font-size: 16px;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-item h4 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero-subtitle p {
        font-size: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-item h4 {
        font-size: 24px;
    }
    
    .stat-item span {
        font-size: 12px;
    }
}