/* Surfex Browser — Modern Product UI Layer
   Inspired by status.app, anylist.com, ulaa.com & contemporary fintech/app showcases.
   Supports both crisp Light Mode and True Dark AMOLED (#000000). */

:root {
  --sx-bg: #ffffff;
  --sx-bg-alt: #f8fafc;
  --sx-surface: #ffffff;
  --sx-surface-muted: #f1f5f9;
  --sx-border: rgba(15, 23, 42, 0.09);
  --sx-border-strong: rgba(15, 23, 42, 0.16);
  --sx-text: #0f172a;
  --sx-text-muted: #475569;
  --sx-text-subtle: #64748b;
  --sx-primary: #2563eb;
  --sx-primary-hover: #1d4ed8;
  --sx-cyan: #06b6d4;
  --sx-indigo: #4f46e5;
  --sx-hero-curve-a: #1638b8;
  --sx-hero-curve-b: #0b1c63;
  --sx-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --sx-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --sx-shadow-phone: 0 28px 70px rgba(11, 28, 99, 0.28);
  --sx-glass: rgba(255, 255, 255, 0.84);
  --sx-glass-border: rgba(15, 23, 42, 0.09);
}

html.dark {
  --sx-bg: #000000;
  --sx-bg-alt: #05070c;
  --sx-surface: #0b0f18;
  --sx-surface-muted: #111827;
  --sx-border: rgba(255, 255, 255, 0.09);
  --sx-border-strong: rgba(255, 255, 255, 0.18);
  --sx-text: #f8fafc;
  --sx-text-muted: #94a3b8;
  --sx-text-subtle: #64748b;
  --sx-hero-curve-a: #0d2159;
  --sx-hero-curve-b: #050b1f;
  --sx-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.5);
  --sx-shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.78);
  --sx-shadow-phone: 0 28px 80px rgba(6, 182, 212, 0.16);
  --sx-glass: rgba(8, 12, 20, 0.82);
  --sx-glass-border: rgba(255, 255, 255, 0.11);
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background-color: var(--sx-bg);
  color: var(--sx-text);
  overflow-x: hidden;
}

.font-display {
  font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* Container & spacing */
.sx-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .sx-container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .sx-container {
    padding-inline: 2rem;
  }
}

/* Floating Glass Header */
.sx-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.75rem 1rem 0;
  transition: padding 200ms ease;
}

.sx-navbar {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 62px;
  padding: 0 1rem 0 1.125rem;
  border-radius: 9999px;
  background: var(--sx-glass);
  border: 1px solid var(--sx-glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--sx-shadow-sm);
  transition: box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.sx-navbar.is-scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

html.dark .sx-navbar.is-scrolled {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

.sx-nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .sx-nav-links {
    display: flex;
  }
}

.sx-nav-link {
  padding: 0.42rem 0.78rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sx-text-muted);
  transition: color 150ms ease, background-color 150ms ease;
}

.sx-nav-link:hover,
.sx-nav-link.is-active {
  color: var(--sx-text);
  background: var(--sx-surface-muted);
}

/* Primary gradient button */
.sx-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.sx-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.36);
  filter: brightness(1.05);
}

.sx-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sx-text);
  background: var(--sx-surface);
  border: 1px solid var(--sx-border-strong);
  box-shadow: var(--sx-shadow-sm);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.sx-btn-secondary:hover {
  transform: translateY(-1px);
  background: var(--sx-surface-muted);
}

/* Hero Section (Curved Asymmetric Backdrop + Floating Badges) */
.sx-hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 4.5rem;
  border-bottom: 1px solid var(--sx-border);
}

@media (min-width: 1024px) {
  .sx-hero {
    padding: 3.25rem 0 5.5rem;
  }
}

.sx-hero-curve {
  position: absolute;
  top: -80px;
  right: -12%;
  width: 60%;
  height: 115%;
  background: linear-gradient(155deg, var(--sx-hero-curve-a) 0%, var(--sx-hero-curve-b) 100%);
  border-bottom-left-radius: 220px;
  border-top-left-radius: 80px;
  transform: skewX(-6deg);
  pointer-events: none;
  z-index: 0;
  display: none;
}

@media (min-width: 1024px) {
  .sx-hero-curve {
    display: block;
  }
}

