/* ============================================
   步步成师©I阶 页面专属样式
   移动端优先设计
   ============================================ */

/* === CSS 变量 === */
:root {
  --st1-primary: #7c3aed;
  --st1-secondary: #6d28d9;
  --st1-gradient: linear-gradient(135deg, #7c3aed, #6d28d9);
  --st1-bg-light: rgba(124, 58, 237, 0.04);
  --st1-bg-medium: rgba(124, 58, 237, 0.08);
  --st1-border: rgba(124, 58, 237, 0.1);
  --st1-border-medium: rgba(124, 58, 237, 0.18);
  --st1-text: #1a1a2e;
  --st1-text-secondary: #555;
  --st1-text-muted: #999;
  --st1-accent: #f59e0b;
  --st1-radius: 10px;
  --st1-radius-lg: 14px;
  --st1-online: #059669;
  --st1-online-bg: rgba(5, 150, 105, 0.05);
  --st1-online-border: rgba(5, 150, 105, 0.12);
  --st1-danger: #dc2626;
  --st1-danger-bg: rgba(220, 38, 38, 0.04);
  --st1-danger-border: rgba(220, 38, 38, 0.1);
}

/* ============================
   课程头图卡片
   ============================ */
.inner-main .st1-hero-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.inner-main .st1-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  background: var(--st1-gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 12px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
}

.inner-main .st1-badge.hot {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.inner-main .st1-badge i {
  font-size: 0.72rem;
}

.inner-main .st1-hero-content {
  text-align: center;
}

.inner-main .st1-hero-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--st1-text);
  line-height: 1.35;
  margin-bottom: 8px;
}

.inner-main .st1-hero-subtitle {
  font-size: 0.95rem;
  color: var(--st1-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.inner-main .st1-hero-subtitle2 {
  font-size: 0.8rem;
  color: var(--st1-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* 头图装饰分隔线 */
.inner-main .st1-hero-divider {
  width: 36px;
  height: 3px;
  background: var(--st1-gradient);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* 头图统计区 */
.inner-main .st1-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.inner-main .st1-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.inner-main .st1-hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--st1-primary);
  line-height: 1;
}

.inner-main .st1-hero-stat-unit {
  font-size: 0.85rem;
  color: var(--st1-primary);
  font-weight: 600;
}

.inner-main .st1-hero-stat-label {
  font-size: 0.68rem;
  color: var(--st1-text-muted);
  margin-top: 3px;
}

.inner-main .st1-hero-stat-sep {
  font-size: 1.1rem;
  color: var(--st1-accent);
  font-weight: 700;
}

/* ============================
   段落文字
   ============================ */
.inner-main .st1-paragraph {
  font-size: 0.85rem;
  color: var(--st1-text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.inner-main .st1-paragraph:last-child {
  margin-bottom: 0;
}

.inner-main .st1-paragraph strong {
  color: var(--st1-text);
  font-weight: 600;
}

/* ============================
   成功案例人物列表
   ============================ */
.inner-main .st1-people-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inner-main .st1-people-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--st1-bg-light);
  border-radius: var(--st1-radius);
  border: 1px solid var(--st1-border);
  border-left: 3px solid var(--st1-primary);
  align-items: flex-start;
}

.inner-main .st1-people-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--st1-gradient);
  color: white;
  font-size: 0.9rem;
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 1px;
}

.inner-main .st1-people-content {
  flex: 1;
  min-width: 0;
}

.inner-main .st1-people-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--st1-primary);
  margin-bottom: 6px;
}

.inner-main .st1-people-desc {
  font-size: 0.8rem;
  color: var(--st1-text-secondary);
  line-height: 1.7;
}

/* ============================
   痛点列表
   ============================ */
.inner-main .st1-pain-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.inner-main .st1-pain-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--st1-danger-bg);
  border-radius: var(--st1-radius);
  border: 1px solid var(--st1-danger-border);
}

.inner-main .st1-pain-keyword {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--st1-danger);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.inner-main .st1-pain-text {
  font-size: 0.85rem;
  color: #991b1b;
  line-height: 1.55;
}

.inner-main .st1-pain-text strong {
  color: #7f1d1d;
  font-weight: 700;
}

/* ============================
   邀请框
   ============================ */
