/* =========================================================
    Global Theme Compatibility Layer
   Light/Dark mode design tokens
   ========================================================= */

:root,
[data-theme="light"],
html:not(.dark) {
  color-scheme: light;

  --sx-bg-primary: #f7f8fc;
  --sx-bg-secondary: #ffffff;
  --sx-bg-card: #ffffff;
  --sx-bg-card-soft: #f4f5fb;
  --sx-bg-input: #ffffff;

  --sx-text-primary: #171725;
  --sx-text-secondary: #5f6478;
  --sx-text-muted: #858a9e;
  --sx-text-inverse: #ffffff;

  --sx-border: #e4e6ef;
  --sx-border-strong: #d8dbe7;

  --sx-primary: #6948f5;
  --sx-primary-hover: #5938e5;
  --sx-primary-soft: #f0ecff;

  --sx-success: #16c995;
  --sx-success-soft: #e8fbf5;

  --sx-warning: #f5a623;
  --sx-danger: #e55353;

  --sx-hero-start: #171725;
  --sx-hero-end: #6948f5;

  --sx-shadow: 0 18px 50px rgba(28, 32, 55, .10);
  --sx-shadow-soft: 0 8px 28px rgba(28, 32, 55, .07);
}

img {
  max-width: 100%;
}

.brand-logo {
  height: 40px !important;
  width: auto !important;
  max-height: 40px !important;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.brand-logo-icon {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--sx-text-primary, #171725);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--sx-primary, #6948f5);
  margin-top: 2px;
  line-height: 1;
}

/* Active Nav Link Theme Highlight */
.navbar .nav-link {
  transition: all 0.25s ease;
  position: relative;
  border-radius: 8px;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.navbar .nav-link:hover {
  color: var(--sx-primary, #6948f5) !important;
  background: rgba(105, 72, 245, 0.06);
}

.navbar .nav-link.active {
  color: #6948f5 !important;
  font-weight: 700 !important;
  background: rgba(105, 72, 245, 0.10);
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0.75rem;
  right: 0.75rem;
  height: 3px;
  background: linear-gradient(90deg, #6948f5, #38d9ff);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(105, 72, 245, 0.7);
}

/* Dark mode active nav link */
html.dark .navbar .nav-link.active,
[data-theme="dark"] .navbar .nav-link.active,
body.dark-mode .navbar .nav-link.active {
  color: #a78bfa !important;
  background: rgba(124, 92, 255, 0.16);
}

/* Dark mode typography colors */
html.dark .brand-title,
[data-theme="dark"] .brand-title,
body.dark-mode .brand-title {
  color: #ffffff !important;
}

html.dark .brand-subtitle,
[data-theme="dark"] .brand-subtitle,
body.dark-mode .brand-subtitle {
  color: #a78bfa !important;
}

html.dark,
[data-theme="dark"],
body.dark-mode {
  color-scheme: dark;

  --sx-bg-primary: #0d0d16;
  --sx-bg-secondary: #12121d;
  --sx-bg-card: #181824;
  --sx-bg-card-soft: #20202e;
  --sx-bg-input: #151520;

  --sx-text-primary: #ffffff;
  --sx-text-secondary: #a5a7b8;
  --sx-text-muted: #7e8194;
  --sx-text-inverse: #171725;

  --sx-border: #292938;
  --sx-border-strong: #353548;

  --sx-primary: #7654ff;
  --sx-primary-hover: #886bff;
  --sx-primary-soft: #211a3c;

  --sx-success: #20d9a0;
  --sx-success-soft: #102d27;

  --sx-warning: #ffbd59;
  --sx-danger: #ff6b6b;

  --sx-hero-start: #ffffff;
  --sx-hero-end: #65d8ff;

  --sx-shadow: 0 25px 60px rgba(0, 0, 0, .35);
  --sx-shadow-soft: 0 10px 35px rgba(0, 0, 0, .25);
}

/* Base */
html,
body {
  background-color: var(--sx-bg-primary);
  color: var(--sx-text-primary);
}

body {
  transition: background-color .2s ease, color .2s ease;
}

/* Generic semantic helpers */
.sx-card,
.card,
.network-card,
.stat-card,
.stat-box,
.panel,
.dashboard-card,
.feature-card,
.info-card,
.metric-card {
  color: var(--sx-text-primary);
}

.sx-theme-card {
  background: var(--sx-bg-card);
  color: var(--sx-text-primary);
  border: 1px solid var(--sx-border);
  box-shadow: var(--sx-shadow);
}

.sx-text-primary {
  color: var(--sx-text-primary) !important;
}

.sx-text-secondary {
  color: var(--sx-text-secondary) !important;
}

.sx-text-muted {
  color: var(--sx-text-muted) !important;
}

.sx-bg-primary {
  background-color: var(--sx-bg-primary) !important;
}

.sx-bg-secondary {
  background-color: var(--sx-bg-secondary) !important;
}

.sx-bg-card {
  background-color: var(--sx-bg-card) !important;
}

.sx-border {
  border-color: var(--sx-border) !important;
}

/* Forms */
input,
textarea,
select {
  background-color: var(--sx-bg-input);
  color: var(--sx-text-primary);
  border-color: var(--sx-border);
}

input::placeholder,
textarea::placeholder {
  color: var(--sx-text-muted);
}

/* Buttons */
.btn-secondary,
.btn-outline,
.secondary-btn {
  color: var(--sx-text-primary);
  background: transparent;
  border-color: var(--sx-border-strong);
}

.btn-secondary:hover,
.btn-outline:hover,
.secondary-btn:hover {
  background: var(--sx-bg-card-soft);
  color: var(--sx-text-primary);
}

/* Gradient headings */
.hero-gradient,
.gradient-text,
.hero-title-gradient,
.gradient-title {
  background: linear-gradient(90deg, var(--sx-hero-start), var(--sx-hero-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Links */
a:not(.btn):not(.button) {
  color: var(--sx-text-primary);
  outline: none;
}

/* Tables */
table {
  color: var(--sx-text-primary);
  border-color: var(--sx-border);
}

th {
  color: var(--sx-text-secondary);
}

td {
  border-color: var(--sx-border);
}

/* Header */
header,
nav,
.navbar,
.site-header {
  color: var(--sx-text-primary);
  border-color: var(--sx-border);
}

/* Avoid white text disappearing on light mode when it is a normal logo/title */
.sx-logo-text {
  color: var(--sx-text-primary) !important;
}

/* Keep intentional dark promotional areas dark */
.sx-dark-surface,
[data-theme-surface="dark"] {
  background: #171722 !important;
  color: #ffffff !important;
}

.sx-dark-surface *,
[data-theme-surface="dark"] * {
  color: inherit;
}

/* Success status */
.status-success,
.network-status,
.live-status {
  color: var(--sx-success);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Final dark footer readability override */
html[data-theme="dark"] footer,
html[data-theme="dark"] footer * {
  opacity: 1;
}

html[data-theme="dark"] footer h4,
html[data-theme="dark"] footer h5,
html[data-theme="dark"] footer h6 {
  color: #ffffff !important;
}

html[data-theme="dark"] footer p,
html[data-theme="dark"] footer .muted,
html[data-theme="dark"] footer .text-secondary,
html[data-theme="dark"] footer .small {
  color: #a5a7b8 !important;
}

html[data-theme="dark"] footer a,
html[data-theme="dark"] footer a:not(.btn):not(.button) {
  color: #a5a7b8 !important;
}

html[data-theme="dark"] footer a:hover,
html[data-theme="dark"] footer a:focus {
  color: #ffffff !important;
}

html[data-theme="dark"] footer .footer-bottom,
html[data-theme="dark"] footer .footer-bottom span {
  color: #85899d !important;
}


/* =========================================================
   Product coming-soon pages + ecosystem discovery
   ========================================================= */
.product-coming-hero {
  padding: 145px 0 90px;
  min-height: 690px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(700px 420px at 88% 30%, rgba(118, 85, 245, .14), transparent 70%);
}

.product-coming-hero:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: 80px;
  border-radius: 50%;
  background: rgba(118, 85, 245, .08);
  filter: blur(80px);
  pointer-events: none;
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #5528e5;
  background: linear-gradient(135deg, rgba(105, 72, 245, 0.09) 0%, rgba(142, 84, 233, 0.14) 100%);
  border: 1px solid rgba(105, 72, 245, 0.28);
  box-shadow: 0 2px 10px rgba(105, 72, 245, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.coming-soon-pill i {
  font-size: 13px;
  color: #6948f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.coming-soon-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(105, 72, 245, 0.45);
  box-shadow: 0 4px 16px rgba(105, 72, 245, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(105, 72, 245, 0.13) 0%, rgba(142, 84, 233, 0.19) 100%);
}

.coming-soon-pill:hover i {
  transform: rotate(30deg) scale(1.1);
}

/* Light Theme Explicit Enhancements */
html[data-theme="light"] .coming-soon-pill {
  color: #5227cc;
  background: linear-gradient(135deg, #f4efff 0%, #ebe4ff 100%);
  border: 1px solid #d4c5ff;
  box-shadow: 0 2px 10px rgba(105, 72, 245, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .coming-soon-pill i {
  color: #6948f5;
}

html[data-theme="light"] .coming-soon-pill:hover {
  background: linear-gradient(135deg, #ede6ff 0%, #e2d7ff 100%);
  border-color: #bfa8ff;
  box-shadow: 0 4px 16px rgba(105, 72, 245, 0.22), inset 0 1px 0 #ffffff;
  color: #3e16b5;
}

/* Dark Theme Explicit Enhancements */
html[data-theme="dark"] .coming-soon-pill {
  color: #d8b4fe;
  background: linear-gradient(135deg, rgba(105, 72, 245, 0.16) 0%, rgba(142, 84, 233, 0.24) 100%);
  border: 1px solid rgba(167, 139, 250, 0.38);
  box-shadow: 0 0 18px rgba(105, 72, 245, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .coming-soon-pill i {
  color: #c084fc;
}

html[data-theme="dark"] .coming-soon-pill:hover {
  background: linear-gradient(135deg, rgba(105, 72, 245, 0.24) 0%, rgba(142, 84, 233, 0.32) 100%);
  border-color: rgba(192, 132, 252, 0.65);
  box-shadow: 0 0 24px rgba(105, 72, 245, 0.42);
  color: #f5edff;
}

.product-hero-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -3px;
  font-weight: 800;
  max-width: 800px;
}

.coming-preview-card,
.product-planned-card {
  border: 1px solid var(--sx-border);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--sx-bg-card), var(--sx-bg-card-soft));
  box-shadow: var(--sx-shadow);
  overflow: hidden;
}

.coming-preview-top {
  padding: 20px 22px;
  border-bottom: 1px solid var(--sx-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coming-preview-body {
  padding: 34px 28px 30px;
}

.preview-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sx-primary);
  background: var(--sx-primary-soft);
  border: 1px solid rgba(118, 85, 245, .22);
  font-size: 30px;
  margin-bottom: 22px;
}

.coming-preview-body h3 {
  color: var(--sx-text-primary);
}

.preview-state {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 12px;
  background: var(--sx-bg-card-soft);
  border: 1px solid var(--sx-border);
  color: var(--sx-text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.preview-state i {
  color: var(--sx-primary);
  margin-top: 2px;
}

.planned-chip {
  color: var(--sx-primary) !important;
}

.product-flow-card {
  position: relative;
  height: 100%;
  padding: 28px 24px 24px;
  border: 1px solid var(--sx-border);
  border-radius: 20px;
  background: var(--sx-bg-card);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-flow-card:hover {
  transform: translateY(-5px);
  border-color: rgba(118, 85, 245, .45);
  box-shadow: var(--sx-shadow-soft);
}

.flow-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--sx-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.product-flow-card .icon-box {
  margin-bottom: 20px;
}

.product-flow-card h4 {
  color: var(--sx-text-primary);
  font-size: 20px;
}

.product-flow-card p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.product-planned-card {
  padding: 38px 40px;
}

.planned-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.planned-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--sx-text-secondary);
  font-size: 14px;
}

.planned-list li i {
  color: var(--sx-success);
}

.ecosystem-card-link {
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ecosystem-card-link:hover {
  transform: translateY(-5px);
  border-color: rgba(118, 85, 245, .45);
  box-shadow: var(--sx-shadow-soft);
}

.ecosystem-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
}

.ecosystem-status.live {
  color: var(--sx-success);
}

.ecosystem-status.upcoming {
  color: var(--sx-primary);
}

.ecosystem-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--sx-text-primary);
  font-size: 13px;
  font-weight: 800;
}

.ecosystem-card-link:hover .ecosystem-action {
  color: var(--sx-primary);
}

/* Footer: explicit semantic colors (Footer is ALWAYS dark background) */
footer,
html[data-theme="dark"] footer,
html[data-theme="light"] footer {
  background: #07070c !important;
  color: #b0b3c6 !important;
}

footer h4,
footer h6,
html[data-theme="light"] footer h4,
html[data-theme="light"] footer h6,
html[data-theme="dark"] footer h4,
html[data-theme="dark"] footer h6 {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
}

footer p,
footer .muted,
footer .text-secondary,
html[data-theme="light"] footer p,
html[data-theme="light"] footer .muted,
html[data-theme="dark"] footer p,
html[data-theme="dark"] footer .muted {
  color: #a2a5b8 !important;
  opacity: 1 !important;
}

footer a:not(.btn):not(.social-icon-btn),
html[data-theme="light"] footer a:not(.btn):not(.social-icon-btn),
html[data-theme="dark"] footer a:not(.btn):not(.social-icon-btn) {
  color: #b8bacb !important;
  opacity: 1 !important;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

footer a:not(.btn):not(.social-icon-btn):hover,
html[data-theme="light"] footer a:not(.btn):not(.social-icon-btn):hover,
html[data-theme="dark"] footer a:not(.btn):not(.social-icon-btn):hover {
  color: #a78bfa !important;
}

/* Footer Brand Typography - Always bright white text on dark footer background */
footer .brand-title,
html[data-theme="light"] footer .brand-title,
html[data-theme="dark"] footer .brand-title {
  color: #ffffff !important;
}

footer .brand-subtitle,
html[data-theme="light"] footer .brand-subtitle,
html[data-theme="dark"] footer .brand-subtitle {
  color: #a78bfa !important;
}

/* Footer Legal Links (Privacy Policy & Terms) */
.footer-legal-link {
  display: inline-block !important;
  margin-bottom: 0 !important;
  color: #77778a !important;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #6948f5 !important;
  text-decoration: underline;
}

html[data-theme="dark"] .footer-legal-link {
  color: #85899d !important;
}

html[data-theme="dark"] .footer-legal-link:hover {
  color: #ffffff !important;
}

/* Mobile Navbar Toggler Button & Icon Styling */
.navbar-toggler {
  padding: 6px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(105, 72, 245, 0.3) !important;
  background: rgba(105, 72, 245, 0.08) !important;
  transition: all 0.25s ease !important;
  outline: none !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(105, 72, 245, 0.25) !important;
}

.navbar-toggler .brand-toggler-icon {
  color: #6948f5 !important;
  font-size: 1.75rem !important;
  line-height: 1 !important;
  display: inline-block;
}

html[data-theme="dark"] .navbar-toggler {
  background: rgba(124, 92, 255, 0.14) !important;
  border-color: rgba(167, 139, 250, 0.35) !important;
}

html[data-theme="dark"] .navbar-toggler .brand-toggler-icon {
  color: #ffffff !important;
}

/* Footer Social Media Buttons */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(105, 72, 245, 0.1);
  border: 1px solid rgba(105, 72, 245, 0.25);
  color: #a78bfa !important;
  font-size: 1.15rem;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.social-icon-btn:hover {
  background: #6948f5;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(105, 72, 245, 0.4);
}

/* Footer Download Cards - Always crisp high contrast white text */
.footer-download-btn,
html[data-theme="light"] .footer-download-btn,
html[data-theme="dark"] .footer-download-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  transition: all 0.25s ease !important;
}

.footer-download-btn strong,
.footer-download-btn div,
.footer-download-btn .text-start,
html[data-theme="light"] .footer-download-btn strong,
html[data-theme="light"] .footer-download-btn div,
html[data-theme="dark"] .footer-download-btn strong,
html[data-theme="dark"] .footer-download-btn div {
  color: #ffffff !important;
}

.footer-download-btn .small,
.footer-download-btn .opacity-75 {
  color: #d0d2e3 !important;
  opacity: 0.9 !important;
}

.footer-download-btn i.bi-google-play {
  color: #38bdf8 !important;
}

.footer-download-btn i.bi-apple {
  color: #ffffff !important;
}

/* Footer Download Card Badges */
.footer-download-btn .status-chip {
  background: rgba(105, 72, 245, 0.25) !important;
  border: 1px solid rgba(167, 139, 250, 0.45) !important;
  color: #a78bfa !important;
  font-weight: 700 !important;
}

.footer-download-btn .badge.bg-white,
.footer-download-btn .badge.bg-white * {
  background: #ffffff !important;
  color: #171725 !important;
  font-weight: 800 !important;
}

.footer-download-btn:hover {
  background: rgba(105, 72, 245, 0.25) !important;
  border-color: rgba(167, 139, 250, 0.5) !important;
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .product-coming-hero {
    padding: 120px 0 65px;
    min-height: auto;
  }

  .product-hero-title {
    font-size: 46px;
    letter-spacing: -2px;
  }

  .coming-preview-card {
    margin-top: 10px;
  }

  .product-planned-card {
    padding: 28px 22px;
  }
}


/* =========================================================
   FINAL DARK-MODE PRODUCT + ECOSYSTEM CONTRAST FIX
   ========================================================= */
html[data-theme="dark"] .coming-preview-card,
html[data-theme="dark"] .product-planned-card,
html[data-theme="dark"] .product-flow-card {
  background: linear-gradient(145deg, #181824, #20202e) !important;
  color: #ffffff !important;
  border-color: #292938 !important;
}

html[data-theme="dark"] .coming-preview-card h3,
html[data-theme="dark"] .coming-preview-card h5,
html[data-theme="dark"] .product-planned-card h2,
html[data-theme="dark"] .product-flow-card h4 {
  color: #ffffff !important;
}

html[data-theme="dark"] .coming-preview-card .muted,
html[data-theme="dark"] .coming-preview-card p,
html[data-theme="dark"] .product-planned-card .muted,
html[data-theme="dark"] .product-flow-card p {
  color: #a5a7b8 !important;
}

html[data-theme="dark"] .preview-state {
  background: #20202e !important;
  border-color: #292938 !important;
  color: #a5a7b8 !important;
}

html[data-theme="dark"] .ecosystem-card-link {
  color: #ffffff !important;
}

html[data-theme="dark"] .ecosystem-card-link .ecosystem-action {
  color: #ffffff !important;
}

html[data-theme="dark"] .ecosystem-card-link:hover .ecosystem-action {
  color: #9a86ff !important;
}

html[data-theme="dark"] .ecosystem-card-link .ecosystem-status.upcoming {
  color: #9a86ff !important;
}

/* Upcoming cards use a text status only; no decorative clock icon. */
.ecosystem-status.upcoming i {
  display: none !important;
}

/* =========================================================
   FINAL UI POLISH — PLANNED BADGE + ECOSYSTEM ACTION ALIGNMENT
   ========================================================= */

/* Keep ecosystem cards as equal-height flex columns so every Explore action
   sits on the same baseline, regardless of description length. */
.ecosystem-card-link {
  display: flex !important;
  flex-direction: column !important;
}

.ecosystem-card-link .ecosystem-action {
  margin-top: auto !important;
  padding-top: 22px;
}

/* Strong, readable Planned badge on upcoming product preview cards. */
html[data-theme="dark"] .coming-preview-card .planned-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  color: #a995ff !important;
  background: rgba(118, 85, 245, .13) !important;
  border: 1px solid rgba(118, 85, 245, .38) !important;
  box-shadow: inset 0 0 0 1px rgba(118, 85, 245, .04), 0 0 18px rgba(118, 85, 245, .06) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html[data-theme="dark"] .coming-preview-card .planned-chip>span {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background-color: #a995ff !important;
  box-shadow: 0 0 8px rgba(169, 149, 255, .8) !important;
}

/* =========================================================
   CUSTOM FAQ ACCORDION STYLING (Theme Aware: Light & Dark)
   ========================================================= */
.custom-faq-accordion .accordion-item {
  border-radius: 16px !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
}

/* Light Theme Styling */
html[data-theme="light"] .custom-faq-accordion .accordion-item {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

html[data-theme="light"] .custom-faq-accordion .accordion-button {
  background: #ffffff !important;
  color: #1e293b !important;
  font-weight: 600 !important;
  font-size: 1.02rem !important;
  padding: 18px 22px !important;
  border: none !important;
  box-shadow: none !important;
  border-left: 4px solid transparent !important;
  transition: all 0.25s ease !important;
}

html[data-theme="light"] .custom-faq-accordion .accordion-button:not(.collapsed) {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-left: 4px solid #6948f5 !important;
}

html[data-theme="light"] .custom-faq-accordion .accordion-button::after {
  filter: none !important;
}

html[data-theme="light"] .custom-faq-accordion .accordion-body {
  background: #ffffff !important;
  color: #475569 !important;
  padding: 18px 22px !important;
  font-size: 0.96rem !important;
  line-height: 1.7 !important;
  border-top: 1px solid #f1f5f9 !important;
}

/* Dark Theme Styling */
html[data-theme="dark"] .custom-faq-accordion .accordion-item {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="dark"] .custom-faq-accordion .accordion-button {
  background: transparent !important;
  color: #f3f4f6 !important;
  font-weight: 600 !important;
  font-size: 1.02rem !important;
  padding: 18px 22px !important;
  border: none !important;
  box-shadow: none !important;
  border-left: 4px solid transparent !important;
  transition: all 0.25s ease !important;
}

html[data-theme="dark"] .custom-faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #ffffff !important;
  border-left: 4px solid #a78bfa !important;
}

html[data-theme="dark"] .custom-faq-accordion .accordion-button::after {
  filter: invert(1) brightness(2) !important;
}

html[data-theme="dark"] .custom-faq-accordion .accordion-body {
  background: transparent !important;
  color: #9ca3af !important;
  padding: 18px 22px !important;
  font-size: 0.96rem !important;
  line-height: 1.7 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Prevent the global status-chip styling from overriding the planned badge. */
html[data-theme="dark"] .coming-preview-card .planned-chip {
  background-color: rgba(118, 85, 245, .13) !important;
  border-color: rgba(118, 85, 245, .38) !important;
}

/* =========================================================
   ENHANCED FAQ PAGE DESIGN SYSTEM (Theme Aware: Light & Dark)
   ========================================================= */

/* Hero Search Bar */
.faq-hero-search-container {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.faq-search-box {
  position: relative;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-search-input {
  height: 60px;
  font-size: 1.05rem;
  padding-left: 54px;
  padding-right: 90px;
  border-radius: 16px !important;
  border: 1px solid rgba(105, 72, 245, 0.25) !important;
  transition: all 0.3s ease !important;
}

html[data-theme="light"] .faq-search-input {
  background: #ffffff !important;
  color: #171725 !important;
  box-shadow: 0 10px 30px rgba(105, 72, 245, 0.08) !important;
}

html[data-theme="dark"] .faq-search-input {
  background: rgba(22, 27, 46, 0.85) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(12px);
}

.faq-search-input:focus {
  border-color: #6948f5 !important;
  box-shadow: 0 0 0 4px rgba(105, 72, 245, 0.25) !important;
  outline: none !important;
}

.faq-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #6948f5;
  pointer-events: none;
}

.faq-search-shortcut {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.faq-search-shortcut kbd {
  background: rgba(105, 72, 245, 0.12);
  color: #6948f5;
  border: 1px solid rgba(105, 72, 245, 0.25);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
}

html[data-theme="dark"] .faq-search-shortcut kbd {
  background: rgba(255, 255, 255, 0.08);
  color: #a78bfa;
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-search-clear {
  background: none;
  border: none;
  color: #8c8ea9;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1.1rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: none;
}

.faq-search-clear:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* Category Summary Grid Cards */
.faq-category-card {
  border-radius: 18px;
  padding: 22px;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
}

html[data-theme="light"] .faq-category-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

html[data-theme="dark"] .faq-category-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.faq-category-card:hover {
  transform: translateY(-5px);
}

html[data-theme="light"] .faq-category-card:hover {
  border-color: rgba(105, 72, 245, 0.4);
  box-shadow: 0 12px 32px rgba(105, 72, 245, 0.12);
}

html[data-theme="dark"] .faq-category-card:hover {
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 32px rgba(105, 72, 245, 0.2);
}

.faq-category-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(105, 72, 245, 0.15), rgba(167, 139, 250, 0.2));
  color: #6948f5;
  transition: all 0.3s ease;
}

html[data-theme="dark"] .faq-category-card .icon-box {
  color: #a78bfa;
}

.faq-category-card:hover .icon-box {
  background: linear-gradient(135deg, #6948f5, #8b5cf6);
  color: #ffffff !important;
  transform: scale(1.08);
}

/* Category Filter Pills Bar */
.faq-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 8px;
}

.faq-filter-btn {
  white-space: nowrap;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

html[data-theme="light"] .faq-filter-btn {
  background: #f3f4f6;
  color: #4b5563;
  border-color: #e5e7eb;
}

html[data-theme="dark"] .faq-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-filter-btn:hover {
  background: rgba(105, 72, 245, 0.1);
  color: #6948f5;
}

html[data-theme="dark"] .faq-filter-btn:hover {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
}

.faq-filter-btn.active {
  background: linear-gradient(135deg, #6948f5, #8b5cf6) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(105, 72, 245, 0.35) !important;
}

/* Accordion Item Upgrades */
.custom-faq-accordion .accordion-item {
  border-radius: 16px !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

.custom-faq-accordion .accordion-item:hover {
  transform: translateX(4px);
}

.custom-faq-accordion .accordion-button:focus {
  box-shadow: none !important;
}

.faq-q-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(105, 72, 245, 0.08);
  color: #6948f5;
  transition: all 0.25s ease;
}

html[data-theme="dark"] .faq-q-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #a78bfa;
}

.custom-faq-accordion .accordion-button:not(.collapsed) .faq-q-badge {
  background: #6948f5;
  color: #ffffff !important;
}

/* Question Action Toolbar */
.faq-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(105, 72, 245, 0.18);
}

html[data-theme="dark"] .faq-action-bar {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.faq-helpful-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
}

html[data-theme="dark"] .faq-helpful-box {
  color: #9ca3af;
}

.faq-helpful-btn {
  background: transparent;
  border: 1px solid rgba(105, 72, 245, 0.2);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.faq-helpful-btn:hover {
  background: rgba(105, 72, 245, 0.1);
  color: #6948f5;
  border-color: #6948f5;
}

.faq-helpful-btn.voted-yes {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

.faq-helpful-btn.voted-no {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

.faq-copy-link-btn {
  background: transparent;
  border: none;
  color: #6948f5;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

html[data-theme="dark"] .faq-copy-link-btn {
  color: #a78bfa;
}

.faq-copy-link-btn:hover {
  background: rgba(105, 72, 245, 0.1);
}

/* Highlight Mark */
mark.faq-highlight-mark {
  background-color: rgba(251, 191, 36, 0.35);
  color: inherit;
  padding: 0 4px;
  border-radius: 4px;
}

html[data-theme="dark"] mark.faq-highlight-mark {
  background-color: rgba(245, 158, 11, 0.4);
  color: #ffffff;
}

/* Toast Floating Box */
#faqToast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #1e293b;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#faqToast.show {
  transform: translateY(0);
  opacity: 1;
}

/* CTA Card Upgrade */
.faq-support-cta {
  background: linear-gradient(135deg, rgba(105, 72, 245, 0.08) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(105, 72, 245, 0.25);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .faq-support-cta {
  background: linear-gradient(135deg, rgba(105, 72, 245, 0.15) 0%, rgba(30, 27, 75, 0.6) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-cta-pill {
  background: rgba(105, 72, 245, 0.12) !important;
  color: #6948f5 !important;
  border: 1px solid rgba(105, 72, 245, 0.25) !important;
  border-radius: 50px !important;
  padding: 6px 16px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  display: inline-block !important;
}

html[data-theme="dark"] .faq-cta-pill {
  background: rgba(167, 139, 250, 0.15) !important;
  color: #a78bfa !important;
  border-color: rgba(167, 139, 250, 0.3) !important;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .faq-hero-search-container {
    padding: 0 4px;
  }

  .faq-filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 6px;
  }

  .faq-filter-btn {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .faq-search-input {
    height: 50px;
    font-size: 0.9rem;
    padding-left: 44px;
    padding-right: 40px;
  }

  .faq-search-icon {
    left: 14px;
    font-size: 1.05rem;
  }

  .custom-faq-accordion .accordion-button {
    padding: 14px 16px !important;
    font-size: 0.95rem !important;
  }

  .custom-faq-accordion .accordion-body {
    padding: 14px 16px !important;
  }
}

@media (max-width: 576px) {
  .faq-action-bar {
    justify-content: center !important;
  }

  .faq-helpful-box {
    width: 100%;
    justify-content: space-between;
    margin-left: 0 !important;
  }

  .faq-module-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  .faq-module-header .badge {
    margin-top: 2px !important;
    white-space: nowrap;
  }
}

/* ==========================================
   Privacy Policy Mobile WebView Styles
   ========================================== */
.privacy-page-body {
  background-color: var(--body-bg, #0b0f19);
  color: var(--text-color, #e2e8f0);
  font-family: var(--font-family, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  line-height: 1.7;
}

.privacy-header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
}

html[data-theme="light"] .privacy-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.privacy-card {
  background: var(--card-bg, #111827);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .privacy-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(105, 72, 245, 0.12);
  color: #6948f5;
  margin-bottom: 12px;
}

.privacy-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--heading-color, #f8fafc);
}

html[data-theme="light"] .privacy-section-title {
  color: #0f172a;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.privacy-subsection-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #818cf8;
}

html[data-theme="light"] .privacy-subsection-title {
  color: #4f46e5;
}

.privacy-list {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.privacy-list li {
  margin-bottom: 0.4rem;
}

.webview-footer {
  text-align: center;
  padding: 24px 0 40px;
  font-size: 12px;
  color: #94a3b8;
}

.privacy-container {
  max-width: 850px;
}

.privacy-brand-subtitle {
  font-size: 9px;
  letter-spacing: 1.5px;
}

.privacy-footer-note {
  font-size: 11px;
}

/* ==========================================
   Sub-Footer Copyright & Policy Links Bar
   ========================================== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.footer-policy-sublinks {
  gap: 1.25rem !important;
}

.footer-policy-sublinks a {
  color: #94a3b8 !important;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.footer-policy-sublinks a:hover {
  color: #6948f5 !important;
}

html[data-theme="dark"] .footer-policy-sublinks a,
body.dark-mode .footer-policy-sublinks a {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .footer-policy-sublinks a:hover,
body.dark-mode .footer-policy-sublinks a:hover {
  color: #a78bfa !important;
}

.sublink-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
}

html[data-theme="light"] .sublink-divider {
  color: rgba(0, 0, 0, 0.2);
}

.copyright-text {
  color: #94a3b8 !important;
  font-size: 0.85rem;
  font-weight: 500;
}

html[data-theme="light"] .copyright-text {
  color: #64748b !important;
}

html[data-theme="dark"] .copyright-text,
body.dark-mode .copyright-text {
  color: #94a3b8 !important;
}

/* =========================================================
   Responsive Roadmap: Horizontal (Desktop/High-Res Tablet >= 992px)
   vs Vertical (Tablet < 992px & Mobile < 768px)
   ========================================================= */

@media (min-width: 992px) {

  /* Horizontal Track Layout on Laptop, Desktop & High-Res Tablets */
  .ax-roadmap-timeline {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 20px !important;
    position: relative !important;
    padding-top: 75px !important;
    padding-bottom: 24px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Horizontal connecting line across top of steps */
  .ax-roadmap-timeline::before {
    content: "" !important;
    position: absolute !important;
    top: 36px !important;
    left: 40px !important;
    right: 40px !important;
    bottom: auto !important;
    width: auto !important;
    height: 3px !important;
    background: linear-gradient(90deg, #7655f5 0%, #7655f5 55%, #ff7a18 65%, rgba(140, 144, 164, 0.3) 75%) !important;
    border-radius: 999px !important;
  }

  .ax-roadmap-step {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 280px !important;
    min-width: 280px !important;
    margin-bottom: 0 !important;
    gap: 16px !important;
  }

  .ax-step-rail {
    min-height: 56px !important;
    width: 100% !important;
    position: relative !important;
    display: block !important;
  }

  .ax-step-number {
    top: -48px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .ax-step-icon {
    top: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .ax-step-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 22px !important;
    text-align: left !important;
  }

  .ax-step-card p {
    max-width: 100% !important;
  }

  .ax-upcoming-divider {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    padding-top: 75px !important;
  }

  .ax-upcoming-divider::before,
  .ax-upcoming-divider::after {
    display: none !important;
  }

  /* Custom horizontal scrollbar styling */
  .ax-roadmap-timeline::-webkit-scrollbar {
    height: 8px;
  }

  .ax-roadmap-timeline::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
  }

  .ax-roadmap-timeline::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #6948f5, #a78bfa);
    border-radius: 10px;
  }
}

/* Vertical layout on Tablets (< 992px) and Mobile (< 768px) */
@media (max-width: 991.98px) {
  .ax-roadmap-timeline {
    display: block !important;
    position: relative !important;
    padding-top: 0 !important;
  }

  .ax-roadmap-timeline::before {
    left: 36px !important;
    top: 24px !important;
    bottom: 24px !important;
    width: 2px !important;
    height: auto !important;
    right: auto !important;
  }

  .ax-roadmap-step {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
  }

  .ax-step-rail {
    min-height: 110px !important;
  }

  .ax-step-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .ax-upcoming-divider {
    margin: 20px 0 20px 72px !important;
  }
}

@media (max-width: 767.98px) {
  .ax-roadmap-timeline::before {
    left: 24px !important;
  }

  .ax-roadmap-step {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .ax-step-card {
    display: block !important;
    padding: 16px !important;
  }

  .ax-step-card .ax-status {
    margin-top: 12px !important;
    display: inline-block !important;
  }

  .ax-upcoming-divider {
    margin: 16px 0 16px 48px !important;
  }
}

/* =========================================================
   PX Creator Studio Dedicated Styles
   ========================================================= */

.creator-hero {
  position: relative;
  padding: 120px 0 70px;
  background: radial-gradient(circle at 85% 20%, rgba(105, 72, 245, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(22, 201, 149, 0.05) 0%, transparent 50%),
    var(--sx-bg-primary);
  overflow: hidden;
}

.creator-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(105, 72, 245, 0.1);
  color: var(--sx-primary);
  border: 1px solid rgba(105, 72, 245, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.creator-hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--sx-text-primary);
  letter-spacing: -0.03em;
}

.creator-hero-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--sx-text-secondary);
  max-width: 620px;
}

/* Hero Dashboard Card */
.creator-dashboard-preview-card {
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(28, 32, 55, 0.09);
  padding: 24px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creator-dashboard-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(105, 72, 245, 0.14);
}

.creator-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sx-border);
}

.creator-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sx-primary), #8f75ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.creator-verified-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #16c995;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid var(--sx-bg-card);
}

.creator-tier-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(105, 72, 245, 0.12);
  color: var(--sx-primary);
}

.creator-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.creator-metric-item {
  background: var(--sx-bg-card-soft);
  border: 1px solid var(--sx-border);
  border-radius: 14px;
  padding: 12px 14px;
  transition: background-color 0.2s ease;
}

.creator-metric-item:hover {
  background: #fff;
}

.creator-metric-label {
  font-size: 0.75rem;
  color: var(--sx-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.creator-metric-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--sx-text-primary);
  margin-top: 2px;
  line-height: 1.2;
}

.creator-score-box {
  background: linear-gradient(135deg, rgba(105, 72, 245, 0.08), rgba(22, 201, 149, 0.08));
  border: 1px solid rgba(105, 72, 245, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Two Ways to Grow Cards */
.program-compare-card {
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 20px;
  padding: 36px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.program-compare-card.creator-program-highlight {
  border-color: rgba(105, 72, 245, 0.4);
  box-shadow: 0 14px 40px rgba(105, 72, 245, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, rgba(240, 236, 255, 0.4) 100%);
}

.program-compare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(28, 32, 55, 0.1);
}

.program-flow-track {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  padding: 12px 14px;
  background: var(--sx-bg-card-soft);
  border-radius: 12px;
  border: 1px solid var(--sx-border);
}

.program-flow-step {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sx-text-primary);
  background: #fff;
  border: 1px solid var(--sx-border);
  padding: 4px 10px;
  border-radius: 8px;
}

.program-flow-arrow {
  color: var(--sx-text-muted);
  font-size: 0.75rem;
}

/* Feature Blocks */
.creator-feature-card {
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
  transition: all 0.3s ease;
}

.creator-feature-card:hover {
  border-color: var(--sx-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(105, 72, 245, 0.1);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--sx-primary-soft);
  color: var(--sx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 20px;
}

/* Campaign Cards */
.campaign-card {
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.campaign-card:hover {
  border-color: rgba(105, 72, 245, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28, 32, 55, 0.08);
}

.campaign-reward-badge {
  background: var(--sx-success-soft);
  color: #0e956e;
  border: 1px solid rgba(22, 201, 149, 0.3);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 10px;
}

.campaign-format-badge {
  font-size: 0.75rem;
  color: var(--sx-text-secondary);
  background: var(--sx-bg-card-soft);
  border: 1px solid var(--sx-border);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

/* Horizontal Timeline Workflow (4 Steps) */
.creator-workflow-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 10px 0 20px;
}

@media (max-width: 991.98px) {
  .creator-workflow-scroll {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .creator-workflow-scroll {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.workflow-node {
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
  height: 100%;
}

.workflow-node:hover {
  border-color: var(--sx-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(105, 72, 245, 0.1);
}

.workflow-node-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sx-primary-soft);
  color: var(--sx-primary);
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Creator Tiers */
.creator-tier-card {
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 20px;
  padding: 30px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.creator-tier-card.featured-tier {
  border-color: var(--sx-primary);
  background: linear-gradient(180deg, #ffffff 0%, rgba(240, 236, 255, 0.4) 100%);
  box-shadow: 0 16px 45px rgba(105, 72, 245, 0.12);
}

.creator-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(28, 32, 55, 0.1);
}

.tier-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--sx-text-secondary);
  margin-bottom: 10px;
}

.tier-perk-item i {
  color: var(--sx-success);
  margin-top: 2px;
}

/* Guidelines Two-column box */
.guideline-box-good {
  background: #f4fbf7;
  border: 1px solid rgba(22, 201, 149, 0.35);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
}

.guideline-box-bad {
  background: #fdf5f5;
  border: 1px solid rgba(229, 83, 83, 0.35);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
}

.guideline-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  margin-bottom: 12px;
  color: var(--sx-text-primary);
  font-weight: 500;
}

/* Leaderboard Row */
.leaderboard-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 14px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.leaderboard-row-item:hover {
  border-color: rgba(105, 72, 245, 0.35);
  background: var(--sx-bg-card-soft);
  transform: translateX(4px);
}

.rank-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sx-bg-card-soft);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sx-text-secondary);
}

.rank-pill.rank-1 {
  background: #fef3c7;
  color: #b45309;
}

.rank-pill.rank-2 {
  background: #f1f5f9;
  color: #475569;
}

.rank-pill.rank-3 {
  background: #ffedd5;
  color: #c2410c;
}

/* Resource Tabs & Cards */
.toolkit-resource-card {
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s ease;
  position: relative;
}

.toolkit-resource-card:hover {
  border-color: rgba(105, 72, 245, 0.4);
  box-shadow: 0 16px 38px rgba(105, 72, 245, 0.1);
  transform: translateY(-4px);
}

.toolkit-icon-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--sx-primary-soft);
  color: var(--sx-primary);
  flex-shrink: 0;
}

.toolkit-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--sx-bg-card-soft);
  color: var(--sx-text-secondary);
  border: 1px solid var(--sx-border);
  display: inline-flex;
  align-items: center;
}

.toolkit-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--sx-border);
  font-size: 0.76rem;
  color: var(--sx-text-muted);
}

/* Custom Nav Tabs — Premium Segmented Dock */
.creator-tab-dock {
  display: inline-flex;
  background: #f1f3f8;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.creator-tab-dock::-webkit-scrollbar {
  display: none;
}

.creator-nav-pills {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 0 !important;
  border: none;
}

.creator-nav-pills .nav-item {
  display: flex;
}

.creator-nav-pills .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #525a66;
  padding: 9px 20px;
  border: none;
  background: transparent;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.creator-nav-pills .nav-link i {
  font-size: 0.95rem;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.creator-nav-pills .nav-link:hover {
  color: #17191d;
  background: rgba(255, 255, 255, 0.65);
}

.creator-nav-pills .nav-link:hover i {
  opacity: 1;
  transform: translateY(-1px);
}

.creator-nav-pills .nav-link.active {
  background: #ffffff;
  color: var(--sx-primary) !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.creator-nav-pills .nav-link.active i {
  color: var(--sx-primary);
  opacity: 1;
}

[data-theme="dark"] .creator-tab-dock,
body.dark-mode .creator-tab-dock {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .creator-nav-pills .nav-link,
body.dark-mode .creator-nav-pills .nav-link {
  color: #94a3b8;
}

[data-theme="dark"] .creator-nav-pills .nav-link:hover,
body.dark-mode .creator-nav-pills .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .creator-nav-pills .nav-link.active,
body.dark-mode .creator-nav-pills .nav-link.active {
  background: var(--sx-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(105, 72, 245, 0.4);
  border-color: transparent;
}

[data-theme="dark"] .creator-nav-pills .nav-link.active i,
body.dark-mode .creator-nav-pills .nav-link.active i {
  color: #ffffff;
}

/* Reward Journey Nodes */
.reward-flow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 20px;
  margin-bottom: 30px;
}

.reward-node-box {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.reward-node-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sx-primary-soft);
  color: var(--sx-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 8px;
  border: 1px solid rgba(105, 72, 245, 0.2);
}

/* Application Form */
.creator-form-card {
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(28, 32, 55, 0.07);
}

/* Account Flow & Hierarchy Architecture */
.account-flow-wrapper {
  background: var(--sx-bg-card);
  border: 1px solid var(--sx-border);
  border-radius: 20px;
  padding: 24px;
}

.account-flow-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--sx-border);
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--sx-text-primary);
}

.account-flow-step-item.active {
  background: rgba(105, 72, 245, 0.08);
  border-color: rgba(105, 72, 245, 0.3);
  color: var(--sx-primary);
}

.account-flow-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sx-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.account-tree-card {
  background: #fcfdfe;
  border: 1px solid var(--sx-border);
  border-radius: 16px;
  padding: 20px;
  font-family: var(--bs-font-sans-serif);
}

.account-tree-node {
  padding: 6px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--sx-border);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sx-text-primary);
}

.account-tree-node.creator-leaf {
  background: rgba(105, 72, 245, 0.08);
  border-color: rgba(105, 72, 245, 0.25);
  color: var(--sx-primary);
}

/* Reward Separation Breakdown Card */
.reward-separation-card {
  background: linear-gradient(135deg, #fbfcfe 0%, #f4f7fc 100%);
  border: 1px solid var(--sx-border);
  border-radius: 20px;
  padding: 24px;
}

.reward-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--sx-border);
  margin-bottom: 10px;
}

.reward-calc-row.total-row {
  background: rgba(105, 72, 245, 0.06);
  border-color: rgba(105, 72, 245, 0.3);
}

/* Auth Banner in Application Form */
.creator-auth-banner {
  background: linear-gradient(135deg, rgba(105, 72, 245, 0.06) 0%, rgba(22, 201, 149, 0.06) 100%);
  border: 1px solid rgba(105, 72, 245, 0.18);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 24px;
}

.readonly-email-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
}

/* Application Status Pill / Lifecycle Card */
.app-status-badge-card {
  border-radius: 16px;
  border: 1px solid var(--sx-border);
  background: #ffffff;
  padding: 16px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-status-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Creator Helper & Component Classes (No Inline Styles) */
.creator-avatar-gradient {
  background: linear-gradient(135deg, var(--sx-primary), #4834d4);
}

.creator-metric-tiered {
  font-size: 1.15rem;
}

.creator-text-xs {
  font-size: 0.75rem;
}

.creator-subtext-sm {
  font-size: 0.78rem;
}

.creator-subtext-xxs {
  font-size: 0.72rem;
}

.creator-detail-label {
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.creator-form-hint {
  font-size: 0.78rem;
}

.creator-max-w-560 {
  max-width: 560px;
}

.creator-max-w-600 {
  max-width: 600px;
}

.creator-max-w-620 {
  max-width: 620px;
}

.creator-success-icon-box {
  width: 76px;
  height: 76px;
}

.reward-node-circle-success,
.rank-pill-success {
  background: var(--sx-success-soft);
  color: var(--sx-success);
}

.progress-h-6 {
  height: 6px;
}

.w-95 {
  width: 95%;
}

.w-90 {
  width: 90%;
}

.w-88 {
  width: 88%;
}

.w-94 {
  width: 94%;
}

.creator-final-cta {
  background: linear-gradient(135deg, #171725 0%, #281d52 100%);
  color: #fff;
}

.creator-final-cta h2,
.creator-final-cta .h2 {
  color: #fff;
}

/* Channel badge & toolkit avatar color styles */
.toolkit-avatar-success,
.badge-channel-web {
  background: rgba(22, 201, 149, 0.1);
  color: #16c995;
}

.toolkit-avatar-info,
.badge-channel-twitter {
  background: rgba(13, 202, 240, 0.1);
  color: #0dcaf0;
}

.toolkit-avatar-warning,
.badge-channel-medium {
  background: rgba(245, 166, 35, 0.1);
  color: #f5a623;
}

.toolkit-avatar-x,
.toolkit-avatar-tiktok,
.badge-channel-x,
.badge-channel-tiktok {
  background: rgba(0, 0, 0, 0.08);
  color: #000;
}

.toolkit-avatar-telegram,
.badge-channel-telegram {
  background: rgba(34, 158, 217, 0.1);
  color: #229ED9;
}

.toolkit-avatar-instagram,
.badge-channel-instagram {
  background: rgba(225, 48, 108, 0.1);
  color: #E1306C;
}

.toolkit-avatar-youtube,
.badge-channel-youtube {
  background: rgba(255, 0, 0, 0.1);
  color: #ff0000;
}

.toolkit-avatar-danger,
.badge-channel-danger {
  background: rgba(229, 83, 83, 0.1);
  color: #e55353;
}

.toast-fixed-container {
  z-index: 1090;
}

@media (max-width: 767.98px) {
  .creator-form-card {
    padding: 24px 18px;
  }

  .creator-hero {
    padding: 100px 0 50px;
  }
}

.blink-broadcast {
  display: inline-block;
  animation: broadcastBlink 1.4s ease-in-out infinite;
}

@keyframes broadcastBlink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.2;
    transform: scale(0.85);
  }
}

/* Hide Google reCAPTCHA v3 Badge / Drawer */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}