/* AI智能效果样式 */

/* AI助手悬浮球 */
.ai-assistant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0076d1, #317E44);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 118, 209, 0.3);
    transition: all 0.3s ease;
    animation: aiFloat 3s ease-in-out infinite;
}

.ai-assistant:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 118, 209, 0.5);
}

.ai-assistant:hover .ai-tooltip {
    opacity: 1;
    visibility: visible;
}

.ai-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-brain {
    width: 30px;
    height: 30px;
    position: relative;
}

.brain-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: brainWave 2s ease-in-out infinite;
}

.brain-wave:nth-child(2) {
    animation-delay: 0.5s;
}

.brain-wave:nth-child(3) {
    animation-delay: 1s;
}

.ai-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ai-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
}

/* AI对话窗口 */
.ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 118, 209, 0.2);
}

.chat-header {
    background: linear-gradient(135deg, #0076d1, #317E44);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0076d1, #317E44);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.message-content {
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 250px;
    position: relative;
    animation: messageSlideIn 0.3s ease-out;
}

.ai-message .message-content {
    background: linear-gradient(135deg, rgba(0, 118, 209, 0.1), rgba(49, 126, 68, 0.1));
    border: 1px solid rgba(0, 118, 209, 0.2);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: #0076d1;
    color: white;
}

.typing-indicator {
    display: flex;
    gap: 3px;
    margin-bottom: 5px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #0076d1;
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 10px;
}

#chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(0, 118, 209, 0.3);
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}

#chat-input:focus {
    border-color: #0076d1;
    box-shadow: 0 0 0 2px rgba(0, 118, 209, 0.2);
}

#chat-send {
    background: linear-gradient(135deg, #0076d1, #317E44);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

#chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(0, 118, 209, 0.3);
}



/* 移除所有研发方向AI效果，保持简洁 */

/* 移除神经网络相关样式 */

/* 移除传感器网络相关样式 */

/* 移除决策树相关样式 */

/* 移除AI大脑相关样式 */

/* AI产品增强效果 */
.ai-product {
    position: relative;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.ai-product:hover {
    border-left-color: #0076d1;
    background: linear-gradient(90deg, rgba(0, 118, 209, 0.05), transparent);
}



.ai-capabilities {
    display: flex;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 35px;
    flex-wrap: wrap;
    padding: 0 10px;
    flex-shrink: 0;
}

.capability {
    background: rgba(0, 118, 209, 0.1);
    color: #0076d1;
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(0, 118, 209, 0.2);
    animation: capabilityGlow 3s ease-in-out infinite;
    white-space: nowrap;
}

/* LLM可视化 */
.llm-visualization {
    position: absolute;
    bottom: 8px;
    right: 15px;
    width: 60px;
    height: 20px;
}

.token-flow {
    display: flex;
    gap: 3px;
    align-items: center;
}

.token {
    width: 8px;
    height: 8px;
    background: #FF6B6B;
    border-radius: 2px;
    animation: tokenFlow 2s ease-in-out infinite;
}

.token:nth-child(2) {
    animation-delay: 0.3s;
}

.token:nth-child(3) {
    animation-delay: 0.6s;
}

/* PLM可视化 */
.plm-visualization {
    position: absolute;
    bottom: 8px;
    right: 15px;
    width: 50px;
    height: 15px;
}

.process-flow {
    display: flex;
    align-items: center;
    gap: 5px;
}

.process-step {
    width: 10px;
    height: 10px;
    background: rgba(168, 230, 207, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.process-step.active {
    background: #A8E6CF;
    animation: processStepActive 2s ease-in-out infinite;
}

.flow-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid #A8E6CF;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    animation: arrowFlow 2s ease-in-out infinite;
}

/* 供应链可视化 */
.supply-chain-visualization {
    position: absolute;
    bottom: 8px;
    right: 15px;
    width: 60px;
    height: 20px;
}

.chain-flow {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chain-node {
    width: 8px;
    height: 8px;
    background: #4ECDC4;
    border-radius: 2px;
    animation: chainNodePulse 2s ease-in-out infinite;
}

.chain-node:nth-child(1) {
    animation-delay: 0s;
}

.chain-node:nth-child(2) {
    animation-delay: 0.5s;
}

.chain-node:nth-child(3) {
    animation-delay: 1s;
}

.chain-connection {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4ECDC4, transparent);
    transform: translateY(-50%);
    animation: chainConnectionFlow 2s ease-in-out infinite;
}

/* SaaS平台可视化 */
.saas-visualization {
    position: absolute;
    bottom: 8px;
    right: 15px;
    width: 50px;
    height: 20px;
}

.saas-dashboard {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.dashboard-item {
    width: 6px;
    height: 12px;
    background: #0076d1;
    border-radius: 1px;
    animation: dashboardPulse 2s ease-in-out infinite;
}

.dashboard-item:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.dashboard-item:nth-child(2) {
    height: 15px;
    animation-delay: 0.3s;
}

.dashboard-item:nth-child(3) {
    height: 10px;
    animation-delay: 0.6s;
}

.dashboard-connection {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 118, 209, 0.3), transparent);
    transform: translateY(-50%);
    animation: dashboardFlow 3s ease-in-out infinite;
}

/* 动画关键帧 */
@keyframes aiFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes brainWave {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}



@keyframes aiGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 移除所有研发方向相关的动画关键帧 */



@keyframes capabilityGlow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(0, 118, 209, 0);
    }
    50% {
        box-shadow: 0 0 5px rgba(0, 118, 209, 0.3);
    }
}

