.support-page {
  --sc-bg: #000000;
  --sc-panel: #121215;
  --sc-panel-2: #17171b;
  --sc-border: rgba(255, 255, 255, 0.1);
  --sc-border-soft: rgba(255, 255, 255, 0.06);
  --sc-text: #f5f5f5;
  --sc-muted: #a1a1aa;
  --sc-gold: #feb706;
  --sc-gold-soft: rgba(254, 183, 6, 0.12);
  --sc-shadow: 0 26px 62px rgba(0, 0, 0, 0.52);
  color: var(--sc-text);
}

.support-hero {
  position: relative;
  overflow: visible;
  text-align: center;
  padding: 0.2rem 0 0.35rem;
}

.support-hero-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(74%, 860px);
  height: 150px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.12);
  filter: blur(82px);
  pointer-events: none;
  z-index: -1;
}

.support-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(254, 183, 6, 0.35);
  background: var(--sc-gold-soft);
  color: #fcd34d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-hero h1 {
  margin: 0 auto;
}

.support-hero p {
  margin: 0 auto;
}

.support-hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--sc-border);
  transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}

.support-btn:hover {
  transform: translateY(-1px);
}

.support-btn-primary {
  background: var(--sc-gold);
  border-color: rgba(0, 0, 0, 0.2);
  color: #0a0a0c;
}

.support-btn-primary:hover {
  filter: brightness(1.05);
}

.support-btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f1f2;
}

.support-btn-ghost:hover {
  border-color: rgba(254, 183, 6, 0.35);
}

.support-kpis {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
}

.support-kpi {
  border: 1px solid var(--sc-border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 11px 12px;
}

.support-kpi b {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.support-kpi span {
  display: block;
  margin-top: 3px;
  color: var(--sc-muted);
  font-size: 12px;
}

.support-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.support-chat-card {
  border: 1px solid var(--sc-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(19, 19, 22, 0.97), rgba(11, 11, 13, 0.97));
  box-shadow: var(--sc-shadow);
  overflow: hidden;
  min-height: 640px;
  display: flex;
  flex-direction: column;
}

.support-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--sc-border-soft);
  background: rgba(0, 0, 0, 0.24);
}

.support-chat-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 22% 20%, rgba(254, 183, 6, 0.2), transparent 62%), var(--sc-panel);
  border: 1px solid var(--sc-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-gold);
}

.support-chat-brand h2 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.support-chat-who {
  font-size: 11px;
  color: var(--sc-muted);
  margin-top: 3px;
}

.support-mini-btn {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--sc-border);
  background: rgba(255, 255, 255, 0.03);
  color: #ddd;
}

.support-mini-btn:hover {
  border-color: rgba(254, 183, 6, 0.35);
}

.support-chat-body {
  flex: 1;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-msg {
  max-width: 90%;
  border: 1px solid var(--sc-border-soft);
  border-radius: 16px;
  padding: 10px 12px;
  line-height: 1.45;
  font-size: 13px;
  word-break: break-word;
}

.sc-msg p {
  margin: 0;
}

.sc-msg p + p,
.sc-msg ul,
.sc-msg ol {
  margin-top: 8px;
}

.sc-msg ul,
.sc-msg ol {
  padding-left: 17px;
}

.sc-msg.user {
  align-self: flex-end;
  background: var(--sc-panel-2);
  color: #fff;
}

.sc-msg.assistant {
  align-self: flex-start;
  background: var(--sc-panel);
  color: #ececec;
}

.sc-msg .sc-fast {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  margin-bottom: 6px;
  border-radius: 999px;
  border: 1px solid rgba(254, 183, 6, 0.36);
  background: var(--sc-gold-soft);
  color: #fcd34d;
  font-weight: 800;
  font-size: 10px;
}

.sc-msg a {
  color: #fcd34d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sc-msg a:hover {
  color: #fde68a;
}

.sc-meta {
  margin-top: 7px;
  color: #a1a1aa;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sc-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.support-typing {
  margin: 0 14px 10px;
  width: fit-content;
  border: 1px solid var(--sc-border-soft);
  border-radius: 14px;
  padding: 9px 12px;
  background: var(--sc-panel);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.support-typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  animation: scBounce 1s ease-in-out infinite;
}

.support-typing span:nth-child(2) {
  animation-delay: 0.13s;
}

.support-typing span:nth-child(3) {
  animation-delay: 0.26s;
}

@keyframes scBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.support-chat-foot {
  border-top: 1px solid var(--sc-border-soft);
  background: rgba(0, 0, 0, 0.22);
  padding: 10px;
}

.support-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.support-input-row textarea {
  flex: 1;
  min-height: 46px;
  max-height: 120px;
  border-radius: 13px;
  border: 1px solid var(--sc-border);
  background: var(--sc-panel);
  color: #fff;
  font-size: 13px;
  padding: 11px 12px;
  line-height: 1.45;
  resize: none;
  outline: none;
}

.support-input-row textarea:focus {
  border-color: rgba(254, 183, 6, 0.45);
  box-shadow: 0 0 0 3px rgba(254, 183, 6, 0.12);
}

.support-send-btn {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(254, 183, 6, 0.35);
  background: rgba(254, 183, 6, 0.14);
  color: #fcd34d;
}

.support-send-btn:hover {
  border-color: rgba(254, 183, 6, 0.52);
  transform: translateY(-1px);
}

.support-send-btn:disabled {
  opacity: 0.45;
}

.support-foot-note {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--sc-muted);
}

.support-foot-note a {
  color: #fcd34d;
  text-decoration: underline;
}

.support-faq {
  margin-top: 18px;
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(19, 19, 22, 0.95), rgba(11, 11, 14, 0.95));
  padding: 16px;
}

.support-faq h2 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.support-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.support-faq-item {
  border: 1px solid var(--sc-border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
}

.support-faq-item h3 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.support-faq-item p {
  margin-top: 6px;
  color: #d4d4d8;
  font-size: 13px;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .support-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .support-chat-card {
    min-height: 700px;
  }
}

@media (min-width: 1024px) {
  .support-chat-card {
    min-height: 740px;
  }
}

@media (max-width: 520px) {
  .support-input-row textarea {
    font-size: 16px;
  }
}
