/* Support Page & Section Styles - Matching Smsar Design System */
:root {
  --support-accent: #8b5cf6;
  --support-discord: #5865f2;
}

.support-page {
  position: relative;
  padding: 60px 0 100px;
}

.support-section {
  padding: 90px 0 75px;
  position: relative;
  scroll-margin-top: 110px;
}

.support-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
}

.support-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.support-breadcrumbs a:hover {
  color: var(--text);
}

.support-breadcrumbs span:last-child {
  color: #bfaefc;
  font-weight: 700;
}

html[data-theme="light"] .support-breadcrumbs span:last-child {
  color: #633ec4;
}

.support-page-hero {
  max-width: 840px;
  margin: 0 auto 40px;
  text-align: center;
}

.support-page-hero h1,
.support-section .section-heading h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.25;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -1px;
}

.support-page-hero h1 strong,
.support-section .section-heading h2 strong {
  color: #a271ff;
  background: linear-gradient(90deg, #b092ff, #7969ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .support-page-hero h1 strong,
html[data-theme="light"] .support-section .section-heading h2 strong {
  background: linear-gradient(90deg, #7c4dff, #5338dd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.support-page-hero p,
.support-section .section-heading > p:last-child {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto;
}

html[data-theme="light"] .support-page-hero p,
html[data-theme="light"] .support-section .section-heading > p:last-child {
  color: #554d68 !important;
}

.support-ambient-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 92, 246, 0.16), rgba(88, 101, 242, 0.08) 50%, transparent 72%);
  filter: blur(85px);
  pointer-events: none;
  z-index: -1;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.support-showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

/* Featured Support Card */
.support-featured-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 38px 44px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(22, 19, 46, 0.92) 0%, rgba(14, 16, 32, 0.95) 100%);
  border: 1px solid rgba(181, 166, 255, 0.22);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.support-featured-card:hover {
  border-color: rgba(175, 142, 255, 0.45);
  box-shadow: 0 28px 65px rgba(20, 10, 50, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .support-featured-card {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(135, 105, 225, 0.25) !important;
  box-shadow: 0 18px 45px rgba(70, 45, 120, 0.08), 0 2px 8px rgba(70, 45, 120, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.support-card-glow {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 92, 246, 0.22), transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: -1;
}

.support-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.support-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(163, 126, 243, 0.32);
  color: #d8c6ff;
}

html[data-theme="light"] .support-badge {
  background: #ede6fd !important;
  border-color: rgba(135, 105, 225, 0.3) !important;
  color: #5b34bc !important;
}

.support-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

html[data-theme="light"] .support-status-pill {
  background: #e6f9f0 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #047857 !important;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: live-status-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes live-status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.15); }
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #a78bfa;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

html[data-theme="light"] .verified-tag {
  color: #6d28d9 !important;
  background: #f3effe !important;
  border-color: #ddd4f7 !important;
}

/* Card Body */
.support-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.support-icon-wrapper {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.28), rgba(139, 92, 246, 0.32));
  border: 1px solid rgba(163, 126, 243, 0.38);
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.28);
  flex-shrink: 0;
}

html[data-theme="light"] .support-icon-wrapper {
  background: linear-gradient(135deg, #e4e7fd, #ece5fd) !important;
  border-color: #d1c5fc !important;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.15) !important;
}

.support-main-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.support-info-content h3 {
  font-size: clamp(23px, 2.6vw, 29px);
  margin: 0 0 10px;
  font-weight: 800;
  color: #f4f2ff;
  letter-spacing: -0.3px;
}

html[data-theme="light"] .support-info-content h3 {
  color: #231b34 !important;
}

.support-main-desc {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 840px;
}

html[data-theme="light"] .support-main-desc {
  color: #554d68 !important;
}

.support-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.support-perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #ded9f7;
  font-weight: 500;
}

html[data-theme="light"] .support-perks-list li {
  color: #3b334e !important;
}

.perk-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(139, 92, 246, 0.22);
  color: #c4b5fd;
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}

html[data-theme="light"] .perk-check {
  background: #ede6fd !important;
  color: #6d28d9 !important;
}

/* Card Actions */
.support-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .support-card-actions {
  border-top-color: rgba(135, 105, 225, 0.18) !important;
}

.support-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #5865f2, #7852f4);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(88, 101, 242, 0.52);
}

.support-discord-btn b {
  font-size: 16px;
  color: #d1c5ff;
}

.btn-discord-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.support-link-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 14px;
  border-radius: 13px;
  background: rgba(13, 15, 30, 0.85);
  border: 1px solid rgba(181, 166, 255, 0.16);
}

html[data-theme="light"] .support-link-box {
  background: #f5f1fb !important;
  border-color: #d8cde7 !important;
}

.support-link-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  color: #bfaefc;
  direction: ltr;
  letter-spacing: 0.2px;
}

html[data-theme="light"] .support-link-text {
  color: #5539a8 !important;
  font-weight: 600;
}

.support-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid rgba(163, 126, 243, 0.28);
  background: rgba(139, 92, 246, 0.15);
  color: #e5defe;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
}

