/* ══════════════════════════════
   HERO — SECCIÓN
══════════════════════════════ */
html,
body {
  overflow-x: clip;
}
.nx-hero {
  min-height: auto;
  padding-top: 80px; 
  padding-bottom: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #F8FAFC;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}
.nx-hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin: 0; 
  margin-bottom: 20px;
}

.nx-hero-heavy span {
  display: flex;
  justify-content: space-between; 
  width: 100%;
  font-size: clamp(2.3rem, 3.8vw, 2.9rem); 
  font-weight: 800;
  line-height: 1.25;
  text-align: justify;
  color: #020617;
  letter-spacing: -0.03em;
}

.nx-hero-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px; 
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; 
  gap: 40px;
  align-items: center;
}

/* ══════════════════════════════
   COPY
══════════════════════════════ */
.nx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  margin-bottom: 0px;

  background: rgba(61,111,255,.08);
  border: 1px solid rgba(61,111,255,.15);

  border-radius: 999px;

  font-size: .8rem;
  font-weight: 600;
  color: #3D6FFF;

  width: fit-content;
}

.nx-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3D6FFF;
}
.nx-hero-copy {
  display: flex;
  flex-direction: column;
}


.nx-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3D6FFF;
  animation: nx-pulse 2.2s ease-in-out infinite;
}

@keyframes nx-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.75); }
}
.nx-stagger {
  opacity: 0;
  transform: translateY(3px);

  animation-name: nxFadeUp;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(.22,.61,.36,1);
  animation-fill-mode: forwards;

  will-change: transform, opacity;
}

@keyframes nxFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delays */

.nx-delay-1 {
  animation-delay: .07s;
}

.nx-delay-2 {
  animation-delay: .14s;
}

.nx-delay-3 {
  animation-delay: .21s;
}

.nx-delay-4 {
  animation-delay: .28s;
}

.nx-delay-5 {
  animation-delay: .35s;
}

.nx-delay-6 {
  animation-delay: .42s;
}

.nx-hero-desc {
  font-family: 'Plus Jakarta Sans';
  font-size: 1.0rem;
  line-height: 1.75;
  color: #020617;
  margin-bottom: 24px;
  max-width: 520px;
  text-align:justify;
}


.nx-hero-actions {
  position: relative;
  top: -68px;
  justify-content: center;
  margin-bottom: 0;
}

.nx-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  background: var(--primary-color);
  border-radius: 4px;
  font-size: 0.9rem;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 20;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: var(--transition-premium);
  border: 1px solid transparent;
}

.nx-btn-primary:hover {
  background: #0132f3;
  transform: translateY(-1px);
}
  
.nx-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border: 1px solid rgba(13, 14, 15, 0.315);
  border-radius: 4px;
  font-size: 0.9rem;
  color: #1e2024;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
}

.nx-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #346691;
  background: rgba(52, 102, 145, 0.04);
}

.nx-btn-ghost-arrow {
  font-size: 0.75rem;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nx-btn-ghost:hover .nx-btn-ghost-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.nx-hero-features {
  display: flex;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.nx-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nx-feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(61, 111, 255, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nx-feature-check svg {
  width: 10px;
  height: 10px;
  stroke: #3D6FFF;
}

.nx-feature-label {
  font-size: 0.82rem;
  color: #4A5568;
  letter-spacing: -0.04em;
}



.nx-hero-inner {
  grid-template-columns: 1fr 1fr; 
  gap: 10px;
  align-items: center;
  padding-top: 2px;
}

.nx-hero-visual {
  width: 100%;
  margin-top: -28px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}


.nx-hero-visual img {
  width: 100%;
  max-width: 560px; 
  height: auto;
  object-fit: contain;
    animation:
    nxDashboardIn 1.1s
    cubic-bezier(.22,.61,.36,1)
    .42s
    both;
}
@keyframes nxDashboardIn {
  from {
    opacity: 0;

    transform:
      translateY(40px)
      scale(.96);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */

@media (max-width: 768px) {
  .nx-hero-inner {
    grid-template-columns: 1fr; 
    text-align: center;
  }
  
  .nx-hero-visual {
    order: -1; 
    margin-bottom: 30px;
  }
  
  .nx-hero-visual img {
    max-width: 320px; 
  }
  .nx-stagger {
    animation-duration: .6s;
  }
}

@media (max-width: 768px) {
  .nx-eyebrow{
    text-align: left;
  }
  .nx-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 30px;
  }
  .nx-hero-desc {
  font-family: 'Plus Jakarta Sans';
  font-size: 1rem;
  line-height: 1.4;
  color: #475569;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 356px;
  text-align:justify;

}

  .nx-hero-heavy span{
    text-align: start;
    font-size: clamp(1.6rem, 5.8vw, 2.3rem);

  }
}


@media (max-width: 768px) {
  .nx-hero-inner {
    padding: 20px 20px;
    gap: 40px;
  }

  .nx-hero-features {
    gap: 20px;
  }

  .nx-float-badge {
    display: none;
  }
}

.nx-hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.nx-trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #475569;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}

.nx-trust-icon {
  width: 15px;
  height: 15px;
  stroke: var(--primary-color);
  flex-shrink: 0;
  fill: none;
}

.nx-trust-divider {
  color: #475569;
  opacity: 0.4;
}

.nx-hero-actions-mobile {
  display: none;
  top: 0px;
  gap: 5px;
}

.nx-hero-actions-desktop {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
  gap: 20px;
}

@media (max-width: 768px) {

  .nx-hero-actions-mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
  }

  .nx-hero-actions-desktop {
    display: none;
  }

}

@media (max-width: 768px) {

  .nx-hero-visual {
    display: none;
  }
  .nx-hero-badge{
    display: none;
  }
}