/* ═══════════════════════════════════════════════════
   ONE CIRCLE — main.css v3.0
   Landing page · Global design system
   ═══════════════════════════════════════════════════ */

/* ─────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────── */
:root {
  /* Page max width */
  --page-max: 1180px;

  /* Background levels */
  --bg: #EDF5EE;
  --surface: #FFFFFF;
  --surface-2: #E3EFE5;
  --surface-3: #D4EBD7;

  /* Borders */
  --border: #BDD6C1;
  --border-strong: #8CB79B;

  /* Text */
  --ink: #0D1F0E;
  --ink-2: #1E3B22;
  --ink-3: #3D6047;
  --ink-4: #6D9475;

  /* Brand — green palette */
  --blue: #173831;
  --blue-mid: #235347;
  --blue-light: #DBF0DD;
  --purple: #051F20;
  --purple-light: #8CB79B;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(5, 31, 32, .05);
  --sh-sm: 0 2px 8px rgba(5, 31, 32, .07);
  --sh-md: 0 4px 16px rgba(5, 31, 32, .09);
  --sh-lg: 0 8px 32px rgba(5, 31, 32, .11);
  --sh-xl: 0 16px 56px rgba(5, 31, 32, .13);

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-2xl: 48px;
  --r-pill: 9999px;

  /* Brand gradient */
  --gradient-brand: linear-gradient(135deg, #235347 0%, #051F20 100%);

  /* Typography */
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

/* ─────────────────────────────────────
   ICON HELPER (Lucide Icons)
───────────────────────────────────── */
.icon {
  display: inline-flex;
  align-items: center;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* ─────────────────────────────────────
   RESET & BASE
───────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

/* ─────────────────────────────────────
   NAVIGATION
───────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 100;
  padding: 0 2rem;
  border-radius: 0;
  background: rgba(237, 245, 238, .88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(189, 214, 193, .7);
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  transition:
    top .5s cubic-bezier(.16, 1, .3, 1),
    width .5s cubic-bezier(.16, 1, .3, 1),
    border-radius .5s cubic-bezier(.16, 1, .3, 1),
    padding .5s cubic-bezier(.16, 1, .3, 1),
    box-shadow .3s,
    background .3s,
    border-color .3s;
}

/* Floating pill state — triggered on scroll */
#main-nav.nav-floating {
  top: 14px;
  width: min(900px, calc(100% - 2.5rem));
  border-radius: 9999px;
  padding: 0 1.625rem;
  border-bottom-color: rgba(189, 214, 193, .35);
  border-left-color: rgba(189, 214, 193, .35);
  border-right-color: rgba(189, 214, 193, .35);
  background: rgba(237, 245, 238, .92);
  box-shadow: 0 4px 24px rgba(5, 31, 32, .08), 0 1px 4px rgba(5, 31, 32, .05);
}

/* Landing hero overlay state */
#main-nav.nav-on-dark {
  background: rgba(255, 250, 244, .42) !important;
  border-bottom-color: rgba(59, 130, 246, .12) !important;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  box-shadow: none !important;
}

#main-nav.nav-floating.nav-on-dark {
  background: rgba(255, 250, 244, .74) !important;
  border-bottom-color: rgba(59, 130, 246, .14) !important;
  border-left-color: rgba(59, 130, 246, .14) !important;
  border-right-color: rgba(59, 130, 246, .14) !important;
  box-shadow: 0 10px 28px rgba(24, 37, 61, .08) !important;
}

#main-nav.nav-on-dark .brand-wordmark,
#main-nav.nav-on-dark .brand-name {
  color: var(--ink);
}

#main-nav.nav-on-dark .brand-dot {
  color: inherit;
}

#main-nav.nav-on-dark .btn-ghost {
  color: #fff;
  background: linear-gradient(135deg, #24493f 0%, #0b211d 100%);
  border: 1px solid rgba(255, 255, 255, .08);
}

#main-nav.nav-on-dark .btn-ghost:hover {
  color: #fff;
  background: linear-gradient(135deg, #2b5549 0%, #102823 100%);
}

#main-nav.nav-on-dark .btn-primary-sm {
  background: linear-gradient(135deg, #24493f 0%, #0b211d 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
}

#main-nav.nav-on-dark .btn-primary-sm:hover {
  background: linear-gradient(135deg, #2b5549 0%, #102823 100%);
}

#main-nav.nav-on-dark .premium-lang-toggle {
  background: rgba(255, 255, 255, .45);
  border-color: rgba(17, 24, 39, .08);
}

