.tutorial-header {
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.tutorial-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
}

.tutorial-header-arrow {
  display: flex;
  align-items: center;
  flex: none;
}

.tutorial-header-title {
  color: #242424;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding-right: 24px;
  text-align: center;
  width: 100%;
}

.tutorial-main {
  padding: 80px 0px;
  font-family: "Noto Sans SC", sans-serif;
}

.tr-step {
  display: flex;
  justify-content: center;
}

.tr-step-header {
  background: linear-gradient(135deg, #59a3ff 0%, #1b40fb 100%);
  color: #fff;
  padding: 7px 19.5px;
  border-radius: 8px;
  margin-bottom: 26px;
}

.tr-divider {
  margin-bottom: 50px;
}

.tr-section {
  margin-bottom: 60px;
}

.tr-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 8px;
}

.tr-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #d3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tr-num {
  color: #409eff;
  font-size: 40px;
  font-weight: bold;
  font-family: "Bangers";
  position: absolute;
  bottom: -10px;
}

.tr-title {
  font-size: 18px;
  font-weight: bold;
}

.tr-content {
  font-size: 14px;
  line-height: 1.6;
  color: #282828;
  opacity: 0.7;
}

.tr-image {
  margin-top: 33px;
  margin-bottom: 45px;
}

.tr-image img {
  width: 100%;
}

.tr-sub {
  margin-top: 20px;
}

.tr-list {
  padding-left: 20px;
  list-style: disc;
}

.tr-list-num {
  padding-left: 20px;
  list-style: decimal;
}

.tr-highlight {
  color: #409eff;
}

.tr-section-group {
  margin-bottom: 16px;
}

.tr-section-title {
  padding: 12px 0 8px;
  border-bottom: 2px solid #e8edf5;
  margin-bottom: 30px;
}

.tr-section-title h3 {
  font-size: 16px;
  font-weight: 700;
  color: #354465;
  margin: 0;
}

.tr-tip {
  margin-top: 8px;
  padding: 8px 12px;
  background: #f0f6ff;
  border-left: 3px solid #1b40fb;
  border-radius: 4px;
  font-size: 13px;
  color: #354465;
  line-height: 1.5;
}

.tr-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tr-tab {
  flex: 1;
  padding: 10px 0;
  border: 2px solid #d0d8ea;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: #354465;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.tr-tab--active {
  background: linear-gradient(135deg, #59a3ff 0%, #1b40fb 100%);
  border-color: transparent;
  color: #fff;
  border: transparent !important;
}

/* Screenshot centering & phone-frame effect */
.tr-image {
  display: flex;
  justify-content: center;
}

.tr-image img {
  max-width: 340px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Prev/Next navigation */
.tr-nav-pager {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}

.tr-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.tr-nav-link:hover {
  background: #f0f6ff;
  border-color: #3a78ff;
}

.tr-nav-link--next {
  text-align: right;
}

.tr-nav-label {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

.tr-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: #354465;
}

/* Video placeholder */
.tr-video-coming-soon {
  text-align: center;
  padding: 32px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px dashed #e0e7ff;
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 32px;
}

.tr-video-coming-soon svg {
  display: block;
  margin: 0 auto 12px;
  opacity: 0.5;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .tutorial-main {
    padding: 64px 16px 32px;
  }

  .tr-section {
    margin-bottom: 40px;
  }

  .tr-image img {
    max-width: 100%;
    border-radius: 12px;
  }

  .tr-nav-pager {
    flex-direction: column;
    gap: 12px;
  }

  .tr-nav-link--next {
    text-align: left;
  }

  .tr-tabs {
    gap: 6px;
  }

  .tr-tab {
    font-size: 14px;
    padding: 8px 0;
  }

  .tr-step-header {
    font-size: 14px;
    padding: 6px 14px;
  }
}
