:root {
  --qt-bg: #000;
  --qt-text: #e2e8f0;
  --qt-muted: #b9c0cc;
  --qt-dim: #7f8da4;
  --qt-panel: #02080c;
  --qt-panel-soft: #061616;
  --qt-border: #d8ff26;
  --qt-teal: #0fbdc0;
  --qt-teal-deep: #003c3d;
  --qt-lime: #d8ff26;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--qt-bg);
}

body {
  margin: 0;
  background: var(--qt-bg);
  color: var(--qt-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #fff;
}

.header {
  background: #000;
  border-bottom: 1px solid rgba(226, 232, 240, .12);
}

.header-inner {
  min-height: 62px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.header-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.header-logo-img {
  display: block;
  width: 295px;
  height: auto;
}

.footer-logo-img {
  display: block;
  width: 118px;
  height: auto;
}

.header-nav {
  justify-self: center;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7f8da4;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-inner > .header-link:last-child {
  justify-self: end;
  background: var(--qt-teal);
  color: #fff;
  padding: 9px 17px;
  border-radius: 6px;
}

.main-content {
  min-height: calc(100vh - 160px);
}

.hero {
  position: relative;
  min-height: 454px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("/support/theme-assets/assets/01KNM2PBYWQA86EFCVVF3PYG6G");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  z-index: -2;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .55)),
    radial-gradient(circle at 50% 52%, rgba(11, 189, 192, .20), transparent 32%),
    rgba(0, 0, 0, .45);
  z-index: -1;
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-top: 4px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 24px;
  color: #e8edf4;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.text-gradient {
  color: var(--qt-lime);
  font-style: italic;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 42px;
  color: #e2e8f0;
  font-size: 17px;
  line-height: 1.55;
}

.search-wrapper {
  max-width: 578px;
  margin: 0 auto;
}

.search-box {
  position: relative;
  display: block;
}

.search-box input[type="search"] {
  width: 100%;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: #171717;
  color: #fff;
  padding: 0 20px;
  font: inherit;
  outline: none;
}

.search-box input[type="search"]::placeholder {
  color: #e5e7eb;
  opacity: 1;
}

.search-box input[type="submit"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.categories-grid {
  max-width: 844px;
  margin: -28px auto 54px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.category-card {
  min-height: 272px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  border: 2px solid var(--qt-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 100%, rgba(15, 189, 192, .36), transparent 31%),
    linear-gradient(145deg, rgba(0, 51, 54, .72), rgba(0, 0, 0, .86) 54%),
    #010508;
  color: #fff;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.category-card:hover {
  border-color: #f0ff5a;
  transform: translateY(-2px);
}

.category-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--qt-border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--qt-border);
}

.category-icon svg {
  width: 24px;
  height: 24px;
}

.category-card h2,
.category-card h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.category-card p {
  margin: 0;
  color: #d4d8e0;
  font-size: 17px;
  line-height: 1.45;
}

.content-shell,
main.content-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 20px 64px;
}

.section-list,
.results {
  display: grid;
  gap: 16px;
}

.section-block,
.result,
.article {
  border: 1px solid rgba(216, 255, 38, .58);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0, 31, 33, .72), rgba(0, 0, 0, .88));
  color: var(--qt-text);
}

.section-block,
.result {
  padding: 22px 24px;
}

.section-block h2,
.result h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 850;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-list li + li {
  border-top: 1px solid rgba(226, 232, 240, .12);
}

.article-list a {
  display: block;
  padding: 11px 0;
  color: #dfe7ef;
}

.article-list a:hover,
.breadcrumbs a:hover,
.article a:hover,
.result a:hover {
  color: var(--qt-lime);
}

.breadcrumbs {
  margin: 0 0 24px;
  color: var(--qt-dim);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--qt-muted);
}

.article {
  max-width: 850px;
  padding: clamp(24px, 4vw, 42px);
}

.article h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 900;
}

.article .meta {
  margin-bottom: 24px;
  color: var(--qt-dim);
  font-size: 13px;
}

.article-body {
  color: #e5e9f0;
}

.article-body a,
.article-body a:visited {
  color: #fff;
  text-decoration-line: underline;
  text-decoration-color: var(--qt-teal);
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}

.article-body a:hover {
  color: #fff;
  text-decoration-color: var(--qt-lime);
}

.article-body h2,
.article-body h3 {
  margin-top: 28px;
  color: #fff;
}