#main-nav.nav-on-dark .pl-btn {
  color: rgba(17, 24, 39, .45);
}

#main-nav.nav-on-dark .pl-btn.active {
  background: rgba(17, 24, 39, .08);
  color: var(--ink);
  box-shadow: none;
}

.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo — Libance wordmark */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-wordmark {
  font-family: 'Outfit', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1;
}

.brand-wordmark--footer {
  font-size: 1.5rem;
}

.brand-dot {
  color: inherit;
}

/* Legacy — keep for any remaining references */
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .625rem;
}

/* Language toggle */
.premium-lang-toggle {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px;
}

.pl-btn {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-4);
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  padding: .25rem .625rem;
  transition: all .2s;
  line-height: 1.4;
}

.pl-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-xs);
}

.pl-btn:hover:not(.active) {
  color: var(--ink-2);
}

/* Ghost nav button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-3);
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  transition: all .2s;
}

.btn-ghost:hover {
  color: var(--ink);
  background: var(--surface-3);
}

/* Shared landing button skin */
.landing-body .btn-primary-sm,
.landing-body .btn-primary-glow,
.landing-body .btn-ghost-dark,
.landing-body .nx-card-arrow,
.landing-body #main-nav .btn-ghost {
  color: #fff;
  background: linear-gradient(135deg, #24493f 0%, #0b211d 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 24px rgba(12, 27, 23, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.landing-body .btn-primary-sm:hover,
.landing-body .btn-primary-glow:hover,
.landing-body .btn-ghost-dark:hover,
.landing-body .nx-card:hover .nx-card-arrow,
.landing-body #main-nav .btn-ghost:hover {
  color: #fff;
  background: linear-gradient(135deg, #2b5549 0%, #102823 100%);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 14px 30px rgba(12, 27, 23, .22), inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: translateY(-1px);
  filter: none;
}

/* Small primary button */
.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: .5rem 1.25rem;
  border-radius: var(--r-pill);
  border: none;
  transition: all .22s;
}

.btn-primary-sm:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

/* Large CTA primary */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: .875rem 2.125rem;
  border-radius: var(--r-pill);
  border: none;
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 8px rgba(59, 130, 246, .12), 0 12px 30px rgba(24, 37, 61, .22);
}

/* Large CTA ghost */
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  padding: .875rem 2.125rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border-strong);
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-ghost-dark:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

/* Glass panel utility */
.glass-panel {
  background: var(--surface);
  border: 1px solid var(--border);
}

/* ─────────────────────────────────────
   MAIN WRAPPER
───────────────────────────────────── */
.nx-main {
  padding-top: 0;
}

/* ─────────────────────────────────────
   HERO — Cinematic dark
───────────────────────────────────── */
.nx-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(64px + 6rem) 2rem 5rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(95, 160, 255, .22), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(255, 122, 89, .18), transparent 28%),
    linear-gradient(135deg, #f7f2e8 0%, #f1ebe1 44%, #e9edf6 100%);
}

/* Background art layer */
.nx-hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Cinematic photo overlay */
.nx-hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  opacity: .08;
  z-index: 0;
  mix-blend-mode: luminosity;
}

/* Soft editorial overlay */
.nx-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), transparent 55%),
    linear-gradient(160deg, rgba(247, 242, 232, .7) 0%, rgba(233, 237, 246, .4) 54%, rgba(12, 18, 28, .08) 100%);
  z-index: 1;
}

/* Dot-grid texture */
.nx-art-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(10, 18, 30, .1) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255, 255, 255, .25), transparent 45%);
  background-size: 34px 34px, 100% 100%;
  opacity: .55;
  z-index: 2;
}

/* Profession SVG illustrations — kept for compatibility */
.nx-art-piece {
  position: absolute;
  pointer-events: none;
  color: var(--ink);
  z-index: 2;
}

.nx-art-sphere {
  top: 6%;
  right: 3%;
  width: clamp(180px, 22vw, 340px);
  opacity: .055;
  animation: artFloat 10s ease-in-out infinite;
}

.nx-art-compass {
  bottom: 8%;
  left: 2%;
  width: clamp(120px, 14vw, 220px);
  opacity: .055;
  animation: artFloat 12s ease-in-out infinite reverse 1s;
}

.nx-art-geo {
  top: 12%;
  left: 6%;
  width: clamp(100px, 11vw, 180px);
  opacity: .05;
  animation: artFloat 9s ease-in-out infinite 2s;
}