.sx-hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.24) 0%, rgba(37, 99, 235, 0.08) 45%, transparent 70%);
  top: -80px;
  right: 4%;
  pointer-events: none;
  z-index: 0;
}

.sx-dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.25px, transparent 1.25px);
  background-size: 16px 16px;
}

.sx-dot-grid-subtle {
  background-image: radial-gradient(rgba(37, 99, 235, 0.16) 1.25px, transparent 1.25px);
  background-size: 18px 18px;
}

html.dark .sx-dot-grid-subtle {
  background-image: radial-gradient(rgba(6, 182, 212, 0.16) 1.25px, transparent 1.25px);
}

.sx-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sx-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.sx-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.32rem 0.95rem 0.32rem 0.35rem;
  border-radius: 9999px;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sx-text);
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

html.dark .sx-pill-badge {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.sx-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.sx-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.sx-gradient-text {
  background: linear-gradient(120deg, #2563eb 0%, #0ea5e9 55%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.dark .sx-gradient-text {
  background: linear-gradient(120deg, #60a5fa 0%, #22d3ee 60%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sx-hero-stats {
  margin-top: 2.25rem;
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .sx-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sx-stat-card {
  position: relative;
  border-radius: 18px;
  padding: 0.9rem 0.95rem;
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.sx-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}

html.dark .sx-stat-card {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

html.dark .sx-stat-card:hover {
  border-color: rgba(6, 182, 212, 0.36);
}

.sx-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.sx-stat-value {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(125deg, #0f172a 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.dark .sx-stat-value {
  background: linear-gradient(125deg, #ffffff 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sx-stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.sx-stat-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--sx-text-muted);
  margin-top: 0.35rem;
  line-height: 1.3;
}

/* Hero Stage (Phone + Secondary Peek + Floating Feature Chips) */
.sx-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sx-stage-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 560px;
}

.sx-peek-phone {
  position: absolute;
  left: 4px;
  top: 2.75rem;
  width: 178px;
  border-radius: 26px;
  padding: 6px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  transform: rotate(-7deg);
  display: none;
  z-index: 1;
  overflow: hidden;
}

.sx-peek-phone-right {
  position: absolute;
  right: 4px;
  top: 2.75rem;
  width: 178px;
  border-radius: 26px;
  padding: 6px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
  transform: rotate(7deg);
  display: none;
  z-index: 1;
  overflow: hidden;
}

@media (min-width: 640px) {
  .sx-peek-phone,
  .sx-peek-phone-right {
    display: block;
  }
}

.sx-peek-phone img,
.sx-peek-phone-right img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top;
}

.sx-main-phone-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 262px;
}

.sx-phone-bezel {
  border-radius: 36px;
  padding: 8px;
  background: linear-gradient(160deg, #1e293b 0%, #090d16 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--sx-shadow-phone);
}

.sx-phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #000000;
}

/* Feature Callout Chips (clean horizontal row below the 3-phone fan) */
.sx-float-chips {
  position: relative;
  z-index: 3;
  margin-top: 1.5rem;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .sx-float-chips {
    display: flex;
  }
}

.sx-float-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.82rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(12px);
  color: #0f172a;
}

html.dark .sx-float-chip {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.sx-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@keyframes sxFloat {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: -4px;
  }
}

/* Segmented control over hero phone */
.sx-segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  width: 100%;
  max-width: 340px;
  padding: 0.28rem;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--sx-shadow-sm);
}

html.dark .sx-segmented {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Section styling */
.sx-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--sx-border);
}

@media (min-width: 768px) {
  .sx-section {
    padding: 5.5rem 0;
  }
}

.sx-section-alt {
  background-color: var(--sx-bg-alt);
}

.sx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sx-primary);
}

html.dark .sx-eyebrow {
  color: var(--sx-cyan);
}

.sx-heading {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--sx-text);
  margin-top: 0.65rem;
}

.sx-lead {
  margin-top: 0.85rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sx-text-muted);
}

/* Trust Strip (status.app / anylist.com style pill bar) */
.sx-trust-strip {
  padding: 1.75rem 0;
  background: var(--sx-bg-alt);
  border-bottom: 1px solid var(--sx-border);
}

.sx-trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sx-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sx-trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sx-trust-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  box-shadow: var(--sx-shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sx-trust-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.1);
}

