/* ==========================================================================
   StockX Landing Page Design System
   Minimal + Light Glassmorphism | Lufga Typography | #1366D9 Brand Blue
   ========================================================================== */

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaLight.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaSemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lufga';
  src: url('../fonts/LufgaExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --sx-bg: #ffffff;
  --sx-surface: #FFFFFF;
  --sx-glass: rgba(255, 255, 255, 0.72);
  --sx-glass-strong: rgba(255, 255, 255, 0.88);
  --sx-dark: #0F172A;
  --sx-dark-2: #1E293B;
  --sx-accent: #1366D9;
  --sx-accent-hover: #2563EB;
  --sx-accent-soft: rgba(19, 102, 217, 0.08);
  --sx-accent-border: rgba(19, 102, 217, 0.22);
  --sx-text: #0F172A;
  --sx-text-secondary: #475569;
  --sx-text-muted: #64748B;
  --sx-border: rgba(15, 23, 42, 0.08);
  --sx-border-strong: rgba(15, 23, 42, 0.14);
  --sx-radius-sm: 6px;
  --sx-radius: 8px;
  --sx-shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --sx-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
  --sx-shadow-lg: 0 24px 54px -16px rgba(15, 23, 42, 0.14);
  --sx-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --bs-font-sans-serif: 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bs-body-bg: var(--sx-bg);
  --bs-body-color: var(--sx-text);
  --bs-primary: var(--sx-accent);
  --bs-border-radius: var(--sx-radius);
  --bs-border-radius-sm: var(--sx-radius-sm);
  --bs-border-radius-lg: var(--sx-radius);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

.fi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--sx-bg);
  color: var(--sx-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Architectural subtle background grid */
.sx-canvas-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.sx-section {
  padding-block: clamp(4rem, 7vw, 6.25rem);
  position: relative;
}

.sx-section-sm {
  padding-block: clamp(2.5rem, 4vw, 3.75rem);
}

.sx-section-dark {
  background-color: var(--sx-dark);
  color: #F8FAFC;
}

.sx-section-surface {
  background-color: var(--sx-surface);
  /* border-top: 1px solid var(--sx-border); */
  border-bottom: 1px solid var(--sx-border);
}

@media (max-width: 767.98px) {
  .container,
  .container-sm {
    max-width: 100%;
    padding-inline: 16px;
  }
}

/* Typography Scale */
.sx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sx-accent);
  background: var(--sx-accent-soft);
  border: 1px solid var(--sx-accent-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--sx-radius-sm);
  margin-bottom: 1rem;
}

.sx-section-dark .sx-eyebrow {
  color: #93C5FD;
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(147, 197, 253, 0.25);
}

.sx-h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--sx-text);
}

.sx-h2 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
}

.sx-h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.sx-lead {
  font-size: 1rem;
  color: var(--sx-text-secondary);
  max-width: 62ch;
}

.sx-section-header {
  max-width: 800px;
}

.sx-section-dark .sx-lead {
  color: #CBD5E1;
}

/* Elevated Surface Cards (Strict 6px-8px radius) */
.sx-card {
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  box-shadow: var(--sx-shadow-sm);
  transition: transform 0.28s var(--sx-ease), box-shadow 0.28s var(--sx-ease), border-color 0.28s var(--sx-ease);
}

.sx-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sx-shadow);
  border-color: var(--sx-border-strong);
}

/* Spotlight Hover Depth (pro.reactbits.dev inspired) */
.sx-spotlight-card {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.sx-spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(19, 102, 217, 0.08),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

.sx-spotlight-card:hover::before {
  opacity: 1;
}

.sx-spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* Buttons (Strict 6px-8px radius, NO green CTAs) */
.btn-sx-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--sx-accent);
  color: #FFFFFF;
  border: 1px solid var(--sx-accent);
  border-radius: var(--sx-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.72rem 1.35rem;
  min-height: 44px;
  transition: background-color 0.2s ease, transform 0.18s var(--sx-ease), box-shadow 0.2s ease;
}

.btn-sx-primary:hover,
.btn-sx-primary:focus-visible {
  background-color: var(--sx-accent-hover);
  border-color: var(--sx-accent-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(19, 102, 217, 0.45);
}

.btn-sx-primary:active {
  transform: translateY(0);
}

.btn-sx-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--sx-text);
  border: 1px solid var(--sx-border-strong);
  border-radius: var(--sx-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.72rem 1.35rem;
  min-height: 44px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.18s var(--sx-ease);
}

.btn-sx-outline:hover,
.btn-sx-outline:focus-visible {
  background-color: #FFFFFF;
  border-color: var(--sx-accent);
  color: var(--sx-accent);
  transform: translateY(-1px);
}

.btn-sx-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.06);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--sx-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.72rem 1.35rem;
  min-height: 44px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-sx-dark-outline:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

/* Navbar (.sx-nav-*) */
.sx-nav-skip {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1050;
  padding: 10px 16px;
  background: #FFFFFF;
  color: #0F1B2D;
  border: 1px solid #DCE4F0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.12);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.sx-nav-skip:focus,
.sx-nav-skip:focus-visible {
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid #1366D9;
  outline-offset: 2px;
}

.sx-nav-wrap {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: min(1320px, calc(100% - 32px));
  z-index: 1030;
}

.sx-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 20px 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #DCE4F0;
  border-radius: 12px;
  box-shadow: none;
  transition: box-shadow 200ms ease;
}

.sx-nav-wrap.is-scrolled .sx-nav-bar {
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.08);
}

.sx-nav-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  border-radius: 6px;
}

.sx-nav-logo {
  height: 36px;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
}

.sx-nav-links {
  display: none;
  position: relative;
  align-items: center;
  gap: 28px;
}

.sx-nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  color: #0F1B2D;
  padding: 8px 4px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
}

.sx-nav-link:hover,
.sx-nav-link:focus-visible,
.sx-nav-link.is-active,
.sx-nav-link[aria-current="true"] {
  color: #1366D9;
}

.sx-nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0;
  width: 0;
  border-bottom: 2px solid #1366D9;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
  transform-origin: left center;
  transition: transform 250ms ease, width 250ms ease;
}

.sx-nav-indicator.is-visible {
  opacity: 1;
}

.sx-nav-actions {
  display: none;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.sx-nav-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #0F1B2D;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  border-radius: 4px;
  cursor: pointer;
}

.sx-nav-demo:hover,
.sx-nav-demo:focus-visible {
  color: #1366D9;
}

.sx-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  background: #1366D9;
  color: #FFFFFF;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.sx-nav-cta:hover,
.sx-nav-cta:focus-visible {
  background: #0F54B8;
  color: #FFFFFF;
}

.sx-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: #0F1B2D;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.sx-nav-toggle:hover,
.sx-nav-toggle:focus-visible {
  color: #1366D9;
  background-color: rgba(15, 27, 45, 0.04);
}

.sx-nav-toggle[aria-expanded="true"] {
  color: #1366D9;
  background-color: rgba(19, 102, 217, 0.08);
}

.sx-nav-toggle-icon {
  display: block;
}

.sx-nav-toggle-line {
  transform-box: fill-box;
  transform-origin: center;
}

.sx-nav-toggle[aria-expanded="true"] .sx-nav-toggle-line-top {
  translate: 0 4.5px;
  rotate: 45deg;
}

.sx-nav-toggle[aria-expanded="true"] .sx-nav-toggle-line-mid {
  scale: 0.2 1;
  opacity: 0;
}

.sx-nav-toggle[aria-expanded="true"] .sx-nav-toggle-line-bot {
  translate: 0 -4.5px;
  rotate: -45deg;
}

@media (prefers-reduced-motion: no-preference) {
  .sx-nav-toggle {
    transition: background-color 150ms ease, color 150ms ease, scale 140ms ease-out;
  }

  .sx-nav-toggle:active {
    scale: 0.93;
  }

  .sx-nav-toggle-line {
    transition:
      translate 220ms cubic-bezier(0.22, 1, 0.36, 1),
      rotate 240ms cubic-bezier(0.22, 1, 0.36, 1),
      scale 160ms ease-out,
      opacity 140ms ease-out;
  }
}

.sx-nav-wrap :focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
}

.sx-nav-sheet {
  margin-top: 8px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #DCE4F0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 27, 45, 0.12);
  transform-origin: top right;
  opacity: 0;
  transform: translateY(-10px) scale(0.96);
}

.sx-nav-sheet.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: no-preference) {
  .sx-nav-sheet {
    transition:
      opacity 160ms ease-in,
      transform 180ms cubic-bezier(0.4, 0, 1, 1);
  }

  .sx-nav-sheet.is-open {
    transition:
      opacity 90ms ease-out,
      transform 260ms ease-out;
    transition:
      opacity 90ms ease-out,
      transform 280ms linear(0, 0.36 14%, 0.94 42%, 1.018 68%, 0.996 86%, 1);
  }

  .sx-nav-sheet .sx-nav-sheet-link,
  .sx-nav-sheet .sx-nav-sheet-demo,
  .sx-nav-sheet .sx-nav-sheet-cta {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 150ms ease-out, transform 180ms ease-out;
  }

  .sx-nav-sheet.is-open .sx-nav-sheet-link,
  .sx-nav-sheet.is-open .sx-nav-sheet-demo,
  .sx-nav-sheet.is-open .sx-nav-sheet-cta {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 220ms ease-out,
      transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
      color 150ms ease,
      border-color 150ms ease,
      background-color 150ms ease;
  }

  .sx-nav-sheet.is-open .sx-nav-sheet-link:nth-child(1) {
    transition-delay: 25ms;
  }

  .sx-nav-sheet.is-open .sx-nav-sheet-link:nth-child(2) {
    transition-delay: 55ms;
  }

  .sx-nav-sheet.is-open .sx-nav-sheet-link:nth-child(3) {
    transition-delay: 85ms;
  }

  .sx-nav-sheet.is-open .sx-nav-sheet-demo {
    transition-delay: 110ms;
  }

  .sx-nav-sheet.is-open .sx-nav-sheet-cta {
    transition-delay: 135ms;
  }
}

