:root {
  --brand: #1677ff;
  --brand-dark: #0d5ed6;
  --text-main: #1f2d3d;
  --text-sub: #6b7785;
  --line: #e9edf3;
  --bg-soft: #f5f8fc;
}

body {
  background: #f7f9fc;
  color: var(--text-main);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.5;
}
#intro img{max-width:100%}
a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.2px;
}

.btn {
  border-radius: 10px;
  font-weight: 600;
}

.btn-sm {
  padding: 0.34rem 0.72rem;
}

.btn-lg {
  padding: 0.66rem 1rem;
}

.page-section {
  margin-top: 2.5rem !important;
}

.top-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.top-tool {
  color: #5f6f82;
  font-size: 14px;
}

.top-tool:hover {
  color: var(--brand);
}

.brand-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4fa0ff, #145dff);
}

.nav-link {
  color: #253142;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
}

.search-input {
  border: 1px solid #d5dfeb;
  border-radius: 20px;
  background: #fff;
}

.search-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(22, 119, 255, 0.15);
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(27, 70, 146, 0.05);
}

.sidebar-title {
  font-size: 16px;
  color: #91a0b2;
  padding: 6px 10px;
  margin-top: 4px;
}

.side-item {
  color: #3a4755;
  border-radius: 10px;
  padding: 8px 10px;
  display: block;
}

.side-item:hover,
.side-item.active {
  background: rgba(22, 119, 255, 0.12);
  color: var(--brand);
}

.hero-box {
  min-height: 280px;
  border-radius: 16px;
  padding: 40px 44px;
  color: #10315f;
  background: linear-gradient(120deg, #e9f2ff 0%, #cfe3ff 40%, #ecf5ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 14px;
}

.hero-layout > * {
  min-width: 0;
}

.hero-swiper {
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.hero-swiper .swiper-wrapper {
  max-width: 100%;
}

.hero-swiper .swiper-slide {
  width: 100% !important;
  height: auto;
}

.hero-swiper .swiper-pagination {
  bottom: 16px !important;
}

.hero-swiper .swiper-pagination-bullet {
  width: 18px;
  height: 4px;
  border-radius: 99px;
  background: rgba(13, 94, 214, 0.26);
  opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #0d5ed6;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(13, 94, 214, 0.18);
  box-shadow: 0 6px 16px rgba(16, 61, 132, 0.12);
  color: #1c63d3;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
}

.hero-swiper .swiper-button-prev {
  left: 12px;
}

.hero-swiper .swiper-button-next {
  right: 12px;
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 800;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: #fff;
}

.hero-box .btn {
  position: relative;
  z-index: 2;
}

.hero-box::after {
  content: "";
  width: 240px;
  height: 240px;
  position: absolute;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(20, 72, 160, 0.08);
}

.hero-side-title {
  font-size: 15px;
  font-weight: 700;
}

.hero-side-item {
  border: 1px solid #edf2fa;
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
}

.hero-metrics {
  position: relative;
  z-index: 2;
}

.metric-item {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 120px;
}

.metric-item strong {
  font-size: 20px;
  display: block;
}

.hero-box h1 {
  font-size: 40px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.hero-tag {
  background: rgba(15, 93, 214, 0.1);
  color: #0d5ed6;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
}

.course-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(24, 74, 151, 0.05);
  transition: all 0.25s ease;
}

.course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 71, 151, 0.1);
}

.course-card h6 {
  min-height: 38px;
  line-height: 1.35;
}

.thumb {
  max-height: 300px;
  color: #fff;
  padding: 14px;
}
.thumb img{width:100%;height:200px;}
.thumb.orange {
  background: linear-gradient(135deg, #f59e0b, #ff6c37);
}

.thumb.dark {
  background: linear-gradient(135deg, #2f3542, #0e1320);
}

.price {
  color: #ff4d4f;
  font-weight: 700;
}

.price-del {
  color: #a0abba;
  text-decoration: line-through;
}

.module-title {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.module-link {
  color: #8190a5;
}

.module-link:hover {
  color: var(--brand);
}

.quick-entry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(20, 72, 160, 0.05);
}

.quick-item {
  border: 1px solid #e9eef6;
  border-radius: 12px;
  padding: 14px;
  transition: all 0.2s ease;
  color: inherit;
  display: block;
}

.quick-item:hover {
  border-color: #cfe1ff;
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.1);
}

.quick-item i {
  font-size: 22px;
  color: var(--brand);
}

.info-chip {
  font-size: 12px;
  color: #627286;
}

.module-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(20, 72, 160, 0.05);
}

