/* ==================== 智能体开发页面样式 ==================== */

/* Hero区域：左右分栏布局 */
.agent-hero-section {
  background: linear-gradient(180deg, #000000 0%, #0a1a2e 50%, #000000 100%);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.agent-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(100, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: 0;
}

.agent-hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.agent-hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.agent-hero-title {
  margin: 0;
  position: relative;
}

.agent-title-text {
  font-size: 48px;
  font-weight: 700;
  color: #64c8ff;
  display: block;
  line-height: 1.2;
  margin-bottom: 12px;
}

.agent-title-underline {
  display: block;
  width: 80px;
  height: 4px;
  background: #64c8ff;
  border-radius: 2px;
}

.agent-hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.agent-hero-description p {
  margin: 0;
}

.agent-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.agent-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #64c8ff;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.agent-hero-btn-primary:hover {
  background: #236be4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(100, 200, 255, 0.3);
}

.agent-btn-icon {
  width: 20px;
  height: 20px;
}

.agent-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.agent-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.agent-btn-arrow {
  width: 20px;
  height: 20px;
}

.agent-hero-right {
  position: relative;
}

.agent-hero-visual {
  position: relative;
  width: 100%;
  height: 600px;
}

.agent-interface-mock {
  width: 100%;
  height: 100%;
  background: rgba(26, 35, 50, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(100, 200, 255, 0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.3s ease;
}

.agent-interface-mock:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.agent-interface-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-interface-logo {
  width: 32px;
  height: 32px;
  color: #64c8ff;
}

.agent-interface-nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.agent-nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.agent-nav-link:hover {
  color: #64c8ff;
}

.agent-interface-btn {
  padding: 8px 16px;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.agent-interface-btn:hover {
  background: #059669;
}

.agent-brain-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  min-height: 300px;
}

.agent-brain-diagram {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(100, 200, 255, 0.3) 0%, rgba(35, 107, 228, 0.1) 100%);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 40px rgba(100, 200, 255, 0.5);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 40px rgba(100, 200, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 60px rgba(100, 200, 255, 0.8);
  }
}

.agent-brain-connections {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.agent-interface-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-interface-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.agent-interface-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.agent-interface-keywords {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.agent-interface-keywords .divider {
  color: rgba(255, 255, 255, 0.3);
}

/* 技术优势部分 */
.agent-features-section {
  padding: 100px 0;
  background: #0a1a2e;
  position: relative;
}

.agent-features-header {
  text-align: center;
  margin-bottom: 60px;
}

.agent-features-title {
  font-size: 42px;
  font-weight: 700;
  color: #64c8ff;
  margin-bottom: 12px;
}

.agent-features-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.agent-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.agent-feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid rgba(100, 200, 255, 0.2);
  transition: all 0.3s ease;
}

.agent-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(100, 200, 255, 0.2);
  border-color: #64c8ff;
  background: rgba(255, 255, 255, 0.08);
}

.agent-feature-icon {
  width: 56px;
  height: 56px;
  color: #64c8ff;
  margin-bottom: 24px;
}

.agent-feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.agent-feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.agent-feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* 应用场景部分 */
.agent-scenarios-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0a1a2e 0%, #000000 100%);
  position: relative;
}

.agent-scenarios-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(100, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: 0;
}

.agent-scenarios-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.agent-scenarios-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.agent-scenarios-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.agent-scenarios-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.scenario-panels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.scenario-panel {
  border: 1px solid rgba(100, 200, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.scenario-panel[open] {
  border-color: #64c8ff;
  box-shadow: 0 12px 30px rgba(100, 200, 255, 0.2);
}

.scenario-panel summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 500;
  color: #ffffff;
  transition: all 0.3s ease;
}

.scenario-panel summary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.scenario-panel[open] summary {
  border-bottom: 1px solid rgba(100, 200, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.scenario-panel summary::-webkit-details-marker {
  display: none;
}

.scenario-icon.icon-circle {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(100, 200, 255, 0.3);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  background: rgba(100, 200, 255, 0.05);
}

.scenario-title {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
}

.scenario-body {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.scenario-body p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 16px 0;
  line-height: 1.8;
}

.scenario-value {
  margin: 0 0 20px 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 16px;
}

.scenario-subtitle {
  font-weight: 600;
  color: #64c8ff;
  margin: 20px 0 12px 0;
  font-size: 16px;
}

.scenario-list {
  margin: 0 0 16px 20px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  padding: 0;
}

.scenario-list li {
  margin-bottom: 8px;
}

.scenario-case {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(100, 200, 255, 0.1);
  border-radius: 10px;
  padding: 16px 20px;
  border: 1px dashed rgba(100, 200, 255, 0.3);
  line-height: 1.8;
}

.agent-scenario-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.agent-scenario-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #64c8ff;
  transform: translateX(8px);
}

.agent-scenario-abbr {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(100, 200, 255, 0.3);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  background: rgba(100, 200, 255, 0.05);
}

.agent-scenario-content {
  flex: 1;
}

.agent-scenario-title {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

/* 智能体开发流程部分 */
.agent-process-section {
  padding: 100px 0;
  background: #0a1a2e;
  position: relative;
}

.agent-process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(100, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: 0;
}

.agent-process-header {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
  text-align: left;
}

.agent-process-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  text-align: left;
}

.agent-process-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-align: left;
}

.agent-process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.agent-process-step {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid rgba(100, 200, 255, 0.2);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.agent-process-step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #64c8ff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(100, 200, 255, 0.2);
}

/* 第一行：步骤1、2、3 */
.agent-process-step:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.agent-process-step:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.agent-process-step:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

/* 第二行：步骤4、5、6 */
.agent-process-step:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.agent-process-step:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

.agent-process-step:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}

