.nx-planes-dark {
  position: relative;
  padding: 0px 0 20px;
  background-color: #020617;
  color: #ffffff;
  overflow: clip;
}


.nx-planes-glow-1 {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(52, 102, 145, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.nx-planes-glow-2 {
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 102, 145, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.nx-planes-container {
  width: min(1120px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.nx-eyebrow--planes {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 20px;
    gap: 12px;
}

.nx-eyebrow--planes::before,
.nx-eyebrow--planes::after {
    content: "";
    width: 48px;
    height: 1px;
    background: rgba(52, 102, 145, 0.6);
}

.nx-planes-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px auto;
}


.nx-planes-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.2rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 2px 0 2px ;
  color: #ffffff;
  text-align:center;
}



.nx-text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #a5c3dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nx-planes-header p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #94A3B8;
  text-align:center;
}


.nx-planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}


.nx-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  min-height: 200px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.nx-plan-card:hover {
  transform: translateY(-px);
  border-color: rgba(52, 102, 145, 0.25);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.3), 0 0 30px rgba(52, 102, 145, 0.06);
}

.nx-plan-card-header {
  position: relative;
  background: rgba(25, 63, 97, 0.2);
  padding: 26px 24px 22px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.nx-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin: 2px 0 14px;
}

.nx-plan-price .currency {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #a5c3dd;
  align-self: flex-start;
  margin-top: 6px;
}

.nx-plan-price .amount {
  font-family: 'Inter', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nx-plan-price .period {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #94A3B8;
  margin-left: 4px;
}

.nx-plan-price-clarification{
  font-size: 0.7rem;
  color: #c5cbcf;
  margin-bottom: 3px;
}

.nx-plan-category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #a5c3dd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.nx-plan-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.0rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.nx-plan-card-header p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0 0 25px 0;
}

.nx-plan-card-header .nx-btn-primary {
  width: 100%;
  justify-content: center;
}

.nx-plan-card-header::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 16px 16px 0;
  border-style: solid;
  border-color: rgba(52, 102, 145, 0.3) transparent;
  z-index: 10;
}
.nx-plan-card-body {
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nx-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 132px; 
  flex-grow: 0;     
}

.nx-plan-features li {
  display: flex;
  align-items: start;
  gap: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.nx-plan-features svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: #346691;
  margin-top: 2px;
}


.nx-core-addons-box {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nx-planes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .nx-plan-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }
  .nx-planes-header h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nx-planes-dark {
    padding: 100px 0;
  }
  .nx-planes-grid {
    grid-template-columns: 1fr;
  }
  .nx-plan-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
  .nx-plan-card {
    padding: 36px 24px;
  }
  .nx-planes-header h2 {
    font-size: 2.3rem;
  }
}

.nx-planes-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 60px;
}

.nx-ptrust-card {
  text-align: center;
  padding: 30px;
  background: rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  transition: var(--transition-premium);
}

.nx-ptrust-card:hover {
  border-color: rgba(52, 102, 145, 0.2);
  transform: translateY(-2px);
}

.nx-ptrust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(61, 111, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.nx-ptrust-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-color);
  fill: none;
}

.nx-ptrust-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.nx-ptrust-card p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

@media (max-width: 1024px) {
  .nx-planes-trust {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* =========================================
    Módulos Opcionales (Core Plan)
   ========================================= */
.nx-core-addons-box {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nx-core-addons-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.nx-core-addons-text svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #346691; 
  margin-top: 1px;
}

.nx-core-addons-text p {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.nx-core-addons-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nx-core-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  color: #94A3B8;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.nx-core-tag:hover {
  background: rgba(52, 102, 145, 0.1);
  border-color: rgba(52, 102, 145, 0.3);
}

.nx-core-tag-plus {
  color: #a5c3dd;
  font-weight: bold;
  font-family: 'JetBrains Mono', monospace;
}

/* =========================================
   Módulos opcionales dentro de la card (Control/Premier)
   ========================================= */
.nx-plan-modules {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nx-plan-modules-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a5c3dd;
  text-align: center;
  margin: 0 0 16px 0;
}

.nx-plan-modules-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}

.nx-plan-module-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 70px;
}

.nx-plan-module-item svg {
  width: 22px;
  height: 22px;
  stroke: #346691;
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
}

.nx-plan-module-item:hover svg {
  stroke: #a5c3dd;
}

.nx-plan-module-item span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.25;
  text-align: center;
}