* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  display: block;
}

body {
  font-family: Microsoft YaHei, Arial, sans-serif;
  max-width: 1920px;
  margin: 0 auto;
}

.hero-section {
  position: relative;
  background: url('../img/1.png') center/cover no-repeat;
  background-size: 100% 100%;
  color: white;
  padding: 60px 80px;
  min-height: 350px;
  overflow: hidden;
  max-width: 1920px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.logo-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.logo-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  font-family: HYb1gj !important;
}

.hero-title {
  font-size: 65px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 50px;
}

.hero-subtitle {
  font-size: 30px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-subtitle span {
  color: #b894ff;
}

.content-section {
  width: 100%;
  background-color: #f6f5ff;
}

.content-section .cont {
  padding: 60px 0;
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.content-image {
  flex: 1;
  position: relative;
}

.content-image img {
  width: 100%;
  max-width: 530px;
  border-radius: 12px;
  display: block;
  cursor: pointer;
}

.content-text {
  flex: 1;
  color: #333;
  line-height: 1.8;
  font-size: 22px;
  font-weight: 500;
}

.features-section {
  padding-top: 60px;
  padding-bottom: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.features-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.features-grid img {
  width: 1400px;
  height: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-53%);
}

.cards-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 60px;
}

.card-row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.card-row.reverse {
  flex-direction: row-reverse;
}

.reverse .card-btn {
  float: left;
}

.card-image {}

.card-image img {
  width: 100%;
}

.card-content {
  flex: 1;
  padding: 20px;
}

.card-title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.card-desc {
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 500;
}

.card-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #afa5fa;
  color: white;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  float: right;
}

.card-btn:hover {
  background: linear-gradient(135deg, #7a3ab0, #9a5acd);
}

.three-section {
  background: url('../img/10.png') center/cover no-repeat;
}

.three-img {
  width: 100%;
  height: 100%;
  margin-bottom: -100px;
}

.four-img img {
  margin: auto;
  margin-bottom: 50px;
}

.four-section {
  padding-bottom: 60px;
  background: url('../img/15.png') bottom/cover no-repeat;
  background-size: 100% 950px;
}

/* 模态框样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #ffffff;
  margin: 8% auto;
  padding: 30px;
  border: none;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 80vh;
  overflow-y: auto;
}

.close {
  color: #666;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #333;
}

.modal-content h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
}

/* 表单样式 */
.form-group {
  margin-bottom: 5px;
}

.form-group label {
  /* display: flex;
  align-items: center; */
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  height: 100%;
}

.required-mark {
  color: #e74c3c;
  margin-right: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 14px;
  background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7a3ab0;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.form-group.half {
  flex: 1;
}

.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px !important;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 4px;
}

.form-group.checkbox label {
  font-weight: normal;
}

.modal .btn {
  background: linear-gradient(135deg, #7a3ab0, #9a5acd);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.3s;
  width: 100%;
}

.modal .btn:hover {
  opacity: 0.9;
}

/* radio和checkbox样式 */
.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-weight: normal;
  margin-top: 4px;
  font-size: 12px !important;
  color: #555 !important;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 4px;
}

.register {
  margin-top: 20px;
  float: right;
  font-size: 16px;
}

.register span {
  color: red;
  cursor: pointer;
}

#video-form .form-group {
  margin-bottom: 20px;
}

/* 移动端轮播图样式 - 桌面端隐藏 */
.mobile-carousel-section {
  display: none;
}

/* *************************************************************************************************** */
@media (max-width: 768px) {
  .mobile-carousel-section {
    display: block;
    padding: 20px;
    padding-top: 0;
  }

  .carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .carousel-wrapper {
    display: flex;
    transition: transform 0.3s ease;
  }

  .carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 15px;
  }

  .carousel-image img {
    width: 100%;
    border-radius: 8px;
  }

  .carousel-content {
    padding: 15px 0;
  }

  .carousel-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .carousel-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .carousel-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #7a3ab0, #9a5acd);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
  }

  .carousel-btn:hover {
    opacity: 0.9;
  }

  .carousel-prev,
  .carousel-next {
    position: absolute;
    top: 36%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgb(255 255 255 / 62%);
    color: #000000;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
  }

  /* .carousel-prev:hover,
  .carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
  } */

  .carousel-prev {
    left: 18px;
  }

  .carousel-next {
    right: 18px;
  }

  .carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }

  .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s;
  }

  .indicator.active {
    background: white;
  }

  .cards-section {
    display: none;
  }

  .hero-section {
    padding: 30px 20px;
    min-height: auto;
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .header {
    margin-bottom: 20px;
  }

  .logo-left img,
  .logo-right img {
    width: 80px;
    height: auto;
  }

  .content-section .cont {
    padding: 30px 20px;
    flex-direction: column;
    gap: 30px;
  }

  .content-text {
    font-size: 16px;
  }

  .content-image img {
    max-width: 100%;
  }

  .features-section {
    padding: 30px 20px;
  }

  .ss {
    padding-bottom: 0;
  }

  .mm {
    padding-bottom: 0;
  }

  .features-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
  }

  .features-title {
    font-size: 20px;
  }

  .features-header img {
    display: none;
    width: 40px;
    height: auto;
  }

  .features-grid img {
    width: 110%;
  }

  .cards-section {
    padding: 0 20px 30px;
  }

  .card-row {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .card-row.reverse {
    flex-direction: column;
  }

  .card-image img {
    width: 100%;
  }

  .card-content {
    padding: 0;
  }

  .card-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .card-desc {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .card-btn {
    float: none;
    display: inline-block;
    font-size: 12px;
    padding: 6px 15px;
  }

  .reverse .card-btn {
    float: none;
  }

  .three-img img,
  .four-img img {
    width: 100%;
    margin-bottom: 0;
  }

  .three-img {
    margin-bottom: -20px;
  }

  .four-section {
    padding-bottom: 0;
  }

  .modal-content {
    margin: 15% auto;
    max-height: 80vh;
    overflow-y: auto;
  }
}