.nx-art-pen {
  bottom: 18%;
  right: 10%;
  width: clamp(70px, 8vw, 120px);
  opacity: .05;
  animation: artFloat 11s ease-in-out infinite .5s;
}

.nx-art-code-bg {
  top: 35%;
  right: 1%;
  opacity: .04;
  animation: artFloat 14s ease-in-out infinite 3s;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: clamp(.6rem, 1vw, .8rem);
  line-height: 1.8;
  color: var(--ink);
  white-space: pre;
  pointer-events: none;
}

@keyframes artFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-10px) rotate(.8deg);
  }

  66% {
    transform: translateY(6px) rotate(-.5deg);
  }
}

/* Floating skill tags in background */
.nx-skill-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
  mix-blend-mode: screen;
}

.nx-stag {
  position: absolute;
  font-size: .7rem;
  font-weight: 700;
  color: rgba(13, 20, 33, .78);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(36, 57, 88, .12);
  border-radius: var(--r-pill);
  padding: .3rem .85rem;
  white-space: nowrap;
  opacity: 0;
  box-shadow: 0 20px 45px rgba(33, 43, 64, .08);
  backdrop-filter: blur(10px);
  animation: tagFloat var(--dur, 9s) ease-in-out infinite var(--del, 0s);
}

.nx-hero-shell {
  position: relative;
  z-index: 4;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

@keyframes tagFloat {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  15% {
    opacity: 1;
  }

  50% {
    opacity: 1;
    transform: translateY(-14px);
  }

  85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

/* Hero content */
.nx-hero-content {
  position: relative;
  z-index: 4;
  text-align: left;
  max-width: 740px;
  margin: 0;
}

.nx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(35, 83, 71, .12);
  border-radius: var(--r-pill);
  padding: .45rem 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #1a3553;
  margin-bottom: 2.25rem;
  box-shadow: 0 18px 44px rgba(26, 44, 71, .08);
  backdrop-filter: blur(10px);
}

.nx-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff7a59;
  box-shadow: 0 0 0 3px rgba(255, 122, 89, .18);
  flex-shrink: 0;
  animation: dotPulse 2.5s ease infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 122, 89, .18);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(255, 122, 89, .1);
  }
}

.nx-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.035em;
  color: #111827;
  margin-bottom: 1.5rem;
}

/* Gradient accent text */
.nx-title-glow {
  background: linear-gradient(100deg, #1e3a8a 0%, #3b82f6 38%, #ff7a59 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nx-subtitle {
  font-size: clamp(.975rem, 1.5vw, 1.175rem);
  font-weight: 400;
  color: rgba(17, 24, 39, .72);
  max-width: 560px;
  margin: 0 0 2.75rem;
  line-height: 1.8;
}

.nx-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.nx-hero-trust-indicator {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(17, 24, 39, .55);
  font-weight: 500;
}

/* Hero CTA ghost button adapted for light background */
.nx-hero .btn-ghost-dark {
  color: #111827;
  background: rgba(255, 255, 255, .56);
  border-color: rgba(17, 24, 39, .14);
  box-shadow: 0 16px 34px rgba(20, 28, 43, .08);
}

.nx-hero .btn-ghost-dark:hover {
  color: #111827;
  background: rgba(255, 255, 255, .82);
  border-color: rgba(17, 24, 39, .22);
  box-shadow: 0 18px 40px rgba(20, 28, 43, .12);
}

.nx-hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(30, 58, 138, .12);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .52), rgba(255, 255, 255, 0));
}

.nx-hero-orbit--one {
  width: 520px;
  height: 520px;
  background-color: rgba(91, 140, 255, .08);
}

.nx-hero-orbit--two {
  width: 360px;
  height: 360px;
  transform: translate(90px, -45px);
  background-color: rgba(255, 122, 89, .09);
}

.nx-hero-panel {
  position: absolute;
  border-radius: 30px;
  border: 1px solid rgba(17, 24, 39, .08);
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 28px 80px rgba(18, 26, 41, .16);
  backdrop-filter: blur(18px);
}

.nx-hero-panel--primary {
  width: min(100%, 430px);
  padding: 1.5rem;
  transform: translate(-20px, -12px) rotate(-3deg);
}

.nx-hero-panel--secondary {
  right: -1.25rem;
  bottom: 2.6rem;
  width: 220px;
  padding: 1.25rem;
  transform: rotate(6deg);
}

.nx-panel-kicker,
.nx-panel-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nx-panel-kicker {
  color: #3b82f6;
  margin-bottom: 1rem;
}

