/* ============================================================================
 * NEXUSONE INFLUENCERS — DESIGN-LOCKED PRODUCTION STYLESHEET (assets/css/styles.css)
 * Authority: src/index.css, src/components/landing/*, DESIGN-BACKUP-README.md
 * Preserves exact oklch() + hex tokens, typography, radii, shadows, marquees,
 * tilted step/outcome cards, indigo 140° & lime 135° panels, and dark #0c0e1e sections.
 * ============================================================================ */

:root {
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  /* Hex fallbacks paired with authoritative oklch() values from src/index.css */
  --background-hex: #fbfbfa;
  --foreground-hex: #141726;
  --card-hex: #ffffff;
  --primary-hex: #3d39c6;
  --primary-fg-hex: #ffffff;
  --secondary-hex: #f3f3f0;
  --muted-hex: #f3f3f0;
  --muted-fg-hex: #626572;
  --border-hex: #e3e4e7;
  --destructive-hex: #e7000b;
  --dark-navy-hex: #0c0e1e;
  --brand-cyan-hex: #00bad7;
  --brand-lime-hex: #9ce026;
  --brand-lime-panel-hex: #b1ef4a;
  --brand-indigo-mid-hex: #4451cd;
  --success-green-hex: #00792f;

  --background: oklch(0.988 0.002 106);
  --foreground: oklch(0.21 0.03 275);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.21 0.03 275);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.21 0.03 275);
  --primary: oklch(0.45 0.21 275);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.962 0.004 106);
  --secondary-foreground: oklch(0.21 0.03 275);
  --muted: oklch(0.962 0.004 106);
  --muted-foreground: oklch(0.51 0.02 275);
  --accent: oklch(0.962 0.004 106);
  --accent-foreground: oklch(0.21 0.03 275);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.918 0.004 275);
  --input: oklch(0.918 0.004 275);
  --ring: oklch(0.45 0.21 275);
  --dark-bg: oklch(0.17 0.035 277);
  --cyan-accent: oklch(0.72 0.14 212);
  --lime-accent: oklch(0.83 0.21 129);
  --lime-btn: oklch(0.88 0.2 128);
  --lime-btn-fg: oklch(0.28 0.06 145);
}

*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border, #e3e4e7);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--background-hex);
  background-color: var(--background);
  color: var(--foreground-hex);
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

h1, h2, h3, h4, .nxo-heading {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p {
  margin: 0;
}

/* ── Brand Utility Classes (Exact match to src/index.css) ───────── */
.font-mono-label {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-gradient-text {
  background: linear-gradient(92deg, #3d39c6 0%, #5b7deb 50%, #00bad7 100%);
  background: linear-gradient(
    92deg,
    oklch(0.45 0.21 275) 0%,
    oklch(0.62 0.17 268) 50%,
    oklch(0.72 0.14 212) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kite-notch {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 22px 100%, 0 100%);
}

.dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
}

.dot-grid-light {
  background-image: radial-gradient(rgba(61, 57, 198, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
}

.shadow-brand {
  box-shadow:
    0 1px 2px rgba(20, 23, 38, 0.04),
    0 8px 24px -6px rgba(20, 23, 38, 0.08);
}

.shadow-brand-lg {
  box-shadow:
    0 2px 4px rgba(20, 23, 38, 0.03),
    0 24px 48px -12px rgba(20, 23, 38, 0.18);
}

/* ── Layout Container (max-w-6xl = 72rem / 1152px) ──────────────── */
.nxo-container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .nxo-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.nxo-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}
@media (min-width: 640px) {
  .nxo-section {
    padding-top: 6rem;
    padding-bottom: 6.5rem;
  }
}

.nxo-section-dark {
  position: relative;
  background-color: var(--dark-navy-hex);
  background-color: var(--dark-bg);
  color: #ffffff;
  overflow: hidden;
}

.nxo-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1000px 480px at 85% -5%, rgba(61, 57, 198, 0.24), transparent 70%);
}

/* ── Wordmark & Kite Brand Motifs ───────────────────────────────── */
.nxo-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  user-select: none;
}

.nxo-wordmark-icon {
  width: 1.15em;
  height: 1.15em;
  align-self: center;
  flex-shrink: 0;
}

.nxo-wordmark-accent {
  font-weight: 500;
  color: var(--primary-hex);
  color: var(--primary);
}

.nxo-section-dark .nxo-wordmark-accent,
.nxo-footer .nxo-wordmark-accent {
  color: var(--brand-cyan-hex);
  color: var(--cyan-accent);
}

/* ── Sticky Pill Header (SiteHeader.tsx) ────────────────────────── */
.nxo-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: padding 0.3s ease;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nxo-header.is-scrolled {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.nxo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nxo-pill-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(227, 228, 231, 0.75);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.375rem 0.5rem;
}

@media (min-width: 900px) {
  .nxo-pill-nav {
    display: flex;
  }
}

.nxo-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(20, 23, 38, 0.82);
  background: transparent;
  border: 0;
}

