/* ==============================================
   Enterprise Page 2.0 Styles
   ============================================== */

/* Banner Section */
.enterprise-banner {
  /* background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%); */
  position: relative;
  overflow: hidden;
}

.enterprise-banner .section-container {
  position: relative;
  z-index: 1;
}

.enterprise-section2 .section-container {
  padding: 70px 0;
}
.enterprise-banner .section-title,
.enterprise-banner .section-desc {
  text-align: left;
  margin-left: 0;
}


.enterprise-banner .banner-left .section-title,
.enterprise-banner .banner-left .section-desc {
  white-space: pre-line; /* 支持 \n 换行 */
  overflow-wrap: anywhere;
  word-break: break-word;
}

.enterprise-banner .banner-left .section-title,
.enterprise-banner .banner-left .section-desc {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.enterprise-banner .banner-left .section-desc {
  margin-bottom: 0; /* 与按钮间距由 .banner-buttons 的 margin-top 控制为 32px */
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  background: linear-gradient(0deg, #101C2F, #101C2F), linear-gradient(117deg, #2DD4BF -70%, #002E93 41%, #F43F5E 149%);
  background-blend-mode: soft-light, normal;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  /* border: 1px solid #FFFFFF; */
  box-shadow: 0px 6px 8px -4px rgba(25, 54, 63, 0.15),0px 2px 4px -4px rgba(25, 54, 63, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  background: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7 17L17 7M17 7H7M17 7V17" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #0d2b7a 0%, #0d2b7a 85%, #8b5cf6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 30, 94, 0.4);
}

.btn-primary:hover::after {
  transform: translate(2px, -2px);
}

.btn-primary span {
  padding-right: 24px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.9);
  color: #0a64fa;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #0a64fa;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 100, 250, 0.2);
}





/* Section 1: Business Scenarios */
.enterprise-section1 {
  background: #fff;
}

.section1-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section1-row {
  display: flex;
  gap: 24px;
}

.section1-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.section1-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

   /* section1-card 基础样式已移至 /components/util/sections.css */

.section1-card-wide {
  padding: 0;
  background: linear-gradient(0deg, #EEF2FA, #EEF2FA), linear-gradient(0deg, #F0F2F7, #F0F2F7), linear-gradient(0deg, #FFFFFF, #FFFFFF), #223140;
  border-radius: 24px;
}
.section1-card-wide .section1-card-title{
  margin: 40px 40px 12px 40px;
  font-size: 24px;
  font-weight: 600;
  color: #101C2F;
}
.section1-card-wide  .section1-card-desc{
  padding: 0 40px;

}

.section1-card-img {
  margin-top: 24px;
  border-radius: 8px;
  /* overflow: hidden; */
}
#en .section1-row-2 .section1-card-wide:last-child .section1-card-img {
  padding-top: 26px;
}

.section1-card-img img {
  width: 100%;
  margin-top: -24%;
  display: block;
  /* transform: translateX(10%); */
}

/* Section 2: Productivity Stats */
.enterprise-section2 {
  /* background: linear-gradient(135deg, #0a1e5e 0%, #0d2b7a 50%, #1a3a8f 100%); */
  position: relative;
  overflow: hidden;
}

.enterprise-section2 .section-title,
.enterprise-section2 .section-desc {
  color: #fff;
}

.section2-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  /* gap: 40px; */
  flex-wrap: wrap;
  padding:  0;
  justify-content: space-between;
}

.section2-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 140px;
}

.section2-stat-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 12px;
}

.section2-stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section2-stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.section2-stat-title {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.section2-stat-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* Section 3: Filez AI */
.enterprise-section3 {
  background: #fff;
}

.section3-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* gap: 60px; */
  flex-wrap: wrap;
  padding: 20px 0 40px;
}

.section3-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 160px;
}

.section3-stats .stat-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section3-stats .stat-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.section3-stats .stat-number {
  font-size: 24px;
  font-weight: 600;
  color: #101C2F;
  line-height: 30px;
  margin-bottom: 8px;
}

