/* ===== Banner 图片区域 ===== */
.pc-banner-image {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.pc-banner-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== Banner 区域 ===== */
.pc-banner {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pc-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(58, 134, 255, 0.1) 0%,
    rgba(131, 56, 236, 0.05) 70%,
    transparent 100%
  );
  border-radius: 50%;
  z-index: 1;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(248, 249, 255, 0.92) 0%,
    rgba(240, 244, 255, 0.88) 100%
  );
  z-index: 1;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.banner-text {
  flex: 1;
  max-width: 550px;
}

.banner-badge {
  display: inline-block;
  background: rgba(58, 134, 255, 0.1);
  color: #3a86ff;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.banner-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #212529 0%, #3a86ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.8;
}

.banner-btn {
  background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
}

.banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
}

.banner-stats {
  flex: 1;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  min-width: 140px;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #3a86ff;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}

.stat-num {
  font-size: 32px;
  line-height: 1;
}

.stat-plus {
  font-size: 18px;
  font-weight: 700;
  color: #3a86ff;
  line-height: 1;
  vertical-align: super;
  margin-left: 2px;
  margin-top: 2px;
}

.stat-label {
  font-size: 14px;
  color: #6c757d;
}

/* ===== 通用区块 ===== */
.pc-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  color: #3a86ff;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 14px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #212529;
}

.section-subtitle {
  font-size: 16px;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.section-header-row h2 {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
}

.section-more {
  font-size: 14px;
  color: #3a86ff;
  transition: color 0.3s;
}

.section-more:hover {
  color: #2667cc;
}

/* ===== 课程系列区域 ===== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.course-sort-card {
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
  display: block;
}

.course-sort-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.course-sort-card .cover-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 12px;
}

.course-sort-card .cover-wrapper > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.course-sort-card .cover-wrapper img {
  object-fit: cover;
}

.course-sort-card .card-body {
  padding: 16px;
}

.course-sort-card .card-title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 6px;
  align-items: baseline;
}

.course-sort-card .card-icon-wrapper {
  flex-shrink: 0;
  padding-top: 10px;
  position: relative;
  height: 24px;
}

.course-sort-card .card-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.course-sort-card .card-desc {
  font-size: 13px;
  color: #6c757d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 平台特色区域 ===== */
.features-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  background-image: url("/pc/images/hoem-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-card {
  text-align: center;
  background: white;
  border-radius: 16px;
  padding: 36px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: white;
}

.feature-icon.blue {
  background: linear-gradient(135deg, #3a86ff, #5ea2ff);
}
.feature-icon.green {
  background: linear-gradient(135deg, #38b000, #70e000);
}
.feature-icon.orange {
  background: linear-gradient(135deg, #ff9e00, #ffbe0b);
}
.feature-icon.purple {
  background: linear-gradient(135deg, #8338ec, #a86bef);
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
}

/* ===== 新闻资讯区域 ===== */
.news-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.news-body {
  display: flex;
  gap: 30px;
}

.news-covers {
  flex: 3;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #f3f4f6;
}

.news-covers .swiper,
.news-covers .swiper-slide {
  width: 100%;
  height: 100%;
}

.news-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-swiper-arrow {
  position: absolute;
  bottom: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.news-swiper-arrow:hover {
  background: #fff;
}

.news-swiper-arrow.prev {
  right: 56px;
}

.news-swiper-arrow.next {
  right: 12px;
}

.news-swiper-arrow::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #374151;
  border-right: 2px solid #374151;
}

.news-swiper-arrow.prev::after {
  transform: rotate(-135deg);
  margin-left: 2px;
}

.news-swiper-arrow.next::after {
  transform: rotate(45deg);
  margin-right: 2px;
}

.news-list {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-list-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid #f3f4f6;
  max-height: 120px;
}

.news-list-item:first-child {
  padding-top: 0;
}

.news-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-list-item.active .news-item-title,
.news-list-item.active .news-item-intro,
.news-list-item.active .news-item-date {
  color: #3a86ff;
}

.news-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.news-item-intro {
  font-size: 13px;
  color: #6c757d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  margin-top: 4px;
}

.news-item-date {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 6px;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .banner-container {
    flex-direction: column;
    text-align: center;
  }

  .banner-text {
    max-width: 100%;
  }

  .banner-title {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-body {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .banner-stats {
    flex-direction: column;
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