.instructor-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  height: 100%;
}

.avatar-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6da7ff, #2b6dff);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag-soft {
  background: #eef4ff;
  color: #2b62cc;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
}

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 16px;
  height: 100%;
}

.roadmap-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(20, 72, 160, 0.05);
}

.road-step {
  border: 1px dashed #c9d8ec;
  border-radius: 12px;
  padding: 14px;
  background: #fbfdff;
  height: 100%;
}

.road-index {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  margin-right: 8px;
}

.enterprise-banner {
  background: linear-gradient(120deg, #132c5f, #214ea5);
  color: #fff;
  border-radius: 16px;
  padding: 30px 28px;
}

.enterprise-badge {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #e6eeff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.list-filter {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(20, 72, 160, 0.04);
}

.list-filter .btn {
  border-radius: 16px;
}

.filter-label {
  font-size: 13px;
  color: #8393a8;
}

.filter-chip {
  border: 1px solid #dbe6f5;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  color: #506179;
  background: #fff;
}

.filter-chip.active {
  border-color: #b6d0ff;
  background: #ecf4ff;
  color: #1e63d3;
}

.result-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 6px 18px rgba(20, 72, 160, 0.04);
}

.list-card-media {
  width: 320px;
  height: auto;
}
.list-card-media img{width:100%;height:auto}
.course-tag {
  border: 1px solid #d9e6f9;
  color: #5b6f8a;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}

.list-card-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.list-card-desc {
  color: #6c7c90;
  margin-bottom: 8px;
}

.list-price-wrap {
  border-top: 1px dashed #e7edf6;
  padding-top: 10px;
}

.list-pagination a {
  border-radius: 9px;
  margin: 0 3px;
  border-color: #dce6f4;
  color: #506483;
    position: relative;
    display: block;
    margin-left:5px;
    padding:2px 8px;
}

.list-pagination li.active a{
  border-color: var(--brand);
  background: var(--brand);
  color:#fff;
}

.detail-main,
.detail-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(20, 72, 160, 0.05);
}

.detail-hero {
  border-radius: 14px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(125deg, #1b3e95, #1a72de 56%, #5aa7ff);
}

.detail-hero h1 {
  font-size: 30px;
  line-height: 1.3;
}

.detail-chip {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #eaf2ff;
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
}

.detail-stat {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 96px;
}

.detail-stat strong {
  display: block;
  font-size: 18px;
}

.anchor-tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 18px rgba(20, 72, 160, 0.05);
}

.anchor-tabs .nav-link {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
}

.anchor-tabs .nav-link.active {
  background:#0d5ed6;
}

.gain-item {
  border: 1px solid #e8eef6;
  background: #fbfdff;
  border-radius: 12px;
  padding: 14px;
  height: 100%;
}

.gain-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eaf2ff;
  color: #1a67dc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.chapter-item {
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.chapter-item:last-child {
  margin-bottom: 0;
}

.chapter-title {
  font-weight: 600;
}

.chapter-badge {
  font-size: 12px;
  border-radius: 999px;
  padding: 2px 8px;
  background: #f0f6ff;
  color: #2369d8;
}

.rating-box {
  border: 1px solid #e8eef6;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.purchase-card-title {
  font-size: 18px;
  font-weight: 700;
}

.coupon-tip {
  border: 1px dashed #ffcf9f;
  background: #fff8f0;
  color: #a85c14;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
}

.service-list .info-chip {
  font-size: 13px;
  margin-bottom: 8px;
}

.teacher-mini {
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 12px;
}

footer {
  background: #0e1a2a;
  color: #dbe5f2;
  margin-top: 48px;
}

.footer-link {
  color: #c4d2e3;
  display: inline-block;
  margin-right: 12px;
}

.footer-link:hover {
  color: #fff;
}

.partner-badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  margin: 0 8px 8px 0;
  display: inline-block;
}

@media (max-width: 991px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-box {
    padding: 28px;
    min-height: auto;
  }

  .hero-box h1 {
    font-size: 30px;
  }
}