.sx-nav-sheet-links {
  display: flex;
  flex-direction: column;
}

.sx-nav-sheet-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 18px;
  font-weight: 500;
  color: #0F1B2D;
  text-decoration: none;
  border-bottom: 1px solid #DCE4F0;
}

.sx-nav-sheet-link:last-child {
  border-bottom: 0;
}

.sx-nav-sheet-link:hover,
.sx-nav-sheet-link:focus-visible,
.sx-nav-sheet-link.is-active {
  color: #1366D9;
}

.sx-nav-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid #DCE4F0;
}

.sx-nav-sheet-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  background: #FFFFFF;
  color: #0F1B2D;
  border: 1px solid #DCE4F0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.sx-nav-sheet-demo:hover,
.sx-nav-sheet-demo:focus-visible {
  color: #1366D9;
  border-color: #1366D9;
}

.sx-nav-sheet-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  padding: 0 18px;
  background: #1366D9;
  color: #FFFFFF;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.sx-nav-sheet-cta:hover,
.sx-nav-sheet-cta:focus-visible {
  background: #0F54B8;
  color: #FFFFFF;
}

body.sx-nav-lock {
  overflow: hidden;
}

#hero,
#pain-points,
#solutions,
#solution,
#multi-site,
#faq,
#contact {
  scroll-margin-top: 96px;
}

.sx-nav-wrap ~ main .sx-hero {
  padding-top: calc(72px + clamp(2.5rem, 4.5vw, 4.5rem));
}

@media (min-width: 992px) {
  .sx-nav-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
  }

  .sx-nav-brand {
    justify-self: start;
  }

  .sx-nav-links {
    display: inline-flex;
    justify-self: center;
  }

  .sx-nav-actions {
    display: inline-flex;
    justify-self: end;
  }

  .sx-nav-toggle,
  .sx-nav-sheet {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sx-nav-bar,
  .sx-nav-indicator,
  .sx-nav-sheet {
    transition: none;
  }
}

/* Hero Section (Centered + Flickering Grid + Desktop & Phone Mockup Stage) */
.sx-hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
  background-color: var(--sx-bg);
}

.sx-flickering-grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.63;
  pointer-events: none;
  z-index: 0;
}

.sx-hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(247, 246, 243, 0) 0%, rgba(247, 246, 243, 0) 75%, var(--sx-bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.sx-hero-copy {
  max-width: 820px;
}

.sx-hero-copy .sx-h1 {
  font-size: clamp(1.85rem, 1.1rem + 2.3vw, 2.85rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.sx-hero-copy .sx-h1[lang="gu"] {
  font-family: 'Noto Sans Gujarati', 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0;
  line-height: 1.36;
  font-size-adjust: from-font;
}

@supports not (font-size-adjust: from-font) {
  .sx-hero-copy .sx-h1[lang="gu"] {
    line-height: 1.42;
  }
}

.sx-hero-subtitle {
  max-width: 54ch;
  font-size: clamp(1.0625rem, 0.96rem + 0.45vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--sx-text);
  text-wrap: balance;
}

.sx-text-accent {
  color: var(--sx-accent);
}

.sx-hero-stage {
  position: relative;
  max-width: 1060px;
  padding-bottom: 1.75rem;
}

/* Safari Desktop Mockup (shadcn.io/view/ui/safari/default inspired) */
.sx-safari-frame {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.16);
}

.sx-safari-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 340px) 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #F8FAFC;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sx-safari-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.sx-safari-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sx-safari-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.sx-dot-red { background: #FF5F56; border: 1px solid rgba(0, 0, 0, 0.08); }
.sx-dot-yellow { background: #FFBD2E; border: 1px solid rgba(0, 0, 0, 0.08); }
.sx-dot-green { background: #27C93F; border: 1px solid rgba(0, 0, 0, 0.08); }

.sx-safari-nav-icons,
.sx-safari-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #64748B;
  font-size: 0.85rem;
}

.sx-safari-right {
  justify-content: flex-end;
}

.sx-safari-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 7px;
  padding: 0.28rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  justify-self: center;
  width: 100%;
}

.sx-safari-address i {
  font-size: 0.7rem;
  color: #64748B;
}

.sx-safari-viewport {
  background: #FFFFFF;
}

/* Android Mobile Mockup (frame included in image asset) */
.sx-android-frame {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: clamp(195px, 23vw, 272px);
  z-index: 3;
}

.sx-android-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 38px rgba(15, 23, 42, 0.24));
}

@media (max-width: 767.98px) {
  .sx-hero-stage {
    padding-bottom: 0;
  }

  .sx-safari-toolbar {
    grid-template-columns: auto 1fr;
  }

  .sx-android-frame {
    position: relative;
    right: auto;
    bottom: auto;
    width: 230px;
    margin: 1.5rem auto 0;
  }
}

.sx-browser-frame {
  background: var(--sx-surface);
  border: 1px solid var(--sx-border-strong);
  border-radius: var(--sx-radius);
  box-shadow: var(--sx-shadow-lg);
  overflow: hidden;
}

.sx-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  background: #F1F5F9;
  border-bottom: 1px solid var(--sx-border);
}

.sx-browser-dots {
  display: flex;
  gap: 6px;
}

.sx-browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #CBD5E1;
}

.sx-browser-url {
  font-size: 0.75rem;
  color: var(--sx-text-muted);
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 4px;
  padding: 0.15rem 0.65rem;
}

.sx-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Client Logo Marquee */
.sx-marquee-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.sx-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: sx-marquee 36s linear infinite;
}

.sx-marquee-wrapper:hover .sx-marquee-track {
  animation-play-state: paused;
}

.sx-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 72px;
  padding: 0.75rem 1.25rem;
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  opacity: 0.88;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.sx-marquee-item:hover {
  opacity: 1;
  border-color: var(--sx-accent-border);
}

.sx-marquee-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes sx-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pain Points Bento Grid */
.sx-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.sx-bento-card {
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--sx-shadow-sm);
  transition: transform 0.28s var(--sx-ease), box-shadow 0.28s var(--sx-ease), border-color 0.28s var(--sx-ease);
}

.sx-bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sx-shadow);
  border-color: var(--sx-border-strong);
}

.sx-bento-tall {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
}

.sx-bento-tall .sx-bento-body {
  padding: 1.5rem 1.5rem 0.75rem;
}

.sx-bento-ui-wrap {
  padding: 0 0 0 1.25rem;
  margin-top: auto;
}

/* Spreadsheet Window Mini-UI (Pain Points Tall Card) */
.sx-sheet-window {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-right: 0;
  border-bottom: 0;
  border-radius: 10px 0 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 20px -6px rgba(15, 23, 42, 0.08);
}

.sx-sheet-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--sx-border);
  background: #FFFFFF;
}

.sx-sheet-count {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--sx-text-muted);
  background: #F8FAFC;
  border: 1px solid var(--sx-border);
  border-radius: 5px;
  padding: 0.15rem 0.55rem;
}

.sx-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.sx-sheet-table thead th {
  background: #F8FAFC;
  color: var(--sx-text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--sx-border);
}

.sx-sheet-table tbody td {
  padding: 0.58rem 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  vertical-align: middle;
  white-space: nowrap;
}

.sx-sheet-table tbody tr:last-child td {
  border-bottom: 0;
}

.sx-sheet-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #475569;
  background: #F1F5F9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 5px;
  padding: 0.12rem 0.45rem;
}

.sx-sheet-err {
  color: #DC2626;
  font-weight: 500;
}

.sx-sheet-warn {
  color: #64748B;
  font-weight: 500;
}

.sx-sheet-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #F8FAFC;
  border-top: 1px solid var(--sx-border);
}

.sx-sheet-tab,
.sx-sheet-plus {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sx-text);
  background: #FFFFFF;
  border: 1px solid var(--sx-border-strong);
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
}

.sx-sheet-plus {
  color: var(--sx-text-muted);
  padding: 0.2rem 0.45rem;
}

.sx-sheet-meta {
  font-size: 0.7rem;
  color: var(--sx-text-muted);
}

.sx-mini-ui {
  background: #F8FAFC;
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  padding: 0.85rem 1rem;
}

.sx-mini-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--sx-border);
}

.sx-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}

.sx-mini-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sx-text);
  line-height: 1.25;
}

.sx-mini-sub {
  font-size: 0.72rem;
  color: var(--sx-text-muted);
}

.sx-mini-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  white-space: nowrap;
}

.sx-pill-blue {
  background: rgba(19, 102, 217, 0.1);
  color: var(--sx-accent);
}

.sx-pill-slate {
  background: #E2E8F0;
  color: #334155;
}

.sx-pill-amber {
  background: rgba(217, 119, 6, 0.12);
  color: #B45309;
}

.sx-pill-red {
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
}

.sx-bento-top-mid {
  grid-column: 6 / 10;
  grid-row: 1 / 2;
}

.sx-bento-top-right {
  grid-column: 10 / 13;
  grid-row: 1 / 2;
}

.sx-bento-bot-mid {
  grid-column: 6 / 9;
  grid-row: 2 / 3;
}

.sx-bento-bot-right {
  grid-column: 9 / 13;
  grid-row: 2 / 3;
}

.sx-bento-returns-inner {
  position: relative;
  z-index: 2;
}

.sx-bento-returns-desc {
  max-width: 34ch;
}

.sx-bento-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--sx-text-muted);
  margin-bottom: 0.25rem;
}