.article-body img,
.article-body video,
.article-body iframe {
  display: block;
  max-width: 100%;
  border: 1px solid rgba(216, 255, 38, .38);
  border-radius: 8px;
  background: #05070a;
}

.article-body img {
  height: auto;
}

.article-body video {
  width: 100%;
  height: auto;
}

.article-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.article-body audio {
  display: block;
  width: 100%;
  margin: 14px 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
}

.article-body th,
.article-body td {
  border: 1px solid rgba(226, 232, 240, .18);
  padding: 9px;
}

.request-shell {
  max-width: 860px;
  margin: 0 auto;
}

.request-form {
  display: grid;
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 6px;
  color: var(--qt-muted);
  font-size: 13px;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(226, 232, 240, .25);
  border-radius: 8px;
  background: #090d10;
  color: #fff;
  padding: 11px 12px;
  font: inherit;
}

.request-form textarea {
  min-height: 180px;
  resize: vertical;
}

.request-form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.request-form button {
  justify-self: start;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--qt-teal);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.request-note {
  color: var(--qt-muted);
}

.ticket-number {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(15, 189, 192, .18);
  color: var(--qt-lime);
  font-weight: 900;
}

.footer {
  background: #000;
  border-top: 1px solid rgba(226, 232, 240, .12);
}

.footer-inner {
  max-width: 1010px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #cbd5e1;
}

.footer p {
  margin: 0;
  font-weight: 700;
  letter-spacing: .02em;
}

.qt-custom-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
}

.qt-chat-button {
  display: none !important;
}

.qt-chat-panel {
  right: 22px !important;
  bottom: 88px !important;
  width: min(390px, calc(100vw - 32px)) !important;
  height: min(590px, calc(100vh - 112px)) !important;
  background:
    radial-gradient(circle at 95% 100%, rgba(15, 189, 192, .20), transparent 34%),
    linear-gradient(145deg, rgba(0, 31, 33, .96), rgba(0, 0, 0, .98)) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(216, 255, 38, .62) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .55) !important;
}

.qt-chat-head {
  background: #000 !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(216, 255, 38, .35) !important;
}

.qt-chat-close {
  color: #fff !important;
}

.qt-chat-meta {
  background: rgba(0, 0, 0, .45) !important;
  border-bottom: 1px solid rgba(226, 232, 240, .14) !important;
}

.qt-chat-meta input,
.qt-chat-form textarea {
  background: #101214 !important;
  color: #fff !important;
  border: 1px solid rgba(226, 232, 240, .28) !important;
}

.qt-chat-meta input::placeholder,
.qt-chat-form textarea::placeholder {
  color: #a9b2c3 !important;
}

.qt-chat-log {
  background: rgba(0, 0, 0, .32) !important;
}

.qt-msg.customer {
  background: var(--qt-teal) !important;
  color: #fff !important;
}

.qt-msg.bot,
.qt-msg.agent {
  background: #070b0e !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(216, 255, 38, .30) !important;
}

.qt-chat-form {
  background: rgba(0, 0, 0, .72) !important;
  border-top: 1px solid rgba(226, 232, 240, .14) !important;
}

.qt-chat-form button {
  background: var(--qt-teal) !important;
  color: #fff !important;
}

.qt-chat-status {
  background: #000 !important;
  color: #b9c0cc !important;
  border-top: 1px solid rgba(226, 232, 240, .14) !important;
}

.qt-launcher-button {
  min-width: 114px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--qt-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.qt-launcher-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0b2426;
}

.qt-launcher-menu {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: 274px;
  padding: 10px;
  border: 1px solid rgba(216, 255, 38, .45);
  border-radius: 14px;
  background: #05090c;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
}

.qt-custom-launcher:hover .qt-launcher-menu,
.qt-custom-launcher:focus-within .qt-launcher-menu,
.qt-launcher-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.qt-launcher-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}

.qt-launcher-item:hover {
  background: rgba(15, 189, 192, .12);
}

.qt-launcher-item-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--qt-lime);
  border-radius: 9px;
  color: var(--qt-lime);
}

.qt-launcher-item-text {
  display: grid;
  gap: 2px;
  color: #fff;
}

.qt-launcher-item-text small {
  color: var(--qt-muted);
}

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 20px;
    gap: 12px;
  }

  .header-logo,
  .header-nav,
  .header-inner > .header-link:last-child {
    justify-self: center;
  }

  .header-logo-img {
    width: 190px;
  }

  .hero {
    min-height: 440px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    margin-top: -20px;
  }

  .category-card {
    min-height: 220px;
  }

  .request-form .row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
