/* ════════════════════════════════════════════════════════
   CC Video Studio — 操作指南页样式
   ════════════════════════════════════════════════════════ */

/* ── Guide Hero ── */
.guide-hero {
  padding: 120px 24px 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,92,252,0.08) 0%, transparent 60%),
              var(--bg-primary);
}
.guide-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 12px 0 8px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.guide-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 40px;
}
.guide-steps-overview {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.step-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.step-chip:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.chip-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* ── Guide Sections ── */
.guide-section {
  padding: 60px 0;
}
.guide-section:nth-child(even) {
  background: var(--bg-secondary);
}
.step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.step-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.step-header h2 {
  font-size: 26px;
  font-weight: 700;
}

/* ── Step Body ── */
.step-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.step-text ol.step-list {
  padding: 0;
  margin: 0;
}
.step-text ol.step-list li {
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.step-text ol.step-list li:last-child {
  border-bottom: none;
}
.step-text ol.step-list li strong {
  color: var(--text-primary);
}
.step-text ol.step-list li code {
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--accent-hover);
}
.step-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.tip-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Step Image ── */
.step-image {
  position: sticky;
  top: 84px;
}
.step-image img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.img-caption {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .step-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-image {
    position: static;
    order: -1;
  }
  .guide-hero h1 {
    font-size: 32px;
  }
}
@media (max-width: 640px) {
  .guide-hero {
    padding: 100px 20px 40px;
  }
  .guide-hero h1 {
    font-size: 26px;
  }
  .guide-section {
    padding: 40px 0;
  }
  .step-header h2 {
    font-size: 20px;
  }
  .step-text ol.step-list li {
    font-size: 14px;
  }
}
