/* =======================================================
   HELP CENTER / SUPPORT PAGE — Scoped Styles
   Route: /resources/tools/support-center
   ======================================================= */

@keyframes dotpulse {
  0% { box-shadow: 0 0 0 0 rgba(24, 104, 251, 0.25); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ----- eyebrow pulsing dot ----- */
.hch-copy .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 var(--blue-25);
  animation: dotpulse 2.4s infinite;
}

/* ----- hero + search ----- */
.hchero {
  position: relative;
  padding: calc(var(--h-head) + 52px) 0 64px;
  background: linear-gradient(160deg, #0a1330, #0d2a6e 55%, #0a3a96);
  overflow: visible !important;
  z-index: 10;
}
.hchero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
}
.hchero .hb1 {
  width: 420px;
  height: 420px;
  background: #1868FB;
  top: -160px;
  right: -80px;
}
.hchero .hb2 {
  width: 360px;
  height: 360px;
  background: #0d4fc7;
  bottom: -160px;
  left: -90px;
}
.hch-copy {
  position: relative;
  z-index: 10;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hch-copy .eyebrow {
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #bdd3ff;
}
.hch-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: #fff;
}
.hch-copy .sub {
  color: #fff !important;
  font-size: 1.04rem;
  margin-bottom: 28px;
}
.hc-searchwrap {
  position: relative;
  z-index: 100;
  max-width: 620px;
  margin: 0 auto;
}
.hc-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 24px 60px rgba(3, 10, 34, 0.45);
}
.hc-search svg {
  width: 20px;
  height: 20px;
  color: var(--slate-light);
  flex: 0 0 auto;
}
.hc-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: transparent;
  padding: 12px 0;
  min-width: 0;
}
.hc-search .btn {
  flex: 0 0 auto;
}
.hc-results, .hc-sres {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--blue-12);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(3, 10, 34, 0.45);
  max-height: 340px;
  overflow-y: auto;
  z-index: 999;
  display: none;
  text-align: left;
}
.hc-results.open, .hc-sres.open {
  display: block;
}
.hc-r {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 13px 18px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s;
}
.hc-r:last-child {
  border-bottom: none;
}
.hc-r:hover {
  background: var(--bg-tint);
}
.hc-r b {
  display: block;
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.hc-r span {
  font-size: .72rem;
  color: var(--blue);
  font-weight: 700;
}
.hc-r.none {
  color: var(--slate);
  font-size: .86rem;
  cursor: default;
}
.hc-pop {
  margin-top: 16px;
  font-size: .8rem;
  color: #8fb2ff;
}
.hc-pop button {
  background: none;
  border: none;
  color: #dbe7ff;
  font-weight: 600;
  cursor: pointer;
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--font-body);
  padding: 0 4px;
}
.hc-pop button:hover {
  color: #fff;
}

/* ----- category grid ----- */
.hc-cats {
  background: var(--bg-tint);
}
.hc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hc-cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px;
  cursor: pointer;
  transition: .28s;
  text-align: left;
  font-family: var(--font-body);
}
.hc-cat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-18);
}
.hc-cat .ic {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}
.hc-cat .ic svg {
  width: 25px;
  height: 25px;
}
.hc-cat h4 {
  font-size: 1.06rem;
  margin-bottom: 7px;
  color: var(--ink);
}
.hc-cat p {
  font-size: .86rem;
  color: var(--slate);
  margin-bottom: 12px;
}
.hc-cat .cnt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--blue);
}
.hc-cat .cnt svg {
  width: 14px;
  height: 14px;
}

/* ----- detail view ----- */
.hc-detail {
  display: block;
}
.hc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: .22s;
  margin-bottom: 22px;
  font-family: var(--font-body);
}
.hc-back:hover {
  border-color: var(--blue-25);
  color: var(--blue);
}
.hc-back svg {
  width: 15px;
  height: 15px;
}
.hc-dhead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.hc-dhead .ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.hc-dhead .ic svg {
  width: 27px;
  height: 27px;
}
.hc-dhead h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.hc-dhead p {
  color: var(--slate);
  font-size: .92rem;
}
.hc-qlist {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: .25s;
}
.hc-item:hover {
  border-color: var(--blue-18);
}
.hc-item.open {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.hc-item .qq {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}
.hc-item .qq b {
  flex: 1;
  font-size: .97rem;
  color: var(--ink);
  line-height: 1.4;
}
.hc-item .qq .pm {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition: .3s;
}
.hc-item.open .qq .pm {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}
.hc-item .qq .pm svg {
  width: 15px;
  height: 15px;
}
.hc-item .aa {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.hc-item.open .aa {
  max-height: 600px;
}
.hc-item .aa p {
  padding: 0 20px 18px 62px;
  color: var(--slate);
  font-size: .9rem;
  line-height: 1.7;
}

/* ----- still need help ----- */
.hc-help {
  margin-top: 34px;
  background: linear-gradient(135deg, #f4f8ff, #fff);
  border: 1px solid var(--blue-12);
  border-radius: 20px;
  box-shadow: var(--shadow-blue);
  padding: 30px;
}
.hc-help h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  text-align: center;
}
.hc-help>p {
  color: var(--slate);
  font-size: .92rem;
  text-align: center;
  margin-bottom: 22px;
}
.hc-hgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hc-h {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: .25s;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-body);
}
.hc-h:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-18);
}
.hc-h .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.hc-h .ic svg {
  width: 22px;
  height: 22px;
}
.hc-h b {
  font-size: .88rem;
  color: var(--ink);
}
.hc-h span {
  font-size: .74rem;
  color: var(--slate);
}

/* ----- resources strip ----- */
.hc-res {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hc-rcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
  transition: .28s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.hc-rcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-18);
}
.hc-rcard .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.hc-rcard .ic svg {
  width: 22px;
  height: 22px;
}
.hc-rcard b {
  display: block;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 5px;
}
.hc-rcard span {
  font-size: .8rem;
  color: var(--slate);
}

/* ----- responsive ----- */
@media(max-width: 1024px) {
  .hc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-hgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-res {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width: 640px) {
  .hc-grid, .hc-res, .hc-hgrid {
    grid-template-columns: 1fr;
  }
  .hc-search {
    flex-wrap: nowrap;
    padding: 6px 6px 6px 14px;
    gap: 8px;
  }
  .hc-search input {
    font-size: 0.85rem;
  }
  .hc-search .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
  .hc-results, .hc-sres {
    max-height: 260px;
    top: calc(100% + 6px);
  }
  .hc-item .aa p {
    padding-left: 20px;
  }
}
@media(max-width: 480px) {
  .hc-search {
    flex-wrap: wrap;
    padding: 10px;
  }
  .hc-search input {
    width: 100%;
    text-align: left;
  }
  .hc-search .btn {
    width: 100%;
    justify-content: center;
  }
}
