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

/* === CSS 变量 === */
:root {
  --st2-primary: #7c3aed;
  --st2-secondary: #6d28d9;
  --st2-gradient: linear-gradient(135deg, #7c3aed, #6d28d9);
  --st2-bg-light: rgba(124, 58, 237, 0.04);
  --st2-bg-medium: rgba(124, 58, 237, 0.08);
  --st2-border: rgba(124, 58, 237, 0.1);
  --st2-border-medium: rgba(124, 58, 237, 0.18);
  --st2-text: #1a1a2e;
  --st2-text-secondary: #555;
  --st2-text-muted: #999;
  --st2-accent: #f59e0b;
  --st2-radius: 10px;
  --st2-radius-lg: 14px;
  --st2-teal: #0d9488;
  --st2-teal-bg: rgba(13, 148, 136, 0.05);
  --st2-teal-border: rgba(13, 148, 136, 0.12);
}

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

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

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

.inner-main .st2-badge.cert {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35);
}

.inner-main .st2-badge i {
  font-size: 0.75rem;
}

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

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

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

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

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

/* 头图统计区 */
.inner-main .st2-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(13, 148, 136, 0.04));
  border: 1px solid var(--st2-border);
  border-radius: var(--st2-radius-lg);
}

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

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

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

.inner-main .st2-hero-stat-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--st2-teal);
  line-height: 1;
}

.inner-main .st2-hero-stat-label {
  font-size: 0.7rem;
  color: var(--st2-text-muted);
  white-space: nowrap;
}

.inner-main .st2-hero-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--st2-border-medium);
}

.inner-main .st2-hero-img {
  width: 100%;
  border-radius: var(--st2-radius-lg);
  margin-top: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

/* ============================
   6个灵魂拷问
   ============================ */
.inner-main .st2-question-list {
  margin-top: 16px;
}

.inner-main .st2-question-item {
  display: flex;
  gap: 12px;
  padding: 14px 12px;
  margin-bottom: 8px;
  background: var(--st2-bg-light);
  border: 1px solid var(--st2-border);
  border-radius: var(--st2-radius);
  align-items: flex-start;
  transition: background 0.2s;
}

.inner-main .st2-question-item:last-child {
  margin-bottom: 0;
}

.inner-main .st2-question-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st2-gradient);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
}

.inner-main .st2-question-text {
  font-size: 0.85rem;
  color: var(--st2-text);
  line-height: 1.7;
}

.inner-main .st2-question-text strong {
  color: var(--st2-primary);
  font-weight: 600;
}

/* 引导文字 */
.inner-main .st2-lead-text {
  margin-top: 20px;
  padding: 16px;
  background: var(--st2-bg-medium);
  border: 1px solid var(--st2-border-medium);
  border-radius: var(--st2-radius);
}

.inner-main .st2-lead-text p {
  font-size: 0.85rem;
  color: var(--st2-text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.inner-main .st2-lead-text p:last-child {
  margin-bottom: 0;
}

.inner-main .st2-lead-text strong {
  color: var(--st2-primary);
  font-weight: 600;
}

/* 课程名称高亮 */
.inner-main .st2-course-name {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--st2-gradient);
  color: white;
  font-size: 0.88rem;
  line-height: 1.65;
  border-radius: var(--st2-radius-lg);
  text-align: center;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

/* 结论 */
.inner-main .st2-course-conclusion {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--st2-teal-bg);
  border: 1px solid var(--st2-teal-border);
  border-radius: var(--st2-radius);
  font-size: 0.85rem;
  color: var(--st2-teal);
  font-weight: 600;
  text-align: center;
  line-height: 1.7;
}

/* ============================
   课程收益
   ============================ */
.inner-main .st2-intro-text {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--st2-bg-light);
  border: 1px solid var(--st2-border);
  border-radius: var(--st2-radius);
}

.inner-main .st2-intro-text p {
  font-size: 0.85rem;
  color: var(--st2-text-secondary);
  line-height: 1.75;
  margin: 0;
}

.inner-main .st2-intro-text strong {
  color: var(--st2-primary);
  font-weight: 600;
}

.inner-main .st2-benefit-list {
  margin-top: 8px;
}

.inner-main .st2-benefit-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: white;
  border: 1px solid var(--st2-border);
  border-left: 3px solid var(--st2-primary);
  border-radius: var(--st2-radius);
  align-items: flex-start;
}