.nxo-nav-link:hover,
.nxo-nav-link:focus-visible {
  background-color: var(--secondary-hex);
  color: var(--foreground-hex);
}

/* Dropdown inside Center Pill Nav */
.nxo-dropdown {
  position: relative;
}

.nxo-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  width: 21rem;
  background: #ffffff;
  border: 1px solid var(--border-hex);
  border-radius: 1.25rem;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.nxo-dropdown:hover .nxo-dropdown-menu,
.nxo-dropdown:focus-within .nxo-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nxo-dropdown-item {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 0.85rem;
}

.nxo-dropdown-item:hover {
  background-color: var(--secondary-hex);
}

.nxo-dropdown-item-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--foreground-hex);
}

.nxo-dropdown-item-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted-fg-hex);
}

.nxo-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile Sheet Drawer */
.nxo-mobile-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-hex);
  background: rgba(255, 255, 255, 0.88);
}

@media (min-width: 900px) {
  .nxo-mobile-toggle {
    display: none;
  }
}

.nxo-mobile-sheet {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-hex);
  border-bottom-left-radius: 1.75rem;
  border-bottom-right-radius: 1.75rem;
  padding: 1.25rem 1.5rem 1.75rem;
  z-index: 80;
  transform: translateY(-105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nxo-mobile-sheet.is-open {
  transform: translateY(0);
}

.nxo-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 30, 0.45);
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.nxo-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ── Buttons & Pills ────────────────────────────────────────────── */
.nxo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nxo-btn:hover {
  transform: translateY(-2px);
}

.nxo-btn-primary {
  background-color: var(--primary-hex);
  background-color: var(--primary);
  color: #ffffff;
}

.nxo-btn-primary:hover {
  background-color: #332fb0;
}

.nxo-btn-lime {
  background-color: var(--brand-lime-panel-hex);
  background-color: var(--lime-btn);
  color: #16301c;
  color: var(--lime-btn-fg);
}

.nxo-btn-lime:hover {
  background-color: #9ce026;
}

.nxo-btn-outline {
  border-color: rgba(20, 23, 38, 0.16);
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--foreground-hex);
}

.nxo-btn-outline:hover {
  background-color: var(--secondary-hex);
}

.nxo-btn-outline-light {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nxo-btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.nxo-btn-lg {
  height: 3rem;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.nxo-btn-sm {
  height: 2.35rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.8125rem;
}

/* ── Hero Section (Hero.tsx) ────────────────────────────────────── */
.nxo-hero {
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 5rem;
}
@media (min-width: 640px) {
  .nxo-hero {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
}

.nxo-hero-wash-right {
  position: absolute;
  top: -8rem;
  right: -10%;
  width: 560px;
  height: 560px;
  border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(0, 186, 215, 0.16), transparent);
  pointer-events: none;
  z-index: -1;
}

.nxo-hero-wash-left {
  position: absolute;
  top: 6rem;
  left: -12%;
  width: 480px;
  height: 480px;
  border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(61, 57, 198, 0.11), transparent);
  pointer-events: none;
  z-index: -1;
}

.nxo-hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .nxo-hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.5rem;
  }
}

