/* ================================
   应用场景页面样式
   ================================ */

/* 应用场景主容器 */
.scenarios-main {
  margin: 0;
  padding: 0;
}

/* 视频区域 */
.scenarios-video-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.scenarios-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* 视频背景遮罩 - 5%透明度 */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: 2;
  pointer-events: none;
}

/* 场景标签 - 椭圆形布局容器 */
.scenario-tags {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

.scenario-tag {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: all 0.3s ease;
}

.tag-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(74, 144, 226, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 8px 20px 8px 8px;
  min-width: 140px;
  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
}

.tag-circle {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tag-circle i {
  font-size: 18px;
  color: #4A90E2;
}

.tag-text {
  color: white;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.scenario-tag:hover .tag-content {
  background: rgba(74, 144, 226, 1);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(74, 144, 226, 0.5);
}

.scenario-tag:hover .tag-circle {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 页面标题 */
.scenarios-title {
  position: absolute;
  bottom: 80px;
  left: 80px;
  z-index: 3;
  color: white;
}

.scenarios-title h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.scenarios-title p {
  font-size: 1.3rem;
  margin: 0;
  opacity: 0.9;
}

/* 信息弹出框 */
.scenario-info-box {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 380px;
  opacity: 0;
  scale: 0.9;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-box-content {
  padding: 0;
  width: 100%;
}

.info-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-box-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.info-box-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.info-box-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

.info-box-body {
  padding: 24px 28px 28px;
}

.info-section {
  margin-bottom: 24px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.info-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3b82f6;
  margin: 0 0 12px 0;
}

.info-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.info-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-section li {
  font-size: 0.9rem;
  color: #64748b;
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.4;
}

.info-section li::before {
  content: '•';
  color: #6366f1;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 6px;
}


@media (max-width: 768px) {
  .tag-content {
    min-width: 100px;
    padding: 5px 14px 5px 5px;
    gap: 8px;
  }

  .tag-circle {
    width: 30px;
    height: 30px;
  }

  .tag-circle i {
    font-size: 14px;
  }

  .tag-text {
    font-size: 12px;
  }

  .scenarios-title {
    bottom: 40px;
    left: 40px;
  }

  .scenarios-title h1 {
    font-size: 2rem;
  }

  .scenarios-title p {
    font-size: 1rem;
  }

  .scenario-info-box {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    max-width: 90%;
    width: auto;
    min-width: 300px;
  }

  .info-box-header {
    padding: 20px 24px 16px;
  }

  .info-box-body {
    padding: 20px 24px 24px;
  }

  .info-section {
    margin-bottom: 20px;
  }
}

/* ================================
   落地案例页面样式
   ================================ */

/* 案例页面主容器 */
.cases-main {
  padding-top: 80px;
  /* 导航栏高度 */
}

/* 案例页面头部 */
.cases-hero {
  padding: 80px 0 60px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.cases-hero .container {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 max(3%, 30px);
}

/* 浮动的毛玻璃球 - 限制在cases区域 */
.cases-hero::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 8%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 70%);
  backdrop-filter: blur(20px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: floatGlassBall1 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.cases-hero .glass-ball-2 {
  position: absolute;
  top: 55%;
  right: 12%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.11) 0%, rgba(59, 130, 246, 0.07) 50%, transparent 70%);
  backdrop-filter: blur(18px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  animation: floatGlassBall2 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.cases-hero .glass-ball-3 {
  position: absolute;
  top: 25%;
  right: 8%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.09) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 70%);
  backdrop-filter: blur(15px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: floatGlassBall3 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.cases-hero .glass-ball-4 {
  position: absolute;
  top: 70%;
  left: 45%;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  animation: floatGlassBall4 22s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.cases-hero .glass-ball-5 {
  position: absolute;
  top: 80%;
  left: 5%;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.06) 50%, transparent 70%);
  backdrop-filter: blur(14px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  animation: floatGlassBall5 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.cases-hero .glass-ball-6 {
  position: absolute;
  top: 20%;
  left: 65%;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  animation: floatGlassBall6 19s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.cases-header {
  position: relative;
  z-index: 2;
}

.cases-header .header-content {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  width: 100%;
}

.cases-header .header-left {
  flex: 0 0 auto;
  min-width: 350px;
}

.cases-header .header-right {
  flex: 1;
  max-width: calc(100% - 30px);
  margin: 0;
}

.cases-title {
  font-size: 8rem;
  font-weight: 800;
  color: #2d3748;
  margin: 0;
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-family: 'Inter', sans-serif;
}

.cases-subtitle {
  font-size: 2.4rem;
  font-weight: 700;
  color: #6366f1;
  margin: 0 0 20px 0;
}

.cases-info {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.cases-description {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #64748b;
  margin: 0 0 30px 0;
  position: relative;
  z-index: 2;
}

.cases-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}

.cases-stats .stat-item {
  text-align: center;
}

.cases-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #6366f1;
  line-height: 1;
  margin-bottom: 8px;
}

.cases-stats .stat-label {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

/* 案例列表 */
.cases-list {
  padding: 80px 0;
  background: white;
}

.cases-list .container {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 max(3%, 30px);
}

/* 案例网格布局 */
.cases-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr;
}


/* 手机设备优化间距 */
@media (max-width: 768px) {
  .cases-grid {
    gap: 40px;
  }
}

.case-item {
  position: relative;
  height: 100%;
  /* 确保网格中的案例项目高度一致 */
}

.case-content {
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.3);
  transition: all 0.3s ease;
}

.case-content:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.case-header {
  text-align: left;
  margin-bottom: 40px;
}

.case-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.case-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  padding: 4px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.2);
  flex-shrink: 0;
}

.case-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.case-row {
  margin-top: 32px;
}

.case-overview {
  margin-bottom: 40px;
}

.case-overview h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 15px 0;
}

.case-overview p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.case-content-grid {
  display: flex;
  gap: 48px;
  align-items: stretch;
  margin-top: 32px;
}

.case-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.image-carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.carousel-container {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 0;
}

.case-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.case-text {
  padding: 0;
}

.case-highlights,
.case-results {
  margin-bottom: 30px;
}

.case-highlights h3,
.case-results h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 15px 0;
}

.case-results p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.highlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #475569;
}

.highlight-list i {
  color: #6366f1;
  font-size: 0.9rem;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-content:hover .project-image {
  transform: scale(1.02);
}

/* 案例总结 */
.cases-summary {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.cases-summary .container {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 max(3%, 30px);
}

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

.summary-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 25px 0;
}

.summary-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 50px 0;
}

.summary-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.summary-features .feature-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.05);
  transition: all 0.3s ease;
}

.summary-features .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.summary-features .feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.summary-features .feature-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
}

.summary-features .feature-item p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}



@media (max-width: 768px) {
  .cases-list .container{
    padding: 0 max(1%, 10px);
  }
  .cases-hero {
    padding: 60px 0 40px;
  }

  .cases-header .header-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .cases-title {
    font-size: 2.5rem;
  }

  .cases-info {
    padding: 24px;
    border-radius: 16px;
  }

  .cases-subtitle {
    font-size: 1.2rem;
  }

  .cases-list {
    padding: 60px 0;
  }

  .case-content {
    padding: 24px;
  }

  .case-title {
    font-size: 1.5rem;
  }

  .case-content-grid {
    flex-direction: column;
    gap: 24px;
  }

  .case-image {
    flex: none;
    max-width: none;
    min-width: auto;
  }

  .carousel-container {
    height: 250px;
  }

  .highlight-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* 图片轮播样式 */

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* 移除轮播控制按钮 */

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #ffffff;
  transform: scale(1.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* 轮播自动播放暂停 */
.image-carousel:hover .carousel-slide {
  animation-play-state: paused;
}
