/* 卡片区域样式 */
.cards-section {
  padding: 80px 0 50px;
  background: #fff;
}

.cards-section .container {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cards-section .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .cards-section .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .cards-section .container{
    width: 1170px;
  }
}


.cards-header {
  text-align: center;
  margin-bottom: 40px;
}

.cards-section-title {
  font-size: 34px;
  font-weight: 700;
  color: #333;
  margin: 20px 0 10px;
  line-height: 1.4;
}

.cards-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cards-card-wrapper {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
  padding: 0 15px;
  margin-bottom: 30px;
}

.cards-card {
  background: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.cards-icon {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-icon img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.cards-content {
  display: flex;
  flex-direction: column;
  width: 76%;
}

.cards-title {
  font-size: 20px;
  color: #222;
  margin: 20px 0 16px;
}

.cards-description {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

/* 按钮样式 */
.cards-btn-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}

.cards-btn {
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #357AD5;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(53, 122, 213, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cards-btn-arrow {
  width: 6px;
  height: auto;
  display: block;
}

.cards-btn:hover {
  background: #2a6bc4;
  box-shadow: 0 4px 12px rgba(53, 122, 213, 0.4);
}

/* 二维码气泡样式已移至 qr-bubble-component.css */
.cards-btn-wrapper:hover .qr-bubble,
.cards-btn-wrapper .qr-bubble:hover {
  opacity: 1;
  visibility: visible;
}

/* 响应式设计 */
@media (max-width: 991px) {
  .cards-card-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .cards-card {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .cards-section{
    border-bottom: 1px solid #EEEEEE;
  }
}

@media (max-width: 768px) {
  .cards-section-title {
    font-size: 28px;
  }
}

@media only screen and (max-width: 468px){
  .cards-section{
    padding: 40px 0 20px;
    border-bottom: 1px solid #EEEEEE;
  }

  .cards-header{
    margin-bottom: 50px;
  }

  .cards-section-title{
    font-size: 24px;
  }

  .cards-card{
    gap:20px;
  }

  .cards-title{
    font-size: 16px;
    margin-bottom: 6px;
  }

  .cards-description{
    font-size: 12px;
  }

  .cards-card-wrapper{
    margin-bottom: 15px;
  }
  .cards-btn-wrapper{
    margin-top: 0;
  }
}