/**
 * 帮助中心样式：顶栏渐变、分类卡片与折叠问答布局
 * 移动端横幅使用渐变背景
 */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body,
#app {
  height: 100%;
}

.pc .banner {
  position: relative;
  width: 100%;
  height: 180px;
  background: linear-gradient(-21deg, #65b1ff 0%, #4288f3 100%);
  overflow: hidden;
}

.pc .banner__logo {
  margin: 20px 0 0 60px;
  height: 43px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.pc .banner__logo-mark {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, #fff, #e0eeff);
  display: grid;
  place-items: center;
}

.pc .banner__logo-mark svg {
  width: 20px;
  height: 20px;
  color: #4288f3;
}

.pc .banner__lang-wrap {
  position: absolute;
  top: 20px;
  right: 60px;
  z-index: 2;
}

.pc .banner__lang {
  height: 43px;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.pc .banner__lang-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  filter: invert(100%) sepia(96%) saturate(0%) hue-rotate(55deg) brightness(105%) contrast(103%);
}

.pc .lang-menu {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 160px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: none;
}

.pc .lang-menu.is-open {
  display: block;
}

.pc .pop__lang {
  width: 160px;
  padding: 20px 0;
  color: #666;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}

.pc .pop__lang:hover {
  color: #2e88e7;
  background: rgba(46, 136, 231, 0.1);
}

.pc .banner__title {
  position: relative;
  height: 63px;
  max-width: 960px;
  padding: 0 30px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  line-height: 63px;
  color: #fff;
  font-size: 54px;
  font-weight: bold;
}

.pc .banner__title-icon {
  width: 63px;
  height: 63px;
  margin-right: 15px;
  flex-shrink: 0;
}

.pc .banner__img {
  display: none;
}

.pc .content {
  position: relative;
  max-width: 960px;
  min-height: calc(100% - 180px - 84px - 1px);
  padding: 29px 30px 65px 30px;
  left: 50%;
  transform: translateX(-50%);
}

.pc .footer {
  height: 84px;
  background: #f8fbfe;
  border-top: 1px solid #e6e8eb;
  line-height: 84px;
  color: #999;
  font-size: 18px;
  text-align: center;
}

/* FAQ 折叠区块 */
.pc .content__category {
  margin-bottom: 40px;
  border: 2px solid #f0f3f5;
  border-radius: 10px;
}

.pc .content__category-title {
  padding: 21px 40px;
  background: #f2f6fa;
  word-break: break-all;
  color: #333;
  font-size: 24px;
  font-weight: bold;
}

.pc .content__items {
  padding: 12px;
}

.pc .content__item {
  padding: 21px 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: #4d4d4d;
  font-size: 18px;
  cursor: pointer;
}

.pc .content__item--open {
  border-radius: 10px 10px 0 0;
  background: #f2f6facc;
  color: #333;
  font-weight: bold;
}

.pc .content__item-title {
  margin-right: auto;
  padding-right: 8px;
  word-break: break-all;
}

.pc .content__item-arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #8a939e;
  transition: transform 0.2s ease;
}

.pc .content__item--open .content__item-arrow {
  border-left-color: #333;
}

.pc .content__item-arrow--open {
  transform: rotate(90deg);
}

.pc .content__item:hover {
  color: #387ce4;
  background-color: #d9edff;
}

.pc .content__item:hover .content__item-arrow {
  border-left-color: #387ce4;
}

.pc .content__item-content {
  padding: 20px 53px;
  margin-bottom: 20px;
  background: #f2f6facc;
  border-radius: 0 0 10px 10px;
  font-size: 18px;
  color: #4d4d4d;
  line-height: 1.65;
}

.pc .content__item-content p {
  margin-bottom: 12px;
}

.pc .content__item-content ul {
  margin: 8px 0 12px 1.25em;
}

.pc .content__item-content li {
  margin-bottom: 6px;
}

.pc .content__item-content-close {
  display: none;
}

/* Mobile */
.mobile .banner {
  height: 136px;
  background: linear-gradient(-21deg, #65b1ff 0%, #4288f3 100%);
  background-size: 100% 100%;
}

.mobile .banner__logo {
  margin: 28px 0 40px 17px;
  height: 23px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.mobile .banner__logo-mark {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fff, #e0eeff);
  display: grid;
  place-items: center;
}

.mobile .banner__logo-mark svg {
  width: 15px;
  height: 15px;
  color: #4288f3;
}

.mobile .banner__lang-wrap {
  position: absolute;
  top: 28px;
  right: 17px;
  z-index: 2;
}

.mobile .banner__lang {
  height: 23px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.mobile .banner__lang-icon {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  filter: invert(100%) sepia(96%) saturate(0%) hue-rotate(55deg) brightness(105%) contrast(103%);
}

.mobile .lang-menu {
  position: absolute;
  top: 36px;
  right: 0;
  min-width: 120px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: none;
}

.mobile .lang-menu.is-open {
  display: block;
}

.mobile .pop__lang {
  width: 120px;
  padding: 10px 0;
  color: #666;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}

.mobile .banner__title {
  position: relative;
  height: auto;
  min-height: 27px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 17px;
  display: flex;
  align-items: center;
  line-height: 1.2;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
}

.mobile .banner__title-icon {
  width: 27px;
  height: 27px;
  margin-right: 11px;
  flex-shrink: 0;
}

.mobile .content {
  position: relative;
  padding: 20px 17px;
  min-height: calc(100% - 136px - 40px - 1px);
  left: 50%;
  transform: translateX(-50%);
}

.mobile .footer {
  height: 40px;
  background: #f8fbfe;
  border-top: 1px solid #e6e8eb;
  line-height: 40px;
  color: #999;
  font-size: 13px;
  text-align: center;
}

.mobile .content__category {
  margin-bottom: 15px;
  border: 1px solid #f0f3f5;
  border-radius: 10px;
}

.mobile .content__category-title {
  padding: 13px 20px;
  background: #f2f6fa;
  word-break: break-all;
  color: #333;
  font-size: 16px;
  font-weight: bold;
}

.mobile .content__items {
  padding: 10px;
}

.mobile .content__item {
  padding: 12px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: #4d4d4d;
  font-size: 15px;
}

.mobile .content__item--open {
  border-radius: 7px 7px 0 0;
  background: #f5f8fb;
  font-weight: bold;
}

.mobile .content__item-title {
  margin-right: auto;
  padding-right: 8px;
  word-break: break-all;
}

.mobile .content__item-arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #8a939e;
  transition: transform 0.2s ease;
}

.mobile .content__item--open .content__item-arrow {
  border-left-color: #333;
}

.mobile .content__item-arrow--open {
  transform: rotate(90deg);
}

.mobile .content__item-content {
  padding: 10px 14px;
  margin-bottom: 10px;
  background: #f5f8fb;
  border-radius: 0 0 7px 7px;
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

.mobile .content__item-content p {
  margin-bottom: 10px;
}

.mobile .content__item-content-close {
  display: flex;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #9aa3ad;
  cursor: pointer;
}

.mobile .content__item-content-close-arrow {
  margin-left: 4px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #9aa3ad;
}
