

/* ============================================================
   about 专有：客服中心 + 帮助中心
   ============================================================ */

:root {
    --white: #ffffff;
    --about-bg: #f5f8fc;
}

/* 全局去掉悬浮下划线 */
a:hover, a:focus, a:active {
  text-decoration: none !important;
}

/* ============ Hero 区（蓝渐变 + 搜索框）============ */
.about-hero {
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  padding: 48px 0 52px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
}
.about-hero::after {
  content: '';
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
}
.about-hero__tag {
  display: inline-block;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--portal-blue);
  background: #fff;
  border-radius: 20px;
  margin-bottom: 14px;
  position: relative;
  letter-spacing: 4px;
}
.about-hero__title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: 2px;
  position: relative;
}
.about-hero__subtitle {
  font-size: 14px;
  margin: 0 0 22px;
  opacity: .92;
  position: relative;
}
.about-hero__search {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  position: relative;
}
.about-hero__search-icon {
  width: 20px;
  height: 20px;
  margin: auto 12px;
  color: var(--portal-text-light);
  flex-shrink: 0;
}
.about-hero__search-input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 14px 0;
  font-size: 14px;
  color: var(--portal-text);
  background: transparent;
  min-width: 0;
}
.about-hero__search-input::placeholder { color: #94a3b8; }
.about-hero__search-btn {
  border: 0;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 0 28px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: opacity .2s;
}
.about-hero__search-btn:hover { opacity: .9; }

/* ============ 主体 ============ */
.about-main {
  background: var(--about-bg);
  padding: 32px 0 48px;
}

/* section 头 */
.about-section__title {
  margin: 0 0 6px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.about-section__title-zh {
  font-size: 24px;
  color: var(--portal-text);
  position: relative;
  padding-left: 14px;
}
.about-section__title-zh::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
}
.about-section__title-en {
  font-size: 11px;
  color: var(--portal-blue);
  letter-spacing: 3px;
  font-weight: 600;
}
.about-section__sub {
  font-size: 13px;
  color: var(--portal-text-light);
  margin: 0;
}

/* ============ 4 个快捷入口卡 ============ */
.quick-entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.quick-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.quick-entry::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--portal-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.quick-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 109, 216, .14);
  border-color: var(--portal-blue);
}
.quick-entry:hover::before { transform: scaleX(1); }
.quick-entry__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 109, 216, .1);
  color: var(--portal-blue);
  margin-bottom: 4px;
  transition: all .25s ease;
}
.quick-entry__icon svg {
  width: 28px;
  height: 28px;
}
.quick-entry--blue .quick-entry__icon { background: rgba(30, 109, 216, .1); color: var(--portal-blue); }
.quick-entry--green .quick-entry__icon { background: rgba(16, 185, 129, .1); color: #10b981; }
.quick-entry--purple .quick-entry__icon { background: rgba(139, 92, 246, .1); color: #8b5cf6; }
.quick-entry--orange .quick-entry__icon { background: rgba(245, 158, 11, .1); color: #f59e0b; }
.quick-entry:hover .quick-entry__icon {
  background: currentColor;
  color: #fff;
}
.quick-entry--blue:hover .quick-entry__icon { background: var(--portal-blue); color: #fff; }
.quick-entry--green:hover .quick-entry__icon { background: #10b981; color: #fff; }
.quick-entry--purple:hover .quick-entry__icon { background: #8b5cf6; color: #fff; }
.quick-entry--orange:hover .quick-entry__icon { background: #f59e0b; color: #fff; }
.quick-entry h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--portal-text);
}
.quick-entry p {
  margin: 0;
  font-size: 12px;
  color: var(--portal-text-light);
  line-height: 1.5;
}

/* ============ 帮助中心两栏 ============ */
.help-center {
  margin-bottom: 32px;
}
.help-center__grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}

/* ============ 左侧 sidebar ============ */
.help-sidebar {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 16px 0;
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.help-sidebar__group {
  padding: 10px 0;
  border-bottom: 1px solid var(--portal-border);
}
.help-sidebar__group:last-of-type {
  border-bottom: 0;
}
.help-sidebar__group h3 {
  margin: 0;
  padding: 4px 18px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--portal-text);
  letter-spacing: 1px;
  position: relative;
  padding-left: 22px;
}
.help-sidebar__group h3::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 9px;
  width: 0;
  height: 0;
  border-left: 4px solid var(--portal-blue);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
.help-sidebar__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.help-sidebar__link {
  display: block;
  padding: 7px 18px 7px 22px;
  font-size: 13px;
  color: var(--portal-text-light);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .2s;
}
.help-sidebar__link:hover {
  background: var(--about-bg);
  color: var(--portal-blue);
}
.help-sidebar__link.active {
  background: rgba(30, 109, 216, .08);
  color: var(--portal-blue);
  font-weight: 600;
  border-left-color: var(--portal-blue);
}

.help-sidebar__contact {
  margin: 12px 16px 4px;
  padding: 16px 14px;
  background: linear-gradient(135deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
  border-radius: 10px;
  text-align: center;
  color: #fff;
}
.help-sidebar__contact h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  opacity: .9;
}
.help-sidebar__contact p {
  margin: 0 0 8px;
  font-size: 11px;
  color: #fff;
  opacity: .75;
}
.help-sidebar__phone {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: .5px;
  padding: 6px 0;
  background: rgba(255, 255, 255, .15);
  border-radius: 6px;
  transition: background .2s;
}
.help-sidebar__phone:hover {
  background: rgba(255, 255, 255, .25) !important;
  color: #fff !important;
}

/* ============ 右侧 main ============ */
.help-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.help-block {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 24px 28px;
  scroll-margin-top: 16px;
}
.help-block__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--portal-text);
  position: relative;
  padding-left: 12px;
}
.help-block__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--portal-blue) 0%, var(--portal-blue-dark) 100%);
}
.help-block__sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--portal-text-light);
  padding-left: 12px;
}

