/* ============================================
   企业教练页面 - 宽页面样式
   ============================================ */

/* ============================================
   1. 宽页面基础布局
   ============================================ */
.wide-page .inner-layout {
  display: block;
}

.wide-page .inner-main {
  width: 100%;
  max-width: 100%;
}

.wide-page .content-card {
  padding: 28px;
}

@media (min-width: 992px) {
  .wide-page .content-card {
    padding: 36px 40px;
  }
  
  .wide-card {
    max-width: 100%;
  }
}

/* ============================================
   2. 数据概览卡片
   ============================================ */
.stats-hero-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border-radius: 24px;
  padding: 28px 24px;
  margin-bottom: 24px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(67, 56, 202, 0.3);
}

.stats-hero-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 160%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.stats-hero-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.stats-badge.hot {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
}

.stats-hero-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.stats-hero-subtitle {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.stat-item {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}

.stat-item.highlight {
  background: rgba(147, 51, 234, 0.2);
  border-color: rgba(147, 51, 234, 0.3);
}

.stat-item.alert {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.2);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-value .unit {
  font-size: 1rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2px;
  opacity: 0.9;
}

.stat-period {
  font-size: 0.7rem;
  opacity: 0.6;
}

.stats-source {
  font-size: 0.75rem;
  opacity: 0.5;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .stats-hero-card {
    padding: 40px 48px;
  }
  
  .stats-hero-title {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .stat-item {
    padding: 28px 20px;
  }
  
  .stat-value {
    font-size: 2.4rem;
  }
}

/* ============================================
   3. 黄金赛道
   ============================================ */
.opportunity-intro {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.04) 0%, rgba(124, 58, 237, 0.02) 100%);
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid #ede9fe;
  border-left: 3px solid var(--primary);
}

.opportunity-intro p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.opportunity-intro .highlight {
  color: var(--primary);
  font-weight: 600;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.opportunity-item {
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(250,250,255,1) 100%);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.opportunity-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), #7c3aed);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.opportunity-item:hover {
  border-color: rgba(147, 51, 234, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.08);
}

.opportunity-item:hover::before {
  opacity: 1;
}

.opportunity-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.opportunity-icon i {
  font-size: 1.4rem;
  color: var(--primary);
}

.opportunity-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.opportunity-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.opportunity-desc .em {
  color: var(--primary);
  font-weight: 600;
}

.opportunity-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.06) 0%, rgba(124, 58, 237, 0.03) 100%);
  border-radius: 16px;
  border: 1px dashed rgba(147, 51, 234, 0.15);
}

.cta-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-icon i {
  font-size: 1.25rem;
  color: white;
}

.opportunity-cta p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 992px) {
  .opportunity-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .opportunity-item {
    padding: 28px;
  }
}

/* ============================================
   4. 60小时学习卡片
   ============================================ */
.learning-hero-card {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, #6d28d9 100%);
  border-radius: 24px;
  padding: 32px 28px;
  margin-bottom: 24px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(147, 51, 234, 0.3);
}

.learning-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.learning-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.learning-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.learning-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.learning-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 30px;
  backdrop-filter: blur(4px);
}

.feature-item i {
  font-size: 1.1rem;
}

.feature-item.highlight {
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.learning-cta {
  position: relative;
  z-index: 1;
}

.learning-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: white;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.35s ease;
}

.learning-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  color: var(--primary);
  text-decoration: none;
}

@media (min-width: 992px) {
  .learning-hero-card {
    padding: 48px 60px;
  }
  
  .learning-title {
    font-size: 2.6rem;
  }
  
  .learning-features {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================
   5. 认证介绍
   ============================================ */
.cert-intro {
  padding: 24px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.04) 0%, rgba(124, 58, 237, 0.02) 100%);
  border-radius: 16px;
  margin-bottom: 24px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 16px;
}