.inner-main .st2-benefit-item:last-child {
  margin-bottom: 0;
}

.inner-main .st2-benefit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st2-gradient);
  color: white;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.2);
}

.inner-main .st2-benefit-content {
  flex: 1;
  min-width: 0;
}

.inner-main .st2-benefit-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--st2-text);
  margin-bottom: 5px;
}

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

.inner-main .st2-benefit-desc strong {
  color: var(--st2-primary);
  font-weight: 600;
}

/* 区段图片 */
.inner-main .st2-section-img {
  width: 100%;
  border-radius: var(--st2-radius-lg);
  margin-top: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* ============================
   课程核心内容
   ============================ */
.inner-main .st2-content-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.inner-main .st2-content-item {
  display: flex;
  gap: 8px;
  padding: 12px 10px;
  background: var(--st2-bg-light);
  border: 1px solid var(--st2-border);
  border-radius: var(--st2-radius);
  align-items: flex-start;
}

.inner-main .st2-content-item:nth-child(odd) {
  background: rgba(13, 148, 136, 0.04);
  border-color: var(--st2-teal-border);
}

.inner-main .st2-content-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st2-gradient);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
}

.inner-main .st2-content-item:nth-child(odd) .st2-content-num {
  background: linear-gradient(135deg, #0d9488, #0f766e);
}

.inner-main .st2-content-text {
  font-size: 0.8rem;
  color: var(--st2-text);
  line-height: 1.55;
  font-weight: 500;
}

/* ============================
   课程将如何开展
   ============================ */
.inner-main .st2-method-list {
  margin-top: 12px;
}

.inner-main .st2-method-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  margin-bottom: 10px;
  background: white;
  border: 1px solid var(--st2-border);
  border-left: 3px solid var(--st2-teal);
  border-radius: var(--st2-radius);
  align-items: flex-start;
}

.inner-main .st2-method-item:last-child {
  margin-bottom: 0;
}

.inner-main .st2-method-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: white;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

.inner-main .st2-method-content {
  flex: 1;
  min-width: 0;
}

.inner-main .st2-method-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--st2-teal);
  margin-bottom: 6px;
}

.inner-main .st2-method-desc {
  font-size: 0.82rem;
  color: var(--st2-text-secondary);
  line-height: 1.7;
}

/* ============================
   导师介绍
   ============================ */
.inner-main .st2-mentor-card {
  background: white;
  border: 1px solid var(--st2-border);
  border-radius: var(--st2-radius-lg);
  overflow: hidden;
}

.inner-main .st2-mentor-header {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(13, 148, 136, 0.04));
  border-bottom: 1px solid var(--st2-border);
}

.inner-main .st2-mentor-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st2-gradient);
  color: white;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.25);
}

.inner-main .st2-mentor-intro {
  flex: 1;
}

.inner-main .st2-mentor-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--st2-text);
  margin-bottom: 3px;
}

.inner-main .st2-mentor-title {
  font-size: 0.8rem;
  color: var(--st2-primary);
  font-weight: 500;
  line-height: 1.4;
}

/* 导师经历 */
.inner-main .st2-mentor-experience {
  padding: 18px 16px;
  border-bottom: 1px solid var(--st2-border);
}

.inner-main .st2-mentor-experience p {
  font-size: 0.82rem;
  color: var(--st2-text-secondary);
  line-height: 1.8;
  margin: 0;
}

.inner-main .st2-mentor-story {
  padding: 18px 16px;
  border-bottom: 1px solid var(--st2-border);
}

.inner-main .st2-mentor-story p {
  font-size: 0.82rem;
  color: var(--st2-text-secondary);
  line-height: 1.8;
  margin: 0 0 12px;
}

.inner-main .st2-mentor-story p:last-child {
  margin-bottom: 0;
}

/* 导师秘密 */
.inner-main .st2-mentor-secret {
  padding: 18px 16px;
  background: var(--st2-bg-light);
  border-bottom: 1px solid var(--st2-border);
}

.inner-main .st2-mentor-secret > p {
  font-size: 0.85rem;
  color: var(--st2-text);
  line-height: 1.65;
  margin: 0 0 14px;
  font-weight: 600;
}