html[data-theme="light"] .support-copy-btn {
  background: #ffffff !important;
  color: #482f8f !important;
  border-color: #d0c2e8 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.support-copy-btn:hover {
  background: rgba(139, 92, 246, 0.28);
  border-color: #a78bfa;
  transform: translateY(-1px);
}

html[data-theme="light"] .support-copy-btn:hover {
  background: #ede6fd !important;
  border-color: #9f75ec !important;
}

.support-copy-btn:active {
  transform: scale(0.97);
}

.support-copy-btn.copied {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: #10b981 !important;
  color: #6ee7b7 !important;
}

html[data-theme="light"] .support-copy-btn.copied {
  background: #e6f9f0 !important;
  border-color: #10b981 !important;
  color: #047857 !important;
}

.copy-icon {
  font-size: 14px;
}

/* Secondary 3-Card Grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.support-sub-card {
  position: relative;
  padding: 26px 24px;
  border-radius: 20px;
  border: 1px solid rgba(181, 166, 255, 0.15);
  background: linear-gradient(145deg, rgba(22, 25, 46, 0.88), rgba(12, 14, 28, 0.88));
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

html[data-theme="light"] .support-sub-card {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(135, 105, 225, 0.2) !important;
  box-shadow: 0 8px 24px rgba(70, 45, 120, 0.05) !important;
}

.support-sub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(161, 123, 255, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] .support-sub-card:hover {
  border-color: rgba(135, 105, 225, 0.4) !important;
  box-shadow: 0 14px 32px rgba(70, 45, 120, 0.1) !important;
}

.sub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sub-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(142, 101, 247, 0.15);
  border: 1px solid rgba(163, 126, 243, 0.2);
}

html[data-theme="light"] .sub-card-icon {
  background: #ede6fd !important;
  border-color: rgba(135, 105, 225, 0.25) !important;
}

.sub-card-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sub-card-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: #c4b5fd;
  font-weight: 700;
}

html[data-theme="light"] .sub-card-tag {
  background: #ede6fd !important;
  color: #5b34bc !important;
}

.support-sub-card h4 {
  font-size: 19px;
  margin: 0 0 10px;
  font-weight: 800;
  color: #f4f2ff;
}

html[data-theme="light"] .support-sub-card h4 {
  color: #231b34 !important;
}

.support-sub-card p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}

html[data-theme="light"] .support-sub-card p {
  color: #5d5570 !important;
}

/* FAQ Section */
.support-faq-section {
  margin-top: 60px;
}

.support-faq-heading {
  text-align: center;
  margin-bottom: 30px;
}

.support-faq-heading h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #f4f2ff;
}

html[data-theme="light"] .support-faq-heading h2 {
  color: #231b34 !important;
}

.support-faq-heading p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

html[data-theme="light"] .support-faq-heading p {
  color: #5d5570 !important;
}

.support-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-card {
  padding: 24px 26px;
  border-radius: 18px;
  border: 1px solid rgba(181, 166, 255, 0.15);
  background: linear-gradient(145deg, rgba(22, 25, 46, 0.8), rgba(12, 14, 28, 0.8));
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

html[data-theme="light"] .faq-card {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(135, 105, 225, 0.2) !important;
  box-shadow: 0 6px 20px rgba(70, 45, 120, 0.05) !important;
}

.faq-card:hover {
  transform: translateY(-3px);
  border-color: rgba(161, 123, 255, 0.4);
}

.faq-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #f4f2ff;
}

html[data-theme="light"] .faq-card h3 {
  color: #231b34 !important;
}

.faq-card h3 span:first-child {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  font-size: 12px;
  flex-shrink: 0;
}

html[data-theme="light"] .faq-card h3 span:first-child {
  background: #ede6fd !important;
  color: #6d28d9 !important;
}

.faq-card h3 span:not(:first-child) {
  display: inline;
  width: auto;
  height: auto;
  background: none !important;
  color: inherit !important;
  font-size: inherit;
  font-weight: inherit;
  border-radius: 0;
  flex: 1;
}

.faq-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}

html[data-theme="light"] .faq-card p {
  color: #5d5570 !important;
}

/* Active navigation link */
.topbar nav a.nav-active {
  color: #c8b7ff !important;
  background: rgba(154, 121, 227, 0.16) !important;
}

html[data-theme="light"] .topbar nav a.nav-active {
  color: #633ec4 !important;
  background: rgba(120, 80, 220, 0.12) !important;
}

/* Responsive adjustments */
@media (max-width: 950px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .support-card-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .support-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }
  .support-main-icon {
    width: 34px;
    height: 34px;
  }
  .support-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .support-page {
    padding: 35px 0 60px;
  }
  .support-section {
    padding: 60px 0 45px;
  }
  .support-featured-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .support-card-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .support-discord-btn {
    width: 100%;
    justify-content: center;
  }
  .support-link-box {
    width: 100%;
    justify-content: space-between;
  }
  .support-perks-list {
    grid-template-columns: 1fr;
  }
}