.nx-panel-label {
  color: rgba(17, 24, 39, .45);
}

.nx-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.nx-panel-head h3 {
  margin: .35rem 0 0;
  font-size: 1.65rem;
  line-height: 1.05;
  color: #111827;
}

.nx-panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.nx-panel-list {
  display: grid;
  gap: .85rem;
}

.nx-panel-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .9rem 1rem;
  border-radius: 20px;
  background: rgba(248, 250, 252, .84);
  border: 1px solid rgba(148, 163, 184, .16);
}

.nx-panel-item strong,
.nx-signal-row strong {
  display: block;
  color: #111827;
}

.nx-panel-item span {
  font-size: .82rem;
  color: rgba(17, 24, 39, .56);
}

.nx-panel-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.nx-panel-avatar--blue {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.nx-panel-avatar--green {
  background: linear-gradient(135deg, #0f766e, #34d399);
}

.nx-panel-avatar--gold {
  background: linear-gradient(135deg, #c2410c, #fb923c);
}

.nx-panel-avatar--plum {
  background: linear-gradient(135deg, #7c3aed, #c084fc);
}

.nx-signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .95rem;
  font-size: .86rem;
  color: rgba(17, 24, 39, .58);
}

.nx-signal-bar {
  margin-top: .7rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .22);
  overflow: hidden;
}

.nx-signal-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #3b82f6, #ff7a59);
}

/* ─────────────────────────────────────
   SECTION EYEBROW LABEL
───────────────────────────────────── */
.nx-eyebrow {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 1rem;
  padding: .3rem .875rem;
  background: var(--blue-light);
  border-radius: var(--r-pill);
}

.nx-eyebrow--light {
  color: #8CB79B;
  background: rgba(141, 183, 155, .15);
}

/* ─────────────────────────────────────
   TRUST / MARQUEE
───────────────────────────────────── */
.nx-trust {
  --section-fade-rgb: 237, 245, 238;
  padding: 1.85rem 0 2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, .05), transparent 42%),
    linear-gradient(180deg, #edf5ee 0%, #e8f2ea 100%);
  overflow: hidden;
  border-top: 1px solid rgba(17, 24, 39, .05);
  border-bottom: 1px solid rgba(17, 24, 39, .05);
}

.nx-trust-label {
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, .42);
  margin-bottom: 1rem;
}

.nx-marquee {
  overflow: hidden;
  padding: .4rem .9rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  border: 1px solid rgba(17, 24, 39, .06);
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
  backdrop-filter: blur(10px);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.nx-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: .5rem;
  animation: marquee 42s linear infinite;
}

.nx-marquee-track span {
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
}

.nx-role-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .45rem .8rem;
  color: rgba(17, 24, 39, .78);
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .28));
  border: 1px solid rgba(17, 24, 39, .04);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .52);
  letter-spacing: -.01em;
}

.nx-dot {
  width: 16px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(17, 24, 39, .06), rgba(17, 24, 39, .18), rgba(17, 24, 39, .06));
  box-shadow: none;
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─────────────────────────────────────
   SECTION SHARED
───────────────────────────────────── */
.nx-cat-wrap,
.nx-bento-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
}

.nx-main>section:not(.nx-hero) {
  position: relative;
}

.nx-main>section:not(.nx-hero)::before {
  content: none;
}

.nx-main>section:not(.nx-hero)>* {
  position: relative;
  z-index: 2;
}

.nx-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.nx-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: .625rem;
  line-height: 1.1;
}

.nx-section-header p {
  font-size: 1.0625rem;
  color: var(--ink-3);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Editorial section label */
.nx-section-label {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 1.125rem;
}

.nx-section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blue-mid);
  opacity: .55;
  border-radius: 2px;
}

/* ─────────────────────────────────────
   STATS STRIP
───────────────────────────────────── */
.nx-stats-strip {
  padding: 6rem 2rem;
  background: #173831;
  position: relative;
  overflow: hidden;
}

.nx-stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 183, 155, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 183, 155, .06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.nx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--page-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .nx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .nx-stats-grid {
    grid-template-columns: 1fr;
  }
}

.nx-stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, .07);
}

.nx-stat-item:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .nx-stat-item:nth-child(2) {
    border-right: none;
  }

  .nx-stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .nx-stat-item:last-child,
  .nx-stat-item:nth-last-child(2) {
    border-bottom: none;
  }
}