.nxo-hero-title {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
}

.nxo-hero-lead {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--muted-fg-hex);
}

.nxo-hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.nxo-hero-trust {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nxo-avatar-stack {
  display: flex;
}

.nxo-avatar-pill {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 800;
  border: 2px solid var(--background-hex);
  margin-left: -0.6rem;
}
.nxo-avatar-pill:first-child {
  margin-left: 0;
}

.nxo-hero-card-wrap {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.nxo-hero-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

.nxo-hero-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 4.1;
  object-fit: cover;
}

.nxo-hero-photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 7.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  pointer-events: none;
}

.nxo-hero-tag-pill {
  display: inline-block;
  margin: 0 0.375rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(20, 23, 38, 0.85);
  white-space: nowrap;
}

/* ── Infinite Marquee & Animations (src/index.css) ──────────────── */
.marquee-hover-pause {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: var(--marquee-gap, 0px);
  animation: marquee var(--marquee-duration, 36s) linear infinite;
}

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

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes bob {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(-2deg); }
}

@keyframes sway {
  0%, 100% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-bob {
  animation: bob 6s ease-in-out infinite;
  transform-origin: top center;
}

.animate-sway {
  animation: sway 10s ease-in-out infinite;
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

/* Scroll reveal (primitives.tsx Reveal) */
.nxo-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .animate-bob,
  .animate-sway,
  .animate-float,
  .nxo-rotating-ring {
    animation: none !important;
  }
  .nxo-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Rounded Brand Panels (Indigo 140° & Lime 135°) ─────────────── */
.nxo-indigo-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, #3929c1 0%, #404dd8 45%, #326ad9 100%);
  color: #ffffff;
  padding: 3.5rem 1.5rem 4rem;
  box-shadow: 0 40px 80px -30px rgba(61, 57, 198, 0.55);
}
@media (min-width: 640px) {
  .nxo-indigo-panel {
    padding: 4rem 3rem 4.5rem;
  }
}

.nxo-lime-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, #aff03c 0%, #bde000 55%, #cacf00 100%);
  color: #04270f;
  padding: 3.5rem 1.5rem;
  box-shadow: 0 32px 64px -24px rgba(156, 224, 38, 0.48);
}
@media (min-width: 640px) {
  .nxo-lime-panel {
    padding: 4rem 3rem;
  }
}