.cert-intro p {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.cert-intro strong {
  color: var(--primary);
}

.cert-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.cert-card {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(250,250,255,1) 100%);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  transition: all 0.35s ease;
}

.cert-card:hover {
  border-color: rgba(147, 51, 234, 0.12);
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.08);
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.06) 0%, rgba(124, 58, 237, 0.03) 100%);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.cert-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon i {
  font-size: 1.3rem;
  color: white;
}

.cert-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cert-body {
  padding: 20px;
}

.cert-level {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.cert-scope {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 992px) {
  .cert-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ============================================
   6. 认证套餐对比
   ============================================ */
.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.package-card {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(250,250,255,1) 100%);
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
}

.package-card:hover {
  border-color: rgba(147, 51, 234, 0.1);
  box-shadow: 0 12px 32px rgba(147, 51, 234, 0.08);
}

.package-card.featured {
  border-color: rgba(147, 51, 234, 0.2);
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.1);
}

.package-recommend {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
}

.package-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.package-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.package-badge {
  padding: 5px 12px;
  background: rgba(147, 51, 234, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
}

.package-badge.pro {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(124, 58, 237, 0.08) 100%);
}

.package-body {
  padding: 20px 24px;
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.package-list li:last-child {
  border-bottom: none;
}

.package-list li i {
  font-size: 1rem;
  color: var(--primary);
}

.package-footer {
  padding: 0 24px 24px;
}

.package-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: rgba(147, 51, 234, 0.06);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.35s ease;
  border: 1px solid rgba(147, 51, 234, 0.1);
}

.package-btn:hover {
  background: rgba(147, 51, 234, 0.1);
  color: var(--primary);
  text-decoration: none;
}

.package-btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
  border: none;
}

.package-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
  color: white;
}

@media (min-width: 992px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .package-header {
    padding: 28px 32px 0;
  }
  
  .package-body {
    padding: 24px 32px;
  }
  
  .package-footer {
    padding: 0 32px 32px;
  }
}

/* ============================================
   7. 直播预告
   ============================================ */
.live-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.04) 0%, rgba(124, 58, 237, 0.02) 100%);
  border-radius: 20px;
}

.live-qrcode {
  text-align: center;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 2px dashed rgba(147, 51, 234, 0.2);
}

.qr-placeholder i {
  font-size: 3.5rem;
  color: rgba(147, 51, 234, 0.2);
}

.qr-tip {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.live-info {
  text-align: center;
}

.live-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.live-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.live-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.live-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(147, 51, 234, 0.06);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
}

@media (min-width: 992px) {
  .live-preview {
    flex-direction: row;
    padding: 32px;
  }
  
  .live-info {
    text-align: left;
    flex: 1;
  }
}

/* ============================================
   8. 文章列表
   ============================================ */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.article-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(250,250,255,1) 100%);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.04);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.article-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), #7c3aed);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.article-item:hover {
  border-color: rgba(147, 51, 234, 0.12);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(147, 51, 234, 0.06);
  text-decoration: none;
}

.article-item:hover::before {
  opacity: 1;
}

.article-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-icon i {
  font-size: 1.1rem;
  color: var(--primary);
}

.article-content {
  flex: 1;
  min-width: 0;
}

.article-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.article-item:hover .article-title {
  color: var(--primary);
}

.article-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-arrow {
  width: 32px;
  height: 32px;
  background: rgba(147, 51, 234, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.article-arrow i {
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.35s ease;
}

.article-item:hover .article-arrow {
  background: var(--primary);
}

.article-item:hover .article-arrow i {
  color: white;
  transform: translateX(2px);
}

@media (min-width: 992px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .article-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    text-align: left;
  }
  
  .article-item::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 3px;
  }
  
  .article-icon {
    margin-bottom: 14px;
  }
  
  .article-content {
    width: 100%;
    margin-bottom: 14px;
  }
  
  .article-desc {
    -webkit-line-clamp: 2;
  }
  
  .article-arrow {
    align-self: flex-end;
  }
}