.section3-stats .stat-label {
  font-size: 16px;
  font-weight: 500;
  color: rgba(16, 28, 47, 0.8);
  line-height: 1.4;
}



/* Section 4: Security System */
.enterprise-section4 {
  background: linear-gradient(135deg, #0a1e5e 0%, #0d2b7a 50%, #1a3a8f 100%);
  position: relative;
  /* IMPORTANT: StickyScroll uses `position: sticky`; any ancestor with overflow:hidden will break it */
  overflow: visible;
  /* Use section spacing (spacing-top/spacing-bottom) instead of hard padding here */
  padding: 0;
}

/* .enterprise-section4::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><polyline points="0,250 50,200 100,220 150,180 200,200 250,160 300,180 350,140 400,160" stroke="rgba(255,255,255,0.2)" stroke-width="3" fill="none"/><circle cx="50" cy="200" r="3" fill="rgba(255,255,255,0.3)"/><circle cx="100" cy="220" r="3" fill="rgba(255,255,255,0.3)"/><circle cx="200" cy="200" r="3" fill="rgba(255,255,255,0.3)"/><circle cx="300" cy="180" r="3" fill="rgba(255,255,255,0.3)"/><circle cx="400" cy="160" r="3" fill="rgba(255,255,255,0.3)"/></svg>');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.6;
  z-index: 0;
} */

.enterprise-section4 .section-container {
  position: relative;
  z-index: 1;
}

.enterprise-section4 .section-title,
.enterprise-section4 .section-desc {
  /* StickyScroll header is rendered inside the sticky viewport; hide the outer Section title/desc */
  display: none;
}

.section4-security {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.section4-card {
  background: rgba(96, 165, 250, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s ease;
}

.section4-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.section4-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section4-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section4-card-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.section4-card-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section4-card-list li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.section4-card-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
}



/* Section 6: Global Infrastructure */
.enterprise-section5 {
  /* background: linear-gradient(135deg, #eef3ff 0%, #f5f7fb 100%); */
  position: relative;
  min-height: 600px;
  /* margin-top: 120px; */
  /* padding: 120px 0; */
}
.enterprise-section5 .section-has-bg {
  margin-top: 120px;
}
.enterprise-section5 .section-container{
  /* width: 100%; */
 
}
#section5 .section-title, #section5 .section-desc {
  text-align: center;
  max-width: 100%;
}
.enterprise-section5 .section-content{
  /* background: url('/enterprise/img-2.0/section5-bg.png') no-repeat center center; */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section5-platform-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: linear-gradient(102deg, #2DD4BF -8%, #2563EB 50%, #F43F5E 107%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section5-map {
  position: relative;
  width: 100%;
  /* height: 600px; */
  /* margin: 160px 100px 120px ; */
  /* background: url('/enterprise/img-2.0/section5-content.png') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
}

.map-badge {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(16, 28, 47, 0.08);
}

.map-badge::before {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  bottom: -1px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10, 100, 250, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-badge:hover::before {
  opacity: 1;
}

.map-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.badge-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 100, 250, 0.1);
  border-radius: 8px;
}

.badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge-content {
  flex: 1;
}

.map-badge-1 {
  top: 15%;
  left: 20%;
}

.map-badge-2 {
  top: 20%;
  right: 25%;
}

.map-badge-3 {
  bottom: 25%;
  left: 15%;
}

.map-badge-4 {
  bottom: 20%;
  right: 20%;
}

.badge-title {
  font-size: 18px;
  font-weight: 600;
  color: #101C2F;
  margin-bottom: 4px;
  line-height: 1.3;
}

.badge-desc {
  font-size: 14px;
  color: rgba(16, 28, 47, 0.7);
  line-height: 1.5;
}

/* Section 7: Case Studies */
.enterprise-section7 {
  background: #fff;
}

/* CTA Banner */
/* .enterprise-cta-banner {
  background: linear-gradient(135deg, #0a64fa 0%, #2563eb 25%, #7c3aed 50%, #a855f7 75%, #ec4899 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  border-radius: 24px;
  margin: 0 auto;
  max-width: 1280px;
} */

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.enterprise-cta-banner .section-title,
.enterprise-cta-banner .section-desc {
  color: #fff;
}
.section-title, .section-desc {
  text-align: left;
}
#section1 .section-title, #section1 .section-desc {
  text-align: center;
}
/* Responsive Design */
@media (max-width: 1200px) {
  .banner-layout {
    flex-direction: column;
    gap: 40px;
    margin-top: 0;
  }
  .enterprise-banner .section-title{
    margin-left: auto;
  }

  .banner-left {
    max-width: 100%;
    text-align: center;
  }

  .enterprise-banner .section-title,
  .enterprise-banner .section-desc {
    text-align: center;
  }

  .banner-right {
    justify-content: center;
  }

  .banner-img {
    max-height: 400px;
    transform: translateX(0);
  }

  .section1-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section2-stats {
    gap: 30px;
  }

  .section3-stats {
    /* gap: 40px; */
  }
}

@media (max-width: 768px) {
  .section1-row-3,
  .section1-row-2 {
    grid-template-columns: 1fr;
  }

  .section2-stats,
  .section3-stats {
    flex-direction: column;
    /* gap: 30px; */
  }

  .section2-stat-item,
  .section3-stats .stat-item {
    min-width: auto;
    width: 100%;
  }

  .banner-buttons {
    flex-direction: column;
    width: 100%;
    
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .section4-security {
    grid-template-columns: 1fr;
  }

  .map-badge {
    position: relative;
    margin: 12px auto;
    display: block;
  }

  .section6-map {
    height: auto;
    padding: 20px 0;
  }
}

/* ==============================================
   Section 4: Content Background Images (Top-right corner)
   ============================================== */
.enterprise-section4 .fc-sticky-scroll-bg-images {
  top: 80px;
  /* 图片右侧与版心(1280px)右侧对齐: 50% - 版心宽度的一半 */
  right: max(0px, calc(50% - 640px));
  width: 500px;
  height: 500px;
}

.enterprise-section4 .fc-sticky-scroll-content-bg-img {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.enterprise-section4 .fc-sticky-scroll-content-bg-img.is-active {
  opacity: 1;
}

/* Different transition effects for each image index */
.enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="0"] {
  transform: translateY(-40px);
}

.enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="0"].is-active {
  transform: translateY(0);
}

.enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="1"] {
  transform: translateY(-40px) ;
}

.enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="1"].is-active {
  transform: translateY(0) ;
}

.enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="2"] {
  transform: translateY(-40px);
}

.enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="2"].is-active {
  transform: translateY(0);
}

.enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="3"] {
  transform: translateY(-40px);
}

.enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="3"].is-active {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .enterprise-section4 .fc-sticky-scroll-bg-images {
    width: 300px;
    height: 300px;
    /* 小屏时版心有 padding: 40px 16px，但导航栏仍是 1280px 或贴边 */
    /* 保持 right: 0 让图片右侧贴边，与导航栏右侧对齐 */
    right: 0;
    top: 60px;
  }

  .enterprise-section4 .fc-sticky-scroll-content-bg-img.is-active {
    opacity: 0.15;
  }

  /* Reduce transition distance on smaller screens */
  .enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="0"] {
    transform: translateY(25px) translateX(15px) scale(0.92);
  }

  .enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="1"] {
    transform: translateY(-25px) translateX(15px) scale(0.92);
  }

  .enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="2"] {
    transform: translateY(25px) translateX(-15px) scale(0.92);
  }

  .enterprise-section4 .fc-sticky-scroll-content-bg-img[data-index="3"] {
    transform: translateY(-25px) translateX(-15px) scale(0.92);
  }
}

@media (max-width: 768px) {
  .enterprise-section4 .fc-sticky-scroll-bg-images {
    display: none; /* Hide on mobile */
  }
}