/* ============ FAQ 列表（details/summary）============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--portal-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all .2s;
}
.faq-item[open] {
  border-color: var(--portal-blue);
  box-shadow: 0 2px 8px rgba(30, 109, 216, .06);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--portal-text);
  background: var(--about-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .2s;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(30, 109, 216, .06); }
.faq-item[open] summary {
  background: rgba(30, 109, 216, .08);
  color: var(--portal-blue);
  border-bottom: 1px solid var(--portal-border);
}
.faq-arrow {
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-arrow::before,
.faq-arrow::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.faq-arrow::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
}
.faq-arrow::after {
  top: 50%;
  left: 0;
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}
.faq-item[open] .faq-arrow::before {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.faq-content {
  padding: 16px 20px 18px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--portal-text-light);
}
.faq-content p {
  margin: 0 0 8px;
}
.faq-content p:last-child { margin-bottom: 0; }
.faq-content ul {
  margin: 6px 0;
  padding-left: 20px;
  list-style: disc;
}
.faq-content ul li {
  margin-bottom: 4px;
}
.faq-content strong {
  color: var(--portal-blue);
  font-weight: 600;
}

/* ============ 联系客服 4 卡 ============ */
.contact-grid {
  margin-top: 36px;
}
.contact-grid__head {
  text-align: center;
  margin-bottom: 22px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(30, 109, 216, .14);
}
.contact-card--blue:hover { border-color: var(--portal-blue); }
.contact-card--green:hover { border-color: #10b981; }
.contact-card--purple:hover { border-color: #8b5cf6; }
.contact-card--orange:hover { border-color: #f59e0b; }
.contact-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 109, 216, .1);
  color: var(--portal-blue);
  transition: all .25s;
}
.contact-card__icon svg {
  width: 28px;
  height: 28px;
}
.contact-card--blue .contact-card__icon { background: rgba(30, 109, 216, .1); color: var(--portal-blue); }
.contact-card--green .contact-card__icon { background: rgba(16, 185, 129, .1); color: #10b981; }
.contact-card--purple .contact-card__icon { background: rgba(139, 92, 246, .1); color: #8b5cf6; }
.contact-card--orange .contact-card__icon { background: rgba(245, 158, 11, .1); color: #f59e0b; }
.contact-card h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--portal-text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.contact-card__main {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--portal-text);
  line-height: 1.4;
  word-break: break-all;
}
.contact-card__main--text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.contact-card__sub {
  display: block;
  font-size: 12px;
  color: var(--portal-text-light);
  margin-bottom: 14px;
}
.contact-card__btn {
  display: inline-block;
  padding: 7px 18px;
  background: rgba(30, 109, 216, .08);
  color: var(--portal-blue);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.contact-card--blue .contact-card__btn { background: rgba(30, 109, 216, .08); color: var(--portal-blue); }
.contact-card--green .contact-card__btn { background: rgba(16, 185, 129, .08); color: #10b981; }
.contact-card--purple .contact-card__btn { background: rgba(139, 92, 246, .08); color: #8b5cf6; }
.contact-card--orange .contact-card__btn { background: rgba(245, 158, 11, .08); color: #f59e0b; }
.contact-card__btn:hover {
  background: currentColor;
  color: #fff !important;
}

/* ============ 动画 ============ */
.quick-entry,
.help-block,
.contact-card {
  animation: fadeInUp .4s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
  .quick-entries { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .help-center__grid { grid-template-columns: 1fr; }
  .help-sidebar {
    position: static;
    max-height: none;
    padding: 8px 0;
  }
  .help-sidebar__group { padding: 6px 0; }
  .help-sidebar__contact { margin: 8px 12px; }
  .about-hero__title { font-size: 26px; }
}

@media (max-width: 768px) {
  .about-main { padding: 24px 0 36px; }
  .about-hero { padding: 32px 0 36px; }
  .about-hero__title { font-size: 22px; }
  .about-hero__subtitle { font-size: 13px; }
  .about-hero__search { margin: 0 16px; }
  .about-hero__search-input { padding: 12px 0; font-size: 13px; }
  .about-hero__search-btn { padding: 0 18px; font-size: 13px; }
  .help-block { padding: 18px 20px; }
  .help-block__title { font-size: 18px; }
  .quick-entry { padding: 22px 16px; }
  .quick-entry__icon { width: 48px; height: 48px; }
  .quick-entry__icon svg { width: 24px; height: 24px; }
  .quick-entry h3 { font-size: 15px; }
  .contact-card { padding: 22px 16px; }
}

@media (max-width: 480px) {
  .quick-entries { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-cards { grid-template-columns: 1fr; }
  .about-hero__title { font-size: 20px; }
  .help-block { padding: 16px 14px; }
  .faq-item summary { padding: 12px 14px; font-size: 13px; }
  .faq-content { padding: 12px 14px 14px; }
  .help-sidebar { font-size: 12px; }
  .help-sidebar__link { padding: 6px 14px 6px 18px; font-size: 12px; }
}