@keyframes tokenFlow {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(5px) scale(1.1);
        opacity: 1;
    }
}

@keyframes processStepActive {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(168, 230, 207, 0);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 10px rgba(168, 230, 207, 0.8);
    }
}

@keyframes arrowFlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
        transform: translateX(2px);
    }
}

@keyframes chainNodePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(78, 205, 196, 0);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 8px rgba(78, 205, 196, 0.8);
    }
}

@keyframes chainConnectionFlow {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

@keyframes dashboardPulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1.3);
        opacity: 1;
        box-shadow: 0 0 8px rgba(0, 118, 209, 0.6);
    }
}

@keyframes dashboardFlow {
    0% {
        background-position: -100% 0;
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        background-position: 100% 0;
        opacity: 0.3;
    }
}

/* AI研发内容增强效果 */
.ai-research-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 研发方向卡片保持简洁，无悬浮动画效果 */

.ai-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ai-research-item:hover .ai-overlay {
    opacity: 1;
}

.ai-tech-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #0076d1, #317E44);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    animation: techBadgeGlow 2s ease-in-out infinite;
}

/* 数据粒子效果 */
.data-particles {
    position: relative;
    width: 100%;
    height: 100%;
}

.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #0076d1;
    border-radius: 50%;
    animation: dataParticleFloat 2s ease-in-out infinite;
}

.data-particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.data-particle:nth-child(2) {
    top: 60%;
    left: 70%;
    animation-delay: 0.5s;
}

.data-particle:nth-child(3) {
    top: 40%;
    left: 50%;
    animation-delay: 1s;
}

/* IoT网络效果 */
.iot-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.iot-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #317E44;
    border-radius: 50%;
    animation: iotNodePulse 1.5s ease-in-out infinite;
}

.iot-node:nth-child(1) {
    top: 30%;
    left: 30%;
}

.iot-node:nth-child(2) {
    top: 70%;
    left: 60%;
    animation-delay: 0.5s;
}

.iot-node:nth-child(3) {
    top: 50%;
    left: 80%;
    animation-delay: 1s;
}

.iot-connection {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #317E44, transparent);
    animation: iotConnectionFlow 2s ease-in-out infinite;
}

/* 智能装备效果 */
.smart-equipment {
    position: relative;
    width: 100%;
    height: 100%;
}

.equipment-sensor {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 8px;
    height: 8px;
    background: #FF6B6B;
    border-radius: 50%;
    animation: equipmentSensorBlink 1s ease-in-out infinite;
}

.equipment-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #0076d1;
    border-radius: 2px;
    animation: equipmentBrainThink 2s ease-in-out infinite;
}

