* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  font-family: Helvetica Neue, Tahoma, Arial, PingFangSC-Regular, Hiragino Sans GB, Microsoft Yahei, sans-serif;
}
a {
  color: #333;
  text-decoration: none;
}
img {
  vertical-align: middle;
  width: 100%;
  height: 100%;
}
ul {
  list-style: none;
}
.ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body {
  background-color: #f5f7fa;
  padding-bottom: 80px;
}
.banner {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.banner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.banner .banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.banner .banner-content .course-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}
.banner .banner-content .course-subtitle {
  font-size: 14px;
  opacity: 0.9;
}
.container {
  width: 100%;
  padding: 0 15px 20px;
  margin-top: -30px;
  position: relative;
  z-index: 2;
}
.card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.card .card-header {
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}
.card .card-header .iconfont {
  font-size: 20px;
  color: #667eea;
  margin-right: 8px;
}
.card .card-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}
.card .card-body {
  padding: 20px;
}
.subject-card .subject-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}
.subject-card .subject-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  text-align: justify;
}
.info-list li {
  font-size: 14px;
  line-height: 2;
  color: #666;
  position: relative;
  padding-left: 15px;
}
.info-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}
.condition-item {
  margin-bottom: 15px;
  font-size: 14px;
}
.condition-item:last-child {
  margin-bottom: 0;
}
.condition-item .condition-label {
  color: #999;
  display: inline-block;
  width: 80px;
}
.condition-item .condition-text {
  color: #333;
  font-weight: 500;
}
.highlight-card {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border: 1px solid #ffebee;
}
.highlight-card .card-header .iconfont {
  color: #ff5252;
}
.highlight-card .subsidy-amount {
  text-align: center;
  font-size: 16px;
  color: #333;
  padding: 15px 0;
  margin-bottom: 15px;
  background: #fff;
  border-radius: 8px;
}
.highlight-card .subsidy-amount .price {
  font-size: 32px;
  font-weight: bold;
  color: #ff5252;
  margin: 0 5px;
}
.highlight-card .subsidy-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.material-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  color: #666;
}
.material-list li:last-child {
  border-bottom: none;
}
.material-list li .material-icon {
  font-size: 24px;
  margin-right: 12px;
}
.training-mode .mode-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 12px;
}
.training-mode .mode-item:last-child {
  margin-bottom: 0;
}
.training-mode .mode-item .mode-icon {
  font-size: 32px;
  margin-right: 15px;
  flex-shrink: 0;
}
.training-mode .mode-item .mode-text {
  flex: 1;
}
.training-mode .mode-item .mode-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px;
}
.training-mode .mode-item .mode-text p {
  font-size: 13px;
  color: #999;
  margin: 0;
}
.time-card .time-info {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 0;
  margin-bottom: 15px;
}
.time-card .time-info .time-item {
  text-align: center;
  flex: 1;
}
.time-card .time-info .time-item .time-label {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}
.time-card .time-info .time-item .time-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.time-card .time-info .time-divider {
  width: 1px;
  height: 40px;
  background: #e0e0e0;
}
.time-card .time-tip {
  background: #fff3e0;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 13px;
  color: #ff6f00;
  display: flex;
  align-items: center;
}
.time-card .time-tip .iconfont {
  margin-right: 8px;
  font-size: 16px;
}
.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 12px 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  z-index: 100;
}
.footer-bar .register-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.footer-bar .register-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}