.sx-bento-title-lg {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Pipeline Mini Component (pro.reactbits.dev Pipeline inspired) */
.sx-pipeline-mini {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.65rem;
}

.sx-pipe-node {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--sx-text);
  background: #F8FAFC;
  border: 1px solid var(--sx-border-strong);
  border-radius: 6px;
  padding: 0.32rem 0.6rem;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.sx-pipe-node.is-muted {
  border-style: dashed;
  color: var(--sx-text-muted);
  box-shadow: none;
}

.sx-pipe-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sx-accent);
  box-shadow: 0 0 0 3px rgba(19, 102, 217, 0.18);
}

.sx-pipe-rail {
  flex: 1;
  position: relative;
  height: 3px;
  background: repeating-linear-gradient(
    to right,
    rgba(15, 23, 42, 0.14) 0 5px,
    transparent 5px 10px
  );
  border-radius: 2px;
  overflow: hidden;
}

.sx-pipe-beam {
  position: absolute;
  left: 0;
  top: 0;
  width: 65%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(19, 102, 217, 0), #1366D9 55%, #DC2626 100%);
  animation: sx-pipe-travel 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes sx-pipe-travel {
  0% { transform: translateX(-100%); opacity: 0.2; }
  50% { opacity: 1; }
  100% { transform: translateX(155%); opacity: 0; }
}

.sx-beam-pulse {
  stroke-dasharray: 28 120;
  stroke-dashoffset: 148;
  animation: sx-beam-flow 2.4s linear infinite;
}

.sx-beam-delay {
  animation-delay: 1.2s;
}

@keyframes sx-beam-flow {
  0% { stroke-dashoffset: 148; }
  100% { stroke-dashoffset: 0; }
}

.sx-pipeline-beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.sx-transfer-tag {
  position: relative;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 600;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid rgba(220, 38, 38, 0.24);
  border-radius: 5px;
  padding: 0.12rem 0.45rem;
  white-space: nowrap;
}

.sx-returns-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: #0F172A;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
}

.sx-returns-pill.is-err {
  color: #B91C1C;
  background: #FEF2F2;
  border-color: rgba(185, 28, 28, 0.28);
}

.sx-bento-doc-art {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 150px;
  height: 112px;
  opacity: 0.92;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .sx-bento-doc-art {
    display: none;
  }
}

.sx-doc-back,
.sx-doc-front {
  transition: transform 0.35s var(--sx-ease);
}

.sx-doc-badge {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s var(--sx-ease);
}

.sx-bento-returns:hover .sx-doc-back {
  transform: translate(5px, -5px) rotate(2deg);
}

.sx-bento-returns:hover .sx-doc-front {
  transform: translate(-4px, -6px);
}

.sx-bento-returns:hover .sx-doc-badge {
  transform: scale(1.12);
}

@media (prefers-reduced-motion: reduce) {
  .sx-doc-back,
  .sx-doc-front,
  .sx-doc-badge {
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .sx-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sx-bento-tall,
  .sx-bento-top-mid,
  .sx-bento-top-right,
  .sx-bento-bot-mid,
  .sx-bento-bot-right {
    grid-column: auto;
    grid-row: auto;
  }
  .sx-bento-tall {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .sx-bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Solution Section
   ========================================================================== */
.sx-section-dark .mark {
  background: transparent;
  padding: 0;
  position: relative;
  display: inline-block;
}

/* .sx-section-dark .mark::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: #00E5FF;
  border-radius: 2px;
} */

/* Flow Rail */
.sx-sol-rail {
  position: relative;
  max-width: 640px;
  padding-block: 0.25rem;
}

.sx-sol-rail-svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 12px;
  pointer-events: none;
}

.sx-sol-rail-progress {
  stroke-dasharray: 552;
  stroke-dashoffset: 552;
  transition: stroke-dashoffset 0.45s var(--sx-ease);
}

.sx-sol-rail-beam {
  stroke-dasharray: 44 552;
  stroke-dashoffset: 596;
  animation: sx-sol-beam-move 3s linear infinite;
}

@keyframes sx-sol-beam-move {
  0% { stroke-dashoffset: 596; }
  100% { stroke-dashoffset: 0; }
}

.sx-sol-rail-nodes {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sx-sol-rail-node {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #0F172A;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.sx-sol-rail-dot {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.sx-sol-rail-dot .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sx-sol-rail-chk { display: none !important; }

.sx-sol-rail-node.is-active .sx-sol-rail-dot {
  background: var(--sx-accent);
  border-color: var(--sx-accent);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(19, 102, 217, 0.25);
}

.sx-sol-rail-node.is-done .sx-sol-rail-dot {
  background: rgba(19, 102, 217, 0.2);
  border-color: var(--sx-accent);
  color: #93C5FD;
}

.sx-sol-rail-node.is-done .sx-sol-rail-ico { display: none !important; }
.sx-sol-rail-node.is-done .sx-sol-rail-chk { display: inline-flex !important; font-size: 1rem; }

.sx-sol-rail-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94A3B8;
}

.sx-sol-rail-node.is-active .sx-sol-rail-label {
  color: #F8FAFC;
}

/* Pillar List (Minimal Editorial Step Dividers) */
.sx-sol-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sx-sol-item {
  position: relative;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 1.05rem 0.25rem;
  opacity: 0.58;
  transition: opacity 0.22s ease;
}

.sx-sol-item:hover,
.sx-sol-item.active {
  opacity: 1;
}

.sx-sol-step-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.16rem 0.55rem;
  margin-bottom: 0.5rem;
}

.sx-sol-step-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
}

.sx-sol-item-desc {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
}

.sx-sol-item.active .sx-sol-item-desc {
  color: #CBD5E1;
}

/* Dark Safari Frame & Stacked Scenes */
.sx-sol-safari {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.sx-sol-safari-bar {
  background: #1E293B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sx-sol-safari-url {
  background: #0F172A;
  border-color: rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
}

.sx-sol-demo-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #93C5FD;
  background: rgba(19, 102, 217, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.14rem 0.5rem;
  white-space: nowrap;
}

.sx-sol-stage {
  position: relative;
  min-height: 455px;
  background: #F8FAFC;
  overflow: hidden;
}

.sx-sol-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0.85rem;
  background: #FFFFFF;
  border-bottom: 1px solid var(--sx-border);
  font-size: 0.67rem;
}

.sx-sol-topbar-title {
  font-weight: 500;
  color: var(--sx-text-muted);
}

.sx-sol-topbar-user {
  font-weight: 500;
  color: var(--sx-text);
}

.sx-sol-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem 0.55rem;
}

.sx-sol-page-ico {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(19, 102, 217, 0.1);
  color: var(--sx-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.sx-sol-app-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--sx-text);
  background: #FFFFFF;
  border: 1px solid var(--sx-border-strong);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  line-height: 1.3;
  white-space: nowrap;
}

.sx-sol-app-btn.is-primary {
  background: var(--sx-accent);
  border-color: var(--sx-accent);
  color: #FFFFFF;
}

.sx-sol-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0.9rem 0.65rem;
  padding: 0.45rem 0.65rem;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
}

.sx-sol-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 82px;
}

.sx-sol-filter-lbl {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--sx-text-muted);
  letter-spacing: 0.04em;
}

.sx-sol-filter-val {
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--sx-text);
  background: #F8FAFC;
  border: 1px solid var(--sx-border);
  border-radius: 5px;
  padding: 0.14rem 0.45rem;
}

.sx-sol-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0 0.9rem;
}

.sx-sol-kpi {
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
}

.sx-sol-kpi-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sx-text);
  font-variant-numeric: tabular-nums;
}

.sx-sol-info-strip {
  margin: 0 0.9rem;
  padding: 0.32rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--sx-accent);
  background: rgba(19, 102, 217, 0.08);
  border: 1px solid rgba(19, 102, 217, 0.2);
  border-radius: 6px;
}

.sx-sol-acts {
  font-size: 0.68rem;
  color: var(--sx-text-muted);
}

.sx-sol-acts i {
  margin-left: 0.45rem;
}

.sx-sol-app-main {
  flex: 1;
  min-width: 0;
  padding: 0 0 0.85rem;
  background: #F8FAFC;
}

.sx-sol-app-main .sx-sol-sheet,
.sx-sol-app-main .sx-sol-prod-list,
.sx-sol-app-main .row,
.sx-sol-app-main .d-flex.justify-content-end {
  margin-inline: 0.9rem;
}

.sx-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--sx-ease), transform 0.4s var(--sx-ease);
  pointer-events: none;
}

.sx-scene.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Authentic StockX App Shell inside Safari Frame */
.sx-sol-app-layout {
  display: flex;
  min-height: 455px;
  height: 100%;
}

.sx-sol-app-nav {
  width: 152px;
  flex-shrink: 0;
  background: #1E293B;
  color: #CBD5E1;
  padding: 0.7rem 0.55rem;
  flex-direction: column;
  gap: 0.14rem;
  overflow: hidden;
}

.sx-sol-app-brand {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  padding: 0 0.45rem 0.5rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sx-sol-app-link {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.67rem;
  font-weight: 500;
  color: #94A3B8;
  background: transparent;
  padding: 0.28rem 0.48rem;
  border-radius: 5px;
  white-space: nowrap;
  width: 100%;
}

.sx-sol-nav-btn {
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.sx-sol-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
}

.sx-sol-app-link.is-current {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 600;
}

.sx-sol-app-main-pad-unused {
  display: none;
}

.sx-sol-scene-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.sx-sol-scene-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sx-text);
}

.sx-sol-scene-sub {
  font-size: 0.67rem;
  font-weight: 400;
  color: var(--sx-text-muted);
}

.sx-sol-transfer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--sx-accent);
  background: rgba(19, 102, 217, 0.08);
  border: 1px solid rgba(19, 102, 217, 0.22);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  line-height: 1.3;
}

.sx-sol-sheet {
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
}

.sx-sol-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.67rem;
  font-weight: 500;
}

.sx-sol-table thead th {
  font-size: 0.67rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  background: var(--sx-accent);
  color: #FFFFFF;
  padding: 0.42rem 0.65rem;
  text-align: left;
  white-space: nowrap;
}