.inner-main .st1-invite-box {
  padding: 18px 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(109, 40, 217, 0.03));
  border-radius: var(--st1-radius);
  border: 1px solid var(--st1-border-medium);
  text-align: center;
}

.inner-main .st1-invite-text {
  font-size: 0.85rem;
  color: var(--st1-text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.inner-main .st1-invite-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--st1-primary);
  line-height: 1.4;
}

/* ============================
   训练营组合
   ============================ */
.inner-main .st1-training-combo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0;
  padding: 20px 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(109, 40, 217, 0.02));
  border-radius: var(--st1-radius-lg);
  border: 1px solid var(--st1-border-medium);
}

.inner-main .st1-training-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.inner-main .st1-training-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--st1-primary);
  line-height: 1;
}

.inner-main .st1-training-unit {
  font-size: 0.85rem;
  color: var(--st1-primary);
  font-weight: 600;
}

.inner-main .st1-training-label {
  font-size: 0.7rem;
  color: var(--st1-text-muted);
  margin-top: 4px;
  text-align: center;
}

.inner-main .st1-training-plus {
  font-size: 1.3rem;
  color: var(--st1-accent);
  font-weight: 700;
}

/* ============================
   高亮框
   ============================ */
.inner-main .st1-highlight-box {
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.07), rgba(109, 40, 217, 0.03));
  border: 1px solid var(--st1-border-medium);
  border-radius: var(--st1-radius);
  font-size: 0.85rem;
  color: var(--st1-text);
  line-height: 1.75;
  font-weight: 500;
}

/* ============================
   收获列表
   ============================ */
.inner-main .st1-intro-text {
  font-size: 0.85rem;
  color: var(--st1-text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.inner-main .st1-gain-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inner-main .st1-gain-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--st1-bg-light);
  border-radius: var(--st1-radius);
  border: 1px solid var(--st1-border);
  border-left: 3px solid var(--st1-primary);
}

.inner-main .st1-gain-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--st1-gradient);
  border-radius: 8px;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.inner-main .st1-gain-body {
  flex: 1;
  min-width: 0;
}

.inner-main .st1-gain-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--st1-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.inner-main .st1-gain-sublist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inner-main .st1-gain-sub {
  font-size: 0.78rem;
  color: var(--st1-text-secondary);
  line-height: 1.65;
  padding-left: 12px;
  position: relative;
}

.inner-main .st1-gain-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background: var(--st1-primary);
  border-radius: 50%;
  opacity: 0.6;
}

.inner-main .st1-gain-sub strong {
  color: var(--st1-text);
  font-weight: 600;
}

/* ============================
   承诺框
   ============================ */
.inner-main .st1-promise-box {
  margin-top: 16px;
  padding: 18px 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(217, 119, 6, 0.03));
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--st1-radius);
  text-align: center;
}

.inner-main .st1-promise-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 8px;
}

.inner-main .st1-promise-text {
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.75;
}

/* ============================
   课程模块卡片
   ============================ */
.inner-main .st1-module-card {
  padding: 14px 14px 14px 18px;
  background: var(--st1-bg-light);
  border-radius: var(--st1-radius);
  border: 1px solid var(--st1-border);
  border-left: 3px solid var(--st1-primary);
  margin-bottom: 8px;
}

.inner-main .st1-module-card:last-child {
  margin-bottom: 0;
}

.inner-main .st1-module-card.online {
  background: var(--st1-online-bg);
  border-color: var(--st1-online-border);
  border-left-color: var(--st1-online);
}

.inner-main .st1-module-card.online .st1-module-label {
  background: linear-gradient(135deg, #059669, #047857);
}

.inner-main .st1-module-card.online .st1-module-title {
  color: #047857;
}

.inner-main .st1-module-card.online .st1-module-point::before {
  background: var(--st1-online);
}

.inner-main .st1-module-card.graduation {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(217, 119, 6, 0.02));
  border-color: rgba(245, 158, 11, 0.15);
  border-left-color: #d97706;
}