.nx-stat-val {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1;
  margin-bottom: .5rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, .7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nx-stat-label {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  font-weight: 600;
  letter-spacing: .01em;
}

/* ─────────────────────────────────────
   DUAL EXPERIENCE
───────────────────────────────────── */
.nx-dual-sec {
  padding: 7rem 2rem;
  background: linear-gradient(180deg, #e8f2ea 0%, #f6faf7 12%, #ffffff 28%, #ffffff 100%);
}

.nx-dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .nx-dual-cards {
    grid-template-columns: 1fr;
  }
}

.nx-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.75rem;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, border-color .3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.nx-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-xl);
}

.nx-card-client:hover {
  border-color: var(--blue-light);
}

.nx-card-expert:hover {
  border-color: var(--purple-light);
}

.nx-card-glow-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}

.nx-card-client .nx-card-glow-bg {
  background: radial-gradient(ellipse at 20% 20%, rgba(30, 64, 175, .04), transparent 60%);
}

.nx-card-expert .nx-card-glow-bg {
  background: radial-gradient(ellipse at 20% 20%, rgba(109, 40, 217, .04), transparent 60%);
}

.nx-card:hover .nx-card-glow-bg {
  opacity: 1;
}

.nx-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  margin-bottom: 1.625rem;
  flex-shrink: 0;
  transition: all .3s;
}

.nx-card-client:hover .nx-card-icon {
  background: var(--blue-light);
  color: var(--blue);
  border-color: transparent;
}

.nx-card-expert:hover .nx-card-icon {
  background: var(--purple-light);
  color: var(--purple);
  border-color: transparent;
}

.nx-card-body {
  flex: 1;
}

.nx-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: .75rem;
}

.nx-card-body p {
  font-size: 1rem;
  color: var(--ink-3);
  margin-bottom: 1.875rem;
  line-height: 1.7;
}

.nx-card-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.nx-card-body ul li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.5;
}

.nx-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .875rem 1.5rem;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 700;
  border: none;
  transition: filter .2s, transform .2s, box-shadow .2s;
  margin-top: auto;
}