.sx-sol-table td {
  padding: 0.42rem 0.65rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--sx-text);
  font-weight: 500;
  white-space: nowrap;
}

.sx-sol-table .fw-semibold,
.sx-sol-table .fw-bold {
  font-weight: 500 !important;
}

.sx-sol-table tbody tr:last-child td {
  border-bottom: 0;
}

.sx-sol-chip {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--sx-accent);
  background: rgba(19, 102, 217, 0.07);
  border: 1px solid rgba(19, 102, 217, 0.16);
  border-radius: 4px;
  padding: 0.06rem 0.38rem;
  line-height: 1.35;
}

.sx-sol-cr {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  color: #DC2626;
  background: #FEF2F2;
  border-radius: 4px;
  padding: 0.04rem 0.28rem;
  margin-left: 0.2rem;
}

.sx-sol-num {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.sx-sol-status {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 500;
  border-radius: 4px;
  padding: 0.06rem 0.4rem;
  line-height: 1.35;
}

.sx-sol-status.is-warn {
  color: #DC2626;
  background: #FEF2F2;
}

.sx-sol-status.is-synced {
  color: var(--sx-accent);
  background: rgba(19, 102, 217, 0.1);
}

/* Scene 02 Production */
.sx-sol-cost-box,
.sx-sol-bal-card {
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.sx-sol-cost-label {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--sx-text-muted);
}

.sx-sol-cost-val,
.sx-sol-bal-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sx-text);
  font-variant-numeric: tabular-nums;
}

.sx-sol-prod-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sx-sol-prod-row {
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  font-size: 0.8rem;
  color: var(--sx-text);
}

.sx-sol-mat-chip {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sx-accent);
  background: rgba(19, 102, 217, 0.1);
  border-radius: 6px;
  padding: 0.12rem 0.45rem;
}

.sx-sol-bar-track {
  height: 6px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
}

.sx-sol-bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--sx-accent);
  border-radius: 4px;
  transform-origin: left center;
  transform: scaleX(0);
}

/* Scene 03 Billing */
.sx-sol-gst-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--sx-accent);
  background: rgba(19, 102, 217, 0.08);
  border: 1px solid rgba(19, 102, 217, 0.22);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  line-height: 1.3;
  white-space: nowrap;
}

.sx-sol-wa-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #128C7E;
  border-radius: 8px;
  padding: 0.42rem 0.8rem;
  box-shadow: 0 8px 18px -6px rgba(18, 140, 126, 0.45);
}

.sx-sol-total-row td {
  font-weight: 700;
  background: #F8FAFC;
}

.sx-sol-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  font-size: 0.68rem;
  color: var(--sx-text-muted);
  border-top: 1px solid var(--sx-border);
  background: #FFFFFF;
}

/* Scene 04 Accounts */
.sx-sol-export-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 500;
  color: #FFFFFF;
  background: var(--sx-accent);
  border: 1px solid var(--sx-accent);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  line-height: 1.3;
  box-shadow: 0 2px 6px rgba(19, 102, 217, 0.22);
}

.sx-sol-toast {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.3;
  color: #FFFFFF;
  background: #0F172A;
  border: 1px solid var(--sx-accent);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 4;
}

@media (max-width: 991.98px) {
  .sx-sol-pillars {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }

  .sx-sol-item {
    min-width: 260px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .sx-sol-stage {
    min-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sx-sol-rail-beam { animation: none; }
  .sx-scene { transition: none; }
}

/* Feature List & Icon Badges */
.sx-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--sx-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sx-accent-soft);
  color: var(--sx-accent);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.sx-section-dark .sx-icon-box {
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
}

.sx-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.32rem 0.68rem;
  border-radius: var(--sx-radius-sm);
  background: #F1F5F9;
  color: var(--sx-text-secondary);
  border: 1px solid var(--sx-border);
}

/* Shadcn-inspired Crisp Tabs */
.sx-tabs-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: #F1F5F9;
  padding: 0.35rem;
  border-radius: var(--sx-radius);
  border: 1px solid var(--sx-border);
}

.sx-tabs-nav .nav-link {
  border: 0;
  border-radius: var(--sx-radius-sm);
  color: var(--sx-text-secondary);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5rem 0.9rem;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sx-tabs-nav .nav-link:hover {
  color: var(--sx-text);
}

.sx-tabs-nav .nav-link.active {
  background: var(--sx-accent);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(19, 102, 217, 0.25);
}

/* Forms & Post-Interaction Validation (:user-invalid / :user-valid) */
.sx-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sx-text);
  margin-bottom: 0.35rem;
}

.sx-form-control {
  width: 100%;
  font: inherit;
  font-size: max(1rem, 1em);
  line-height: 1.5;
  padding: 0.65rem 0.85rem;
  min-height: 44px;
  color: var(--sx-text);
  background-color: var(--sx-surface);
  border: 1px solid var(--sx-border-strong);
  border-radius: var(--sx-radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.sx-form-control:focus-visible {
  outline: none;
  border-color: var(--sx-accent);
  box-shadow: 0 0 0 3px rgba(19, 102, 217, 0.16);
}

.sx-form-control:is(:user-invalid, .user-invalid-fallback) {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.sx-form-control:is(:user-valid, .user-valid-fallback) {
  border-color: var(--sx-accent);
}

.sx-error-msg {
  display: none;
  font-size: 0.82rem;
  color: #DC2626;
  margin-top: 0.3rem;
}

.sx-form-control:is(:user-invalid, .user-invalid-fallback) + .sx-error-msg {
  display: block;
}

/* Modal Surface & Clean Card Polish */
.sx-demo-modal .modal-dialog {
  max-width: 620px;
}

.sx-modal-content {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  box-shadow: 0 24px 60px -14px rgba(15, 23, 42, 0.22), 0 6px 20px -6px rgba(15, 23, 42, 0.08);
  padding: 40px 44px;
}

.sx-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 9px;
  background-color: #F8FAFC;
  opacity: 0.72;
  transition: background-color 0.16s ease, opacity 0.16s ease;
}

.sx-modal-close:hover {
  background-color: #E2E8F0;
  opacity: 1;
}

.sx-modal-close:focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
  box-shadow: none;
  opacity: 1;
}

.sx-modal-head {
  padding-right: 40px;
  margin-bottom: 22px;
}

.sx-modal-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin: 0 0 6px;
}

.sx-modal-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

.sx-modal-content .sx-form-control {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #E2E8F0;
  border-radius: 9px;
  color: #0F172A;
  background-color: #FFFFFF;
}

.sx-modal-content .sx-form-control:focus-visible {
  outline: none;
  border-color: #1366D9;
  box-shadow: 0 0 0 3px rgba(19, 102, 217, 0.14);
}

.sx-modal-content .sx-form-control:is(:user-invalid, .user-invalid-fallback) {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.sx-modal-content .sx-form-control::placeholder {
  color: #94A3B8;
  opacity: 1;
}

.sx-modal-textarea {
  min-height: 74px;
  resize: vertical;
}

@media (max-width: 767.98px) {
  .sx-modal-content .sx-form-control {
    font-size: max(1rem, 1em);
  }
}

@media (max-width: 575.98px) {
  .sx-modal-content {
    padding: 28px 24px;
  }

  .sx-modal-close {
    top: 16px;
    right: 16px;
  }
}

/* Scroll Reveal */
.sx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--sx-ease), transform 0.55s var(--sx-ease);
}

.sx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility utility */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   Inventory Section
   ========================================================================== */
.mark {
  background: transparent;
  padding: 0;
  position: relative;
  display: inline-block;
}

/* .mark::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: #00E5FF;
  border-radius: 2px;
} */

.sx-inv-stage {
  position: relative;
  max-width: 1080px;
  perspective: 1600px;
}

.sx-inv-safari {
  border-radius: 10px;
  transform: none;
  box-shadow: 0 28px 60px -18px rgba(15, 23, 42, 0.18);
  overflow: visible;
}

.sx-inv-safari .sx-safari-toolbar {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.sx-inv-tag-raw {
  font-size: 0.7rem;
  font-weight: 600;
  color: #475569;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  padding: 0.14rem 0.5rem;
}

/* Floating 3D Callouts */
.sx-inv-callouts {
  pointer-events: none;
}

.sx-inv-callout {
  position: absolute;
  z-index: 12;
  background: #FFFFFF;
  color: var(--sx-text);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  box-shadow: 0 18px 38px -10px rgba(15, 23, 42, 0.2);
  transform: translateZ(60px);
  opacity: 0;
}

.sx-inv-callout-1 { left: 185px; top: 82px; }
.sx-inv-callout-2 { right: 16px; top: 245px; }
.sx-inv-callout-3 { right: 16px; bottom: 14px; }

/* App Shell inside Frame */
.sx-inv-app {
  position: relative;
  display: flex;
  height: 360px;
  background: #FFFFFF;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
  font-size: 0.875rem;
}

.sx-inv-sidebar {
  width: 175px;
  flex-shrink: 0;
  background: #1E293B;
  color: #CBD5E1;
  padding: 0.9rem 0.65rem;
  flex-direction: column;
  gap: 0.25rem;
}

.sx-inv-app-brand {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  padding: 0 0.5rem 0.6rem;
  margin-bottom: 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sx-inv-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #94A3B8;
  padding: 0.42rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

.sx-inv-nav-item.is-current {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 600;
}

.sx-inv-main {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 1rem 1.15rem;
  background: #F8FAFC;
  overflow: hidden;
}

.sx-inv-view-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.sx-inv-view-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sx-text);
}

.sx-inv-view-sub {
  font-size: 0.875rem;
  color: #475569;
}

.sx-inv-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.34rem 0.72rem;
  border: 1px solid transparent;
  transition: transform 0.12s ease;
}

.sx-inv-btn.is-pressed {
  transform: scale(0.93);
}

.sx-inv-btn-primary {
  background: var(--sx-accent);
  color: #FFFFFF;
}

