/* ==========================================================================
   NOX BOT — Planes
   Usa los tokens, cabecera, footer y botones de inicio.css.
   ========================================================================== */

.plans-head {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 24px 40px;
}
.plans-head h1 {
  color: var(--white);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.plans-head p {
  margin-top: 12px;
  font-size: 17px;
}

.plans-grid {
  display: grid;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

@media (min-width: 760px) {
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tarjeta */
.plan-card {
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  background: linear-gradient(180deg, rgba(107, 30, 255, .24) 0%, var(--panel) 32%);
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--ring);
}

.plan-title {
  margin: 0 20px 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.plan-title iconify-icon { vertical-align: -3px; color: var(--brand-text); }

.plan-desc {
  max-width: 82%;
  margin: 0 auto;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

/* Pestañas con indicador deslizante */
.plan-tabs {
  --i: 0;
  position: relative;
  display: flex;
  margin: 18px 20px 0;
  padding: 2px;
  background: var(--slate);
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--ring);
}
.plan-tabs button {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 30px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
}
.plan-tabs button:hover { color: var(--frost); }
.plan-tabs button[aria-selected="true"] { color: var(--white); }

.plan-indicator {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc((100% - 4px) / var(--count));
  height: 30px;
  background: var(--brand);
  border-radius: 7px;
  transform: translateX(calc(var(--i) * 100%));
  transition: transform .2s ease-out;
}

/* Beneficios */
.plan-benefits {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px;
}
.plan-benefits > span {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}
.plan-benefits ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--frost);
  font-size: 13.5px;
  font-weight: 500;
}
.plan-benefits svg { flex: none; }
.plan-benefits svg rect { fill: var(--brand); }
.plan-benefits svg path {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Pie: precio + botón */
.plan-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-top: 1px solid var(--ring);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--white);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}
.plan-price sup {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}
.plan-price sub {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.plan-old {
  margin-right: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}
.plan-usd {
  display: block;
  min-height: 1.3em;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.plan-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  background: var(--brand);
  border-radius: 7px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .3s cubic-bezier(.15, .83, .66, 1);
}
.plan-btn:hover { background: var(--brand-hover); }

.site-nav a[aria-current="page"] { color: var(--white); }