.nx-card:hover .nx-card-arrow {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.nx-card-client .nx-card-arrow {
  background: linear-gradient(90deg, #173831, #235347);
  color: #fff;
  box-shadow: 0 4px 16px rgba(35, 83, 71, .3);
}

.nx-card-expert .nx-card-arrow {
  background: linear-gradient(90deg, #051F20, #173831);
  color: #fff;
  box-shadow: 0 4px 16px rgba(5, 31, 32, .3);
}

/* ─────────────────────────────────────
   BENTO GRID
───────────────────────────────────── */
.nx-bento-sec {
  padding: 7rem 2rem;
  background:
    radial-gradient(circle at 50% 18%, rgba(59, 130, 246, .04), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6faf7 12%, #edf5ee 30%, #e7f1e8 100%);
}

.nx-bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
}

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

.nx-bento-item {
  border-radius: var(--r-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s;
}

.nx-bento-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}

.nx-bento-item.wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nx-bento-item.square {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .nx-bento-item.wide {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.nx-bento-item.dark-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(240, 247, 241, .94));
  border: 1px solid rgba(189, 214, 193, .9);
  color: var(--ink);
}

.nx-bento-item.dark-panel h3 {
  color: var(--ink);
}

.nx-bento-item.dark-panel p {
  color: var(--ink-3);
}

.nx-bento-item.dark-panel .nx-bento-icon {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--blue-mid);
}

.nx-bento-item.highlight-panel {
  background: linear-gradient(135deg, #f6fbf6 0%, #e6f3e8 100%);
  border: 1px solid rgba(189, 214, 193, .95);
}

.nx-bento-item.highlight-panel h3 {
  color: var(--ink);
}

.nx-bento-item.highlight-panel p {
  color: var(--ink-3);
}

.nx-bento-item.highlight-panel .nx-bento-icon {
  background: #eef6ef;
  border-color: var(--border);
  color: var(--blue-mid);
}

.nx-bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.nx-bento-content {
  flex: 1;
}

.nx-bento-content h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .625rem;
}

.nx-bento-content p {
  font-size: .9375rem;
  color: var(--ink-3);
  line-height: 1.75;
}

/* Code snippet visual in wide bento */
.nx-bento-visual {
  flex-shrink: 0;
}

.visual-code {
  background: linear-gradient(180deg, #f7fbf7 0%, #edf5ee 100%);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
  min-width: 280px;
  border: 1px solid rgba(189, 214, 193, .9);
  box-shadow: var(--sh-sm);
}

.visual-code pre {
  font-size: .8rem;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  line-height: 1.8;
  white-space: pre;
  color: rgba(17, 24, 39, .62);
}

.c-kw {
  color: #2563eb;
}

.c-fn {
  color: #173831;
}

.c-str {
  color: #c2410c;
}

.c-cm {
  color: rgba(61, 96, 71, .52);
  font-style: italic;
}

/* ─────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────── */
.nx-how-sec {
  padding: 7rem 2rem;
  background: linear-gradient(180deg, #e7f1e8 0%, #f7fbf8 12%, #ffffff 28%, #ffffff 100%);
}

.nx-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

@media (max-width: 768px) {
  .nx-how-grid {
    grid-template-columns: 1fr;
  }
}

/* Connecting line between steps */
.nx-how-grid::before {
  content: '';
  position: absolute;
  top: 1.625rem;
  left: calc(16.66% + .75rem);
  right: calc(16.66% + .75rem);
  height: 1px;
  background: linear-gradient(to right, var(--blue-light), var(--purple-light));
  pointer-events: none;
}

@media (max-width: 768px) {
  .nx-how-grid::before {
    display: none;
  }
}

.nx-how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

.nx-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 900;
  margin-bottom: 1.625rem;
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--ink-4);
  box-shadow: var(--sh-xs);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.nx-how-step:hover .nx-step-num {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.12);
  box-shadow: var(--sh-md);
}

.nx-how-step h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}

.nx-how-step p {
  font-size: .925rem;
  color: var(--ink-3);
  line-height: 1.72;
  max-width: 280px;
}

/* ─────────────────────────────────────
   HOW IT WORKS — TIMELINE VARIANT
───────────────────────────────────── */
.nx-how-timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.nx-how-timeline::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 52px;
  width: 2px;
  background: linear-gradient(to bottom, #235347, #051F20);
  opacity: .4;
  border-radius: 2px;
}

.nx-timeline-step {
  display: flex;
  gap: 2rem;
  padding: 1.75rem 0;
  position: relative;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
}

.nx-timeline-step.revealed {
  opacity: 1;
  transform: translateX(0);
}

.nx-timeline-step:nth-child(1) {
  transition-delay: 0s;
}

.nx-timeline-step:nth-child(2) {
  transition-delay: .15s;
}

.nx-timeline-step:nth-child(3) {
  transition-delay: .3s;
}

.nx-tl-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--ink-4);
  z-index: 1;
  box-shadow: var(--sh-xs);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.nx-timeline-step:hover .nx-tl-num {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.1);
  box-shadow: var(--sh-md);
}

.nx-tl-body {
  padding-top: .75rem;
  flex: 1;
}

.nx-tl-body h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .45rem;
}

.nx-tl-body p {
  font-size: .925rem;
  color: var(--ink-3);
  line-height: 1.72;
  max-width: 500px;
}

/* ─────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────── */
/* Testimonials removed — kept for legacy compat */
.nx-testimonials-sec {
  display: none;
}

.nx-testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--page-max);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nx-testi-grid {
    grid-template-columns: 1fr;
  }
}

.nx-testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.75rem;
  position: relative;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s;
}

.nx-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-xl);
}

.nx-testi-quote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.75rem;
}

.nx-testi-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--blue-mid);
  line-height: 1;
  position: absolute;
  left: 0;
  top: -.25rem;
  font-style: normal;
  font-family: var(--font-serif);
  opacity: .5;
}

.nx-testi-author {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.nx-testi-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .875rem;
  flex-shrink: 0;
}

.nx-testi-name {
  font-weight: 800;
  color: var(--ink);
  font-size: .9rem;
}

.nx-testi-role {
  font-size: .78rem;
  color: var(--ink-3);
  margin-top: .15rem;
}

/* ─────────────────────────────────────
   EXPERTISE AREAS
───────────────────────────────────── */
.nx-expertise-sec {
  padding: 7rem 2rem;
  background:
    radial-gradient(circle at 50% 16%, rgba(59, 130, 246, .05), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 12%, #edf5ee 30%, #e8f2ea 100%);
}

.nx-section-header--light h2 {
  color: var(--ink);
}

.nx-section-header--light p {
  color: var(--ink-3);
}

.nx-section-header--light .nx-eyebrow {
  color: var(--blue-mid);
  background: rgba(141, 183, 155, .18);
}

.nx-exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(189, 214, 193, .95);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--sh-sm);
}