.sx-inv-btn-outline {
  background: #FFFFFF;
  border-color: var(--sx-border-strong);
  color: var(--sx-text);
}

.sx-inv-table-wrap {
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  overflow: hidden;
}

.sx-inv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.sx-inv-table th {
  background: var(--sx-accent);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  text-align: left;
  white-space: nowrap;
}

.sx-inv-table td {
  padding: 0.48rem 0.7rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--sx-text);
  white-space: nowrap;
}

.sx-inv-table tbody tr:last-child td {
  border-bottom: 0;
}

.sx-inv-total-row td {
  background: #F8FAFC;
}

.sx-inv-num {
  font-variant-numeric: tabular-nums;
}

.sx-inv-chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.1rem 0.48rem;
}

.sx-inv-chip.is-raw { background: #E2E8F0; color: #334155; }
.sx-inv-chip.is-finish { background: rgba(19, 102, 217, 0.12); color: var(--sx-accent); }
.sx-inv-chip.is-order { background: rgba(217, 119, 6, 0.14); color: #B45309; }

.sx-inv-delta {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
}

.sx-inv-delta.is-blue { background: rgba(19, 102, 217, 0.12); color: var(--sx-accent); }
.sx-inv-delta.is-warn { background: rgba(220, 38, 38, 0.1); color: #B91C1C; }

.sx-inv-t-total-bar {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sx-text);
}

.sx-inv-toast {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #0F172A;
  border: 1px solid var(--sx-accent);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
}

/* In-Frame Modals */
.sx-inv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 10;
}

.sx-inv-modal-backdrop[hidden] {
  display: none;
}

.sx-inv-modal {
  width: 100%;
  max-width: 400px;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  box-shadow: 0 20px 44px -12px rgba(15, 23, 42, 0.28);
}

.sx-inv-m-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.2rem;
}

.sx-inv-m-inp {
  background: #F8FAFC;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  font-size: 0.875rem;
  min-height: 32px;
  display: flex;
  align-items: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

[data-ss-type].is-typing {
  background: #FFFFFF;
  border-color: var(--sx-accent);
  box-shadow: 0 0 0 3px rgba(19, 102, 217, 0.14);
  color: #0F172A;
  white-space: pre-wrap;
}

[data-ss-type].is-typing::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 1.5px;
  height: 1em;
  margin-left: 1px;
  background: var(--sx-accent);
  border-radius: 1px;
  animation: sxCaretBlink 0.72s steps(1, end) infinite;
}

@keyframes sxCaretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  [data-ss-type].is-typing::after {
    animation: none;
  }
}

/* SVG Cursor Layer */
.sx-inv-cursor-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.sx-inv-cursor {
  position: absolute;
  left: 0;
  top: 0;
  filter: drop-shadow(0 3px 6px rgba(15, 23, 42, 0.28));
}

.sx-inv-ripple {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border-radius: 50%;
  background: rgba(19, 102, 217, 0.35);
  border: 2px solid var(--sx-accent);
  opacity: 0;
  transform: scale(0.3);
}

/* Chapter Bar */
.sx-inv-chapter-bar {
  max-width: 1080px;
}

.sx-inv-chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.sx-inv-ch-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 0.85rem 1.05rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  text-align: left;
  box-shadow: var(--sx-shadow-sm);
  transition: transform 0.28s var(--sx-ease), box-shadow 0.28s var(--sx-ease), border-color 0.28s var(--sx-ease), background-color 0.28s var(--sx-ease), color 0.28s var(--sx-ease);
}

.sx-inv-ch-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sx-shadow);
  border-color: var(--sx-border-strong);
  color: var(--sx-text);
}

.sx-inv-ch-btn.is-active {
  background: #FFFFFF;
  border-color: var(--sx-border-strong);
  color: var(--sx-text);
}

.sx-inv-ch-desc {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #64748B;
  line-height: 1.45;
  margin-top: 0.25rem;
}

.sx-inv-ch-btn.is-active .sx-inv-ch-desc {
  color: #475569;
}

.sx-inv-ch-prog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--sx-accent);
  transform-origin: left center;
  transform: scaleX(0);
}

@media (max-width: 991.98px) {
  .sx-inv-safari {
    transform: none;
  }

  .sx-inv-callouts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
  }

  .sx-inv-callout {
    position: static;
    transform: none;
    opacity: 1;
    font-size: 0.78rem;
    padding: 0.25rem 0.55rem;
    box-shadow: var(--sx-shadow-sm);
  }

  .sx-inv-chapters {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sx-inv-safari {
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   02 / Solutions Suite (Sticky Index + Stacked Live Screens)
   ========================================================================== */
.sx-solsuite-shell {
  background: transparent;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0;
  box-shadow: none;
}

.sx-solsuite-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
}

.sx-solsuite-index {
  position: sticky;
  top: 84px;
  align-self: start;
  padding: 2.5rem 1.5rem 2.5rem 0;
}

.sx-solsuite-mono {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748B;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
}

.sx-solsuite-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sx-solsuite-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.sx-solsuite-link:hover {
  color: #475569;
}

.sx-solsuite-link.is-active {
  border-left-color: var(--sx-accent);
  color: var(--sx-text);
  font-weight: 600;
}

.sx-ss-idx-num {
  font-size: 0.72rem;
  opacity: 0.8;
}

.sx-solsuite-panels {
  min-width: 0;
  border-left: 1px solid rgba(15, 23, 42, 0.12);
}

.sx-solsuite-panel {
  padding: 56px 0 56px 2.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  scroll-margin-top: 84px;
  overflow: hidden;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .sx-solsuite-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .sx-solsuite-index {
    padding-right: 1rem;
  }

  .sx-solsuite-panel {
    padding: 48px 0 48px 1.75rem;
  }
}

.sx-solsuite-panel:first-child {
  padding-top: 2.5rem;
}

.sx-solsuite-panel:last-child {
  padding-bottom: 2.5rem;
  border-bottom: 0;
}

.sx-solsuite-head {
  margin-bottom: 1.5rem;
}

.sx-solsuite-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sx-text);
  margin-bottom: 0.5rem;
}

.sx-solsuite-lead {
  font-size: 0.95rem;
  color: #475569;
  max-width: 66ch;
  margin-bottom: 0.85rem;
}

.sx-solsuite-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.sx-solsuite-bullets li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  color: #334155;
}

.sx-solsuite-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sx-accent);
}

/* Live Product Screen Inside Each Panel (Flat Safari Frame) */
.sx-solsuite-screen {
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.sx-ss-safari {
  border-radius: 8px;
  box-shadow: var(--sx-shadow-sm);
  overflow: hidden;
  transform-origin: top left;
}

.sx-ss-replay-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  line-height: 1;
  border-radius: 6px;
  border: 1px solid var(--sx-border);
  background: #FFFFFF;
  color: var(--sx-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.sx-ss-replay-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sx-ss-replay-btn:hover {
  border-color: var(--sx-accent);
  color: var(--sx-accent);
}

.sx-ss-app {
  position: relative;
  display: flex;
  min-height: 480px;
  flex: 1;
  background: #FFFFFF;
  overflow: hidden;
}

.sx-ss-sidebar {
  width: 168px;
  flex-shrink: 0;
  background: #1E293B;
  color: #CBD5E1;
  padding: 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sx-ss-brand {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  padding: 0 0.45rem 0.55rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sx-ss-nav-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: #94A3B8;
  padding: 0.38rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sx-ss-nav-item.is-current {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 600;
}

.sx-ss-main {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  overflow: hidden;
}

.sx-ss-outline-btn {
  background: #FFFFFF;
  color: var(--sx-text);
  border: 1px solid var(--sx-border-strong);
  border-radius: 6px;
  padding: 0.36rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.sx-ss-outline-btn.is-pressed,
.sx-ss-primary-btn.is-pressed,
.sx-ss-pdf-btn.is-pressed {
  transform: scale(0.93);
}

.sx-ss-pdf-btn {
  background: rgba(19, 102, 217, 0.08);
  color: var(--sx-accent);
  border: 1px solid rgba(19, 102, 217, 0.25);
  border-radius: 6px;
  padding: 0.18rem 0.42rem;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
}

.sx-ss-wa-popover {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 15;
  width: 240px;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  box-shadow: 0 14px 32px -10px rgba(15, 23, 42, 0.22);
}

.sx-ss-wa-popover[hidden] {
  display: none;
}

.sx-ss-wa-head {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.35rem;
}

.sx-ss-wa-bubble {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--sx-text);
  background: rgba(19, 102, 217, 0.08);
  border: 1px solid rgba(19, 102, 217, 0.2);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
}

.sx-ss-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border-bottom: 1px solid var(--sx-border);
}

.sx-ss-crumb {
  display: flex;
  flex-direction: column;
}

.sx-ss-mono {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748B;
}

.sx-ss-screen-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sx-text);
}

.sx-ss-primary-btn {
  background: var(--sx-accent);
  color: #FFFFFF;
  border: 1px solid var(--sx-accent);
  border-radius: 6px;
  padding: 0.38rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.18s ease, transform 0.12s ease;
}

.sx-ss-primary-btn:hover {
  background: #0F56B8;
}

.sx-ss-primary-btn:active {
  transform: scale(0.97);
}

.sx-ss-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--sx-border);
  background: #FFFFFF;
}

.sx-ss-stepper-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sx-ss-stepper-4 {
  grid-template-columns: repeat(4, 1fr);
}

.sx-ss-step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94A3B8;
  background: #FFFFFF;
  border: 0;
  border-right: 1px solid var(--sx-border);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sx-ss-step:last-child {
  border-right: 0;
}

.sx-ss-step-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #64748B;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sx-ss-step.is-done {
  color: #1E293B;
  background: rgba(19, 102, 217, 0.06);
}

.sx-ss-step.is-done .sx-ss-step-icon {
  background: var(--sx-accent);
  color: #FFFFFF;
}