/* ── Tilted Step & Outcome Cards (DarkSections.tsx) ─────────────── */
.nxo-tilted-steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .nxo-tilted-steps {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.nxo-step-card {
  border-radius: 1.75rem;
  padding: 1.75rem;
  transition: transform 0.3s ease;
}

.nxo-step-card:hover {
  transform: scale(1.03) rotate(0deg) !important;
}

.nxo-step-lime {
  background-color: #b1ef4a;
  color: #16301c;
  box-shadow: 0 18px 40px -12px rgba(156, 224, 38, 0.45);
}
@media (min-width: 768px) {
  .nxo-step-lime { transform: rotate(-4deg); }
}

.nxo-step-white {
  background-color: #ffffff;
  color: #141726;
  box-shadow: 0 24px 48px -12px rgba(20, 23, 38, 0.4);
  z-index: 2;
}

.nxo-step-cyan {
  background-color: #00b8d8;
  color: #000e21;
  box-shadow: 0 18px 40px -12px rgba(0, 186, 215, 0.45);
}
@media (min-width: 768px) {
  .nxo-step-cyan { transform: rotate(4deg); }
}

.nxo-outcome-grid {
  display: grid;
  gap: 1.35rem;
  margin-top: 3rem;
}
@media (min-width: 640px) {
  .nxo-outcome-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .nxo-outcome-grid { grid-template-columns: repeat(4, 1fr); }
}

.nxo-outcome-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2.35rem 1.5rem 1.5rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.nxo-outcome-card:hover {
  transform: scale(1.03) rotate(0deg) !important;
}

.nxo-outcome-indigo {
  background-color: #4b46ec;
  color: #ffffff;
}
@media (min-width: 1024px) { .nxo-outcome-indigo { transform: rotate(-2.5deg); } }

.nxo-outcome-white {
  background-color: #ffffff;
  color: #141726;
}
@media (min-width: 1024px) { .nxo-outcome-white { transform: rotate(2deg); } }

.nxo-outcome-cyan {
  background-color: #00b8d8;
  color: #000e21;
}
@media (min-width: 1024px) { .nxo-outcome-cyan { transform: rotate(-2deg); } }

.nxo-outcome-badge-icon {
  position: absolute;
  top: -1.25rem;
  left: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 4px solid #0c0e1e;
}

/* ── Standard Cards & Grids ─────────────────────────────────────── */
.nxo-grid-2 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .nxo-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.nxo-grid-3 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .nxo-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .nxo-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.nxo-grid-4 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .nxo-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .nxo-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.nxo-card {
  background-color: #ffffff;
  border: 1px solid rgba(227, 228, 231, 0.85);
  border-radius: 1.5rem;
  padding: 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nxo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 57, 198, 0.35);
}

.nxo-card-dark {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  padding: 1.6rem;
  color: #ffffff;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.nxo-card-dark:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 186, 215, 0.45);
}

.nxo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--secondary-hex);
  color: var(--foreground-hex);
}

.nxo-chip-lime {
  background-color: #b1ef4a;
  color: #16301c;
}

.nxo-chip-primary {
  background-color: rgba(61, 57, 198, 0.1);
  color: var(--primary-hex);
}

.nxo-chip-dark {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

/* ── Creator Directory Card (CreatorsCatalog.tsx) ───────────────── */
.nxo-creator-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(227, 228, 231, 0.85);
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nxo-creator-card:hover {
  transform: translateY(-4px);
}

.nxo-creator-cover {
  position: relative;
  height: 10rem;
  overflow: hidden;
  background: #141726;
}

.nxo-creator-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nxo-creator-card:hover .nxo-creator-cover img {
  transform: scale(1.05);
}

.nxo-creator-body {
  padding: 0 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nxo-creator-avatar-row {
  margin-top: -2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.nxo-creator-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  border: 4px solid #ffffff;
  overflow: hidden;
  background: var(--secondary-hex);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.nxo-creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Accessible FAQ Accordion (Section 16) ──────────────────────── */
.nxo-faq-list {
  display: grid;
  gap: 0.85rem;
}

.nxo-faq-item {
  border: 1px solid var(--border-hex);
  border-radius: 1.25rem;
  background: #ffffff;
  overflow: hidden;
}

.nxo-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground-hex);
  cursor: pointer;
}

.nxo-faq-trigger:hover {
  background-color: rgba(243, 243, 240, 0.55);
}

.nxo-faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--primary-hex);
}

.nxo-faq-item.is-open .nxo-faq-icon {
  transform: rotate(180deg);
}

.nxo-faq-panel {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.885rem;
  line-height: 1.7;
  color: var(--muted-fg-hex);
  border-top: 1px solid rgba(227, 228, 231, 0.5);
}

.nxo-faq-panel p + p {
  margin-top: 0.75rem;
}

/* ── Forms & Inputs (StrategySection.tsx) ───────────────────────── */
.nxo-form-card {
  background: #ffffff;
  border: 1px solid rgba(227, 228, 231, 0.85);
  border-radius: 2rem;
  padding: 1.75rem;
}
@media (min-width: 640px) {
  .nxo-form-card { padding: 2.25rem; }
}

.nxo-field {
  display: grid;
  gap: 0.4rem;
}

