:root {
  --primary-color: #3D6FFF;       
  --secondary-color: #346691;      
  --secondary-hover: #254b6b;  
  --bg-dark: #020617;           
  --bg-card-dark: #0C1726;    
  --bg-light: #FFFFFF;          
  --bg-card-light: #F8FAFC;     
  --text-dark: #0F172A;        
  --text-muted-dark: #475569;   
  --text-light: #F8FAFC;         
  --text-muted-light: #94A3B8;    
  --transition-premium: all 0.3s ease-in-out;
  
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top: 80px;
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px; /* 60px + margen */
  }
}


body{
  font-family:'Inter',sans-serif;
}




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

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

.container{
  width:min(92%,1280px);
  margin:auto;
}


.section{
  position:relative;
  overflow: hidden;
  padding:7rem 0;
}
.section::after{
  content:"";

  position:absolute;

  left:0;
  bottom:0;

  width:100%;
  height:1px;
}

.section-light{
  background:#ffffff;
}

.section-soft{
  background:#ffffff;
}

.section-dark{
  background:#020617;
  color:#fff;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(61, 111, 255, 0.08);
  color:var(--primary-color);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
.nx-nav-logo .logo-mobile {
  display: none;
}
.nx-nav-logo .logo-pc {
  display: block;
}
.nx-nav {
  position: fixed;
  overflow: visible;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 60px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


.nx-nav .nx-nav-logo {
  display: flex;
  align-items: center ;
  height: 100% ;
  margin-left: 0px ; 
  text-decoration: none ;
}


.nx-nav .nx-nav-logo img {
  height: 110px ; 
  width: auto ;
  max-width: 100% ;
  display: block ;
  transition: opacity 0.25s ease ;
}

/* Efecto hover */
.nx-nav .nx-nav-logo:hover img {
  opacity: 0.82 ;
}

.nx-nav-links {
  display: flex;
  gap: 36px;
  flex-direction: row;
  list-style: none;
}

.nx-nav-links a {
  font-size: 0.875rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: var(--transition-premium);
}

.nx-nav-links a:hover {
  color: var(--primary-color);
}

.nx-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  background: #3D6FFF;
  color: #ffffff;
  border: 1px solid #3D6FFF;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.nx-nav-cta:hover {
  background: #1d3c9b;
  border-color: #2A58E0;
  box-shadow: 0 4px 14px rgba(61, 111, 255, 0.35);
}

.nx-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

  width: 42px;
  height: 42px;

  background: transparent;
  border: none;
  cursor: pointer;
}

.nx-menu-toggle span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: 0.25s ease;
}

.nx-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nx-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nx-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nx-mobile-menu {
  position: absolute;

  top: calc(100% + 12px);
  right: 16px;

  width: 290px;

  background: rgba(2, 6, 23, 0.96);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;

  padding: 18px;

  display: flex;
  flex-direction: column;
  gap: 14px;

  box-shadow:
    0 20px 40px rgba(0,0,0,.35);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-8px);

  transition:
    opacity .25s ease,
    transform .25s ease,
    visibility .25s ease;

  z-index: 200;
}

.nx-mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 10px 6px;
}

.nx-mobile-menu a:hover {
  color: var(--primary-color);
}

.nx-mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nx-mobile-cta {
  margin-top: 8px;

  display: flex;
  justify-content: center;

  padding: 12px;

  border-radius: 10px;

  background: rgba(61,111,255,.12);
  border: 1px solid rgba(61,111,255,.25);
}


/* ══════════════════════════════
  BOTONES
══════════════════════════════ */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:16px 30px;

  background:var(--secondary-color);
  color:#fff;

  border-radius:14px;

  border:1px solid rgba(255,255,255,0.08);

  font-weight:600;

  transition:var(--transition-premium);
}

.btn-nexxus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-premium); 
}


.btn-nexxus--translucent {
  padding: 14px 28px;
  font-size: 0.88rem;
  color: var(--primary-color);
  background: rgba(61, 111, 255, 0.04);
  border: 1px solid rgba(61, 111, 255, 0.3);
}
.btn-nexxus--translucent:hover {
  background: rgba(61, 111, 255, 0.10);
  border-color: rgba(61, 111, 255, 0.5);
  color: #6B96FF;
}


.btn-nexxus--solid {
  padding: 16px 32px; 
  font-size: 1rem;
  color: white;
  background: var(--secondary-color);
  border: 1px solid transparent;
}
.btn-nexxus--solid:hover {
  background: var(--secondary-hover); 
  box-shadow: 0 4px 12px rgba(52, 102, 145, 0.2);
}



.btn:hover{
  transform:
  translateY(-1px);

  box-shadow:
  0 18px 35px
  rgba(52,102,145,.25);

  filter:brightness(1.03);
}

.btn-header{
  padding:16px 34px;

  background:var(--secondary-color);

  border:
  1px solid rgba(255,255,255,0.18);
}

.btn-plan{
  width:100%;

  margin-top:auto;

  padding:16px 22px;

  background:var(--secondary-color);
  color:#fff;

  border-radius:0;

  font-weight:600;

  text-align:center;

  transition:var(--transition-premium);
}

.btn-plan:hover{
  background:var(--secondary-hover);
}

@media (max-width: 768px) {

  .nx-nav {
    height: 60px;
    padding: 0 16px;
  }

  .nx-nav-links,
 .nx-nav-cta {
    display: none;
  }

  .nx-menu-toggle {
    display: flex;
  }

}

.nx-nav .nx-nav-logo .logo-pc {
  display: block;
}

.nx-nav .nx-nav-logo .logo-mobile {
  display: none;
}

@media (max-width: 768px) {
  .nx-nav .nx-nav-logo .logo-pc {
    display: none;
  }
  
  .nx-nav .nx-nav-logo .logo-mobile {
    display: block;
    height: 35px;
    width: auto;
  }
}