.sx-ss-step.is-active {
  color: var(--sx-accent);
  background: rgba(19, 102, 217, 0.1);
  box-shadow: inset 0 0 0 1px var(--sx-accent);
}

.sx-ss-step.is-active .sx-ss-step-icon {
  background: var(--sx-accent);
  color: #FFFFFF;
}

.sx-ss-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--sx-border);
  background: #FFFFFF;
}

.sx-ss-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sx-ss-tab.is-active {
  color: var(--sx-accent);
  border-bottom-color: var(--sx-accent);
}

.sx-ss-count {
  font-size: 0.7rem;
  background: #F1F5F9;
  color: #475569;
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
}

.sx-ss-tab.is-active .sx-ss-count {
  background: rgba(19, 102, 217, 0.12);
  color: var(--sx-accent);
}

.sx-ss-split {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  flex: 1;
  min-height: 0;
}

.sx-ss-mini-wrap {
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  overflow: hidden;
}

.sx-ss-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.sx-ss-mini-table th {
  background: #F1F5F9;
  color: #475569;
  font-weight: 600;
  padding: 0.32rem 0.5rem;
  border-bottom: 1px solid var(--sx-border);
}

.sx-ss-mini-table td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  color: var(--sx-text);
}

.sx-ss-mini-table tbody tr:last-child td {
  border-bottom: 0;
}

.sx-ss-coming {
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
}

.sx-ss-coming-inner {
  text-align: center;
  padding: 1.5rem;
}

.sx-ss-coming-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sx-text);
  margin-top: 0.6rem;
}

.sx-ss-coming-sub {
  font-size: 0.84rem;
  color: #64748B;
  margin-top: 0.25rem;
}

/* Panel 02: Production Top/Bottom Zones & Stacked Cost Bar */
.sx-ss-prod-top {
  min-height: 112px;
  border-bottom: 1px solid var(--sx-border);
  overflow-x: auto;
}

.sx-ss-prod-bottom {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 0;
}

.sx-ss-prod-cost {
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--sx-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sx-ss-prod-checks {
  padding: 0.75rem 0.9rem;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sx-ss-cost-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sx-text);
}

.sx-ss-cost-bar-wrap {
  position: relative;
  padding-top: 1.2rem;
}

.sx-ss-cost-bar {
  display: flex;
  height: 28px;
  background: #F1F5F9;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  overflow: hidden;
}

.sx-ss-seg {
  width: 0;
  height: 100%;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sx-ss-seg-raw { background: #475569; }
.sx-ss-seg-jw { background: var(--sx-accent); }
.sx-ss-seg-labour { background: #60A5FA; }

.sx-ss-target-mark {
  position: absolute;
  left: 88.9%;
  top: 0;
  bottom: -2px;
  width: 2px;
  background: #0F172A;
}

.sx-ss-target-lbl {
  position: absolute;
  right: 4px;
  top: -2px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
}

.sx-ss-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.76rem;
  color: #475569;
}

.sx-ss-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sx-ss-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  display: inline-block;
}

.sx-ss-chip.is-red,
.sx-ss-text-red {
  color: #B91C1C;
}

.sx-ss-chip.is-red {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.25);
}

.sx-ss-mini-chip {
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.06rem 0.32rem;
  border-radius: 4px;
  background: #F1F5F9;
  color: #475569;
}

.sx-ss-mini-chip.is-blue {
  background: rgba(19, 102, 217, 0.12);
  color: var(--sx-accent);
}

.sx-ss-prog-track {
  height: 5px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  max-width: 180px;
}

.sx-ss-prog-fill {
  width: 0;
  height: 100%;
  background: var(--sx-accent);
  transition: width 0.5s ease;
}

/* Panel 04: Accounts & Reports Helpers */
.sx-ss-btn-prog {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: rgba(255, 255, 255, 0.85);
  transition: width 0.5s ease;
}

.sx-ss-expand-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid var(--sx-border);
  background: #FFFFFF;
  color: var(--sx-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  padding: 0;
}

.sx-ss-expand-btn.is-open i {
  transform: rotate(90deg);
}

.sx-ss-toast {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 15;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid var(--sx-accent);
  border-radius: 6px;
  padding: 0.32rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  box-shadow: var(--sx-shadow-sm);
}

.sx-ss-export-card {
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
}

/* Panel 05: Users & Companies Helpers */
.sx-ss-side-co {
  font-size: 0.68rem;
  font-weight: 500;
  color: #94A3B8;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sx-ss-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 210px;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  box-shadow: var(--sx-shadow);
  padding: 0.25rem;
  z-index: 16;
}

.sx-ss-dropdown[hidden] {
  display: none;
}

.sx-ss-drop-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 4px;
  padding: 0.35rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--sx-text);
}

.sx-ss-drop-item:hover {
  background: rgba(19, 102, 217, 0.08);
  color: var(--sx-accent);
}

.sx-ss-drop-item.is-muted {
  color: #64748B;
  font-weight: 500;
}

.sx-ss-co-banner {
  background: var(--sx-accent);
  color: #FFFFFF;
  padding: 0.45rem 0.75rem;
}

.sx-ss-co-sub {
  font-size: 0.7rem;
  opacity: 0.9;
}

.sx-ss-drawer {
  position: absolute;
  top: 48px;
  right: 12px;
  width: 235px;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.25);
  z-index: 15;
}

.sx-ss-drawer[hidden] {
  display: none;
}

.sx-ss-drawer-rows {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
}

.sx-ss-drawer-rows div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  padding-bottom: 0.22rem;
}

.sx-ss-drawer-rows div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sx-ss-drawer-rows span {
  color: #64748B;
}

.sx-ss-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--sx-border);
}

.sx-ss-list-item {
  width: 100%;
  text-align: left;
  background: #FFFFFF;
  border: 0;
  border-bottom: 1px solid var(--sx-border);
  padding: 0.65rem 0.9rem;
  transition: background-color 0.15s ease;
}

.sx-ss-list-item:last-child {
  border-bottom: 0;
}

.sx-ss-list-item:hover {
  background: #F8FAFC;
}

.sx-ss-list-item.is-selected {
  background: rgba(19, 102, 217, 0.05);
  box-shadow: inset 2px 0 0 var(--sx-accent);
}

.sx-ss-item-id {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
}

.sx-ss-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sx-text);
  margin-top: 0.15rem;
}

.sx-ss-item-sub {
  font-size: 0.78rem;
  color: #64748B;
}

.sx-ss-table-box {
  border-right: 1px solid var(--sx-border);
  overflow-x: auto;
}

.sx-ss-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.sx-ss-table th {
  background: #F8FAFC;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.48rem 0.6rem;
  border-bottom: 1px solid var(--sx-border);
  white-space: nowrap;
}

.sx-ss-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--sx-border);
  color: var(--sx-text);
  white-space: normal;
}

.sx-ss-table tbody tr {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.sx-ss-table tbody tr:last-child td {
  border-bottom: 0;
}

.sx-ss-table tbody tr:hover {
  background: #F8FAFC;
}

.sx-ss-table tbody tr.is-selected {
  background: rgba(19, 102, 217, 0.05);
}

.sx-ss-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
  border: 1px solid transparent;
}

.sx-ss-chip.is-blue {
  background: rgba(19, 102, 217, 0.09);
  border-color: rgba(19, 102, 217, 0.25);
  color: var(--sx-accent);
}

.sx-ss-chip.is-slate {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #334155;
}

.sx-ss-chip.is-amber {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.28);
  color: #B45309;
}

.sx-ss-detail {
  padding: 0.72rem 0.85rem;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.sx-ss-detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.sx-ss-detail-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sx-text);
}

.sx-ss-detail-amt {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sx-accent);
  font-variant-numeric: tabular-nums;
}

.sx-ss-detail-meta {
  font-size: 0.8rem;
  color: #475569;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--sx-border);
}

.sx-ss-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sx-ss-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #334155;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.sx-ss-check i {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: #E2E8F0;
  color: #64748B;
  flex-shrink: 0;
}

.sx-ss-check.is-ticked i {
  background: var(--sx-accent);
  color: #FFFFFF;
}

.sx-ss-success-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sx-text);
  background: rgba(19, 102, 217, 0.08);
  border: 1px solid rgba(19, 102, 217, 0.22);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
}

.sx-ss-success-bar i {
  color: var(--sx-accent);
}

@media (max-width: 991.98px) {
  .sx-solsuite-grid {
    grid-template-columns: 1fr;
  }

  .sx-solsuite-index {
    display: none;
  }

  .sx-solsuite-panels {
    border-left: 0;
  }

  .sx-solsuite-panel,
  .sx-solsuite-panel:first-child,
  .sx-solsuite-panel:last-child {
    padding: 2rem 0;
    overflow: hidden;
  }

  .sx-ss-safari {
    transform-origin: top left;
  }
}

/* ==========================================================================
   Features Section (One Account Highlight + 6-Cell Grid)
   ========================================================================== */
.sx-feat-mono {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sx-accent);
}

.sx-feat-highlight {
  background: #F5F8FF;
  border: 1px solid rgba(19, 102, 217, 0.18);
  border-top: 2px solid #1366D9;
  border-radius: 8px;
  padding: 36px;
  min-height: 260px;
  margin-bottom: 32px;
}

.sx-feat-hl-grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 2rem;
  align-items: center;
}

.sx-feat-hl-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0F172A;
}

.sx-feat-diagram {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sx-feat-account-node {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--sx-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.sx-feat-places-col {
  flex: 1;
  min-width: 0;
}

.sx-feat-places-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sx-feat-place-row {
  display: flex;
  align-items: center;
}

.sx-feat-conn {
  position: relative;
  width: 28px;
  height: 1px;
  background: rgba(19, 102, 217, 0.28);
  flex-shrink: 0;
}

.sx-feat-token {
  position: absolute;
  left: 0;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1366D9;
  opacity: 0;
}

.sx-feat-place-card {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  padding: 0.42rem 0.7rem;
}

.sx-feat-place-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sx-text);
}