.inner-main .st1-module-card.graduation .st1-module-label {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.inner-main .st1-module-card.graduation .st1-module-title {
  color: #b45309;
}

.inner-main .st1-module-card.graduation .st1-module-point::before {
  background: #f59e0b;
}

.inner-main .st1-module-label {
  display: inline-block;
  padding: 3px 10px;
  background: var(--st1-gradient);
  color: white;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.inner-main .st1-module-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--st1-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.inner-main .st1-module-points {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inner-main .st1-module-point {
  font-size: 0.78rem;
  color: var(--st1-text-secondary);
  line-height: 1.6;
  padding-left: 12px;
  position: relative;
}

.inner-main .st1-module-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background: var(--st1-primary);
  border-radius: 50%;
  opacity: 0.6;
}

/* ============================
   引用框
   ============================ */
.inner-main .st1-quote-box {
  margin-top: 14px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(109, 40, 217, 0.02));
  border: 1px solid var(--st1-border);
  border-radius: var(--st1-radius);
  font-size: 0.84rem;
  color: var(--st1-text);
  line-height: 1.75;
  font-style: italic;
  text-align: center;
}

/* ============================
   721原则
   ============================ */
.inner-main .st1-ratio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inner-main .st1-ratio-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--st1-bg-light);
  border-radius: var(--st1-radius);
  border: 1px solid var(--st1-border);
  border-left: 3px solid var(--st1-primary);
  align-items: flex-start;
}

.inner-main .st1-ratio-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 34px;
  background: var(--st1-gradient);
  border-radius: 8px;
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 0;
}

.inner-main .st1-ratio-body {
  flex: 1;
  min-width: 0;
}

.inner-main .st1-ratio-text {
  font-size: 0.82rem;
  color: var(--st1-text-secondary);
  line-height: 1.75;
}

.inner-main .st1-ratio-text strong {
  color: var(--st1-text);
  font-weight: 600;
}

/* ============================
   闭环标签
   ============================ */
.inner-main .st1-loop-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 16px;
  flex-wrap: wrap;
}

.inner-main .st1-loop-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  background: var(--st1-gradient);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(124, 58, 237, 0.2);
}

.inner-main .st1-loop-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--st1-primary);
  font-size: 0.7rem;
  width: 20px;
  opacity: 0.5;
}

/* ============================
   照片区
   ============================ */
.inner-main .st1-photo-section {
  margin-bottom: 18px;
}

.inner-main .st1-photo-section:last-child {
  margin-bottom: 0;
}

.inner-main .st1-photo-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--st1-text);
  margin-bottom: 10px;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.inner-main .st1-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.inner-main .st1-photo-img {
  width: 100%;
  border-radius: var(--st1-radius);
  display: block;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* ============================
   导师卡片
   ============================ */
.inner-main .st1-mentor-card {
  padding: 0;
}

.inner-main .st1-mentor-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--st1-text);
  margin-bottom: 4px;
}

