/* Agent专属样式增强 */

/* 高级渐变背景 - 天蓝色主题 */
.agent-hero {
  background: linear-gradient(135deg, #0a1a2e 0%, #1e3a5f 35%, #2980b9 70%, #28c5e5 100%);
  position: relative;
  overflow: hidden;
}

.agent-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(40, 197, 229, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(30, 144, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* 增强的Agent思考动画 */
.agent-thinking-animation {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.agent-thinking-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #28c5e5, transparent);
  animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.thinking-step {
  background: linear-gradient(135deg, rgba(40, 197, 229, 0.1), rgba(52, 152, 219, 0.05));
  border: 1px solid rgba(40, 197, 229, 0.2);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 12px;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInRight 0.8s ease forwards;
}

.thinking-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #28c5e5, #3498db);
  border-radius: 0 2px 2px 0;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 工作流程步骤增强 */
.workflow-step {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.workflow-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 197, 229, 0.1), rgba(52, 152, 219, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.workflow-step:hover::before {
  opacity: 1;
}

.workflow-step:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(40, 197, 229, 0.6);
  box-shadow:
    0 20px 40px rgba(40, 197, 229, 0.15),
    0 12px 48px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(40, 197, 229, 0.2);
}

.workflow-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: white;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #28c5e5, #3498db);
  box-shadow:
    0 8px 20px rgba(40, 197, 229, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateZ(0);
  transition: all 0.3s ease;
}

.workflow-step:hover .workflow-step-icon {
  transform: translateY(-3px) scale(1.1);
  box-shadow:
    0 12px 25px rgba(40, 197, 229, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 增强的能力展示区域 */
.agent-capabilities {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(40, 197, 229, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.agent-capabilities::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(40, 197, 229, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(52, 152, 219, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.capability-tab {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 15px 30px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.capability-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(40, 197, 229, 0.1), transparent);
  transition: left 0.5s ease;
}

.capability-tab:hover::before {
  left: 100%;
}

.capability-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(40, 197, 229, 0.4);
  color: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.capability-tab.active {
  background: linear-gradient(135deg, #28c5e5, #3498db);
  border-color: transparent;
  color: rgba(255, 255, 255, 1);
  box-shadow:
    0 8px 25px rgba(40, 197, 229, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 实时演示终端增强 */
.demo-terminal {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border: 1px solid #333;
  border-radius: 15px;
  position: relative;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.demo-terminal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(135deg, #28c5e5, #3498db);
  border-radius: 15px 15px 0 0;
}

.demo-terminal::after {
  content: '● ● ●';
  position: absolute;
  top: 8px;
  left: 15px;
  color: white;
  font-size: 12px;
  letter-spacing: 8px;
}

/* 增强的用例卡片 */
.use-case-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 35px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 197, 229, 0.1), rgba(255, 107, 53, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.use-case-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #f49959, #ff6b35, #533a71);
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.use-case-card:hover::before {
  opacity: 1;
}

.use-case-card:hover::after {
  opacity: 0.6;
}

.use-case-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 25px 50px rgba(40, 197, 229, 0.15),
    0 0 0 1px rgba(40, 197, 229, 0.2);
}

/* 浮动元素增强 */
.floating-element {
  background: radial-gradient(circle, rgba(40, 197, 229, 0.2), rgba(255, 107, 53, 0.1), transparent);
  filter: blur(1px);
}

/* 响应式优化 */
@media (max-width: 768px) {
  .agent-workflow-visual {
    flex-direction: column;
    gap: 20px;
  }

  .workflow-arrow {
    display: none;
  }

  .capability-tabs {
    flex-direction: column;
    align-items: center;
  }

  .real-agent-cases {
    grid-template-columns: 1fr;
  }

  .agent-thinking-animation {
    height: 300px;
  }

  .thinking-process {
    gap: 10px;
  }

  .thinking-step {
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .workflow-step {
    padding: 20px 15px;
  }

  .workflow-step-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .demo-terminal {
    height: 300px;
    font-size: 12px;
  }
}

/* 高级动画效果 */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(40, 197, 229, 0.2);
  }

  50% {
    box-shadow: 0 0 20px rgba(40, 197, 229, 0.4);
  }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
  animation: glow 3s ease-in-out infinite;
}

/* 加载状态 */
.loading-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* 深色主题优化 */
.bg-gradient-primary {
  background: linear-gradient(135deg, #f49959, #ff6b35) !important;
}

.text-gradient {
  background: linear-gradient(135deg, #28c5e5, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 互动元素增强 */
.interactive-hover {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.interactive-hover:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* 工作流程可视化样式 */
.agent-workflow-visual {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px 0;
  position: relative;
}

.workflow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(40, 197, 229, 0.9);
  font-size: 28px;
  z-index: 3;
  text-shadow:
    0 0 15px rgba(40, 197, 229, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 0 8px rgba(40, 197, 229, 0.4));
}

.workflow-arrow.arrow-1 {
  left: 23%;
}

.workflow-arrow.arrow-2 {
  left: 48%;
}

.workflow-arrow.arrow-3 {
  left: 73%;
}

/* 实时演示区域样式 */
.live-demo-section {
  background: linear-gradient(135deg, #1e3a5f, #28c5e5);
  border-radius: 20px;
  padding: 50px 0;
  margin: 60px 0;
}

.demo-terminal {
  padding: 40px 20px 20px;
  color: #00ff00;
  height: 400px;
  overflow-y: auto;
}

.typing-text {
  border-right: 2px solid #00ff00;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50% {
    border-color: transparent;
  }

  51%,
  100% {
    border-color: #00ff00;
  }
}

/* 真实Agent案例展示网格 */
.real-agent-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

/* Agent案例卡片样式 */
.agent-case-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.agent-case-card.featured {
  border: 2px solid rgba(40, 197, 229, 0.3);
  background: linear-gradient(135deg, rgba(40, 197, 229, 0.1), rgba(255, 255, 255, 0.05));
  transform: scale(1.02);
}

.agent-case-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(40, 197, 229, 0.4);
  box-shadow: 0 20px 40px rgba(40, 197, 229, 0.15);
}

/* 案例状态和信息 */
.case-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  padding-bottom: 15px;
}

.case-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.case-status.completed {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.case-duration {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.case-model {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

/* 任务执行过程展示 */
.case-process {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(40, 197, 229, 0.08);
  border: 1px solid rgba(40, 197, 229, 0.2);
  border-radius: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.process-step.mini {
  padding: 4px 8px;
  font-size: 10px;
}

.step-icon {
  font-size: 14px;
}

/* 结果展示 */
.case-results {
  margin: 15px 0;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-item:last-child {
  border-bottom: none;
}

.result-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* 案例底部 */
.case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 案例标签样式 - 简化版本确保文字显示 */
.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.case-tags .badge {
  background: rgba(40, 197, 229, 0.15) !important;
  color: #28c5e5 !important;
  border: 1px solid rgba(40, 197, 229, 0.3) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 6px 14px !important;
  border-radius: 15px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  display: inline-block !important;
  text-decoration: none !important;
  font-family: inherit !important;
}

/* 调试标签显示问题 - 临时强制样式 */
.agent-case-card .case-tags .badge {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: white !important;
  background: #3b82f6 !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 15px !important;
  display: inline-block !important;
  margin: 2px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  white-space: nowrap !important;
  vertical-align: baseline !important;
}

/* 覆盖可能的Bootstrap样式 */
.agent-case-card .case-tags .badge:empty {
  display: none !important;
}

/* 增强的Agent网络可视化 */
.agent-network-enhanced {
  position: relative;
  min-height: 320px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.network-specialists {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.animated-node {
  position: relative;
  animation: nodeFloat 3s ease-in-out infinite;
}

@keyframes nodeFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.agent-node {
  background: rgba(40, 197, 229, 0.2);
  border: 2px solid rgba(40, 197, 229, 0.4);
  border-radius: 20px;
  padding: 15px;
  color: white;
  font-size: 12px;
  text-align: center;
  min-width: 140px;
  position: relative;
  transition: all 0.3s ease;
}

.agent-node.manager {
  background: rgba(40, 197, 229, 0.3);
  border-color: rgba(40, 197, 229, 0.6);
  font-weight: bold;
  min-width: 160px;
}

.node-avatar {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.node-status {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 5px;
  padding: 2px 8px;
  background: rgba(40, 197, 229, 0.3);
  border-radius: 10px;
  display: inline-block;
}

.node-pulse {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(40, 197, 229, 0.6), transparent);
  top: 50%;
  transform: translateY(-50%);
  animation: dataFlow 3s ease-in-out infinite;
}

@keyframes dataFlow {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

.research-node .connection-line {
  width: 120px;
  left: 100%;
  transform-origin: left center;
  transform: translateY(-50%) rotate(-30deg);
}

.data-node .connection-line {
  width: 120px;
  left: 100%;
  transform-origin: left center;
  transform: translateY(-50%) rotate(-10deg);
}

.ppt-node .connection-line {
  width: 120px;
  right: 100%;
  transform-origin: right center;
  transform: translateY(-50%) rotate(10deg);
}

.report-node .connection-line {
  width: 120px;
  right: 100%;
  transform-origin: right center;
  transform: translateY(-50%) rotate(30deg);
}

/* 任务统计 */
.task-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
  font-size: 28px;
  font-weight: bold;
  color: #28c5e5;
  display: block;
  animation: countUp 2s ease-out;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 工作流展示增强 */
.workflow-showcase {
  margin: 30px 0;
}

.workflow-category {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.workflow-category.active {
  display: block;
}

.category-title {
  color: #28c5e5;
  margin-bottom: 20px;
  font-weight: bold;
  padding: 10px 0;
  border-bottom: 2px solid rgba(40, 197, 229, 0.2);
}

.workflow-items {
  display: grid;
  gap: 15px;
}

.workflow-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.workflow-item:hover {
  background: rgba(40, 197, 229, 0.15);
  border-color: rgba(40, 197, 229, 0.3);
  transform: translateX(5px);
}

.workflow-item i {
  font-size: 18px;
  color: #28c5e5;
  width: 24px;
  text-align: center;
}

.workflow-item span {
  flex: 1;
}

.usage-indicator {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.usage-bar {
  height: 100%;
  background: linear-gradient(90deg, #28c5e5, #22c55e);
  border-radius: 2px;
  transition: width 1s ease;
}

/* 工作流标签页 */
.workflow-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 25px 0;
}

.workflow-tab {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.workflow-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.workflow-tab.active {
  background: linear-gradient(135deg, #28c5e5, #3498db);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(40, 197, 229, 0.3);
}

/* 实时调用日志 */
.workflow-logs {
  margin-top: 25px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.log-header {
  background: rgba(40, 197, 229, 0.2);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.log-title {
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.log-status.active {
  color: #22c55e;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0.3;
  }
}

.log-entries {
  max-height: 120px;
  overflow-y: auto;
}

.log-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  animation: slideInRight 0.5s ease;
}

.log-entry:last-child {
  border-bottom: none;
}

.log-time {
  color: rgba(255, 255, 255, 0.6);
  width: 60px;
}

.log-workflow {
  flex: 1;
  margin: 0 15px;
}

.log-entry .log-status.success {
  color: #22c55e;
  font-weight: 600;
}

.log-entry .log-status.running {
  color: #f59e0b;
  font-weight: 600;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 响应式优化 */
@media (max-width: 768px) {
  .agent-network-enhanced {
    min-height: 280px;
  }

  .network-specialists {
    height: 280px;
    flex-wrap: wrap;
    align-content: space-around;
  }

  .agent-node {
    min-width: 100px;
    padding: 10px;
    font-size: 10px;
  }

  .connection-line {
    display: none;
  }

  .task-stats {
    flex-direction: column;
    gap: 15px;
  }

  .workflow-tabs {
    flex-direction: column;
    align-items: center;
  }

  .workflow-tab {
    width: 120px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 24px;
  }

  .workflow-item {
    padding: 12px;
    font-size: 12px;
  }

  .log-entry {
    padding: 8px 15px;
    font-size: 10px;
  }
}

/* 为什么选择向量脉络Agent模块 - 紧凑版 */
.why-choose-agent {
  background: linear-gradient(135deg, #0a1a2e 0%, #1e3a5f 35%, #2c5f84 70%, #28c5e5 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.why-choose-agent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(40, 197, 229, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.live-agent-demo {
  padding: 80px 0;
}

/* 修复演示区域高度问题 */
.demo-scenario {
  height: 100%;
}

/* 右侧能力展示区域固定高度 */
.live-agent-demo .col-lg-6:last-child {
  height: 450px;
}

.live-agent-demo .d-flex.flex-column {
  height: 100%;
  justify-content: space-between;
}

/* 核心特色展示区域 */
.key-features-showcase {
  animation: fadeInUp 1s ease-in-out 0.5s both;
}

.key-features-showcase h5 {
  margin-bottom: 1rem !important;
  font-size: 1.1rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.advantage-card-compact {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 30px 25px;
  height: 100%;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.advantage-card-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 197, 229, 0.05), rgba(255, 255, 255, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.advantage-card-compact:hover::before {
  opacity: 1;
}

.advantage-card-compact:hover {
  transform: translateY(-8px);
  border-color: rgba(40, 197, 229, 0.3);
  box-shadow: 0 20px 40px rgba(40, 197, 229, 0.15);
}

.advantage-card-compact .advantage-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.advantage-card-compact .advantage-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.advantage-card-compact:hover .advantage-icon::before {
  transform: translateX(100%);
}

/* 迷你演示区域 */
.mini-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.step-num {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #28c5e5, #3498db);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.step-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.demo-arrow {
  color: #28c5e5;
  font-size: 14px;
  opacity: 0.7;
  margin: 0 5px;
}

/* 工具预览标签 */
.tools-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tool-tag {
  background: rgba(40, 197, 229, 0.15);
  color: #28c5e5;
  border: 1px solid rgba(40, 197, 229, 0.3);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
}

/* 配置预览 */
.config-preview {
  margin: 20px 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.config-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.config-item:last-child {
  border-bottom: none;
}

.config-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.config-value {
  font-size: 11px;
  color: #28c5e5;
  font-weight: 600;
}

/* 多Agent预览 */
.multi-agent-preview {
  margin: 20px 0;
  padding: 20px 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(40, 197, 229, 0.1);
  border: 1px solid rgba(40, 197, 229, 0.2);
  border-radius: 20px;
  margin-bottom: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.agent-node.manager {
  background: rgba(40, 197, 229, 0.2);
  border-color: rgba(40, 197, 229, 0.4);
  margin-bottom: 15px;
  justify-content: center;
}

.collaboration-lines {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
}

.agent-emoji {
  font-size: 14px;
}

.agent-name {
  font-size: 10px;
  font-weight: 500;
}

/* 案例示例 */
.case-example {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 15px;
}

.case-stat i {
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .advantage-card-compact {
    padding: 25px 20px;
  }

  .mini-demo {
    flex-direction: column;
    gap: 10px;
  }

  .demo-arrow {
    transform: rotate(90deg);
  }

  .collaboration-lines {
    grid-template-columns: 1fr;
  }
}

/* 增强的多Agent演示终端 */
.demo-terminal-enhanced {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border: 1px solid #333;
  border-radius: 15px;
  overflow: hidden;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  /* 固定高度防止布局变化 */
  height: 450px;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  background: linear-gradient(135deg, #28c5e5, #3498db);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-title {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 12px;
}

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

.terminal-content {
  padding: 20px;
  flex: 1; /* 使用剩余空间 */
  overflow-y: auto;
  background: #1a1a1a;
  /* 优化滚动条样式 */
  scrollbar-width: thin;
  scrollbar-color: #28c5e5 #2d2d2d;
  /* 平滑滚动 */
  scroll-behavior: smooth;
}

/* Webkit 浏览器滚动条样式 */
.terminal-content::-webkit-scrollbar {
  width: 8px;
}

.terminal-content::-webkit-scrollbar-track {
  background: #2d2d2d;
  border-radius: 4px;
}

.terminal-content::-webkit-scrollbar-thumb {
  background: #28c5e5;
  border-radius: 4px;
}

.terminal-content::-webkit-scrollbar-thumb:hover {
  background: #3498db;
}

.agent-message {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(10px);
  animation: messageSlideIn 0.5s ease forwards;
}

/* 优化消息动画，降低视觉冲击 */
.agent-message.entering {
  animation: messageSlideInSmooth 0.3s ease forwards;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes messageSlideInSmooth {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.agent-avatar {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(40, 197, 229, 0.2);
  flex-shrink: 0;
}

.message-content {
  flex: 1;
  color: #e0e0e0;
  line-height: 1.4;
}

.message-content strong {
  color: #28c5e5;
}

.workflow-call {
  background: rgba(40, 197, 229, 0.1);
  border: 1px solid rgba(40, 197, 229, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
  margin: 8px 0;
  font-size: 11px;
  color: #28c5e5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timestamp {
  font-size: 10px;
  color: #888;
  margin-top: 4px;
}

/* 实时能力展示 */
.agent-capabilities-live {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(15px);
}

.capability-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.capability-item.active {
  background: rgba(40, 197, 229, 0.1);
  border-color: rgba(40, 197, 229, 0.2);
}

.capability-item.pending {
  opacity: 0.6;
}

.capability-icon-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #28c5e5, #3498db);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.capability-details {
  flex: 1;
}

.progress-bar-custom {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #28c5e5, #3498db);
  border-radius: 2px;
  transition: width 1s ease;
}

.stats-summary {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* 更多案例卡片 */
.agent-case-card.more-cases {
  border: 2px dashed rgba(40, 197, 229, 0.3);
  background: linear-gradient(135deg, rgba(40, 197, 229, 0.05), rgba(255, 255, 255, 0.02));
  text-align: center;
}

.agent-case-card.more-cases:hover {
  border-color: rgba(40, 197, 229, 0.6);
  background: linear-gradient(135deg, rgba(40, 197, 229, 0.1), rgba(255, 255, 255, 0.05));
}

/* 浮动元素 */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 60%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) rotate(90deg);
  }

  50% {
    transform: translateY(-40px) rotate(180deg);
  }

  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

/* 能力展示标签页 */
.capability-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.capability-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.capability-content.active {
  display: block;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 粒子效果 */
.particle-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(40, 197, 229, 0.6);
  border-radius: 50%;
  animation: particle-float 20s linear infinite;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* 重新组织的导航栏布局 */
.header.header-2 {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1), 
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  margin-top: 0;
}

.navbar {
  padding: 0.75rem 0;
}

/* 注册优惠横幅放在导航栏下方 */
.header-top {
  padding: 12px 0 !important; /* 覆盖原来的pt-6 */
  position: relative !important;
  z-index: 9;
  width: 100% !important;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.03));
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.header-top .d-flex.gap-3 {
  justify-content: center;
  align-items: center;
  min-height: 36px;
}

.header-top .secondary-fixed {
  background: linear-gradient(135deg, #ff6b35, #f49959);
  color: white;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
}

.header-top .secondary-fixed:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 5px 18px rgba(255, 107, 53, 0.4);
  color: white;
}

.header-top span {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

/* 确保导航项有足够间距 */
.navbar-nav {
  gap: 2rem;
}

.navbar-nav .nav-item .nav-link {
  padding: 0.5rem 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-item .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.navbar-nav .nav-item .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-item .nav-link:hover::before {
  left: 100%;
}

/* 右侧按钮区域优化 */
.d-flex.align-items-center.gap-4.ps-6 {
  gap: 1.5rem !important;
  padding-left: 2rem !important;
}

/* 登录链接美化 */
.header .clr-white.fs-14.lh-1.fw-medium.link {
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500 !important;
}

.header .clr-white.fs-14.lh-1.fw-medium.link:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* 注册按钮增强 */
.gradient-btn-1 {
  background: linear-gradient(135deg, #28c5e5, #3498db) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(40, 197, 229, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gradient-btn-1:hover {
  background: linear-gradient(135deg, #3498db, #28c5e5) !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(40, 197, 229, 0.4);
}

/* 响应式优化 */
@media (max-width: 1199px) {
  .navbar-nav {
    gap: 1.5rem;
  }
  
  .d-flex.align-items-center.gap-4.ps-6 {
    gap: 1rem !important;
    padding-left: 1rem !important;
  }
}

@media (max-width: 991px) {
  .header-top {
    display: none; /* 在移动端隐藏顶部横幅以节省空间 */
  }
  
  .navbar {
    padding: 0.75rem 0;
  }
}