.inner-main .st2-secret-pairs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.inner-main .st2-secret-pair {
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--st2-border-medium);
  border-radius: var(--st2-radius);
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.inner-main .st2-secret-word {
  font-size: 0.9rem;
  color: var(--st2-text);
  line-height: 1.5;
}

.inner-main .st2-secret-word strong {
  color: var(--st2-primary);
  font-weight: 700;
}

.inner-main .st2-secret-reveal {
  font-size: 0.88rem;
  color: var(--st2-teal);
  text-align: center;
  margin: 0;
  line-height: 1.6;
  font-weight: 600;
}

/* 客户列表 */
.inner-main .st2-mentor-clients {
  padding: 18px 16px;
}

.inner-main .st2-clients-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--st2-text);
  margin-bottom: 12px;
}

.inner-main .st2-clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.inner-main .st2-client-tag {
  padding: 5px 12px;
  background: var(--st2-bg-light);
  border: 1px solid var(--st2-border);
  border-radius: 6px;
  font-size: 0.73rem;
  color: var(--st2-text-secondary);
  white-space: nowrap;
}

/* ============================
   谁适合参加
   ============================ */
.inner-main .st2-audience-intro {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--st2-bg-light);
  border: 1px solid var(--st2-border);
  border-radius: var(--st2-radius);
}

.inner-main .st2-audience-intro p {
  font-size: 0.85rem;
  color: var(--st2-text-secondary);
  line-height: 1.75;
  margin: 0;
}

.inner-main .st2-audience-list {
  margin-top: 8px;
}

.inner-main .st2-audience-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: white;
  border: 1px solid var(--st2-border);
  border-left: 3px solid var(--st2-teal);
  border-radius: var(--st2-radius);
  align-items: center;
}

.inner-main .st2-audience-item:last-child {
  margin-bottom: 0;
}

.inner-main .st2-audience-item i {
  flex-shrink: 0;
  color: var(--st2-teal);
  font-size: 0.95rem;
}

.inner-main .st2-audience-item span {
  font-size: 0.85rem;
  color: var(--st2-text);
  line-height: 1.55;
}

/* ============================
   PC 适配 (min-width: 768px)
   ============================ */

/* === 触摸反馈 === */
.inner-main .st2-benefit-item:active { transform: scale(0.985); }
.inner-main .st2-core-item:active { transform: scale(0.985); }
.inner-main .st2-method-item:active { transform: scale(0.985); }

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

  .inner-main .st2-hero-subtitle {
    font-size: 1.08rem;
  }

  .inner-main .st2-hero-subtitle2 {
    font-size: 0.9rem;
  }

  .inner-main .st2-hero-stats {
    padding: 20px 28px;
  }

  .inner-main .st2-question-text {
    font-size: 0.9rem;
  }

  .inner-main .st2-benefit-title {
    font-size: 0.92rem;
  }

  .inner-main .st2-benefit-desc {
    font-size: 0.85rem;
  }

  .inner-main .st2-content-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .inner-main .st2-content-text {
    font-size: 0.85rem;
  }

  .inner-main .st2-method-desc {
    font-size: 0.85rem;
  }

  .inner-main .st2-mentor-experience p,
  .inner-main .st2-mentor-story p {
    font-size: 0.88rem;
  }

  .inner-main .st2-secret-word {
    font-size: 0.95rem;
  }

  .inner-main .st2-audience-item span {
    font-size: 0.9rem;
  }
}

/* ============================
   窄屏适配 (max-width: 359px)
   ============================ */
@media (max-width: 359px) {
  .inner-main .st2-hero-badges {
    gap: 6px;
  }

  .inner-main .st2-badge {
    padding: 4px 10px;
    font-size: 0.65rem;
  }

  .inner-main .st2-hero-stats {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .inner-main .st2-hero-stat-sep {
    width: 40px;
    height: 1px;
  }

  .inner-main .st2-question-item {
    padding: 10px;
  }

  .inner-main .st2-content-list {
    grid-template-columns: 1fr;
  }

  .inner-main .st2-benefit-item {
    padding: 10px 12px;
  }

  .inner-main .st2-method-item {
    padding: 12px;
  }

  .inner-main .st2-clients-grid {
    gap: 4px;
  }

  .inner-main .st2-client-tag {
    padding: 3px 8px;
    font-size: 0.68rem;
  }
}