html.dark .sx-trust-card:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.08);
}

.sx-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

/* Ulaa-inspired Mode Explorer */
.sx-mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.sx-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--sx-border);
  background: var(--sx-surface);
  color: var(--sx-text-muted);
  transition: all 160ms ease;
}

.sx-mode-btn:hover {
  border-color: var(--sx-border-strong);
  color: var(--sx-text);
}

.sx-mode-btn.is-active {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.sx-mode-panel {
  margin-top: 2rem;
  border-radius: 28px;
  border: 1px solid var(--sx-border);
  background: var(--sx-surface);
  padding: 1.75rem;
  box-shadow: var(--sx-shadow-lg);
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sx-mode-panel {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 2.75rem;
    gap: 3rem;
  }
}

.sx-mode-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  border-radius: 22px;
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid var(--sx-border);
  overflow: hidden;
}

html.dark .sx-mode-visual {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.14) 0%, rgba(6, 182, 212, 0.06) 100%);
}

.sx-mode-shot-primary {
  width: 205px;
  border-radius: 26px;
  padding: 6px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.28);
  z-index: 2;
  transition: transform 250ms ease;
}

.sx-mode-shot-secondary {
  width: 172px;
  border-radius: 22px;
  padding: 5px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  margin-left: -46px;
  margin-top: 2.5rem;
  transform: rotate(5deg);
  z-index: 1;
  display: none;
}

@media (min-width: 640px) {
  .sx-mode-shot-secondary {
    display: block;
  }
}

.sx-mode-shot-primary img,
.sx-mode-shot-secondary img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top;
}

