/* ==========================================================================
   VPNAN - 教程页专属样式
   ========================================================================== */

/* ---- 页头 ---- */
.page-hero {
  padding: 48px 0 28px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 18px 0 12px;
  text-wrap: balance;
}

.page-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 40em;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ---- 主文章 ---- */
.tutorial-main {
  padding-bottom: 56px;
}

.tut-intro {
  padding: 24px 0 10px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 42em;
}

/* ---- 步骤区块 ---- */
.tut-step {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--border);
}

.tut-step:last-of-type {
  border-bottom: none;
}

.step-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.03em;
  flex: 0 0 auto;
}

.step-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -.015em;
  margin: 0;
}

.step-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 12px;
  max-width: 42em;
}

.step-body p:last-child {
  margin-bottom: 0;
}

/* ---- 套餐列表 ---- */
.plan-list {
  list-style: none;
  margin: 14px 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  max-width: 42em;
}

.plan-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

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

.plan-list .plan-name {
  font-weight: 700;
}

.plan-list .plan-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* ---- 操作按钮 ---- */
.step-action {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.step-action .btn {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 14.5px;
}

/* ---- 验证方法列表 ---- */
.verify-list {
  margin: 12px 0 16px;
  padding-left: 18px;
  max-width: 42em;
}

.verify-list li {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.verify-list li strong {
  color: var(--text);
}

/* ---- 平台 tab 面板 ---- */
.platform-guide {
  padding: 4px 0 8px;
}

.platform-guide p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 12px;
  max-width: 42em;
}

.platform-guide p:last-child {
  margin-bottom: 0;
}

/* ---- 进一步帮助 ---- */
.tut-help {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
}

.tut-help h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tut-help p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 36em;
}

.tut-help a {
  color: var(--accent-dark);
  font-weight: 700;
}

.tut-help a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
  .page-hero {
    padding: 32px 0 20px;
  }
  .page-hero h1 {
    font-size: 30px;
  }
  .tut-step {
    padding: 28px 0 30px;
  }
  .step-head {
    gap: 10px;
  }
  .step-num {
    font-size: 24px;
  }
  .step-head h2 {
    font-size: 22px;
  }
  .plan-list li {
    flex-wrap: wrap;
    gap: 4px 16px;
  }
}

@media (max-width: 640px) {
  .step-action {
    flex-direction: column;
    align-items: stretch;
  }
  .step-action .btn {
    justify-content: center;
  }
  .tut-help {
    padding: 20px;
  }
}