/* 最后一步没有箭头 */
.agent-process-step:last-child .agent-process-arrow {
  display: none;
}

.agent-process-number {
  width: 48px;
  height: 48px;
  background: #64c8ff;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  min-width: 48px;
}

.agent-process-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agent-process-step-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.agent-process-step-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.agent-process-arrow {
  width: 24px;
  height: 24px;
  color: #64c8ff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-process-arrow svg {
  width: 100%;
  height: 100%;
}

/* 步骤3的箭头向下，指向步骤4 */
.agent-process-step:nth-child(3) .agent-process-arrow svg {
  transform: rotate(90deg);
}


/* CTA区域 */
.agent-cta-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #000000 0%, #0a1a2e 100%);
  text-align: center;
  position: relative;
}

.agent-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(100, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: 0;
}

.agent-cta-section .container {
  position: relative;
  z-index: 1;
}

.agent-cta-title {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #64c8ff 0%, #236be4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.agent-cta-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 40px;
}

.agent-cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.agent-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #64c8ff 0%, #236be4 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.agent-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(100, 200, 255, 0.4);
}

.agent-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.agent-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.agent-cta-icon {
  width: 20px;
  height: 20px;
}

.agent-cta-stats {
  margin-top: 40px;
}

.agent-cta-stats-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.agent-cta-features {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.agent-cta-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #ffffff;
}

.agent-cta-check {
  width: 20px;
  height: 20px;
  color: #64c8ff;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .agent-hero-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .agent-hero-visual {
    height: 500px;
  }

  .agent-features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .agent-hero-section {
    padding: 20px 0 80px;
    margin-top: 0;
  }

  .agent-hero-wrapper {
    margin-top: 0;
  }

  .agent-title-text {
    font-size: 36px;
  }

  .agent-hero-description {
    font-size: 15px;
  }

  .agent-hero-actions {
    flex-direction: column;
  }

  .agent-hero-btn-primary,
  .agent-hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .agent-hero-visual {
    height: 400px;
  }

  /* 移动端隐藏右侧区域 */
  .agent-hero-right {
    display: none;
  }

  /* 移动端横向滚动特性网格 */
  .agent-features-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .agent-features-grid::-webkit-scrollbar {
    height: 4px;
  }

  .agent-features-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
  }

  .agent-features-grid::-webkit-scrollbar-thumb {
    background: rgba(100, 200, 255, 0.3);
    border-radius: 2px;
  }

  .agent-features-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 200, 255, 0.5);
  }

  .agent-feature-card {
    flex: 0 0 250px;
    width: 250px;
    min-width: 250px;
    scroll-snap-align: start;
  }

  /* 移动端横向滚动流程步骤 */
  .agent-process-flow {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .agent-process-flow::-webkit-scrollbar {
    height: 4px;
  }

  .agent-process-flow::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
  }

  .agent-process-flow::-webkit-scrollbar-thumb {
    background: rgba(100, 200, 255, 0.3);
    border-radius: 2px;
  }

  .agent-process-flow::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 200, 255, 0.5);
  }

  .agent-process-step {
    flex: 0 0 200px;
    width: 200px;
    min-width: 200px;
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    scroll-snap-align: start;
  }

  .agent-process-step:nth-child(1),
  .agent-process-step:nth-child(2),
  .agent-process-step:nth-child(3),
  .agent-process-step:nth-child(4),
  .agent-process-step:nth-child(5),
  .agent-process-step:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .agent-process-arrow {
    align-self: flex-end;
    display: none; /* 移动端隐藏箭头 */
  }

  .agent-features-section,
  .agent-scenarios-section,
  .agent-process-section,
  .agent-cta-section {
    padding: 60px 0;
  }

  .agent-features-title,
  .agent-scenarios-title,
  .agent-process-title,
  .agent-cta-title {
    font-size: 32px;
  }

  .agent-features-subtitle,
  .agent-scenarios-subtitle,
  .agent-process-subtitle {
    font-size: 16px;
  }

  .agent-feature-card {
    padding: 32px 24px;
  }

  .agent-scenario-card {
    padding: 20px 24px;
  }

  .agent-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .agent-cta-btn-primary,
  .agent-cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .agent-cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    justify-items: center;
  }
}

