<div class="module-application-scenario_cardWrapper__39jej earth-col earth-col-pc-span-8 earth-col-pad-span-12 earth-col-mobile-span-24" style="padding-left:12px;padding-right:12px"><div class="style_card__1621s module-application-scenario_card__RtK6K"><img class="style_cardImg__2xdIn" src="//seastatic1bhugtk.cdn5th.com/static/portal-intl-2019/_next/static/img/3fa18f62ec5316bc1315.jpg" alt="Comprehensive Security"><div class="style_cardContentWrapper__2eacv"><h3 class="earth-font earth-font-en-type-subtitle-h4 style_title__Vny0r style_txtContent__3W-Tq style_titlePreview__27WMA" style="font-weight:800" title="Comprehensive Security">Comprehensive Security</h3><div class="style_content__1q87I" style=""><h3 class="earth-font earth-font-en-type-subtitle-h4 style_title__Vny0r style_txtContent__3W-Tq" style="font-weight:800" title="Comprehensive Security">Comprehensive Security</h3><p class="earth-font earth-font-en-type-body-h1 style_desc__2yB0w style_txtContent__3W-Tq">Build an all-around security and safety system by harnessing fully-functional security cameras and diversified sensors. 24/7 monitoring and live alerts provide users with peace of mind.</p></div></div></div></div>

这是一个示例代码，请帮忙分析并优化我的代码，以达到示例一样的效果：

<div class="card-list">
  <div class="card-item">
    <div class="card-img">
      <img src="//seastatic1bhugtk.cdn5th.com/static/portal-intl-2019/_next/static/img/3fa18f62ec5316bc1315.jpg" alt="Comprehensive Security">
      <div class="card-title">
        <h3>Comprehensive Security</h3>
      </div>
      <div class="card-desc">
        <p>Build an all-around security and safety system by harnessing fully-functional security cameras and diversified sensors. 24/7 monitoring and live alerts provide users with peace of mind.</p>
      </div>
    </div>
  </div>
  <div class="card-item">
    <div class="card-img">
      <img src="//seastatic1bhugtk.cdn5th.com/static/portal-intl-2019/_next/static/img/12996f67d7eb412f7a33.jpg" alt="Device Automation">
      <div class="card-title">
        <h3>Device Automation</h3>
      </div>
      <div class="card-desc">
        <p>Achieve appliance automation, the core of home automation, to let users discover the magic of a smart home and fully enjoy a smart life.</p>
      </div>
    </div>
  </div>
  <div class="card-item">
    <div class="card-img">
      <img src="//seastatic1bhugtk.cdn5th.com/static/portal-intl-2019/_next/static/img/6c796362ca346acc25aa.jpg" alt="Health Data Record">
      <div class="card-title">
        <h3>Health Data Record</h3>
      </div>
      <div class="card-desc">
        <p>Our powerful and interconnected health monitoring products enable health tracking and analysis, allowing users to gain a deeper insight into their health.</p>
      </div>
    </div>
  </div>
  <div class="card-item">
    <div class="card-img">
      <img src="//seastatic1bhugtk.cdn5th.com/static/portal-intl-2019/_next/static/img/b7707f97fd2f246f8d1a.jpg" alt="Home Entertainment">
      <div class="card-title">
        <h3>Home Entertainment</h3>
      </div>
      <div class="card-desc">
        <p>Our innovative smart devices in the areas of lighting, video, and audio help users easily embrace a theater or party atmosphere at home anytime.</p>
      </div>
    </div>
  </div>
  <div class="card-item">
    <div class="card-img">
      <img src="//seastatic1bhugtk.cdn5th.com/static/portal-intl-2019/_next/static/img/67bf77c85a9e6106619f.jpg" alt="Fitness Life">
      <div class="card-title">
        <h3>Fitness Life</h3>
      </div>
      <div class="card-desc">
        <p>Smart fitness devices with in-app fitness service features empower you to provide more essential and popular home fitness scenes.</p>
      </div>
    </div>
  </div>
  <div class="card-item">
    <div class="card-img">
      <img src="//seastatic1bhugtk.cdn5th.com/static/portal-intl-2019/_next/static/img/fdf40edf73ff916939da.png" alt="24/7 Energy Monitoring">
      <div class="card-title">
        <h3>24/7 Energy Monitoring</h3>
      </div>
      <div class="card-desc">
        <p>Working with top energy companies, Tuya provides 24/7 energy monitoring capabilities and AI technologies to promote efficient energy use.</p>
      </div>
    </div>
  </div>
</div>

.card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card-item {
  position: relative;
  width: 30%;
  margin-bottom: 20px;
  cursor: pointer;
}

.card-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.card-img:hover img {
  transform: scale(1.1);
}

.card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.card-img:hover .card-title {
  transform: translateY(0%);
}

.card-desc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.card-img:hover .card-desc {
  transform: translateY(0%);
}

.card-title h3 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 5px;
}

.card-desc p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}