/* Feature Cards with soft tinted icon tiles (reference image style) */
.sx-feature-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sx-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sx-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem;
  border-radius: 22px;
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  box-shadow: var(--sx-shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.sx-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sx-tone-blue { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.sx-tone-emerald { background: rgba(16, 185, 129, 0.12); color: #059669; }
.sx-tone-violet { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
.sx-tone-amber { background: rgba(245, 158, 11, 0.14); color: #d97706; }
.sx-tone-cyan { background: rgba(6, 182, 212, 0.14); color: #0891b2; }

html.dark .sx-tone-blue { background: rgba(59, 130, 246, 0.18); color: #60a5fa; }
html.dark .sx-tone-emerald { background: rgba(16, 185, 129, 0.18); color: #34d399; }
html.dark .sx-tone-violet { background: rgba(139, 92, 246, 0.18); color: #a78bfa; }
html.dark .sx-tone-amber { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
html.dark .sx-tone-cyan { background: rgba(6, 182, 212, 0.18); color: #22d3ee; }

/* Privacy Companion Split ("More Than a Browser" section) */
.sx-split-about {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sx-split-about {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

.sx-about-visual {
  position: relative;
  border-radius: 30px;
  padding: 2.5rem 1.75rem;
  background: radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.28) 0%, transparent 48%),
              linear-gradient(145deg, #173ec6 0%, #0d216f 55%, #071344 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 430px;
  overflow: hidden;
  box-shadow: 0 28px 65px rgba(13, 33, 111, 0.28);
}

html.dark .sx-about-visual {
  background: radial-gradient(circle at 20% 15%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
              linear-gradient(145deg, #0d2159 0%, #050b1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.75);
}

.sx-about-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  z-index: 2;
}

.sx-about-phone-back {
  width: 168px;
  border-radius: 24px;
  padding: 5px;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
  transform: rotate(7deg) translate(48px, 18px);
  display: none;
}

@media (min-width: 480px) {
  .sx-about-phone-back {
    display: block;
  }
}

.sx-about-phone-back img {
  border-radius: 19px;
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top;
}

.sx-about-phone {
  position: relative;
  width: 204px;
  border-radius: 28px;
  padding: 6px;
  background: linear-gradient(160deg, #1e293b 0%, #060911 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.52);
  z-index: 2;
}

@media (min-width: 480px) {
  .sx-about-phone {
    margin-right: -76px;
    transform: rotate(-3deg);
  }
}

.sx-about-phone img {
  border-radius: 22px;
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top;
}

.sx-about-card-float {
  position: absolute;
  right: 0;
  bottom: -10px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 1rem 1.15rem;
  width: 215px;
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html.dark .sx-about-card-float {
  background: rgba(11, 15, 24, 0.94);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Privacy Guarantee 2x2 Cards */
.sx-privacy-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sx-privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.sx-privacy-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--sx-border);
  background: var(--sx-surface);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--sx-shadow-sm);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

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

.sx-privacy-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Gallery Stage */
.sx-gallery-layout {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .sx-gallery-layout {
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
  }
}

.sx-preview-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 28px;
  padding: 1.5rem 1.5rem 1.75rem;
  background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 65%), var(--sx-bg-alt);
  border: 1px solid var(--sx-border);
  overflow: hidden;
}

html.dark .sx-preview-stage {
  background: radial-gradient(circle at 50% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 65%), #070b13;
}

.sx-preview-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.sx-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

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

.sx-shot-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 0.55rem;
  text-align: left;
  border: 1px solid var(--sx-border);
  background: var(--sx-surface);
  box-shadow: var(--sx-shadow-sm);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.sx-shot-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--sx-border-strong);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.sx-shot-thumb.is-active {
  border: 2px solid #2563eb;
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
}

html.dark .sx-shot-thumb.is-active {
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.09);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.14);
}

.sx-shot-thumb-media {
  position: relative;
  height: 122px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--sx-border);
  background: #0b0f18;
}

.sx-shot-thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 240ms ease;
}

.sx-shot-thumb:hover .sx-shot-thumb-media img {
  transform: scale(1.03);
}

.sx-shot-num {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
}

.sx-shot-thumb.is-active .sx-shot-num {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

/* Lightbox modal */
.sx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 6, 23, 0.84);
  backdrop-filter: blur(10px);
}

.sx-lightbox.is-open {
  display: flex;
}

/* CTA Banner */
.sx-cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 2.25rem;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #1638b8 60%, #0e7490 100%);
  box-shadow: var(--sx-shadow-lg);
}

@media (min-width: 640px) {
  .sx-cta-banner {
    padding: 3.5rem;
  }
}

html.dark .sx-cta-banner {
  background: linear-gradient(135deg, #090d16 0%, #0f2475 65%, #083344 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Helper cards for Privacy & Licenses pages */
.sx-doc-card {
  border-radius: 20px;
  border: 1px solid var(--sx-border);
  background: var(--sx-surface);
  padding: 1.5rem;
  box-shadow: var(--sx-shadow-sm);
}

@media (min-width: 640px) {
  .sx-doc-card {
    padding: 2rem;
  }
}

/* Utility classes supplement for elements added in the redesigned UI */
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.top-5 { top: 1.25rem; }
.top-6 { top: 1.5rem; }
.top-14 { top: 3.5rem; }
.left-12 { left: 3rem; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.right-8 { right: 2rem; }
.bottom-4 { bottom: 1rem; }
.h-24 { height: 6rem; }
.h-28 { height: 7rem; }
.h-32 { height: 8rem; }
.h-\[452px\] { height: 452px; }
.w-24 { width: 6rem; }
.w-28 { width: 7rem; }
.w-32 { width: 8rem; }
.w-auto { width: auto; }
.max-w-\[292px\] { max-width: 292px; }
.max-w-\[1200px\] { max-width: 1200px; }
.max-h-\[76vh\] { max-height: 76vh; }
.self-end { align-self: flex-end; }
.py-5 { padding-block: 1.25rem; }
.object-contain { object-fit: contain; }
.cursor-zoom-in { cursor: zoom-in; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.tracking-\[-0\.035em\] { letter-spacing: -0.035em; }
.text-\[11px\] { font-size: 11px; line-height: 1.35; }
.text-cyan-200 { color: #a5f3fc; }
.text-slate-200 { color: #e2e8f0; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-600 { color: #059669; }
html.dark .dark\:text-emerald-400 { color: #34d399; }
html.dark .dark\:text-\[\#22d3ee\] { color: #22d3ee; }
.bg-\[\#2563eb\]\/12 { background-color: rgba(37, 99, 235, 0.12); }
html.dark .dark\:bg-\[\#06b6d4\]\/15 { background-color: rgba(6, 182, 212, 0.15); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
html.dark .dark\:bg-\[\#0b0f18\]\/95 { background-color: rgba(11, 15, 24, 0.95); }
html.dark .dark\:bg-\[\#0b0f18\] { background-color: #0b0f18; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-black\/75 { background-color: rgba(0, 0, 0, 0.75); }
.border-white\/25 { border-color: rgba(255, 255, 255, 0.25); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-slate-200\/80 { border-color: rgba(226, 232, 240, 0.8); }
.border-slate-200\/90 { border-color: rgba(226, 232, 240, 0.9); }
.divide-slate-200\/80 > :not(:last-child) { border-color: rgba(226, 232, 240, 0.8); }
.rounded-\[24px\] { border-radius: 24px; }
.rounded-\[28px\] { border-radius: 28px; }
.rounded-\[30px\] { border-radius: 30px; }
.rounded-\[36px\] { border-radius: 36px; }
.opacity-25 { opacity: 0.25; }
.opacity-35 { opacity: 0.35; }
.opacity-40 { opacity: 0.40; }
.opacity-60 { opacity: 0.60; }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.shadow-sm { box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06); }
.shadow-lg { box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14); }
.shadow-2xl { box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55); }
.shadow-\[0_24px_60px_rgba\(15\,23\,42\,0\.16\)\] { box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.hover\:bg-white\/20:hover { background-color: rgba(255, 255, 255, 0.2); }
.hover\:bg-slate-50\/70:hover { background-color: rgba(248, 250, 252, 0.7); }
html.dark .dark\:hover\:bg-white\/\[0\.03\]:hover { background-color: rgba(255, 255, 255, 0.03); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }

/* Supplemental utilities not in precompiled app.css */
.sx-check-pill {
  margin-top: 0.125rem;
  display: inline-flex;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(16, 185, 129, 0.15);
  color: #059669;
}

html.dark .sx-check-pill {
  color: #34d399;
}

.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.tracking-\[-0\.035em\] { letter-spacing: -0.035em; }
.text-\[11px\] { font-size: 11px; }
.leading-tight { line-height: 1.25; }
.max-w-xl { max-width: 36rem; }
.max-w-\[300px\] { max-width: 300px; }
.max-w-\[1200px\] { max-width: 1200px; }
.max-h-\[90vh\] { max-height: 90vh; }
.max-h-\[68vh\] { max-height: 68vh; }
.object-contain { object-fit: contain; }
.py-4\.5 { padding-block: 1.125rem; }
.pb-5 { padding-bottom: 1.25rem; }
.gap-3\.5 { gap: 0.875rem; }
.mt-7 { margin-top: 1.75rem; }
.rounded-\[28px\] { border-radius: 28px; }
.rounded-\[36px\] { border-radius: 36px; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-35 { opacity: 0.35; }
.opacity-60 { opacity: 0.6; }
.z-10 { z-index: 10; }
.inset-0 { inset: 0; }
.absolute { position: absolute; }
.top-3 { top: 0.75rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.bottom-4 { bottom: 1rem; }
.h-2 { height: 0.5rem; }
.w-2 { width: 0.5rem; }
.bg-emerald-500 { background-color: #10b981; }
.bg-emerald-500\/15 { background-color: rgba(16, 185, 129, 0.15); }
.text-emerald-600 { color: #059669; }
.text-emerald-300 { color: #6ee7b7; }
.text-cyan-200 { color: #a5f3fc; }
.text-slate-200 { color: #e2e8f0; }
.border-white\/25 { border-color: rgba(255, 255, 255, 0.25); }
.bg-black\/75 { background-color: rgba(0, 0, 0, 0.75); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.shadow-sm { box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06); }
.shadow-md { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12); }
.shadow-lg { box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14); }
.shadow-2xl { box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.hover\:bg-white\/20:hover { background-color: rgba(255, 255, 255, 0.2); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }

html.dark .dark\:text-emerald-400 { color: #34d399; }
html.dark .dark\:bg-\[\#0b0f18\] { background-color: #0b0f18; }
html.dark .dark\:bg-\[\#0b0f18\]\/95 { background-color: rgba(11, 15, 24, 0.95); }
html.dark .dark\:border-slate-200\/80 { border-color: rgba(255, 255, 255, 0.1); }

@media (min-width: 1024px) {
  .lg\:text-\[58px\] { font-size: 58px; }
}

/* Apprista-inspired 3-Step How It Works */
.sx-steps-grid {
  position: relative;
  margin-top: 3.25rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sx-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .sx-steps-grid::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 14%;
    right: 14%;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.25) 0%, rgba(6, 182, 212, 0.55) 50%, rgba(37, 99, 235, 0.25) 100%);
    z-index: 0;
    pointer-events: none;
  }
}

.sx-step-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  border-radius: 26px;
  border: 1px solid var(--sx-border);
  background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 55%), var(--sx-surface);
  box-shadow: var(--sx-shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

html.dark .sx-step-card {
  background: radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.1) 0%, transparent 55%), #090e1a;
  border-color: rgba(255, 255, 255, 0.1);
}

.sx-step-card::after {
  content: "";
  position: absolute;
  inset: 0 18% auto 18%;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.65), rgba(6, 182, 212, 0.75), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}

.sx-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.14);
}

html.dark .sx-step-card:hover {
  border-color: rgba(6, 182, 212, 0.42);
  box-shadow: 0 24px 54px rgba(6, 182, 212, 0.12);
}

.sx-step-card:hover::after {
  opacity: 1;
}

.sx-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.32);
}

.sx-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--sx-primary);
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

html.dark .sx-step-badge {
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
}

.sx-step-ghost {
  position: absolute;
  right: 1.15rem;
  bottom: 0.75rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(15, 23, 42, 0.04);
  pointer-events: none;
  user-select: none;
}

html.dark .sx-step-ghost {
  color: rgba(255, 255, 255, 0.04);
}

.sx-step-meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sx-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sx-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.62rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--sx-text-muted);
  background: var(--sx-bg-alt);
  border: 1px solid var(--sx-border);
}

html.dark .sx-step-tag {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
}

/* Unique Head-to-Head VS Split Comparison Board */
.sx-vs-wrap {
  position: relative;
  margin: 3rem auto 0;
  max-width: 980px;
}

.sx-vs-board {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--sx-border);
  box-shadow: 0 26px 68px rgba(15, 23, 42, 0.14);
}

@media (min-width: 768px) {
  .sx-vs-board {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

html.dark .sx-vs-board {
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.72);
}

.sx-vs-surfex {
  position: relative;
  padding: 2.25rem 2rem;
  color: #ffffff;
  background: radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.25) 0%, transparent 45%),
              linear-gradient(155deg, #173ec6 0%, #0d216f 60%, #071344 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .sx-vs-surfex {
    padding: 2.5rem;
  }
}

.sx-vs-others {
  padding: 2.25rem 2rem;
  background: var(--sx-surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .sx-vs-others {
    padding: 2.5rem;
  }
}

.sx-vs-badge {
  position: relative;
  z-index: 5;
  width: 48px;
  height: 48px;
  margin: -24px auto;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  border: 4px solid var(--sx-bg);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.35);
}

@media (min-width: 768px) {
  .sx-vs-badge {
    position: absolute;
    left: 52.5%;
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }
}

.sx-vs-rows {
  margin-top: 1.75rem;
}

.sx-vs-row-light {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sx-vs-row-dark {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--sx-border);
}

.sx-vs-kicker {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 0.15rem;
}

.sx-vs-check {
  margin-top: 0.15rem;
  display: inline-flex;
  height: 22px;
  width: 22px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(52, 211, 153, 0.22);
  color: #6ee7b7;
}

.sx-vs-cross {
  margin-top: 0.15rem;
  display: inline-flex;
  height: 22px;
  width: 22px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(244, 63, 94, 0.12);
  color: #e11d48;
}

html.dark .sx-vs-cross {
  background: rgba(244, 63, 94, 0.18);
  color: #fb7185;
}

/* Smooth Scroll Reveal (Apprista wow.js feel, zero external dependency) */
.sx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1), transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .sx-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Additional utility coverage for cards & responsive text */
.p-5 { padding: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-slate-950 { color: #020617; }
.duration-200 { transition-duration: 200ms; }
.bg-\[\#f8fafc\] { background-color: #f8fafc; }
.shadow-\[0_24px_60px_rgba\(15\,23\,42\,0\.16\)\] { box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16); }
html.dark .dark\:text-\[\#22d3ee\] { color: #22d3ee; }

@media (min-width: 640px) {
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
}
.text-\[10px\] { font-size: 10px; line-height: 14px; }

/* Ensure .hidden hides feature cards despite unlayered display: flex */
.sx-feature-card.hidden {
  display: none;
}

/* Bulletproof Feature Filter Pills (prevents hover:text-slate-900 dark-on-dark bug) */
.feature-filter-btn {
  color: var(--sx-text-muted);
  background: transparent;
  cursor: pointer;
}

.feature-filter-btn:hover:not(.is-active) {
  color: var(--sx-text);
  background: var(--sx-surface-muted);
}

.feature-filter-btn.is-active,
.feature-filter-btn.is-active:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

/* Preview spotlight utilities */
.max-w-\[238px\] { max-width: 238px; }
.rounded-\[32px\] { border-radius: 32px; }
.rounded-\[24px\] { border-radius: 24px; }
.aspect-\[9\/19\] { aspect-ratio: 9 / 19; }
.right-3\.5 { right: 0.875rem; }
.bottom-3\.5 { bottom: 0.875rem; }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }

/* VS Board utility helpers */
.text-cyan-100\/90 { color: rgba(207, 250, 254, 0.9); }
.bg-white\/15 { background-color: rgba(255, 255, 255, 0.15); }

/* Modern Branded Footer (status.app / Raycast inspired) */
.sx-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--sx-border);
  background: radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(6, 182, 212, 0.07) 0%, transparent 40%),
              var(--sx-bg-alt);
}

html.dark .sx-footer {
  background: radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
              #000000;
}

.sx-footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sx-footer-grid {
    grid-template-columns: 1.45fr 0.85fr 1.1fr;
    gap: 2.5rem;
  }
}

.sx-footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.sx-footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sx-text);
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.sx-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--sx-text-muted);
  transition: color 150ms ease, transform 150ms ease;
}

.sx-footer-link:hover {
  color: var(--sx-primary);
  transform: translateX(2px);
}

html.dark .sx-footer-link:hover {
  color: var(--sx-cyan);
}

.sx-footer-support-box {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  box-shadow: var(--sx-shadow-sm);
  transition: border-color 160ms ease, transform 160ms ease;
}

.sx-footer-support-box:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
}

html.dark .sx-footer-support-box:hover {
  border-color: rgba(6, 182, 212, 0.38);
}

.sx-footer-watermark {
  pointer-events: none;
  user-select: none;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
  margin-top: 2.25rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.01) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.dark .sx-footer-watermark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sx-footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sx-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--sx-text-subtle);
}

.sx-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sx-text);
  background: var(--sx-surface);
  border: 1px solid var(--sx-border);
  transition: transform 150ms ease, border-color 150ms ease;
}

