/**
 * Filez Office 2.0 Page Styles
 * 企业级智能文档协同页面样式
 */

/* ========== Banner 区域 ========== */
.office-banner {
  position: relative;
  overflow: hidden;
}

/* ========== Section 1: 文档协同编辑和在线预览 ========== */
.office-section1 .section1-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  width: 100%;
}

.office-section1 .section-bg-wrap {
  height: 80%;
  margin-top: 60px;
}

.office-section1 .section1-main-img {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
}

.office-section1 .section1-main-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); */
}

.office-section1 .section1-cards {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding: 48px;
  background: rgba(238, 242, 250, 0.8);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  border-radius: 24px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1348px;
  margin-top: -138px;
  position: relative;
  z-index: 2;
}

.office-section1 .section1-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.office-section1 .section1-card-divider {
  width: 100%;
  height: 1px;
  background: #000000;
}

.office-section1 .section1-card-icon {
  width: 32px;
  height: 32px;
}

.office-section1 .section1-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.office-section1 .section1-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.office-section1 .section1-card-title {
  font-size: 24px;
  font-weight: 600;
  color: #101C2F;
  line-height: 29px;
}

.office-section1 .section1-card-desc {
  font-size: 16px;
  font-weight: 400;
  color: #101C2F;
  line-height: 28px;
}

/* ========== Section 2-4: Media List 组件样式增强 ========== */
/* .office-section2,
.office-section3,
.office-section4 {
  background: #FAFBFC;
} */

/* Section 2, 3, 4 标题和描述居左对齐 */
.office-section2 .section-title,
.office-section3 .section-title,
.office-section4 .section-title {
  text-align: left;
}

.office-section2 .section-desc,
.office-section3 .section-desc,
.office-section4 .section-desc {
  text-align: left;
}

/* ========== Section 5: 全场景覆盖企业协作需求 ========== */
/* Section 5 标题和描述居左对齐 */
.office-section5 .section-title {
  text-align: left;
}

.office-section5 .section-desc {
  text-align: left;
}

.office-section5 .section5-wrapper {
  width: 100%;
}

.office-section5 .section5-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  /* max-width: 1400px; */
  margin: 0 auto;
}

.office-section5 .section5-card {
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(16, 28, 47, 0.02);
  display: flex;
  flex-direction: column;
}

/* .office-section5 .section5-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-color: #3B82F6;
} */

.office-section5 .section5-card-img {
  width: 100%;
  /* height: 280px; */
  overflow: hidden;
  /* background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.office-section5 .section5-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* .office-section5 .section5-card:hover .section5-card-img img {
  transform: scale(1.05);
} */

.office-section5 .section5-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  margin-top: -36px;
  border-radius: 24px;
  background: linear-gradient(0deg, #EEF2FA, #EEF2FA), linear-gradient(0deg, rgba(16, 28, 47, 0.06), rgba(16, 28, 47, 0.06)), #FFFFFF;
}

.office-section5 .section5-card-title {
  font-size: 24px;
  font-weight: 600;
  color: #101C2F;
  line-height: 40px;
  margin: 0 0 12px 0;
}

.office-section5 .section5-card-desc {
  font-size: 16px;
  color: #101C2F;
  line-height: 28px;
  margin: 0 0 24px 0;
  flex: 1;
}

.office-section5 .section5-card-button {
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  gap: 10px;
  box-sizing: border-box;
  
  /* 初始状态：蓝色边框 */
  border: 1px solid #011870;
  color: #011870;
  
  /* 为hover状态做准备 */
  position: relative;
  background-clip: padding-box;
  transition: all 0.3s ease;
  text-decoration: none;
  align-self: flex-start;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.office-section5 .section5-card-button:hover {
  border: 1px solid #003094;
  /* background: linear-gradient(0deg, #EEF2FA, #EEF2FA) padding-box,
              linear-gradient(121deg, #2DD4BF -73%, #002E93 40%, #F43F5E 152%) border-box; */
              /* background-color: #003094; */
              /* border-color: #003094; */

}

.office-section5 .section5-card-button span {
  color: #011870;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.05);
}

.office-section5 .section5-card-button:hover span {
  background: linear-gradient(121deg, #2DD4BF -73%, #002E93 40%, #F43F5E 152%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.05);
}

.office-section5 .section5-card-button .arrow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.office-section5 .section5-card-button:hover .arrow-icon {
  /* transform: translateY(-2px); */
  transform: translate(3px, -3px);
}

/* ========== Section 6: 客户案例 ========== */
/* .office-section6 {
  background: linear-gradient(180deg, #FAFBFC 0%, #FFFFFF 100%);
} */

/* ========== 响应式设计 ========== */
@media (max-width: 1400px) {
  .office-section1 .section1-cards {
    max-width: calc(100% - 80px);
    padding: 40px;
    gap: 60px;
    margin-top: -128px;
  }
}

@media (max-width: 1280px) {
  .office-section5 .section5-cards {
    max-width: 1200px;
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .office-section1 .section1-cards {
    flex-direction: column;
    max-width: calc(100% - 60px);
    padding: 32px;
    gap: 40px;
    margin-top: -118px;
  }
  
  .office-section5 .section5-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .office-section1 .section1-cards {
    padding: 24px;
    gap: 32px;
    margin-top: -108px;
  }
  
  .office-section1 .section1-card {
    gap: 16px;
  }
  
  .office-section1 .section1-card-title {
    font-size: 20px;
  }
  
  .office-section1 .section1-card-desc {
    font-size: 14px;
    line-height: 24px;
  }
  
  .office-section5 .section5-cards {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .office-section5 .section5-card-img {
    height: 220px;
  }
  
  .office-section5 .section5-card-content {
    padding: 32px;
  }
  
  .office-section5 .section5-card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .office-section5 .section5-card-desc {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;
  }
  
  .office-section5 .section5-card-button {
    font-size: 18px;
    padding: 10px 22px;
  }
}

@media (max-width: 480px) {
  .office-section1 .section1-cards {
    padding: 20px;
    gap: 24px;
    margin-top: -98px;
  }
  
  .office-section1 .section1-card {
    gap: 12px;
  }
  
  .office-section1 .section1-card-title {
    font-size: 18px;
  }
  
  .office-section1 .section1-card-desc {
    font-size: 13px;
    line-height: 22px;
  }
  
  .office-section5 .section5-card-img {
    height: 180px;
  }
  
  .office-section5 .section5-card-content {
    padding: 24px;
  }
  
  .office-section5 .section5-card-title {
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 8px;
  }
  
  .office-section5 .section5-card-desc {
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 16px;
  }
  
  .office-section5 .section5-card-button {
    font-size: 16px;
    padding: 9px 20px;
  }
}