@media (max-width: 900px) {
  .nx-exp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .nx-exp-grid {
    grid-template-columns: 1fr;
  }
}

.nx-exp-card {
  background: rgba(255, 255, 255, .4);
  padding: 2.25rem 1.875rem;
  border-right: 1px solid rgba(189, 214, 193, .85);
  border-bottom: 1px solid rgba(189, 214, 193, .85);
  transition: background .2s;
}

.nx-exp-card:hover {
  background: rgba(255, 255, 255, .75);
}

.nx-exp-card:nth-child(4n) {
  border-right: none;
}

.nx-exp-card:nth-last-child(-n+4) {
  border-bottom: none;
}

@media (max-width: 900px) {
  .nx-exp-card:nth-child(2n) {
    border-right: none;
  }

  .nx-exp-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .nx-exp-card:nth-child(4n) {
    border-right: 1px solid rgba(189, 214, 193, .85);
  }

  .nx-exp-card:nth-child(odd):nth-last-child(-n+2) {
    border-bottom: none;
  }
}

.nx-exp-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(141, 183, 155, .16);
  border: 1px solid rgba(141, 183, 155, .24);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-mid);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}

.nx-exp-card:hover .nx-exp-icon {
  background: rgba(141, 183, 155, .24);
  color: var(--blue);
}

.nx-exp-name {
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}

.nx-exp-desc {
  font-size: .8125rem;
  color: var(--ink-3);
  line-height: 1.65;
}

/* ─────────────────────────────────────
   PLATFORM GUARANTEES
───────────────────────────────────── */
.nx-guarantee-sec {
  padding: 7rem 2rem;
  background: linear-gradient(180deg, #e8f2ea 0%, #f7fbf8 12%, #ffffff 28%, #fcfefd 100%);
}

.nx-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .nx-guarantee-grid {
    grid-template-columns: 1fr;
  }
}

.nx-guar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, border-color .3s;
}

.nx-guar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
  opacity: 0;
  transition: opacity .3s;
}

.nx-guar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-xl);
  border-color: var(--border-strong);
}

.nx-guar-card:hover::before {
  opacity: 1;
}

.nx-guar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--surface-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-mid);
  margin-bottom: 1.625rem;
  transition: all .3s;
}

.nx-guar-card:hover .nx-guar-icon {
  background: var(--blue-light);
  border-color: var(--border-strong);
  color: var(--blue);
}

.nx-guar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .625rem;
}

.nx-guar-desc {
  font-size: .9375rem;
  color: var(--ink-3);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.nx-guar-details {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.nx-guar-detail {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .84rem;
  color: var(--ink-2);
  font-weight: 500;
}

.nx-guar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-mid);
  flex-shrink: 0;
}

/* ─────────────────────────────────────
   DARK CTA
───────────────────────────────────── */
.nx-dark-cta {
  position: relative;
  padding: 9rem 2rem;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 122, 89, .05), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 12%, #edf5ee 30%, #e7f1e8 100%);
  overflow: hidden;
  text-align: center;
}

.nx-dark-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.nx-dark-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(141, 183, 155, .14) 0%, transparent 70%);
}

.nx-dark-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 183, 155, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 183, 155, .08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.nx-cta-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.nx-cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.04;
}

.nx-cta-content p {
  font-size: 1.1rem;
  color: var(--ink-3);
  margin-bottom: 2.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.nx-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nx-dark-cta .btn-primary-glow {
  background: var(--ink);
  color: #fff;
}

.nx-dark-cta .btn-primary-glow:hover {
  background: var(--ink-2);
  box-shadow: 0 12px 30px rgba(24, 37, 61, .18);
}

.nx-dark-cta .btn-ghost-dark {
  color: var(--ink);
  background: rgba(255, 255, 255, .58);
  border-color: rgba(17, 24, 39, .12);
}

.nx-dark-cta .btn-ghost-dark:hover {
  color: var(--ink);
  border-color: rgba(17, 24, 39, .22);
  background: rgba(255, 255, 255, .82);
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.site-footer {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, .08), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(255, 122, 89, .08), transparent 20%),
    linear-gradient(180deg, #e7f1e8 0%, #f8fbf9 12%, #ffffff 32%, #f6faf7 100%);
  padding: 4.5rem 2rem 2.5rem;
  color: var(--ink-3);
  position: relative;
}

.site-footer::before {
  content: none;
}

@keyframes footerGradient {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 200% 0%;
  }
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.f-brand {}

.f-brand-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: .875rem;
}