.inner-main .st1-mentor-title {
  font-size: 0.82rem;
  color: var(--st1-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.inner-main .st1-mentor-summary {
  font-size: 0.82rem;
  color: var(--st1-text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--st1-bg-light);
  border-radius: var(--st1-radius);
  border: 1px solid var(--st1-border);
  border-left: 3px solid var(--st1-primary);
}

.inner-main .st1-mentor-creds {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.inner-main .st1-cred-item {
  font-size: 0.76rem;
  color: var(--st1-text-secondary);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.inner-main .st1-cred-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--st1-primary);
  border-radius: 50%;
  opacity: 0.5;
}

.inner-main .st1-mentor-detail {
  font-size: 0.82rem;
  color: var(--st1-text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--st1-radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============================
   导师里程碑时间轴
   ============================ */
.inner-main .st1-mentor-milestones {
  position: relative;
  padding-left: 22px;
  margin-bottom: 16px;
}

.inner-main .st1-mentor-milestones::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--st1-primary), rgba(124, 58, 237, 0.15));
  border-radius: 1px;
}

.inner-main .st1-milestone {
  position: relative;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: var(--st1-bg-light);
  border-radius: var(--st1-radius);
  border: 1px solid var(--st1-border);
}

.inner-main .st1-milestone:last-child {
  margin-bottom: 0;
}

.inner-main .st1-milestone::before {
  content: '';
  position: absolute;
  left: -21px;
  top: 14px;
  width: 10px;
  height: 10px;
  background: var(--st1-primary);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.inner-main .st1-milestone-year {
  display: inline-block;
  padding: 2px 8px;
  background: var(--st1-gradient);
  color: white;
  font-size: 0.66rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}

.inner-main .st1-milestone-text {
  font-size: 0.76rem;
  color: var(--st1-text-secondary);
  line-height: 1.65;
}

.inner-main .st1-milestone-text strong {
  color: var(--st1-text);
  font-weight: 600;
}

/* ============================
   导师引言
   ============================ */
.inner-main .st1-mentor-quote {
  padding: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(109, 40, 217, 0.01));
  border: 1px solid var(--st1-border);
  border-radius: var(--st1-radius);
  font-size: 0.82rem;
  color: var(--st1-text-secondary);
  line-height: 1.8;
  font-style: italic;
  text-align: center;
}

/* ============================
   PC 适配
   ============================ */

/* === 触摸反馈 === */
.inner-main .st1-people-card:active { transform: scale(0.985); }
.inner-main .st1-module-card:active { transform: scale(0.985); }
.inner-main .st1-gain-item:active { transform: scale(0.985); }

@media (min-width: 768px) {
  .inner-main .st1-hero-title {
    font-size: 1.5rem;
  }

  .inner-main .st1-hero-subtitle {
    font-size: 1.05rem;
  }

  .inner-main .st1-hero-stat-num {
    font-size: 1.9rem;
  }

  .inner-main .st1-hero-stats {
    gap: 28px;
  }

  .inner-main .st1-paragraph {
    font-size: 0.9rem;
  }

  .inner-main .st1-people-item {
    padding: 16px;
  }

  .inner-main .st1-people-name {
    font-size: 0.9rem;
  }

  .inner-main .st1-people-desc {
    font-size: 0.84rem;
  }

  .inner-main .st1-pain-text {
    font-size: 0.88rem;
  }

  .inner-main .st1-training-combo {
    gap: 24px;
    padding: 24px 20px;
  }

  .inner-main .st1-training-num {
    font-size: 2.4rem;
  }

  .inner-main .st1-gain-title {
    font-size: 0.95rem;
  }

  .inner-main .st1-gain-sub {
    font-size: 0.82rem;
  }

  .inner-main .st1-module-card {
    padding: 16px 16px 16px 20px;
  }

  .inner-main .st1-module-title {
    font-size: 0.95rem;
  }

  .inner-main .st1-module-point {
    font-size: 0.82rem;
  }

  .inner-main .st1-photo-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .inner-main .st1-photo-section:first-child .st1-photo-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .inner-main .st1-photo-section:nth-child(2) .st1-photo-grid {
    grid-template-columns: 1fr;
  }

  .inner-main .st1-photo-section:last-child .st1-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .inner-main .st1-milestone {
    padding: 12px 14px;
  }

  .inner-main .st1-milestone-text {
    font-size: 0.82rem;
  }

  .inner-main .st1-ratio-num {
    min-width: 58px;
    height: 38px;
    font-size: 0.92rem;
  }

  .inner-main .st1-ratio-text {
    font-size: 0.86rem;
  }

  .inner-main .st1-loop-tag {
    padding: 8px 20px;
    font-size: 0.82rem;
  }
}

/* ============================
   窄屏适配
   ============================ */
@media (max-width: 359px) {
  .inner-main .st1-hero-title {
    font-size: 1.1rem;
  }

  .inner-main .st1-hero-stat-num {
    font-size: 1.2rem;
  }

  .inner-main .st1-hero-stats {
    gap: 12px;
  }

  .inner-main .st1-training-num {
    font-size: 1.5rem;
  }

  .inner-main .st1-training-combo {
    gap: 10px;
    padding: 14px 10px;
  }

  .inner-main .st1-loop-tags {
    gap: 0;
  }

  .inner-main .st1-loop-tag {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .inner-main .st1-loop-arrow {
    width: 14px;
  }

  .inner-main .st1-pain-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .inner-main .st1-gain-item {
    flex-direction: column;
    gap: 8px;
  }

  .inner-main .st1-ratio-item {
    flex-direction: column;
    gap: 8px;
  }

  .inner-main .st1-ratio-num {
    min-width: auto;
    width: fit-content;
    padding: 4px 12px;
  }
}