.sx-feat-place-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sx-accent);
}

.sx-feat-total-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid rgba(19, 102, 217, 0.25);
  border-radius: 6px;
  padding: 0.42rem 0.75rem;
  margin-left: 28px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sx-text);
}

.sx-feat-total-pill strong {
  color: var(--sx-accent);
}

/* 6-Cell Grid Below */
.sx-feat-cell {
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 8px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}

.sx-feat-cell-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sx-text);
  margin-bottom: 0.4rem;
}

.sx-feat-cell-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.sx-feat-visual {
  margin-top: auto;
  min-height: 120px;
  background: #F8FAFC;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}

.sx-feat-mini-row,
.sx-feat-ret-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid var(--sx-border);
  border-radius: 6px;
  padding: 0.42rem 0.6rem;
  font-size: 0.8rem;
  color: var(--sx-text);
}

.sx-feat-rep-list {
  justify-content: flex-start;
  max-height: 126px;
  overflow-y: auto;
  gap: 0.3rem;
}

.sx-feat-rep-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sx-text);
  padding: 0.15rem 0.25rem;
}

@media (max-width: 991.98px) {
  .sx-feat-highlight {
    padding: 1.5rem;
  }

  .sx-feat-hl-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .sx-feat-hl-title {
    font-size: 1.35rem;
  }

  .sx-feat-diagram {
    flex-direction: column;
    align-items: stretch;
  }

  .sx-feat-places-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .sx-feat-conn {
    display: none;
  }

  .sx-feat-total-pill {
    margin-left: 0;
  }
}

/* ==========================================================================
   Multi-Site 3D Warehouse Network (#multi-site)
   ========================================================================== */
.sx-site-section {
  background: var(--sx-bg);
  border-top: 1px solid var(--sx-border);
}

.sx-site-shell {
  max-width: 1080px;
}

.sx-site-steps {
  display: flex;
  flex-direction: column;
}

.sx-site-step {
  padding: 20px 0;
  border-top: 1px solid var(--sx-border);
}

.sx-site-step:last-child {
  border-bottom: 1px solid var(--sx-border);
}

.sx-site-step-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sx-accent);
  background: #E8F0FD;
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}

.sx-site-step-title {
  font-size: clamp(1.125rem, 1.45vw, 1.25rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--sx-text);
  margin: 0 0 8px;
}

.sx-site-step-desc {
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--sx-text-secondary);
  max-width: 50ch;
  margin: 0;
}

.sx-site-map-col {
  width: 100%;
  max-width: 700px;
}

.sx-site-city-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 440px;
  background: transparent;
  overflow: visible;
}

.sx-site-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.sx-site-canvas:active {
  cursor: grabbing;
}

.sx-site-labels-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.sx-site-3d-tag {
  --sx-tag-dx: 0px;
  --sx-tag-dy: 0px;
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  transform: translate(calc(-50% + var(--sx-tag-dx)), calc(-100% + var(--sx-tag-dy)));
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: inherit;
  color: var(--sx-text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--sx-border-strong);
  border-radius: var(--sx-radius-sm);
  padding: 3px 8px;
  white-space: nowrap;
  box-shadow: var(--sx-shadow-sm);
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.sx-site-3d-tag[data-city-tag="wh2"] {
  --sx-tag-dx: -12px;
  --sx-tag-dy: 12px;
}

.sx-site-3d-tag[data-city-tag="wh5"] {
  --sx-tag-dx: -16px;
  --sx-tag-dy: 16px;
}

.sx-site-3d-tag.is-featured,
.sx-site-3d-tag.is-active {
  border-color: var(--sx-accent);
}

.sx-site-3d-tag:focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
  border-color: var(--sx-accent);
  z-index: 2;
}

@media (max-width: 991.98px) {
  .sx-site-city-stage {
    aspect-ratio: 1 / 1;
    min-height: 360px;
  }

  .sx-site-3d-tag[data-city-tag="wh2"] {
    --sx-tag-dx: -4px;
    --sx-tag-dy: 10px;
  }

  .sx-site-3d-tag:not(.is-featured):not(.is-active):not(:focus-visible) {
    display: none;
  }
}

/* ==========================================================================
   Frequently Asked Questions (#faq)
   ========================================================================== */
.sx-faq-section {
  background: var(--sx-bg);
  border-top: 1px solid var(--sx-border);
}

.sx-faq-shell {
  max-width: 820px;
}

.sx-faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--sx-border);
}

.sx-faq-item {
  border-bottom: 1px solid var(--sx-border);
}

.sx-faq-summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 16px 4px;
  font-size: clamp(1.125rem, 1.45vw, 1.25rem);
  font-weight: 600;
  /* letter-spacing: -0.015em; */
  line-height: 1.35;
  color: var(--sx-text);
  cursor: pointer;
  transition: color 0.18s ease;
}

.sx-faq-summary::-webkit-details-marker {
  display: none;
}

.sx-faq-summary::before {
  content: '';
  inline-size: 1.05rem;
  block-size: 1.05rem;
  margin-top: calc((1.35em - 1.05rem) / 2);
  flex-shrink: 0;
  background-color: var(--sx-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.sx-faq-item[open] > .sx-faq-summary {
  color: var(--sx-accent);
}

.sx-faq-item[open] > .sx-faq-summary::before {
  rotate: 0deg;
}

.sx-faq-summary:hover {
  color: var(--sx-accent);
}

.sx-faq-summary:focus-visible {
  outline: 2px solid var(--sx-accent);
  outline-offset: 2px;
  border-radius: var(--sx-radius-sm);
}

.sx-faq-item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.sx-faq-item:not([open])::details-content {
  block-size: 0;
}

.sx-faq-body {
  padding: 0 4px 18px calc(1.05rem + 0.75rem + 4px);
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--sx-text-secondary);
}

.sx-faq-cta-note {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--sx-text-secondary);
}

@media (prefers-reduced-motion: no-preference) {
  .sx-faq-summary::before {
    transition: rotate 0.2s ease;
  }

  .sx-faq-item::details-content {
    transition: block-size, content-visibility;
    transition-duration: 0.28s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

/* ==========================================================================
   Contact Section (#contact) & Footer
   ========================================================================== */
.sx-contact-section {
  background-color: #F8FAFC;
  border-top: 1px solid var(--sx-border);
  padding: clamp(4rem, 7vw, 6.25rem) 0;
  scroll-margin-top: 84px;
}

.sx-contact-card {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  box-shadow: 0 20px 50px -14px rgba(15, 23, 42, 0.08), 0 4px 14px -4px rgba(15, 23, 42, 0.03);
  padding: 44px 48px;
}

.sx-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  /* gap: 48px; */
  gap: 20px;
  align-items: stretch;
}

.sx-contact-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.sx-contact-demo-box {
  background: linear-gradient(155deg, rgba(19, 102, 217, 0.06) 0%, #F7FAFF 52%, #F9FBFE 100%);
  border: 1px solid rgba(19, 102, 217, 0.09);
  border-radius: 14px;
  padding: 26px 24px;
}

.sx-contact-demo-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin: 0 0 8px;
}

.sx-contact-demo-desc {
  font-size: 13.75px;
  line-height: 1.55;
  color: #64748B;
  margin: 0 0 20px;
}

.sx-contact-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  background-color: #1366D9;
  color: #FFFFFF;
  border: 1px solid #1366D9;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s var(--sx-ease), box-shadow 0.18s ease;
}

.sx-contact-demo-btn:hover {
  background-color: #2563EB;
  border-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(19, 102, 217, 0.42);
}

.sx-contact-demo-btn:active {
  transform: translateY(0);
}

.sx-contact-demo-btn:focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
}

.sx-contact-tiles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sx-contact-tiles-row {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 12px;
}

.sx-contact-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  background-color: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 15px 16px;
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.sx-contact-tile:hover {
  border-color: rgba(19, 102, 217, 0.28);
  background-color: #FFFFFF;
}

.sx-contact-tile:focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
}

.sx-contact-tile-stack {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 16px;
}

.sx-contact-iconbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background-color: #EAF1FD;
  color: #1366D9;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.sx-contact-iconbox.is-wa {
  background-color: #E7F8EE;
  color: #16A34A;
}

.sx-contact-tile-body {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sx-contact-tile-label {
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748B;
}

.sx-contact-tile-value {
  font-size: 13.75px;
  line-height: 1.35;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
}

.sx-contact-tile-wide .sx-contact-tile-value {
  font-size: 14.5px;
}

.sx-contact-tile-email {
  font-size: 13px;
}

.sx-contact-form-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sx-contact-form-wrap {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.sx-contact-form-wrap.is-leaving {
  opacity: 0;
}

.sx-contact-head {
  margin-bottom: 22px;
}

.sx-contact-heading {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin: 0 0 6px;
}

.sx-contact-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

.sx-contact-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.sx-contact-field {
  min-width: 0;
}

.sx-contact-field-span {
  grid-column: 1 / -1;
}

.sx-contact-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: 6px;
}

.sx-contact-req {
  color: #DC2626;
  margin-left: 2px;
}

.sx-contact-section .sx-form-control {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #E2E8F0;
  border-radius: 9px;
  color: #0F172A;
  background-color: #FFFFFF;
}

.sx-contact-section .sx-form-control:focus-visible {
  outline: none;
  border-color: #1366D9;
  box-shadow: 0 0 0 3px rgba(19, 102, 217, 0.14);
}

.sx-contact-section .sx-form-control:is(:user-invalid, .user-invalid-fallback) {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.sx-contact-section .sx-form-control::placeholder {
  color: #94A3B8;
  opacity: 1;
}

.sx-contact-textarea {
  min-height: 88px;
  resize: vertical;
}

.sx-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 12px 20px;
  background-color: #1366D9;
  color: #FFFFFF;
  border: 1px solid #1366D9;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s var(--sx-ease), box-shadow 0.18s ease;
}

.sx-contact-submit:hover {
  background-color: #2563EB;
  border-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(19, 102, 217, 0.42);
}

.sx-contact-submit:active {
  transform: translateY(0);
}

.sx-contact-submit:focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
}