.f-brand-logo span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.f-tagline {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--ink-3);
  margin-bottom: 1.375rem;
  max-width: 300px;
}

.f-socials {
  display: flex;
  gap: .5rem;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(189, 214, 193, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  transition: all .2s;
}

.social-link:hover {
  background: #fff;
  border-color: rgba(255, 122, 89, .28);
  color: var(--ink);
  transform: translateY(-1px);
}

.f-col h4 {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 1rem;
}

.f-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.f-col ul li a {
  font-size: .875rem;
  color: var(--ink-3);
  transition: color .2s;
}

.f-col ul li a:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid rgba(189, 214, 193, .95);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.f-copy {
  font-size: .78rem;
  color: var(--ink-4);
}

.f-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.f-bottom-links a {
  font-size: .78rem;
  color: var(--ink-3);
  transition: color .2s;
}

.f-bottom-links a:hover {
  color: var(--ink);
}

/* ─────────────────────────────────────
   REVEAL ANIMATIONS
───────────────────────────────────── */
.reveal-init {
  opacity: 0 !important;
  transform: translateY(22px) !important;
  transition: none !important;
}

.reveal-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1) !important;
}

/* ─────────────────────────────────────
   RESPONSIVE TWEAKS
───────────────────────────────────── */
@media (max-width: 600px) {
  .nav-actions .premium-lang-toggle {
    display: none;
  }

  .nx-hero {
    padding: 4rem 1.25rem 3.5rem;
  }

  .nx-hero-shell {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nx-hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .nx-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .nx-hero-actions,
  .nx-hero-trust-indicator {
    justify-content: center;
  }

  .nx-hero-visual {
    min-height: 380px;
  }

  .nx-hero-panel--primary {
    transform: none;
  }

  .nx-hero-panel--secondary {
    right: 1rem;
    bottom: 1rem;
    transform: rotate(4deg);
  }

  .nx-dual-sec,
  .nx-bento-sec,
  .nx-how-sec,
  .nx-dark-cta {
    padding: 5rem 1.25rem;
  }

  .nx-card {
    padding: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─────────────────────────────────────
   AUTH MODALS (LOGIN & REGISTER)
───────────────────────────────────── */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 31, 32, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--sh-xl);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.auth-modal.modal-large {
  max-width: 1000px;
  height: 620px;
  display: flex;
  overflow: hidden;
}

/* Scrollbar styling for modal */
.auth-modal::-webkit-scrollbar {
  width: 8px;
}

.auth-modal::-webkit-scrollbar-track {
  background: transparent;
}

.auth-modal::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

.auth-modal-overlay.active .auth-modal {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--surface-3);
  color: var(--ink);
  transform: scale(1.05);
}

/* Form layout inside modal */
.modal-form-side {
  padding: 3rem 2.5rem;
  flex: 1;
  overflow-y: auto;
}

.modal-visual-side {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  display: none;
}

@media (min-width: 900px) {
  .modal-visual-side {
    display: block;
  }
}

.modal-vis-content {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: white;
  z-index: 2;
}

/* Auth Visual Panels with Background Images */
.modal-visual-login {
  background: url('/static/img/auth/login_bg.png') center/cover no-repeat;
}

.modal-visual-register {
  background: url('/static/img/auth/register_bg.png') center/cover no-repeat;
}

/* Decorative orbs - Hidden for a cleaner look as requested */
.mv-orb {
  display: none !important;
}

/* Floating glassmorphism cards - Hidden for a cleaner look as requested */
.mv-float-card {
  display: none !important;
}

.mv-float-card .mv-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #DBF0DD;
  line-height: 1;
}

.mv-float-card .mv-lbl {
  font-size: 0.68rem;
  opacity: 0.65;
  margin-top: 0.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--ink-3);
  font-size: 0.95rem;
}

.modal-field {
  margin-bottom: 1.25rem;
}

.modal-field label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 0.5rem;
}

.modal-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s;
}

.modal-input:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 4px rgba(35, 83, 71, 0.12);
}

.modal-btn {
  width: 100%;
  padding: 1.125rem;
  border-radius: var(--r-md);
  background: var(--ink);
  color: white;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 1.5rem;
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  background: var(--ink-2);
}

.modal-switch {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-3);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.modal-switch a {
  color: var(--blue-mid);
  font-weight: 700;
  margin-left: 0.3rem;
  transition: color 0.2s;
}

.modal-switch a:hover {
  color: var(--blue);
}

/* Success Modal */
.success-modal {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 32px;
  height: 32px;
}