.nxo-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground-hex);
}

.nxo-input,
.nxo-select,
.nxo-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--foreground-hex);
  background-color: rgba(243, 243, 240, 0.75);
  border: 1px solid var(--border-hex);
  border-radius: 0.85rem;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nxo-input,
.nxo-select {
  height: 2.75rem;
}

.nxo-input:focus,
.nxo-select:focus,
.nxo-textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--primary-hex);
  box-shadow: 0 0 0 3px rgba(61, 57, 198, 0.14);
}

/* ── Rotating Footer Badge & Comprehensive Footer (SiteFooter.tsx) ─ */
.nxo-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--dark-navy-hex);
  background-color: var(--dark-bg);
  color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}

.nxo-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 400px at 15% 115%, rgba(61, 57, 198, 0.25), transparent 70%);
}

.nxo-rotating-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
}

.nxo-rotating-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spinSlow 14s linear infinite;
}

.nxo-rotating-text {
  fill: #9ce026;
  fill: var(--lime-accent);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.nxo-rotating-center-kite {
  width: 2rem;
  height: 2rem;
}

/* ── Breadcrumbs, Alerts & Tables ───────────────────────────────── */
.nxo-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-fg-hex);
}

.nxo-breadcrumbs a:hover {
  color: var(--primary-hex);
}

.nxo-alert {
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
}

.nxo-alert-success {
  background-color: rgba(0, 121, 47, 0.08);
  border-color: rgba(0, 121, 47, 0.25);
  color: #005a22;
}

.nxo-alert-warning {
  background-color: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
  color: #92400e;
}

.nxo-alert-error {
  background-color: rgba(231, 0, 11, 0.08);
  border-color: rgba(231, 0, 11, 0.25);
  color: #b91c1c;
}

.nxo-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.nxo-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-hex);
  border-radius: 1.25rem;
  background: #ffffff;
}

.nxo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.nxo-table th,
.nxo-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-hex);
}

.nxo-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg-hex);
  background: rgba(243, 243, 240, 0.6);
}


/* ==========================================================================
   Batch 2 Public Pages, Creator Directory & Mobile Filter Drawer
   ========================================================================== */
.nxo-directory-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2rem;
  align-items: start;
}
.nxo-filter-drawer-header {
  display: none;
}
.nxo-mobile-filter-btn {
  display: none;
}
.nxo-prose h2, .nxo-prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--nxo-text-heading, #0c0e1e);
}
.nxo-prose p, .nxo-prose ul, .nxo-prose ol {
  margin-bottom: 1rem;
}
.nxo-prose ul, .nxo-prose ol {
  padding-left: 1.35rem;
}
.nxo-prose a {
  color: var(--nxo-indigo, #4e36e2);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .nxo-directory-layout {
    grid-template-columns: 1fr;
  }
  .nxo-mobile-filter-btn {
    display: inline-flex;
  }
  .nxo-filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(360px, 90vw);
    background: #fbfbfa;
    z-index: 1200;
    overflow-y: auto;
    padding: 1.25rem;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 0 20px 50px rgba(12, 14, 30, 0.25);
  }
  .nxo-filter-sidebar.is-open {
    transform: translateX(0);
  }
  .nxo-filter-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--nxo-border);
  }
  .nxo-filter-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--nxo-text-heading);
  }
  .nxo-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 14, 30, 0.55);
    z-index: 1190;
  }
}

/* ============================================================================
 * Batch 4 Accessibility, Reduced Motion & 320px–1920px Responsive Safeguards
 * ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.nxo-hero-grid > *,
.nxo-grid-2 > *,
.nxo-grid-3 > *,
.nxo-grid-4 > *,
.nxo-dashboard-shell > * {
  min-width: 0;
  max-width: 100%;
}

.nxo-dashboard-shell {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .nxo-dashboard-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .nxo-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nxo-h1 {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
    word-break: break-word;
  }
}

.nxo-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
