/* 智擎AI数字人页面样式 - 基于index-final.html颜色风格 */

/* 全局样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f8ff;
  color: #1A1A1A;
  padding-top: 70px;
  line-height: 1.8;
}

/* 导航栏 */
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 20px !important;
}

.navbar .nav-link {
  font-size: 16px !important;
  padding: 8px 16px !important;
  color: #333 !important;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #5b8cff !important;
}

/* 下拉菜单 */
.navbar .dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin-top: 0;
  min-width: 200px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-10px);
}

.navbar .dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.navbar .dropdown-item {
  padding: 10px 20px;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
  background-color: #f0edff;
  color: #5B4FE9;
  padding-left: 25px;
}

.navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
}

.navbar .btn-primary {
  background: linear-gradient(135deg, #5b8cff, #a78bfa);
  border: none;
  font-size: 16px !important;
  padding: 8px 24px !important;
  color: #ffffff !important;
}

.navbar .btn-primary:hover {
  box-shadow: 0 4px 12px rgba(91, 140, 255, 0.4);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #e0f2fe 0%, #f3e8ff 50%, #fef3f2 100%);
  padding: 120px 0 100px;
  min-height: 600px;
}

.hero-title {
  font-size: 48px;
  font-weight: 600;
  color: #1F1F1F;
  margin-bottom: 30px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 20px;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.8;
}

.hero-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-description strong {
  color: #5b8cff;
  font-weight: 600;
}

.hero-actions .btn {
  padding: 14px 40px;
  font-size: 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #5b8cff, #a78bfa);
  border: none;
  color: #ffffff;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(91, 140, 255, 0.4);
}

.hero-actions .btn-outline-light {
  border: 2px solid #5b8cff;
  color: #5b8cff;
  background: transparent;
}

.hero-actions .btn-outline-light:hover {
  background: rgba(91, 140, 255, 0.1);
  border-color: #5b8cff;
  color: #5b8cff;
}

.hero-image {
  position: relative;
  height: 400px;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(91, 140, 255, 0.2);
}

.gradient-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dbeafe 0%, #e9d5ff 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(91, 140, 255, 0.2);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Section 通用样式 */
.features-section,
.scenarios-section,
.advantages-section,
.cta-section {
  padding: 100px 0;
}

.features-section {
  background-color: #ffffff;
}

.scenarios-section {
  background: linear-gradient(135deg, #dbeafe 0%, #f3e8ff 50%, #fef3f2 100%);
}

.advantages-section {
  background-color: #ffffff;
}

.section-title {
  font-size: 40px;
  font-weight: 600;
  color: #1F1F1F;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 60px;
}

/* 产品卡片 */
.product-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 80px;
  border: 1px solid #F5F0F0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(91, 140, 255, 0.15);
  border-color: rgba(91, 140, 255, 0.3);
}

.product-title {
  font-size: 32px;
  font-weight: 600;
  color: #1F1F1F;
  margin-bottom: 20px;
}

.product-desc {
  font-size: 18px;
  color: #3D3D3D;
  margin-bottom: 40px;
  line-height: 1.8;
}

.feature-list {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.feature-item i {
  font-size: 24px;
  color: #5b8cff;
  margin-right: 15px;
  margin-top: 5px;
  flex-shrink: 0;
}

.feature-item h5 {
  font-size: 20px;
  font-weight: 600;
  color: #1F1F1F;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.8;
}

.target-audience {
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.5), rgba(243, 232, 255, 0.5));
  border-radius: 12px;
  padding: 25px 30px;
  border-left: 4px solid #5b8cff;
}

.target-audience h5 {
  font-size: 18px;
  font-weight: 600;
  color: #5b8cff;
  margin-bottom: 10px;
}

.target-audience p {
  font-size: 16px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.8;
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.badge {
  background: linear-gradient(135deg, #dbeafe, #f3e8ff);
  border: 1px solid rgba(91, 140, 255, 0.3);
  color: #5b8cff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: normal;
}

/* 产品视觉区域 */
.product-visual {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gradient-box-blue {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
}

.gradient-box-purple {
  background: linear-gradient(135deg, #e9d5ff 0%, #fce7f3 100%);
}

.gradient-box-green {
  background: linear-gradient(135deg, #dbeafe 0%, #e9d5ff 100%);
}

/* 应用场景 */
.scenario-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #F5F0F0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  height: 100%;
}

.scenario-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(91, 140, 255, 0.2);
  border-color: rgba(91, 140, 255, 0.3);
}

.scenario-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #5b8cff, #a78bfa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 36px;
  color: #ffffff;
  overflow: hidden;
}

.scenario-gif,
.scenario-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.scenario-card h4 {
  font-size: 22px;
  font-weight: 600;
  color: #1F1F1F;
  margin-bottom: 15px;
}

.scenario-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* 技术优势 */
.advantage-card {
  background: linear-gradient(135deg, #dbeafe 0%, #f3e8ff 100%);
  border-radius: 16px;
  padding: 40px;
  height: 100%;
  border: 1px solid rgba(91, 140, 255, 0.2);
  box-shadow: 0 8px 32px rgba(91, 140, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(91, 140, 255, 0.2);
}

.advantage-card:nth-child(2),
.advantage-card:nth-child(5) {
  background: linear-gradient(135deg, #e9d5ff 0%, #fce7f3 100%);
}

.advantage-card:nth-child(3),
.advantage-card:nth-child(6) {
  background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
}

.advantage-number {
  font-size: 48px;
  font-weight: bold;
  background: linear-gradient(135deg, #5b8cff 0%, #a78bfa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.advantage-card h4 {
  font-size: 24px;
  font-weight: 600;
  color: #1F1F1F;
  margin-bottom: 15px;
}

.advantage-card p {
  font-size: 17px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #dbeafe 0%, #f3e8ff 50%, #fef3f2 100%);
  padding: 100px 0;
}

.cta-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 42px;
  font-weight: 600;
  color: #1F1F1F;
  margin-bottom: 25px;
}

.cta-section p {
  font-size: 20px;
  color: #666;
  margin-bottom: 40px;
}

.cta-actions {
  margin-bottom: 20px;
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, #5b8cff, #a78bfa);
  border: none;
  padding: 16px 50px;
  font-size: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: #ffffff;
}

.cta-section .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(91, 140, 255, 0.4);
}

.cta-section .btn-outline-light {
  border: 2px solid #5b8cff;
  color: #5b8cff;
  background: transparent;
  padding: 16px 50px;
  font-size: 20px;
  border-radius: 10px;
}

.cta-section .btn-outline-light:hover {
  background: rgba(91, 140, 255, 0.1);
  border-color: #5b8cff;
  color: #5b8cff;
}

.cta-contact {
  font-size: 18px;
  color: #333;
}

.cta-contact strong {
  color: #5b8cff;
  font-size: 24px;
}

/* Footer */
.footer {
  background-color: #2c3e50;
  padding: 40px 0;
  text-align: center;
  color: #ffffff;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 14px;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #5b8cff, #a78bfa);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(91, 140, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #a78bfa, #5b8cff);
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(91, 140, 255, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top i {
  font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

  .product-card {
    padding: 40px 30px;
  }

  .product-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle,
  .hero-description {
    font-size: 16px;
  }

  .hero-image {
    height: 300px;
    margin-top: 40px;
  }

  .product-card {
    padding: 30px 20px;
    margin-bottom: 40px;
  }

  .product-visual {
    height: 300px;
    margin-top: 30px;
  }

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

  .advantage-number {
    font-size: 36px;
  }
}