.sx-top-btn:hover {
  transform: translateY(-2px);
  border-color: var(--sx-border-strong);
}
.pt-14 { padding-top: 3.5rem; }
.pb-8 { padding-bottom: 2rem; }
.tracking-wider { letter-spacing: 0.05em; }

/* About & Contact Page Components */
.sx-subhero {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0 3.5rem;
  border-bottom: 1px solid var(--sx-border);
  background: radial-gradient(circle at 80% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 15% 85%, rgba(6, 182, 212, 0.07) 0%, transparent 45%);
}

html.dark .sx-subhero {
  background: radial-gradient(circle at 80% 15%, rgba(37, 99, 235, 0.16) 0%, transparent 50%),
              radial-gradient(circle at 15% 85%, rgba(6, 182, 212, 0.1) 0%, transparent 45%);
}

.sx-contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .sx-contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 2.5rem;
  }
}

.sx-input,
.sx-select,
.sx-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--sx-border-strong);
  background: var(--sx-bg-alt);
  padding: 0.72rem 0.95rem;
  font-size: 0.875rem;
  color: var(--sx-text);
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.sx-input:focus,
.sx-select:focus,
.sx-textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: var(--sx-surface);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

html.dark .sx-input:focus,
html.dark .sx-select:focus,
html.dark .sx-textarea:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}

.sx-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sx-text);
}

/* Contact form status banner utilities */
.text-emerald-700 { color: #047857; }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
html.dark .dark\:text-emerald-300 { color: #6ee7b7; }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
html.dark .dark\:bg-\[\#0b0f18\]\/90 { background-color: rgba(11, 15, 24, 0.9); }
.rounded-\[2px\] { border-radius: 2px; }