.sx-contact-submit:disabled {
  opacity: 0.78;
  cursor: not-allowed;
  transform: none;
}

.sx-contact-legal {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #64748B;
}

.sx-contact-legal a {
  color: #5B6B82;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sx-contact-legal a:hover {
  color: #0F1B2D;
}

.sx-contact-legal a:focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
  border-radius: 2px;
}

.sx-contact-error-banner {
  padding: 12px 14px;
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  color: #991B1B;
  font-size: 14px;
  line-height: 1.5;
}

.sx-contact-error-banner a {
  color: #991B1B;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sx-swal-fallback-ok {
  padding: 12px 14px;
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  color: #166534;
  font-size: 14px;
  line-height: 1.5;
}

.sx-swal-container {
  padding: 16px;
}

.sx-swal-popup {
  width: min(440px, 100%);
  padding: 28px 26px 24px;
  background: #FFFFFF;
  border: 1px solid #DCE4F0;
  border-radius: 16px;
  box-shadow: 0 24px 60px -12px rgba(15, 27, 45, 0.2);
  font-family: 'Lufga', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.sx-swal-title {
  padding: 6px 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0F172A;
  text-wrap: balance;
}

.sx-swal-text {
  margin: 10px auto 0;
  padding: 0;
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
  text-wrap: pretty;
}

.sx-swal-subtext {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #475569;
}

.sx-swal-creds {
  display: grid;
  gap: 8px;
  text-align: left;
}

.sx-swal-cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}

.sx-swal-cred-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sx-swal-cred-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
}

.sx-swal-cred-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  word-break: break-all;
}

.sx-swal-copy-btn {
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #CBD5E1;
  border-radius: 7px;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.sx-swal-copy-btn:hover {
  border-color: #1366D9;
  color: #1366D9;
}

.sx-swal-copy-btn.is-copied {
  border-color: #16A34A;
  background: #F0FDF4;
  color: #15803D;
}

.sx-swal-copy-btn:focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
}

.sx-swal-actions {
  width: 100%;
  margin: 22px 0 0;
  gap: 10px;
}

.sx-swal-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #1366D9;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.sx-swal-confirm:hover {
  background: #0F54B8;
}

.sx-swal-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.sx-swal-cancel:hover {
  border-color: #1366D9;
  color: #1366D9;
}

.sx-swal-confirm:focus-visible,
.sx-swal-cancel:focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .sx-swal-popup {
    animation: none;
  }
}

/* Footer */
.sx-footer {
  background-color: var(--sx-dark);
  color: #CBD5E1;
  padding: 64px 0 36px;
}

.sx-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.85fr);
  gap: 48px 56px;
  align-items: start;
}

.sx-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.sx-footer-logo-link {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

.sx-footer-logo-link:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.sx-footer-desc {
  font-size: 13.75px;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 38ch;
}

.sx-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.sx-footer-col {
  min-width: 0;
}

.sx-footer-heading {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 14px;
}

.sx-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sx-footer-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  font-size: 13.75px;
  line-height: 1.45;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.16s ease;
}

.sx-footer-link-btn {
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sx-footer-link:hover {
  color: #FFFFFF;
}

.sx-footer-link:focus-visible {
  color: #FFFFFF;
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
  border-radius: 4px;
}

.sx-footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 1;
  margin: 44px 0 24px;
}

.sx-footer-bottom {
  text-align: center;
}

.sx-footer-copy {
  font-size: 13px;
  color: #94A3B8;
}

.sx-footer-heart {
  color: #FFFFFF;
  font-size: 0.9em;
  vertical-align: -0.04em;
  margin-inline: 2px;
}

.sx-footer-credit-link {
  color: #E2E8F0;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.16s ease;
}

.sx-footer-credit-link:hover {
  color: #FFFFFF;
}

.sx-footer-credit-link:focus-visible {
  color: #FFFFFF;
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 1199.98px) {
  .sx-contact-card {
    padding: 36px;
  }

  .sx-contact-grid {
    grid-template-columns: minmax(0, 376px) minmax(0, 1fr);
    gap: 32px;
  }

  .sx-contact-tile-email {
    font-size: 12.5px;
  }
}

@media (max-width: 991.98px) {
  .sx-contact-card {
    padding: 24px;
  }

  .sx-contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sx-contact-tile-email {
    font-size: 13.5px;
  }

  .sx-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 767.98px) {
  .sx-contact-section {
    padding: 56px 0;
  }

  .sx-contact-fields-grid {
    grid-template-columns: 1fr;
  }

  .sx-contact-section .sx-form-control {
    font-size: max(1rem, 1em);
  }

  .sx-footer {
    padding: 48px 0 28px;
  }

  .sx-footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .sx-footer-link {
    min-height: 44px;
    padding: 8px 0;
  }
}

@media (max-width: 575.98px) {
  .sx-contact-tiles-row {
    grid-template-columns: 1fr;
  }

  .sx-contact-tile-stack {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 15px 16px;
  }

  .sx-contact-tile-stack .sx-contact-tile-value {
    font-size: 14.5px;
  }

  .sx-contact-tile-value {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .sx-footer-brand {
    align-items: center;
    text-align: center;
  }

  .sx-footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .sx-footer-list {
    align-items: center;
  }

  .sx-footer-link-btn {
    text-align: center;
  }
}

/* Hide floating reCAPTCHA badge cleanly when required notice is shown inline */
.grecaptcha-badge {
  visibility: hidden;
}

/* ==========================================================================
   Legal Pages (terms.php & privacy.php)
   ========================================================================== */
.sx-legal-main {
  padding-top: calc(72px + clamp(2.5rem, 4.5vw, 4rem));
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  background-color: var(--sx-bg);
}

.sx-legal-shell {
  max-width: 780px;
  margin-inline: auto;
}

.sx-legal-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 1.5rem;
}

.sx-legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0F1B2D;
  text-decoration: none;
  padding: 6px 2px;
  border-radius: 6px;
}

.sx-legal-back:hover,
.sx-legal-back:focus-visible {
  color: #1366D9;
}

.sx-legal-back:focus-visible,
.sx-legal-switcher a:focus-visible,
.sx-legal-article a:focus-visible {
  outline: 2px solid #1366D9;
  outline-offset: 2px;
  border-radius: 4px;
}

.sx-legal-switcher {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.sx-legal-switch-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #5B6B82;
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.sx-legal-switch-link:hover,
.sx-legal-switch-link:focus-visible {
  color: #1366D9;
}

.sx-legal-switch-link[aria-current="page"] {
  color: #1366D9;
  font-weight: 600;
  border-bottom-color: #1366D9;
}

.sx-legal-card {
  background-color: #FFFFFF;
  border: 1px solid #DCE4F0;
  border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 20px 50px -14px rgba(15, 27, 45, 0.06), 0 4px 14px -4px rgba(15, 27, 45, 0.03);
}

.sx-legal-header {
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #DCE4F0;
}

.sx-legal-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1366D9;
  margin-bottom: 0.5rem;
}

.sx-legal-title {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  color: #0F1B2D;
  margin: 0 0 0.65rem;
  text-wrap: balance;
}

.sx-legal-meta {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5B6B82;
  margin: 0;
}

.sx-legal-article {
  max-width: 65ch;
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
  text-align: start;
  overflow-wrap: break-word;
}

.sx-legal-intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #0F1B2D;
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}

.sx-legal-section + .sx-legal-section {
  margin-top: 2rem;
}

.sx-legal-h2 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0F1B2D;
  margin: 0 0 0.65rem;
  text-wrap: balance;
}

.sx-legal-article p {
  margin: 0 0 0.85rem;
  text-wrap: pretty;
}

.sx-legal-article p:last-child {
  margin-bottom: 0;
}

.sx-legal-list {
  margin: 0.5rem 0 0.9rem;
  padding-left: 1.25rem;
}

.sx-legal-list li + li {
  margin-top: 0.45rem;
}

.sx-legal-contact-box {
  margin-top: 2.25rem;
  padding: 1.25rem 1.35rem;
  background-color: #F8FAFC;
  border: 1px solid #DCE4F0;
  border-radius: 12px;
}

.sx-legal-contact-box a {
  color: #1366D9;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Honeypot Field (Off-screen from users & assistive tech, visible to bots) */
.sx-hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Floating Utilities: Back to Top & WhatsApp (Identical 42px Diameter) */
.back-to-top {
  position: fixed;
  bottom: 74px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--sx-border);
  color: var(--sx-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1030;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #ffffff;
  border-color: var(--sx-accent);
  color: var(--sx-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19, 102, 217, 0.2);
}

.back-to-top:focus-visible,
.whatsapp-widget:focus-visible {
  outline: 2px solid var(--sx-accent);
  outline-offset: 3px;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.whatsapp-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1030;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.whatsapp-widget svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.whatsapp-badge {
  position: absolute;
  right: 52px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.whatsapp-widget:hover .whatsapp-badge,
.whatsapp-widget:focus-visible .whatsapp-badge {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 580px) {
  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .whatsapp-widget svg {
    width: 18px;
    height: 18px;
  }
  .back-to-top {
    bottom: 62px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
  .whatsapp-badge {
    display: none;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sx-marquee-track { animation: none; }
  .sx-reveal { opacity: 1; transform: none; transition: none; }
  .sx-card, .btn-sx-primary, .btn-sx-outline, .sx-contact-demo-btn, .sx-contact-submit, .sx-contact-form-wrap, .sx-contact-success, .back-to-top, .whatsapp-widget, .whatsapp-badge { transition: none; }
}