.equipment-signal {
    position: absolute;
    top: 70%;
    right: 20%;
    width: 6px;
    height: 6px;
    background: #4ECDC4;
    border-radius: 50%;
    animation: equipmentSignalPulse 1.5s ease-in-out infinite;
}

/* 算法可视化效果 */
.algorithm-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.algo-flow {
    position: absolute;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0076d1, transparent);
    animation: algoFlowMove 2s ease-in-out infinite;
}

.algo-flow:nth-child(1) {
    top: 30%;
    left: 10%;
    animation-delay: 0s;
}

.algo-flow:nth-child(2) {
    top: 50%;
    left: 10%;
    animation-delay: 0.5s;
}

.algo-flow:nth-child(3) {
    top: 70%;
    left: 10%;
    animation-delay: 1s;
}

.algo-result {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #317E44;
    border-radius: 2px;
    animation: algoResultGlow 2s ease-in-out infinite;
}

/* 研发内容动画关键帧 */
@keyframes techBadgeGlow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(0, 118, 209, 0);
    }
    50% {
        box-shadow: 0 0 10px rgba(0, 118, 209, 0.5);
    }
}

@keyframes dataParticleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

@keyframes iotNodePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(49, 126, 68, 0);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(49, 126, 68, 0.6);
    }
}

@keyframes iotConnectionFlow {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

@keyframes equipmentSensorBlink {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(255, 107, 107, 0.8);
    }
}

@keyframes equipmentBrainThink {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 15px rgba(0, 118, 209, 0.8);
    }
}

@keyframes equipmentSignalPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(78, 205, 196, 0.8);
    }
}

@keyframes algoFlowMove {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(30px);
        opacity: 0;
    }
}

@keyframes algoResultGlow {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 rgba(49, 126, 68, 0);
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        box-shadow: 0 0 12px rgba(49, 126, 68, 0.8);
    }
}

/* AI智能背景层 */
.ai-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 118, 209, 0.1), rgba(49, 126, 68, 0.1));
    z-index: 2;
    pointer-events: none;
}

.ai-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 118, 209, 0.5), transparent);
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.horizontal:nth-child(1) {
    top: 25%;
    animation-delay: 0s;
}

.grid-line.horizontal:nth-child(2) {
    top: 50%;
    animation-delay: 1s;
}

.grid-line.horizontal:nth-child(3) {
    top: 75%;
    animation-delay: 2s;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, transparent, rgba(0, 118, 209, 0.5), transparent);
}

.grid-line.vertical:nth-child(4) {
    left: 20%;
    animation-delay: 0.5s;
}

.grid-line.vertical:nth-child(5) {
    left: 50%;
    animation-delay: 1.5s;
}

.grid-line.vertical:nth-child(6) {
    left: 80%;
    animation-delay: 2.5s;
}

.ai-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ai-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #0076d1, rgba(0, 118, 209, 0.3));
    border-radius: 50%;
    animation: nodeGlow 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 118, 209, 0.5);
}

.ai-node:nth-child(1) {
    animation-delay: 0s;
}

.ai-node:nth-child(2) {
    animation-delay: 0.5s;
}

.ai-node:nth-child(3) {
    animation-delay: 1s;
}

.ai-node:nth-child(4) {
    animation-delay: 1.5s;
}

.ai-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ai-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0076d1, transparent);
    animation: connectionPulse 4s ease-in-out infinite;
    opacity: 0.6;
}

.ai-connection:nth-child(1) {
    animation-delay: 0s;
}

.ai-connection:nth-child(2) {
    animation-delay: 1s;
}

.ai-connection:nth-child(3) {
    animation-delay: 2s;
}



/* AI背景动画关键帧 */
@keyframes gridPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes nodeGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 118, 209, 0.5);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(0, 118, 209, 0.8);
    }
}

@keyframes connectionPulse {
    0% {
        background-position: -100% 0;
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        background-position: 100% 0;
        opacity: 0.3;
    }
}



/* 响应式设计 */
@media (max-width: 768px) {
    .ai-title {
        font-size: 2rem;
    }

    .ai-subtitle {
        font-size: 1rem;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .ai-node {
        width: 8px;
        height: 8px;
    }

    .ai-connection {
        height: 1px;
    }
}






