/* 主容器 */
.container.main {
  
}

/* 标题区域 */
.app-list {
  position: relative;
}

.app-list h3 {
  font-size: clamp(24px, 2.08vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  z-index: 2;
  margin: 0;
  color: #111;
}

.main {
  padding-top: clamp(30px, 5.208vw, 100px);
  padding-bottom: clamp(30px, 5.208vw, 100px);
}

/* 背景大文字 */
.app-list h3::before {
  display: block;
  content: attr(data-tit);
  white-space: nowrap;
  color: #f7f8f9;
  position: absolute;
  left: 0;
  top: -42px;
  font-size: 98px;
  font-weight: 800;
  line-height: 1;
  z-index: -1;
  opacity: 0.8;
  display: none;
}

/* 标题下划线 */
.app-list h3::after {
  display: block;
  content: '';
  width: 80px;
  height: 3px;
  background: var(--color-primary, #0056b3);
  margin: 14px 0 0;
}

/* 描述文字 */
.app-list>p {
  margin: 32px 0 0;
  line-height: 1.8;
  font-size: 17px;
  color: #555;
  max-width: 800px;
}

/* 列表布局 */
.app-list ul {
  margin: 42px -20px 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.app-list ul li {
  width: 33.3333%;
  padding: 20px;
  box-sizing: border-box;
}

/* 卡片链接 */
.app-list ul li>a {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.app-list ul li>a:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* 图片 */
.app-list ul li img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: all 0.4s ease;
}

.app-list ul li>a:hover img {
  transform: scale(1.08);
}

/* 文字遮罩层 */
.app-list ul li .txt {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 34px 29px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

/* 半透明背景 */
.app-list ul li .txt::after {
  content: "";
  background: color-mix(in srgb, var(--color-primary, #0056b3) 45%, transparent);
  height: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.35s ease;
  z-index: -1;
}

.app-list ul li:hover .txt::after {
  height: 100%;
}

/* 标题 */
.app-list ul li .txt h6 {
  font-size: clamp(17px, 1.04vw, 20px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  font-family: var(--title-font-family);
  text-shadow: 2px 2px 2px #333;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 描述 */
.app-list ul li .txt p {
  font-size: clamp(14px, 0.78vw, 15px);
  color: #fff;
  line-height: 1.7;
  height: 0;
  overflow: hidden;
  transition: height 0.5s ease;
  margin: 14px 0 0;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.app-list ul li:hover .txt p {
 height:auto;
}

/* 更多按钮 */
.app-list ul li .txt .more {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin: 22px 0 0;
}

.app-list ul li .txt .more i {
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  border: 1px solid #fff;
  line-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: all 0.3s ease;
}

.app-list ul li:hover .more i {
  background: #fff;
  color: var(--color-primary, #0056b3);
  border-color: #fff;
}

/* ========================== 响应式 ========================== */
@media screen and (max-width: 1441px) {
  .app-list h3::before { font-size: 90px; }
}

@media screen and (max-width: 1367px) {
  .app-list h3::before { font-size: 80px; }
}

@media screen and (max-width: 1281px) {
  .app-list h3::before { font-size: 70px; }
}

@media screen and (max-width: 1171px) {
  .app-list h3::before { font-size: 60px; }
  .app-list ul { margin: 25px -15px 0; }
  .app-list ul li { width: 50%; padding: 15px; }
}

@media screen and (max-width: 992px) {
  .app-list ul li .txt { padding: 0 20px 18px; }
  .app-list ul li .txt .more { display: none; }
}

@media screen and (max-width: 991px) {
  .app-list h3 {
    text-align: center;
  }
  .app-list h3::before {
    font-size: 48px;
    left: 50%;
    transform: translateX(-50%);
    top: -26px;
  }
  .app-list h3::after {
    margin: 14px auto 0;
  }
  .app-list > p {
    margin: 20px auto 0;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
  }
  .app-list ul { margin: 24px -10px 0; }
  .app-list ul li { padding: 10px; }
}

@media screen and (max-width: 576px) {
  .app-list h3::before { font-size: 40px; }
}

@media screen and (max-width: 480px) {
  .app-list ul { margin: 14px 0 0; }
  .app-list ul li { width: 100%; padding: 8px 0; }
  .app-list ul li>a { border-radius: 8px; }
}