/* 在文件开头添加调试和确保动画工作的样式 */

.alsman-subscribe-section {

display: none;

  background: #fff;
  padding: 0;
}

/* 上半部分：图片区域 */
.alsman-subscribe-section .alsman-subscribe-images {
  height: 50vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
}

.alsman-subscribe-section .alsman-subscribe-left-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  /* 左边直角梯形：左边垂直，右边倾斜 */
  clip-path: polygon(0 0, 66% 0, 100% 100%, 0 100%);
  width: 60%;
}

.alsman-subscribe-section .alsman-subscribe-right-image {
  height: 100%;
  min-height: 500px;
  position: relative;
  background-size: cover;
  background-position: center;
  /* 右边直角梯形：左边倾斜，右边垂直（与左边对称） */
  clip-path: polygon(1% 0, 100% 0, 100% 100%, 35% 100%);
  width: 60%;
  margin-left: -20%;
}

/* 下半部分：内容区域 */
.alsman-subscribe-section .alsman-subscribe-content-area {
  background: #fff;
}



.alsman-subscribe-section .alsman-subscribe-left-content,.alsman-subscribe-section .alsman-subscribe-right-content {
  background: #fff;
  padding:50px 60px 0;
}

.alsman-subscribe-section .alsman-subscribe-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.alsman-subscribe-section .alsman-subscribe-title {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--title-font-family);
  color: var(--title-text-color);
  margin-bottom: 12px;
  line-height: 1.1;
}

.alsman-subscribe-section .alsman-subscribe-desc {
  font-size: 1rem;
  color: var(--text-color);
  /*margin-bottom: 32px;*/
  line-height: 1.6;
  font-weight: 400;
  font-family: var(--font-family);
}

.alsman-subscribe-section .alsman-subscribe-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: var(--button-radius);
  background: var(--color-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-family);
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-align: center;
  min-width: 180px;
  cursor: pointer;
}

.alsman-subscribe-section .alsman-subscribe-btn:hover {
  background: var(--btn-hover);
  transform: translateY(-3px);
  color: #ffffff;
  text-decoration: none;
}

.alsman-subscribe-section .alsman-subscribe-btn:focus {
  outline: none;
}

/* Bootstrap 兼容性 */
.alsman-subscribe-section .row {
  margin-left: 0;
  margin-right: 0;
}

.alsman-subscribe-section .col-lg-6,
.alsman-subscribe-section .col-md-6 {
  padding-left: 0;
  padding-right: 0;
}

/* 响应式设计 - Bootstrap断点兼容 */
@media (max-width: 991.98px) {
  .alsman-subscribe-section {
    min-height: auto;
  }

  .alsman-subscribe-section .alsman-subscribe-images {
    height: 40vh;
    min-height: 350px;
  }

  .alsman-subscribe-section .alsman-subscribe-left-image,
  .alsman-subscribe-section .alsman-subscribe-right-image {
    min-height: 350px;
  }

  /* 平板端调整梯形角度 */
  .alsman-subscribe-section .alsman-subscribe-left-image {
    clip-path: polygon(0 0, 66% 0, 100% 100%, 0 100%);
  }

  .alsman-subscribe-section .alsman-subscribe-right-image {
    clip-path: polygon(1% 0, 100% 0, 100% 100%, 35% 100%);
  }

  .alsman-subscribe-section .alsman-subscribe-content-area {
    height: auto;
    min-height: auto;
  }

  .alsman-subscribe-section .alsman-subscribe-left-content,
  .alsman-subscribe-section .alsman-subscribe-right-content {
    padding: 60px 40px 0;
  }

  .alsman-subscribe-section .alsman-subscribe-title {
    font-size: 2rem;
  }

  .alsman-subscribe-section .alsman-subscribe-desc {
    font-size: 1rem;
  }

  .alsman-subscribe-section .alsman-subscribe-btn {
    padding: 15px 36px;
    font-size: 0.95rem;
    min-width: 170px;
  }
}

@media (max-width: 767.98px) {
  .alsman-subscribe-section .alsman-subscribe-images {
    height: 60vh;
    min-height: 400px;
    flex-direction: column;
  }

  .alsman-subscribe-section .alsman-subscribe-left-image,
  .alsman-subscribe-section .alsman-subscribe-right-image {
    height: 50%;
    min-height: 200px;
    width: 100%;
    margin: 0;
  }

  /* 移动端：上下分割，带倾斜边界 */
  .alsman-subscribe-section .alsman-subscribe-left-image {
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
  }

  .alsman-subscribe-section .alsman-subscribe-right-image {
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 10% 100%);
  }

  .alsman-subscribe-section .alsman-subscribe-content-area .row {
    flex-direction: column;
  }

  .alsman-subscribe-section .alsman-subscribe-left-content,
  .alsman-subscribe-section .alsman-subscribe-right-content {
    padding: 50px 30px;
  }

  .alsman-subscribe-section .alsman-subscribe-title {
    font-size: 1.8rem;
  }

  .alsman-subscribe-section .alsman-subscribe-desc {
    font-size: 0.95rem;
  }

  .alsman-subscribe-section .alsman-subscribe-btn {
    padding: 14px 32px;
    font-size: 0.9rem;
    min-width: 160px;
  }
}

@media (max-width: 575.98px) {
  .alsman-subscribe-section .alsman-subscribe-left-content,
  .alsman-subscribe-section .alsman-subscribe-right-content {
    padding: 20px 20px 0;
  }

  .alsman-subscribe-section .alsman-subscribe-title {
    font-size: 1.5rem;
  }

  .alsman-subscribe-section .alsman-subscribe-desc {
    font-size: 0.9rem;
  }

  .alsman-subscribe-section .alsman-subscribe-content {
    max-width: 100%;
  }

  .alsman-subscribe-section .alsman-subscribe-btn {
    padding: 12px 28px;
    font-size: 0.85rem;
    min-width: 140px;
  }
}

/* 错误信息动画 */
.alsman-subscribe-section .error-message {
  animation: slideInError 0.3s ease-out;
}

@keyframes slideInError {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
