.m365-pricing-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
}

.m365-pricing-card {
  flex: 1;
  min-width: 400px;
  max-width: 500px;
  padding: 30px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* .m365-pricing-card:hover {
  border-color: black;
} */

.m365-pricing-title {
  font-family: alibaba-medium;
  font-size: 34px;
  text-align: center;
  /* margin-bottom: 20px; */
}

.m365-pricing-price {
  font-family: alibaba-bold;
  font-size: 48px;
  color: #0078d4;
  text-align: center;
  /* margin-bottom: 10px; */
}

/* .m365-pricing-unit {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 10px;
} */

.m365-pricing-note {
  font-size: 16px;
  color: #666;
  text-align: center;
  /* margin-bottom: 20px; */
}

.m365-pricing-features {
  margin-top: 30px;
  min-height: 200px;
}

.m365-pricing-feature-item {
  display: flex;
  align-items: center;
  /* margin-bottom: 5px; */
  font-size: 16px;
  color: #333;
}

.m365-pricing-feature-item svg {
  margin-right: 10px;
  color: #0078d4;
}

.m365-pricing-button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #0078d4;
  color: white;
  text-align: center;
  border: none;
  border-radius: 4px;
  margin-top: 20px;
  cursor: pointer;
  text-decoration: none;
}

.m365-pricing-button:hover {
  background-color: #106ebe;
}

.m365-pricing-trial {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #0078d4;
  text-decoration: none;
  font-size: 14px;
}

.m365-pricing-trial:hover {
  text-decoration: underline;
}

/* 服务和应用图标相关样式 */
.m365-pricing-services,
.m365-pricing-apps {
    margin-top: 30px;
}

.m365-pricing-services h4,
.m365-pricing-apps h4 {
    font-family: alibaba-regular;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.m365-pricing-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.m365-pricing-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 60px;
}

.m365-pricing-icon img {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

.m365-pricing-icon span {
    font-size: 12px;
    color: #0078D4;
    text-align: center;
}

.m365-pricing-icon:hover span {
    text-decoration: underline;
}

/* 版本切换按钮容器 */
.m365-version-switch {
    display: flex;
    justify-content: center;
    gap: 0;
    background: #f4f4f5;
    padding: 4px;
    border-radius: 100px;
    width: fit-content;
    margin: 0 auto 30px;
}

/* 版本切换按钮 */
.m365-version-btn {
  font-family: alibaba-regular;
  padding: 8px 20px;
  border: none;
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

/* 激活状态的按钮 */
.m365-version-btn.active {
  background: #0078d4;
  color: white;
}

/* 鼠标悬停效果 */
.m365-version-btn:not(.active):hover {
  background: rgba(0, 0, 0, 0.05);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .m365-pricing-container {
        padding: 0 15px;  /* 添加左右内边距 */
    }

    .m365-pricing-card {
        min-width: 100%;     /* 设置最小宽度为100% */
        max-width: 100%;     /* 设置最大宽度为100% */
        box-sizing: border-box;  /* 确保padding计入总宽度 */
    }

    /* 调整图标容器在移动端的布局 */
    .m365-pricing-icons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* 调整图标在移动端的大小 */
    .m365-pricing-icon {
        width: 50px;  /* 稍微减小图标容器的宽度 */
    }

    .m365-pricing-icon img {
        width: 28px;  /* 稍微减小图标的大小 */
        height: 28px;
    }

    /* 调整文字大小 */
    .m365-pricing-title {
        font-size: 20px;
    }

    .m365-pricing-price {
        font-size: 32px;
    }
}

/* 更小屏幕的适配 */
@media (max-width: 480px) {
    .m365-pricing-card {
        padding: 15px;  /* 进一步减小内边距 */
    }

    .m365-pricing-title {
        font-size: 18px;
    }

    .m365-pricing-price {
        font-size: 28px;
    }
}